https://launchpad.net/ubuntu/+source/petsc4py/3.19.6-3/+build/27738515 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos03-riscv64-032 5.19.0-1021-generic #23~22.04.1-Ubuntu SMP Thu Jun 22 12:49:35 UTC 2023 riscv64 Buildd toolchain package versions: launchpad-buildd_235~645~ubuntu22.04.1 python3-lpbuildd_235~645~ubuntu22.04.1 sbuild_0.81.2ubuntu6 git-build-recipe_0.3.6 git_1:2.34.1-1ubuntu1.10 dpkg-dev_1.21.1ubuntu2.2 python3-debian_0.1.43ubuntu1.1. Syncing the system clock with the buildd NTP service... 1 Feb 19:40:15 ntpdate[2287]: adjust time server 10.211.37.1 offset +0.004404 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-27738515 --image-type chroot /home/buildd/filecache-default/20a3246b7a16d5658607d7f37229fcda30a33651 Creating target for build PACKAGEBUILD-27738515 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-27738515 Starting target for build PACKAGEBUILD-27738515 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-27738515 'deb http://ftpmaster.internal/ubuntu noble main universe' 'deb http://ftpmaster.internal/ubuntu noble-security main universe' 'deb http://ftpmaster.internal/ubuntu noble-updates main universe' 'deb http://ftpmaster.internal/ubuntu noble-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-27738515 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-27738515 Updating target for build PACKAGEBUILD-27738515 Get:1 http://ftpmaster.internal/ubuntu noble InRelease [256 kB] Get:2 http://ftpmaster.internal/ubuntu noble-security InRelease [90.7 kB] Get:3 http://ftpmaster.internal/ubuntu noble-updates InRelease [90.7 kB] Get:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease [118 kB] Get:5 http://ftpmaster.internal/ubuntu noble/main riscv64 Packages [1353 kB] Get:6 http://ftpmaster.internal/ubuntu noble/main Translation-en [518 kB] Get:7 http://ftpmaster.internal/ubuntu noble/universe riscv64 Packages [14.8 MB] Get:8 http://ftpmaster.internal/ubuntu noble/universe Translation-en [6024 kB] Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 Packages [207 kB] Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main Translation-en [76.0 kB] Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 Packages [1122 kB] Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe Translation-en [404 kB] Fetched 25.0 MB in 27s (943 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libperl5.36 libunistring2 perl-modules-5.36 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: cpp-13-riscv64-linux-gnu cpp-riscv64-linux-gnu g++-13-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-13-riscv64-linux-gnu gcc-14-base gcc-riscv64-linux-gnu libperl5.38 libunistring5 perl-modules-5.38 The following packages will be upgraded: apt apt-utils base-files base-passwd bash bash-completion binutils binutils-common binutils-riscv64-linux-gnu bsdextrautils bsdutils coreutils cpp cpp-13 debconf debconf-i18n debianutils diffutils dpkg dpkg-dev fakeroot g++ g++-13 gcc gcc-13 gcc-13-base grep init init-system-helpers krb5-locales libacl1 libapparmor1 libapt-pkg6.0 libargon2-1 libasan8 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcc1-0 libcrypt-dev libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libdb5.3 libdebconfclient0 libdpkg-perl libfakeroot libfdisk1 libffi8 libgcc-13-dev libgcc-s1 libgcrypt20 libgdbm-compat4 libgdbm6 libgnutls30 libgomp1 libgpg-error-l10n libgpg-error0 libgssapi-krb5-2 libidn2-0 libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblzma5 libmd0 libmount1 libncursesw6 libnsl-dev libnsl2 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libperl5.36 libpng16-16 libproc2-0 libreadline8 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsepol2 libsframe1 libsmartcols1 libsqlite3-0 libssl3 libstdc++-13-dev libstdc++6 libsystemd-shared libsystemd0 libtext-charwidth-perl libtext-iconv-perl libtinfo6 libtirpc-common libtirpc-dev libtirpc3 libudev1 libuuid1 libxxhash0 libzstd1 linux-libc-dev login lto-disabled-list mawk mount ncurses-base ncurses-bin openssl optipng passwd perl perl-base perl-modules-5.36 pinentry-curses procps psmisc readline-common sed systemd systemd-dev systemd-sysv sysvinit-utils tar tzdata ubuntu-keyring util-linux uuid-runtime xz-utils zlib1g 142 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 115 MB of archives. After this operation, 57.1 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu noble/main riscv64 libnsl-dev riscv64 1.3.0-3 [135 kB] Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libcrypt-dev riscv64 1:4.4.36-4 [322 kB] Get:3 http://ftpmaster.internal/ubuntu noble/main riscv64 libc6-dev riscv64 2.38-3ubuntu1 [3401 kB] Get:4 http://ftpmaster.internal/ubuntu noble/main riscv64 libc-dev-bin riscv64 2.38-3ubuntu1 [19.2 kB] Get:5 http://ftpmaster.internal/ubuntu noble/main riscv64 libtirpc-common all 1.3.4+ds-1build1 [8566 B] Get:6 http://ftpmaster.internal/ubuntu noble/main riscv64 libtirpc-dev riscv64 1.3.4+ds-1build1 [429 kB] Get:7 http://ftpmaster.internal/ubuntu noble/main riscv64 libgssapi-krb5-2 riscv64 1.20.1-5build1 [148 kB] Get:8 http://ftpmaster.internal/ubuntu noble/main riscv64 libkrb5-3 riscv64 1.20.1-5build1 [377 kB] Get:9 http://ftpmaster.internal/ubuntu noble/main riscv64 libk5crypto3 riscv64 1.20.1-5build1 [106 kB] Get:10 http://ftpmaster.internal/ubuntu noble/main riscv64 libkrb5support0 riscv64 1.20.1-5build1 [35.9 kB] Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libssl3 riscv64 3.0.10-1ubuntu4 [1729 kB] Get:12 http://ftpmaster.internal/ubuntu noble/main riscv64 libtirpc3 riscv64 1.3.4+ds-1build1 [105 kB] Get:13 http://ftpmaster.internal/ubuntu noble/main riscv64 libnsl2 riscv64 1.3.0-3 [42.0 kB] Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libcrypt1 riscv64 1:4.4.36-4 [115 kB] Get:15 http://ftpmaster.internal/ubuntu noble/main riscv64 linux-libc-dev riscv64 6.6.0-14.14 [1550 kB] Get:16 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-14-base riscv64 14-20240126-2ubuntu1 [46.0 kB] Get:17 http://ftpmaster.internal/ubuntu noble/main riscv64 libgcc-s1 riscv64 14-20240126-2ubuntu1 [61.0 kB] Get:18 http://ftpmaster.internal/ubuntu noble/main riscv64 libc6 riscv64 2.38-3ubuntu1 [2742 kB] Get:19 http://ftpmaster.internal/ubuntu noble/main riscv64 base-files riscv64 13ubuntu6 [84.2 kB] Get:20 http://ftpmaster.internal/ubuntu noble/main riscv64 debianutils riscv64 5.16 [93.8 kB] Get:21 http://ftpmaster.internal/ubuntu noble/main riscv64 bash riscv64 5.2.21-2ubuntu1 [735 kB] Get:22 http://ftpmaster.internal/ubuntu noble/main riscv64 bsdutils riscv64 1:2.39.2-6ubuntu1 [113 kB] Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 coreutils riscv64 9.4-2ubuntu3 [1496 kB] Get:24 http://ftpmaster.internal/ubuntu noble/main riscv64 diffutils riscv64 1:3.10-1 [180 kB] Get:25 http://ftpmaster.internal/ubuntu noble/main riscv64 libgpg-error-l10n all 1.47-3build1 [8024 B] Get:26 http://ftpmaster.internal/ubuntu noble/main riscv64 libgpg-error0 riscv64 1.47-3build1 [75.7 kB] Get:27 http://ftpmaster.internal/ubuntu noble/main riscv64 libgcrypt20 riscv64 1.10.3-2 [564 kB] Get:28 http://ftpmaster.internal/ubuntu noble/main riscv64 liblzma5 riscv64 5.4.5-0.3 [143 kB] Get:29 http://ftpmaster.internal/ubuntu noble/main riscv64 libstdc++6 riscv64 14-20240126-2ubuntu1 [803 kB] Get:30 http://ftpmaster.internal/ubuntu noble/main riscv64 libacl1 riscv64 2.3.1-4ubuntu1 [20.2 kB] Get:31 http://ftpmaster.internal/ubuntu noble/main riscv64 libapparmor1 riscv64 4.0.0~alpha2-0ubuntu8 [50.0 kB] Get:32 http://ftpmaster.internal/ubuntu noble/main riscv64 libaudit-common all 1:3.1.2-2 [5594 B] Get:33 http://ftpmaster.internal/ubuntu noble/main riscv64 libcap-ng0 riscv64 0.8.4-1 [16.7 kB] Get:34 http://ftpmaster.internal/ubuntu noble/main riscv64 libaudit1 riscv64 1:3.1.2-2 [47.8 kB] Get:35 http://ftpmaster.internal/ubuntu noble/main riscv64 libblkid1 riscv64 2.39.2-6ubuntu1 [199 kB] Get:36 http://ftpmaster.internal/ubuntu noble/main riscv64 libzstd1 riscv64 1.5.5+dfsg2-2 [349 kB] Get:37 http://ftpmaster.internal/ubuntu noble/main riscv64 libkmod2 riscv64 30+20230601-2ubuntu1 [52.6 kB] Get:38 http://ftpmaster.internal/ubuntu noble/main riscv64 libpcre2-8-0 riscv64 10.42-4ubuntu1 [149 kB] Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libselinux1 riscv64 3.5-2 [85.6 kB] Get:40 http://ftpmaster.internal/ubuntu noble/main riscv64 libmount1 riscv64 2.39.2-6ubuntu1 [207 kB] Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libtext-iconv-perl riscv64 1.7-8build1 [13.4 kB] Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libtext-charwidth-perl riscv64 0.04-11build1 [9182 B] Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 perl-modules-5.38 all 5.38.2-3 [3110 kB] Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libperl5.38 riscv64 5.38.2-3 [4467 kB] Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 perl riscv64 5.38.2-3 [231 kB] Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 perl-base riscv64 5.38.2-3 [1834 kB] Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 liblocale-gettext-perl riscv64 1.07-6build1 [15.4 kB] Get:48 http://ftpmaster.internal/ubuntu noble/main riscv64 perl-modules-5.36 all 5.36.0-10ubuntu1 [2984 kB] Get:49 http://ftpmaster.internal/ubuntu noble/main riscv64 libperl5.36 riscv64 5.36.0-10ubuntu1 [4337 kB] Get:50 http://ftpmaster.internal/ubuntu noble/main riscv64 libdb5.3 riscv64 5.3.28+dfsg2-4 [783 kB] Get:51 http://ftpmaster.internal/ubuntu noble/main riscv64 libgdbm6 riscv64 1.23-5 [34.3 kB] Get:52 http://ftpmaster.internal/ubuntu noble/main riscv64 libgdbm-compat4 riscv64 1.23-5 [6414 B] Get:53 http://ftpmaster.internal/ubuntu noble/main riscv64 zlib1g riscv64 1:1.3.dfsg-3ubuntu1 [61.1 kB] Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 debconf-i18n all 1.5.85 [205 kB] Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 debconf all 1.5.85 [124 kB] Get:56 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam0g riscv64 1.5.2-9.1ubuntu2 [67.3 kB] Get:57 http://ftpmaster.internal/ubuntu noble/main riscv64 libseccomp2 riscv64 2.5.4-2ubuntu2 [52.6 kB] Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 systemd-sysv riscv64 255.2-3ubuntu2 [11.9 kB] Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 systemd-dev all 255.2-3ubuntu2 [101 kB] Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 systemd riscv64 255.2-3ubuntu2 [3547 kB] Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libsystemd-shared riscv64 255.2-3ubuntu2 [2178 kB] Get:62 http://ftpmaster.internal/ubuntu noble/main riscv64 libargon2-1 riscv64 0~20190702+dfsg-4 [23.7 kB] Get:63 http://ftpmaster.internal/ubuntu noble/main riscv64 libuuid1 riscv64 2.39.2-6ubuntu1 [36.2 kB] Get:64 http://ftpmaster.internal/ubuntu noble/main riscv64 libcryptsetup12 riscv64 2:2.6.1-6ubuntu1 [251 kB] Get:65 http://ftpmaster.internal/ubuntu noble/main riscv64 libfdisk1 riscv64 2.39.2-6ubuntu1 [234 kB] Get:66 http://ftpmaster.internal/ubuntu noble/main riscv64 mount riscv64 2.39.2-6ubuntu1 [150 kB] Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libsystemd0 riscv64 255.2-3ubuntu2 [455 kB] Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libudev1 riscv64 255.2-3ubuntu2 [178 kB] Get:69 http://ftpmaster.internal/ubuntu noble/main riscv64 libxxhash0 riscv64 0.8.2-2 [43.7 kB] Get:70 http://ftpmaster.internal/ubuntu noble/main riscv64 libapt-pkg6.0 riscv64 2.7.10 [1048 kB] Get:71 http://ftpmaster.internal/ubuntu noble/main riscv64 tar riscv64 1.35+dfsg-3 [269 kB] Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 dpkg riscv64 1.22.2ubuntu3 [1292 kB] Get:73 http://ftpmaster.internal/ubuntu noble/main riscv64 grep riscv64 3.11-4 [182 kB] Get:74 http://ftpmaster.internal/ubuntu noble/main riscv64 login riscv64 1:4.13+dfsg1-3ubuntu1 [202 kB] Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 ncurses-bin riscv64 6.4+20240113-1 [187 kB] Get:76 http://ftpmaster.internal/ubuntu noble/main riscv64 sed riscv64 4.9-2 [211 kB] Get:77 http://ftpmaster.internal/ubuntu noble/main riscv64 util-linux riscv64 2.39.2-6ubuntu1 [1314 kB] Get:78 http://ftpmaster.internal/ubuntu noble/main riscv64 libdebconfclient0 riscv64 0.271ubuntu1 [11.1 kB] Get:79 http://ftpmaster.internal/ubuntu noble/main riscv64 base-passwd riscv64 3.6.3 [52.1 kB] Get:80 http://ftpmaster.internal/ubuntu noble/main riscv64 init-system-helpers all 1.66ubuntu1 [39.4 kB] Get:81 http://ftpmaster.internal/ubuntu noble/main riscv64 libc-bin riscv64 2.38-3ubuntu1 [601 kB] Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 ncurses-base all 6.4+20240113-1 [25.4 kB] Get:83 http://ftpmaster.internal/ubuntu noble/main riscv64 sysvinit-utils riscv64 3.08-3ubuntu1 [34.5 kB] Get:84 http://ftpmaster.internal/ubuntu noble/main riscv64 apt riscv64 2.7.10 [1345 kB] Get:85 http://ftpmaster.internal/ubuntu noble/main riscv64 apt-utils riscv64 2.7.10 [226 kB] Get:86 http://ftpmaster.internal/ubuntu noble/main riscv64 ubuntu-keyring all 2023.11.28.1 [11.1 kB] Get:87 http://ftpmaster.internal/ubuntu noble/main riscv64 libffi8 riscv64 3.4.4-2 [22.5 kB] Get:88 http://ftpmaster.internal/ubuntu noble/main riscv64 libp11-kit0 riscv64 0.25.3-2ubuntu2 [308 kB] Get:89 http://ftpmaster.internal/ubuntu noble/main riscv64 libunistring5 riscv64 1.1-2 [544 kB] Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libidn2-0 riscv64 2.3.7-2 [102 kB] Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libgnutls30 riscv64 3.8.3-1ubuntu1 [1012 kB] Get:92 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam-modules-bin riscv64 1.5.2-9.1ubuntu2 [51.4 kB] Get:93 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam-modules riscv64 1.5.2-9.1ubuntu2 [290 kB] Get:94 http://ftpmaster.internal/ubuntu noble/main riscv64 init riscv64 1.66ubuntu1 [6190 B] Get:95 http://ftpmaster.internal/ubuntu noble/main riscv64 libsmartcols1 riscv64 2.39.2-6ubuntu1 [142 kB] Get:96 http://ftpmaster.internal/ubuntu noble/main riscv64 uuid-runtime riscv64 2.39.2-6ubuntu1 [48.3 kB] Get:97 http://ftpmaster.internal/ubuntu noble/main riscv64 libattr1 riscv64 1:2.5.2-1 [11.5 kB] Get:98 http://ftpmaster.internal/ubuntu noble/main riscv64 libmd0 riscv64 1.1.0-2 [30.6 kB] Get:99 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam-runtime all 1.5.2-9.1ubuntu2 [40.6 kB] Get:100 http://ftpmaster.internal/ubuntu noble/main riscv64 libsemanage-common all 3.5-1build1 [9982 B] Get:101 http://ftpmaster.internal/ubuntu noble/main riscv64 libsepol2 riscv64 3.5-2 [312 kB] Get:102 http://ftpmaster.internal/ubuntu noble/main riscv64 libsemanage2 riscv64 3.5-1build1 [97.7 kB] Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libncursesw6 riscv64 6.4+20240113-1 [155 kB] Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libtinfo6 riscv64 6.4+20240113-1 [108 kB] Get:105 http://ftpmaster.internal/ubuntu noble/main riscv64 passwd riscv64 1:4.13+dfsg1-3ubuntu1 [857 kB] Get:106 http://ftpmaster.internal/ubuntu noble/main riscv64 g++-13 riscv64 13.2.0-13ubuntu1 [14.0 kB] Get:107 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-13 riscv64 13.2.0-13ubuntu1 [443 kB] Get:108 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp-13 riscv64 13.2.0-13ubuntu1 [1030 B] Get:109 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp-13-riscv64-linux-gnu riscv64 13.2.0-13ubuntu1 [10.3 MB] Get:110 http://ftpmaster.internal/ubuntu noble/main riscv64 libcc1-0 riscv64 14-20240126-2ubuntu1 [45.0 kB] Get:111 http://ftpmaster.internal/ubuntu noble/main riscv64 libctf0 riscv64 2.42-2ubuntu1 [104 kB] Get:112 http://ftpmaster.internal/ubuntu noble/main riscv64 libctf-nobfd0 riscv64 2.42-2ubuntu1 [106 kB] Get:113 http://ftpmaster.internal/ubuntu noble/main riscv64 libsframe1 riscv64 2.42-2ubuntu1 [15.4 kB] Get:114 http://ftpmaster.internal/ubuntu noble/main riscv64 binutils-riscv64-linux-gnu riscv64 2.42-2ubuntu1 [899 kB] Get:115 http://ftpmaster.internal/ubuntu noble/main riscv64 libbinutils riscv64 2.42-2ubuntu1 [566 kB] Get:116 http://ftpmaster.internal/ubuntu noble/main riscv64 binutils riscv64 2.42-2ubuntu1 [2994 B] Get:117 http://ftpmaster.internal/ubuntu noble/main riscv64 binutils-common riscv64 2.42-2ubuntu1 [209 kB] Get:118 http://ftpmaster.internal/ubuntu noble/main riscv64 libstdc++-13-dev riscv64 13.2.0-13ubuntu1 [5461 kB] Get:119 http://ftpmaster.internal/ubuntu noble/main riscv64 libgomp1 riscv64 14-20240126-2ubuntu1 [144 kB] Get:120 http://ftpmaster.internal/ubuntu noble/main riscv64 libatomic1 riscv64 14-20240126-2ubuntu1 [9480 B] Get:121 http://ftpmaster.internal/ubuntu noble/main riscv64 libasan8 riscv64 14-20240126-2ubuntu1 [2611 kB] Get:122 http://ftpmaster.internal/ubuntu noble/main riscv64 libgcc-13-dev riscv64 13.2.0-13ubuntu1 [3140 kB] Get:123 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-13-riscv64-linux-gnu riscv64 13.2.0-13ubuntu1 [19.7 MB] Get:124 http://ftpmaster.internal/ubuntu noble/main riscv64 g++-13-riscv64-linux-gnu riscv64 13.2.0-13ubuntu1 [11.6 MB] Get:125 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-13-base riscv64 13.2.0-13ubuntu1 [46.6 kB] Get:126 http://ftpmaster.internal/ubuntu noble/main riscv64 libproc2-0 riscv64 2:4.0.4-2ubuntu1 [58.9 kB] Get:127 http://ftpmaster.internal/ubuntu noble/main riscv64 mawk riscv64 1.3.4.20240123-1 [129 kB] Get:128 http://ftpmaster.internal/ubuntu noble/main riscv64 procps riscv64 2:4.0.4-2ubuntu1 [712 kB] Get:129 http://ftpmaster.internal/ubuntu noble/main riscv64 krb5-locales all 1.20.1-5build1 [13.7 kB] Get:130 http://ftpmaster.internal/ubuntu noble/main riscv64 readline-common all 8.2-3 [56.2 kB] Get:131 http://ftpmaster.internal/ubuntu noble/main riscv64 libreadline8 riscv64 8.2-3 [151 kB] Get:132 http://ftpmaster.internal/ubuntu noble/main riscv64 libsqlite3-0 riscv64 3.45.0-1 [739 kB] Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 openssl riscv64 3.0.10-1ubuntu4 [991 kB] Get:134 http://ftpmaster.internal/ubuntu noble/main riscv64 tzdata all 2023d-1ubuntu2 [321 kB] Get:135 http://ftpmaster.internal/ubuntu noble/main riscv64 bash-completion all 1:2.11-8 [180 kB] Get:136 http://ftpmaster.internal/ubuntu noble/main riscv64 bsdextrautils riscv64 2.39.2-6ubuntu1 [91.3 kB] Get:137 http://ftpmaster.internal/ubuntu noble/main riscv64 libpng16-16 riscv64 1.6.42-1 [193 kB] Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 psmisc riscv64 23.6-2 [176 kB] Get:139 http://ftpmaster.internal/ubuntu noble/main riscv64 xz-utils riscv64 5.4.5-0.3 [277 kB] Get:140 http://ftpmaster.internal/ubuntu noble/main riscv64 g++ riscv64 4:13.2.0-7ubuntu1 [1082 B] Get:141 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc riscv64 4:13.2.0-7ubuntu1 [5016 B] Get:142 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp riscv64 4:13.2.0-7ubuntu1 [22.4 kB] Get:143 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp-riscv64-linux-gnu riscv64 4:13.2.0-7ubuntu1 [5316 B] Get:144 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-riscv64-linux-gnu riscv64 4:13.2.0-7ubuntu1 [1202 B] Get:145 http://ftpmaster.internal/ubuntu noble/main riscv64 g++-riscv64-linux-gnu riscv64 4:13.2.0-7ubuntu1 [960 B] Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 dpkg-dev all 1.22.2ubuntu3 [1076 kB] Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libdpkg-perl all 1.22.2ubuntu3 [266 kB] Get:148 http://ftpmaster.internal/ubuntu noble/main riscv64 lto-disabled-list all 46 [12.3 kB] Get:149 http://ftpmaster.internal/ubuntu noble/main riscv64 libfakeroot riscv64 1.33-1 [34.6 kB] Get:150 http://ftpmaster.internal/ubuntu noble/main riscv64 fakeroot riscv64 1.33-1 [78.4 kB] Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 optipng riscv64 0.7.8+ds-1 [115 kB] Get:152 http://ftpmaster.internal/ubuntu noble/main riscv64 pinentry-curses riscv64 1.2.1-3ubuntu1 [39.5 kB] Preconfiguring packages ... Fetched 115 MB in 14s (7958 kB/s) (Reading database ... 13552 files and directories currently installed.) Preparing to unpack .../00-libnsl-dev_1.3.0-3_riscv64.deb ... Unpacking libnsl-dev:riscv64 (1.3.0-3) over (1.3.0-2build2) ... Preparing to unpack .../01-libcrypt-dev_1%3a4.4.36-4_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.36-4) over (1:4.4.36-2) ... Preparing to unpack .../02-libc6-dev_2.38-3ubuntu1_riscv64.deb ... Unpacking libc6-dev:riscv64 (2.38-3ubuntu1) over (2.38-1ubuntu6) ... Preparing to unpack .../03-libc-dev-bin_2.38-3ubuntu1_riscv64.deb ... Unpacking libc-dev-bin (2.38-3ubuntu1) over (2.38-1ubuntu6) ... Preparing to unpack .../04-libtirpc-common_1.3.4+ds-1build1_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1build1) over (1.3.3+ds-1) ... Preparing to unpack .../05-libtirpc-dev_1.3.4+ds-1build1_riscv64.deb ... Unpacking libtirpc-dev:riscv64 (1.3.4+ds-1build1) over (1.3.3+ds-1) ... Preparing to unpack .../06-libgssapi-krb5-2_1.20.1-5build1_riscv64.deb ... Unpacking libgssapi-krb5-2:riscv64 (1.20.1-5build1) over (1.20.1-3ubuntu1) ... Preparing to unpack .../07-libkrb5-3_1.20.1-5build1_riscv64.deb ... Unpacking libkrb5-3:riscv64 (1.20.1-5build1) over (1.20.1-3ubuntu1) ... Preparing to unpack .../08-libk5crypto3_1.20.1-5build1_riscv64.deb ... Unpacking libk5crypto3:riscv64 (1.20.1-5build1) over (1.20.1-3ubuntu1) ... Preparing to unpack .../09-libkrb5support0_1.20.1-5build1_riscv64.deb ... Unpacking libkrb5support0:riscv64 (1.20.1-5build1) over (1.20.1-3ubuntu1) ... Preparing to unpack .../10-libssl3_3.0.10-1ubuntu4_riscv64.deb ... Unpacking libssl3:riscv64 (3.0.10-1ubuntu4) over (3.0.10-1ubuntu2) ... Preparing to unpack .../11-libtirpc3_1.3.4+ds-1build1_riscv64.deb ... Unpacking libtirpc3:riscv64 (1.3.4+ds-1build1) over (1.3.3+ds-1) ... Preparing to unpack .../12-libnsl2_1.3.0-3_riscv64.deb ... Unpacking libnsl2:riscv64 (1.3.0-3) over (1.3.0-2build2) ... Preparing to unpack .../13-libcrypt1_1%3a4.4.36-4_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.36-4) over (1:4.4.36-2) ... Setting up libcrypt1:riscv64 (1:4.4.36-4) ... (Reading database ... 13552 files and directories currently installed.) Preparing to unpack .../linux-libc-dev_6.6.0-14.14_riscv64.deb ... Unpacking linux-libc-dev:riscv64 (6.6.0-14.14) over (6.5.0-9.9) ... Selecting previously unselected package gcc-14-base:riscv64. Preparing to unpack .../gcc-14-base_14-20240126-2ubuntu1_riscv64.deb ... Unpacking gcc-14-base:riscv64 (14-20240126-2ubuntu1) ... Setting up gcc-14-base:riscv64 (14-20240126-2ubuntu1) ... (Reading database ... 13558 files and directories currently installed.) Preparing to unpack .../libgcc-s1_14-20240126-2ubuntu1_riscv64.deb ... Unpacking libgcc-s1:riscv64 (14-20240126-2ubuntu1) over (13.2.0-4ubuntu3) ... Setting up libgcc-s1:riscv64 (14-20240126-2ubuntu1) ... (Reading database ... 13558 files and directories currently installed.) Preparing to unpack .../libc6_2.38-3ubuntu1_riscv64.deb ... Unpacking libc6:riscv64 (2.38-3ubuntu1) over (2.38-1ubuntu6) ... Setting up libc6:riscv64 (2.38-3ubuntu1) ... (Reading database ... 13558 files and directories currently installed.) Preparing to unpack .../base-files_13ubuntu6_riscv64.deb ... Unpacking base-files (13ubuntu6) over (13ubuntu3) ... Setting up base-files (13ubuntu6) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/10-help-text ... (Reading database ... 13558 files and directories currently installed.) Preparing to unpack .../debianutils_5.16_riscv64.deb ... Unpacking debianutils (5.16) over (5.8-1) ... Setting up debianutils (5.16) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../bash_5.2.21-2ubuntu1_riscv64.deb ... Unpacking bash (5.2.21-2ubuntu1) over (5.2.15-2ubuntu1) ... Setting up bash (5.2.21-2ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.39.2-6ubuntu1_riscv64.deb ... Unpacking bsdutils (1:2.39.2-6ubuntu1) over (1:2.39.1-4ubuntu2) ... Setting up bsdutils (1:2.39.2-6ubuntu1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../coreutils_9.4-2ubuntu3_riscv64.deb ... Unpacking coreutils (9.4-2ubuntu3) over (9.1-1ubuntu2) ... Setting up coreutils (9.4-2ubuntu3) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.10-1_riscv64.deb ... Unpacking diffutils (1:3.10-1) over (1:3.8-4) ... Setting up diffutils (1:3.10-1) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libgpg-error-l10n_1.47-3build1_all.deb ... Unpacking libgpg-error-l10n (1.47-3build1) over (1.47-2) ... Preparing to unpack .../libgpg-error0_1.47-3build1_riscv64.deb ... Unpacking libgpg-error0:riscv64 (1.47-3build1) over (1.47-2) ... Setting up libgpg-error0:riscv64 (1.47-3build1) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.10.3-2_riscv64.deb ... Unpacking libgcrypt20:riscv64 (1.10.3-2) over (1.10.2-3ubuntu1) ... Setting up libgcrypt20:riscv64 (1.10.3-2) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../liblzma5_5.4.5-0.3_riscv64.deb ... Unpacking liblzma5:riscv64 (5.4.5-0.3) over (5.4.1-0.2) ... Setting up liblzma5:riscv64 (5.4.5-0.3) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libstdc++6_14-20240126-2ubuntu1_riscv64.deb ... Unpacking libstdc++6:riscv64 (14-20240126-2ubuntu1) over (13.2.0-4ubuntu3) ... Setting up libstdc++6:riscv64 (14-20240126-2ubuntu1) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libacl1_2.3.1-4ubuntu1_riscv64.deb ... Unpacking libacl1:riscv64 (2.3.1-4ubuntu1) over (2.3.1-3) ... Setting up libacl1:riscv64 (2.3.1-4ubuntu1) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libapparmor1_4.0.0~alpha2-0ubuntu8_riscv64.deb ... Unpacking libapparmor1:riscv64 (4.0.0~alpha2-0ubuntu8) over (4.0.0~alpha2-0ubuntu5) ... Preparing to unpack .../libaudit-common_1%3a3.1.2-2_all.deb ... Unpacking libaudit-common (1:3.1.2-2) over (1:3.1.1-1) ... Setting up libaudit-common (1:3.1.2-2) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.8.4-1_riscv64.deb ... Unpacking libcap-ng0:riscv64 (0.8.4-1) over (0.8.3-1build2) ... Setting up libcap-ng0:riscv64 (0.8.4-1) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.1.2-2_riscv64.deb ... Unpacking libaudit1:riscv64 (1:3.1.2-2) over (1:3.1.1-1) ... Setting up libaudit1:riscv64 (1:3.1.2-2) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libblkid1_2.39.2-6ubuntu1_riscv64.deb ... Unpacking libblkid1:riscv64 (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Setting up libblkid1:riscv64 (2.39.2-6ubuntu1) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libzstd1_1.5.5+dfsg2-2_riscv64.deb ... Unpacking libzstd1:riscv64 (1.5.5+dfsg2-2) over (1.5.5+dfsg2-1ubuntu2) ... Setting up libzstd1:riscv64 (1.5.5+dfsg2-2) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libkmod2_30+20230601-2ubuntu1_riscv64.deb ... Unpacking libkmod2:riscv64 (30+20230601-2ubuntu1) over (30+20230519-1ubuntu3) ... Preparing to unpack .../libpcre2-8-0_10.42-4ubuntu1_riscv64.deb ... Unpacking libpcre2-8-0:riscv64 (10.42-4ubuntu1) over (10.42-4) ... Setting up libpcre2-8-0:riscv64 (10.42-4ubuntu1) ... (Reading database ... 13562 files and directories currently installed.) Preparing to unpack .../libselinux1_3.5-2_riscv64.deb ... Unpacking libselinux1:riscv64 (3.5-2) over (3.5-1) ... Setting up libselinux1:riscv64 (3.5-2) ... (Reading database ... 13563 files and directories currently installed.) Preparing to unpack .../libmount1_2.39.2-6ubuntu1_riscv64.deb ... Unpacking libmount1:riscv64 (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Setting up libmount1:riscv64 (2.39.2-6ubuntu1) ... (Reading database ... 13563 files and directories currently installed.) Preparing to unpack .../0-libtext-iconv-perl_1.7-8build1_riscv64.deb ... Unpacking libtext-iconv-perl:riscv64 (1.7-8build1) over (1.7-8) ... Preparing to unpack .../1-libtext-charwidth-perl_0.04-11build1_riscv64.deb ... Unpacking libtext-charwidth-perl:riscv64 (0.04-11build1) over (0.04-11) ... Preparing to unpack .../2-perl_5.38.2-3_riscv64.deb ... Unpacking perl (5.38.2-3) over (5.36.0-9ubuntu1) ... Selecting previously unselected package perl-modules-5.38. Preparing to unpack .../3-perl-modules-5.38_5.38.2-3_all.deb ... Unpacking perl-modules-5.38 (5.38.2-3) ... Selecting previously unselected package libperl5.38:riscv64. Preparing to unpack .../4-libperl5.38_5.38.2-3_riscv64.deb ... Unpacking libperl5.38:riscv64 (5.38.2-3) ... Preparing to unpack .../5-perl-base_5.38.2-3_riscv64.deb ... Unpacking perl-base (5.38.2-3) over (5.36.0-9ubuntu1) ... Setting up perl-base (5.38.2-3) ... (Reading database ... 15497 files and directories currently installed.) Preparing to unpack .../liblocale-gettext-perl_1.07-6build1_riscv64.deb ... Unpacking liblocale-gettext-perl (1.07-6build1) over (1.07-6) ... Preparing to unpack .../perl-modules-5.36_5.36.0-10ubuntu1_all.deb ... Unpacking perl-modules-5.36 (5.36.0-10ubuntu1) over (5.36.0-9ubuntu1) ... Preparing to unpack .../libperl5.36_5.36.0-10ubuntu1_riscv64.deb ... Unpacking libperl5.36:riscv64 (5.36.0-10ubuntu1) over (5.36.0-9ubuntu1) ... Preparing to unpack .../libdb5.3_5.3.28+dfsg2-4_riscv64.deb ... Unpacking libdb5.3:riscv64 (5.3.28+dfsg2-4) over (5.3.28+dfsg2-2) ... Setting up libdb5.3:riscv64 (5.3.28+dfsg2-4) ... (Reading database ... 15495 files and directories currently installed.) Preparing to unpack .../libgdbm6_1.23-5_riscv64.deb ... Unpacking libgdbm6:riscv64 (1.23-5) over (1.23-3) ... Preparing to unpack .../libgdbm-compat4_1.23-5_riscv64.deb ... Unpacking libgdbm-compat4:riscv64 (1.23-5) over (1.23-3) ... Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3ubuntu1_riscv64.deb ... Unpacking zlib1g:riscv64 (1:1.3.dfsg-3ubuntu1) over (1:1.2.13.dfsg-1ubuntu5) ... Setting up zlib1g:riscv64 (1:1.3.dfsg-3ubuntu1) ... (Reading database ... 15495 files and directories currently installed.) Preparing to unpack .../debconf-i18n_1.5.85_all.deb ... Unpacking debconf-i18n (1.5.85) over (1.5.82) ... Preparing to unpack .../debconf_1.5.85_all.deb ... Unpacking debconf (1.5.85) over (1.5.82) ... Setting up debconf (1.5.85) ... Installing new version of config file /etc/debconf.conf ... (Reading database ... 15494 files and directories currently installed.) Preparing to unpack .../libpam0g_1.5.2-9.1ubuntu2_riscv64.deb ... Unpacking libpam0g:riscv64 (1.5.2-9.1ubuntu2) over (1.5.2-6ubuntu1) ... Setting up libpam0g:riscv64 (1.5.2-9.1ubuntu2) ... (Reading database ... 15493 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.4-2ubuntu2_riscv64.deb ... Unpacking libseccomp2:riscv64 (2.5.4-2ubuntu2) over (2.5.4-1ubuntu3) ... Preparing to unpack .../systemd-sysv_255.2-3ubuntu2_riscv64.deb ... Unpacking systemd-sysv (255.2-3ubuntu2) over (253.5-1ubuntu6) ... Preparing to unpack .../systemd-dev_255.2-3ubuntu2_all.deb ... Unpacking systemd-dev (255.2-3ubuntu2) over (253.5-1ubuntu6) ... Setting up libssl3:riscv64 (3.0.10-1ubuntu4) ... (Reading database ... 15535 files and directories currently installed.) Preparing to unpack .../systemd_255.2-3ubuntu2_riscv64.deb ... Unpacking systemd (255.2-3ubuntu2) over (253.5-1ubuntu6) ... dpkg: warning: unable to delete old directory '/lib/systemd/system-preset': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system-generators': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user@0.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user@.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user-.slice.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/timers.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/systemd-localed.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/sysinit.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/sockets.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/rescue.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/rc-local.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/multi-user.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd-root-fs.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd-root-device.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/graphical.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/getty.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/network': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/journald.conf.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty Preparing to unpack .../libsystemd-shared_255.2-3ubuntu2_riscv64.deb ... Unpacking libsystemd-shared:riscv64 (255.2-3ubuntu2) over (253.5-1ubuntu6) ... Preparing to unpack .../libargon2-1_0~20190702+dfsg-4_riscv64.deb ... Unpacking libargon2-1:riscv64 (0~20190702+dfsg-4) over (0~20190702+dfsg-3) ... Preparing to unpack .../libuuid1_2.39.2-6ubuntu1_riscv64.deb ... Unpacking libuuid1:riscv64 (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Setting up libuuid1:riscv64 (2.39.2-6ubuntu1) ... (Reading database ... 15655 files and directories currently installed.) Preparing to unpack .../libcryptsetup12_2%3a2.6.1-6ubuntu1_riscv64.deb ... Unpacking libcryptsetup12:riscv64 (2:2.6.1-6ubuntu1) over (2:2.6.1-4ubuntu3) ... Preparing to unpack .../libfdisk1_2.39.2-6ubuntu1_riscv64.deb ... Unpacking libfdisk1:riscv64 (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Preparing to unpack .../mount_2.39.2-6ubuntu1_riscv64.deb ... Unpacking mount (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Preparing to unpack .../libsystemd0_255.2-3ubuntu2_riscv64.deb ... Unpacking libsystemd0:riscv64 (255.2-3ubuntu2) over (253.5-1ubuntu6) ... Setting up libsystemd0:riscv64 (255.2-3ubuntu2) ... (Reading database ... 15655 files and directories currently installed.) Preparing to unpack .../libudev1_255.2-3ubuntu2_riscv64.deb ... Unpacking libudev1:riscv64 (255.2-3ubuntu2) over (253.5-1ubuntu6) ... Setting up libudev1:riscv64 (255.2-3ubuntu2) ... (Reading database ... 15655 files and directories currently installed.) Preparing to unpack .../libxxhash0_0.8.2-2_riscv64.deb ... Unpacking libxxhash0:riscv64 (0.8.2-2) over (0.8.1-1) ... Setting up libxxhash0:riscv64 (0.8.2-2) ... (Reading database ... 15655 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.7.10_riscv64.deb ... Unpacking libapt-pkg6.0:riscv64 (2.7.10) over (2.7.3) ... Setting up libapt-pkg6.0:riscv64 (2.7.10) ... (Reading database ... 15655 files and directories currently installed.) Preparing to unpack .../tar_1.35+dfsg-3_riscv64.deb ... Unpacking tar (1.35+dfsg-3) over (1.34+dfsg-1.2ubuntu1) ... Setting up tar (1.35+dfsg-3) ... (Reading database ... 15655 files and directories currently installed.) Preparing to unpack .../dpkg_1.22.2ubuntu3_riscv64.deb ... Unpacking dpkg (1.22.2ubuntu3) over (1.22.0ubuntu1) ... Setting up dpkg (1.22.2ubuntu3) ... (Reading database ... 15653 files and directories currently installed.) Preparing to unpack .../grep_3.11-4_riscv64.deb ... Unpacking grep (3.11-4) over (3.11-2) ... Setting up grep (3.11-4) ... (Reading database ... 15653 files and directories currently installed.) Preparing to unpack .../login_1%3a4.13+dfsg1-3ubuntu1_riscv64.deb ... Unpacking login (1:4.13+dfsg1-3ubuntu1) over (1:4.13+dfsg1-1ubuntu1) ... Setting up login (1:4.13+dfsg1-3ubuntu1) ... Installing new version of config file /etc/login.defs ... Installing new version of config file /etc/pam.d/login ... (Reading database ... 15653 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.4+20240113-1_riscv64.deb ... Unpacking ncurses-bin (6.4+20240113-1) over (6.4+20230625-2) ... Setting up ncurses-bin (6.4+20240113-1) ... (Reading database ... 15653 files and directories currently installed.) Preparing to unpack .../archives/sed_4.9-2_riscv64.deb ... Unpacking sed (4.9-2) over (4.9-1) ... Setting up sed (4.9-2) ... (Reading database ... 15653 files and directories currently installed.) Preparing to unpack .../util-linux_2.39.2-6ubuntu1_riscv64.deb ... Unpacking util-linux (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Setting up util-linux (2.39.2-6ubuntu1) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.271ubuntu1_riscv64.deb ... Unpacking libdebconfclient0:riscv64 (0.271ubuntu1) over (0.270ubuntu1) ... Setting up libdebconfclient0:riscv64 (0.271ubuntu1) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../base-passwd_3.6.3_riscv64.deb ... Unpacking base-passwd (3.6.3) over (3.6.1) ... Setting up base-passwd (3.6.3) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.66ubuntu1_all.deb ... Unpacking init-system-helpers (1.66ubuntu1) over (1.65.2ubuntu1) ... Setting up init-system-helpers (1.66ubuntu1) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../libc-bin_2.38-3ubuntu1_riscv64.deb ... Unpacking libc-bin (2.38-3ubuntu1) over (2.38-1ubuntu6) ... Setting up libc-bin (2.38-3ubuntu1) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.4+20240113-1_all.deb ... Unpacking ncurses-base (6.4+20240113-1) over (6.4+20230625-2) ... Setting up ncurses-base (6.4+20240113-1) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_3.08-3ubuntu1_riscv64.deb ... Unpacking sysvinit-utils (3.08-3ubuntu1) over (3.07-1ubuntu1) ... Setting up sysvinit-utils (3.08-3ubuntu1) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../apt_2.7.10_riscv64.deb ... Unpacking apt (2.7.10) over (2.7.3) ... Setting up apt (2.7.10) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../apt-utils_2.7.10_riscv64.deb ... Unpacking apt-utils (2.7.10) over (2.7.3) ... Preparing to unpack .../ubuntu-keyring_2023.11.28.1_all.deb ... Unpacking ubuntu-keyring (2023.11.28.1) over (2021.03.26) ... Setting up ubuntu-keyring (2023.11.28.1) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../libffi8_3.4.4-2_riscv64.deb ... Unpacking libffi8:riscv64 (3.4.4-2) over (3.4.4-1) ... Setting up libffi8:riscv64 (3.4.4-2) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.25.3-2ubuntu2_riscv64.deb ... Unpacking libp11-kit0:riscv64 (0.25.3-2ubuntu2) over (0.25.0-4ubuntu1) ... Setting up libp11-kit0:riscv64 (0.25.3-2ubuntu2) ... Selecting previously unselected package libunistring5:riscv64. (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../libunistring5_1.1-2_riscv64.deb ... Unpacking libunistring5:riscv64 (1.1-2) ... Setting up libunistring5:riscv64 (1.1-2) ... (Reading database ... 15659 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.7-2_riscv64.deb ... Unpacking libidn2-0:riscv64 (2.3.7-2) over (2.3.4-1) ... Setting up libidn2-0:riscv64 (2.3.7-2) ... (Reading database ... 15659 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.8.3-1ubuntu1_riscv64.deb ... Unpacking libgnutls30:riscv64 (3.8.3-1ubuntu1) over (3.8.1-4ubuntu1) ... Setting up libgnutls30:riscv64 (3.8.3-1ubuntu1) ... (Reading database ... 15660 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.5.2-9.1ubuntu2_riscv64.deb ... Unpacking libpam-modules-bin (1.5.2-9.1ubuntu2) over (1.5.2-6ubuntu1) ... Setting up libpam-modules-bin (1.5.2-9.1ubuntu2) ... (Reading database ... 15659 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.5.2-9.1ubuntu2_riscv64.deb ... Unpacking libpam-modules:riscv64 (1.5.2-9.1ubuntu2) over (1.5.2-6ubuntu1) ... Setting up libpam-modules:riscv64 (1.5.2-9.1ubuntu2) ... Setting up libapparmor1:riscv64 (4.0.0~alpha2-0ubuntu8) ... Setting up libargon2-1:riscv64 (0~20190702+dfsg-4) ... Setting up libcryptsetup12:riscv64 (2:2.6.1-6ubuntu1) ... Setting up libfdisk1:riscv64 (2.39.2-6ubuntu1) ... Setting up libkmod2:riscv64 (30+20230601-2ubuntu1) ... Setting up libseccomp2:riscv64 (2.5.4-2ubuntu2) ... Setting up libsystemd-shared:riscv64 (255.2-3ubuntu2) ... Setting up systemd-dev (255.2-3ubuntu2) ... Setting up mount (2.39.2-6ubuntu1) ... Setting up systemd (255.2-3ubuntu2) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/pstore.conf ... Installing new version of config file /etc/systemd/sleep.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up systemd-sysv (255.2-3ubuntu2) ... (Reading database ... 15658 files and directories currently installed.) Preparing to unpack .../init_1.66ubuntu1_riscv64.deb ... Unpacking init (1.66ubuntu1) over (1.65.2ubuntu1) ... Preparing to unpack .../libsmartcols1_2.39.2-6ubuntu1_riscv64.deb ... Unpacking libsmartcols1:riscv64 (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Setting up libsmartcols1:riscv64 (2.39.2-6ubuntu1) ... (Reading database ... 15659 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.39.2-6ubuntu1_riscv64.deb ... Unpacking uuid-runtime (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Preparing to unpack .../libattr1_1%3a2.5.2-1_riscv64.deb ... Unpacking libattr1:riscv64 (1:2.5.2-1) over (1:2.5.1-4) ... Setting up libattr1:riscv64 (1:2.5.2-1) ... (Reading database ... 15659 files and directories currently installed.) Preparing to unpack .../libmd0_1.1.0-2_riscv64.deb ... Unpacking libmd0:riscv64 (1.1.0-2) over (1.1.0-1) ... Setting up libmd0:riscv64 (1.1.0-2) ... (Reading database ... 15659 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.5.2-9.1ubuntu2_all.deb ... Unpacking libpam-runtime (1.5.2-9.1ubuntu2) over (1.5.2-6ubuntu1) ... Setting up libpam-runtime (1.5.2-9.1ubuntu2) ... (Reading database ... 15658 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.5-1build1_all.deb ... Unpacking libsemanage-common (3.5-1build1) over (3.5-1) ... Setting up libsemanage-common (3.5-1build1) ... (Reading database ... 15658 files and directories currently installed.) Preparing to unpack .../libsepol2_3.5-2_riscv64.deb ... Unpacking libsepol2:riscv64 (3.5-2) over (3.5-1) ... Setting up libsepol2:riscv64 (3.5-2) ... (Reading database ... 15658 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.5-1build1_riscv64.deb ... Unpacking libsemanage2:riscv64 (3.5-1build1) over (3.5-1) ... Setting up libsemanage2:riscv64 (3.5-1build1) ... (Reading database ... 15658 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.4+20240113-1_riscv64.deb ... Unpacking libncursesw6:riscv64 (6.4+20240113-1) over (6.4+20230625-2) ... Preparing to unpack .../libtinfo6_6.4+20240113-1_riscv64.deb ... Unpacking libtinfo6:riscv64 (6.4+20240113-1) over (6.4+20230625-2) ... Setting up libtinfo6:riscv64 (6.4+20240113-1) ... (Reading database ... 15658 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.13+dfsg1-3ubuntu1_riscv64.deb ... Unpacking passwd (1:4.13+dfsg1-3ubuntu1) over (1:4.13+dfsg1-1ubuntu1) ... Setting up passwd (1:4.13+dfsg1-3ubuntu1) ... (Reading database ... 15658 files and directories currently installed.) Preparing to unpack .../00-g++-13_13.2.0-13ubuntu1_riscv64.deb ... Unpacking g++-13 (13.2.0-13ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../01-gcc-13_13.2.0-13ubuntu1_riscv64.deb ... Unpacking gcc-13 (13.2.0-13ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../02-cpp-13_13.2.0-13ubuntu1_riscv64.deb ... Unpacking cpp-13 (13.2.0-13ubuntu1) over (13.2.0-4ubuntu3) ... Selecting previously unselected package cpp-13-riscv64-linux-gnu. Preparing to unpack .../03-cpp-13-riscv64-linux-gnu_13.2.0-13ubuntu1_riscv64.deb ... Unpacking cpp-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Preparing to unpack .../04-libcc1-0_14-20240126-2ubuntu1_riscv64.deb ... Unpacking libcc1-0:riscv64 (14-20240126-2ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../05-libctf0_2.42-2ubuntu1_riscv64.deb ... Unpacking libctf0:riscv64 (2.42-2ubuntu1) over (2.41-5ubuntu1) ... Preparing to unpack .../06-libctf-nobfd0_2.42-2ubuntu1_riscv64.deb ... Unpacking libctf-nobfd0:riscv64 (2.42-2ubuntu1) over (2.41-5ubuntu1) ... Preparing to unpack .../07-libsframe1_2.42-2ubuntu1_riscv64.deb ... Unpacking libsframe1:riscv64 (2.42-2ubuntu1) over (2.41-5ubuntu1) ... Preparing to unpack .../08-binutils-riscv64-linux-gnu_2.42-2ubuntu1_riscv64.deb ... Unpacking binutils-riscv64-linux-gnu (2.42-2ubuntu1) over (2.41-5ubuntu1) ... Preparing to unpack .../09-libbinutils_2.42-2ubuntu1_riscv64.deb ... Unpacking libbinutils:riscv64 (2.42-2ubuntu1) over (2.41-5ubuntu1) ... Preparing to unpack .../10-binutils_2.42-2ubuntu1_riscv64.deb ... Unpacking binutils (2.42-2ubuntu1) over (2.41-5ubuntu1) ... Preparing to unpack .../11-binutils-common_2.42-2ubuntu1_riscv64.deb ... Unpacking binutils-common:riscv64 (2.42-2ubuntu1) over (2.41-5ubuntu1) ... Preparing to unpack .../12-libstdc++-13-dev_13.2.0-13ubuntu1_riscv64.deb ... Unpacking libstdc++-13-dev:riscv64 (13.2.0-13ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../13-libgomp1_14-20240126-2ubuntu1_riscv64.deb ... Unpacking libgomp1:riscv64 (14-20240126-2ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../14-libatomic1_14-20240126-2ubuntu1_riscv64.deb ... Unpacking libatomic1:riscv64 (14-20240126-2ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../15-libasan8_14-20240126-2ubuntu1_riscv64.deb ... Unpacking libasan8:riscv64 (14-20240126-2ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../16-libgcc-13-dev_13.2.0-13ubuntu1_riscv64.deb ... Unpacking libgcc-13-dev:riscv64 (13.2.0-13ubuntu1) over (13.2.0-4ubuntu3) ... Selecting previously unselected package gcc-13-riscv64-linux-gnu. Preparing to unpack .../17-gcc-13-riscv64-linux-gnu_13.2.0-13ubuntu1_riscv64.deb ... Unpacking gcc-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Selecting previously unselected package g++-13-riscv64-linux-gnu. Preparing to unpack .../18-g++-13-riscv64-linux-gnu_13.2.0-13ubuntu1_riscv64.deb ... Unpacking g++-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Preparing to unpack .../19-gcc-13-base_13.2.0-13ubuntu1_riscv64.deb ... Unpacking gcc-13-base:riscv64 (13.2.0-13ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../20-libproc2-0_2%3a4.0.4-2ubuntu1_riscv64.deb ... Unpacking libproc2-0:riscv64 (2:4.0.4-2ubuntu1) over (2:4.0.3-1ubuntu1) ... Preparing to unpack .../21-mawk_1.3.4.20240123-1_riscv64.deb ... Unpacking mawk (1.3.4.20240123-1) over (1.3.4.20230730-1) ... Preparing to unpack .../22-procps_2%3a4.0.4-2ubuntu1_riscv64.deb ... Unpacking procps (2:4.0.4-2ubuntu1) over (2:4.0.3-1ubuntu1) ... Preparing to unpack .../23-krb5-locales_1.20.1-5build1_all.deb ... Unpacking krb5-locales (1.20.1-5build1) over (1.20.1-3ubuntu1) ... Preparing to unpack .../24-readline-common_8.2-3_all.deb ... Unpacking readline-common (8.2-3) over (8.2-1.3) ... Preparing to unpack .../25-libreadline8_8.2-3_riscv64.deb ... Unpacking libreadline8:riscv64 (8.2-3) over (8.2-1.3) ... Preparing to unpack .../26-libsqlite3-0_3.45.0-1_riscv64.deb ... Unpacking libsqlite3-0:riscv64 (3.45.0-1) over (3.42.0-1) ... Preparing to unpack .../27-openssl_3.0.10-1ubuntu4_riscv64.deb ... Unpacking openssl (3.0.10-1ubuntu4) over (3.0.10-1ubuntu2) ... Preparing to unpack .../28-tzdata_2023d-1ubuntu2_all.deb ... Unpacking tzdata (2023d-1ubuntu2) over (2023c-9ubuntu1) ... Preparing to unpack .../29-bash-completion_1%3a2.11-8_all.deb ... Unpacking bash-completion (1:2.11-8) over (1:2.11-7) ... Preparing to unpack .../30-bsdextrautils_2.39.2-6ubuntu1_riscv64.deb ... Unpacking bsdextrautils (2.39.2-6ubuntu1) over (2.39.1-4ubuntu2) ... Preparing to unpack .../31-libpng16-16_1.6.42-1_riscv64.deb ... Unpacking libpng16-16:riscv64 (1.6.42-1) over (1.6.40-1) ... Preparing to unpack .../32-psmisc_23.6-2_riscv64.deb ... Unpacking psmisc (23.6-2) over (23.6-1) ... Preparing to unpack .../33-xz-utils_5.4.5-0.3_riscv64.deb ... Unpacking xz-utils (5.4.5-0.3) over (5.4.1-0.2) ... Preparing to unpack .../34-g++_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking g++ (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Preparing to unpack .../35-gcc_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking gcc (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Preparing to unpack .../36-cpp_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking cpp (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Selecting previously unselected package cpp-riscv64-linux-gnu. Preparing to unpack .../37-cpp-riscv64-linux-gnu_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking cpp-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Selecting previously unselected package gcc-riscv64-linux-gnu. Preparing to unpack .../38-gcc-riscv64-linux-gnu_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking gcc-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Selecting previously unselected package g++-riscv64-linux-gnu. Preparing to unpack .../39-g++-riscv64-linux-gnu_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking g++-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Preparing to unpack .../40-dpkg-dev_1.22.2ubuntu3_all.deb ... Unpacking dpkg-dev (1.22.2ubuntu3) over (1.22.0ubuntu1) ... Preparing to unpack .../41-libdpkg-perl_1.22.2ubuntu3_all.deb ... Unpacking libdpkg-perl (1.22.2ubuntu3) over (1.22.0ubuntu1) ... Preparing to unpack .../42-lto-disabled-list_46_all.deb ... Unpacking lto-disabled-list (46) over (43) ... Preparing to unpack .../43-libfakeroot_1.33-1_riscv64.deb ... Unpacking libfakeroot:riscv64 (1.33-1) over (1.32.1-1) ... Preparing to unpack .../44-fakeroot_1.33-1_riscv64.deb ... Unpacking fakeroot (1.33-1) over (1.32.1-1) ... Preparing to unpack .../45-optipng_0.7.8+ds-1_riscv64.deb ... Unpacking optipng (0.7.8+ds-1) over (0.7.7-2build1) ... Preparing to unpack .../46-pinentry-curses_1.2.1-3ubuntu1_riscv64.deb ... Unpacking pinentry-curses (1.2.1-3ubuntu1) over (1.2.1-1ubuntu1) ... Setting up libtext-iconv-perl:riscv64 (1.7-8build1) ... Setting up libtext-charwidth-perl:riscv64 (0.04-11build1) ... Setting up lto-disabled-list (46) ... Setting up apt-utils (2.7.10) ... Setting up bsdextrautils (2.39.2-6ubuntu1) ... Setting up init (1.66ubuntu1) ... Setting up psmisc (23.6-2) ... Setting up libtirpc-common (1.3.4+ds-1build1) ... Setting up libsqlite3-0:riscv64 (3.45.0-1) ... Setting up binutils-common:riscv64 (2.42-2ubuntu1) ... Setting up linux-libc-dev:riscv64 (6.6.0-14.14) ... Setting up libctf-nobfd0:riscv64 (2.42-2ubuntu1) ... Setting up krb5-locales (1.20.1-5build1) ... Setting up libgomp1:riscv64 (14-20240126-2ubuntu1) ... Setting up libsframe1:riscv64 (2.42-2ubuntu1) ... Setting up libfakeroot:riscv64 (1.33-1) ... Setting up libkrb5support0:riscv64 (1.20.1-5build1) ... Setting up tzdata (2023d-1ubuntu2) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Feb 1 19:46:34 UTC 2024. Universal Time is now: Thu Feb 1 19:46:34 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fakeroot (1.33-1) ... Setting up perl-modules-5.36 (5.36.0-10ubuntu1) ... Setting up gcc-13-base:riscv64 (13.2.0-13ubuntu1) ... Setting up bash-completion (1:2.11-8) ... Setting up xz-utils (5.4.5-0.3) ... Setting up perl-modules-5.38 (5.38.2-3) ... Setting up libproc2-0:riscv64 (2:4.0.4-2ubuntu1) ... Setting up libpng16-16:riscv64 (1.6.42-1) ... Setting up libatomic1:riscv64 (14-20240126-2ubuntu1) ... Setting up libncursesw6:riscv64 (6.4+20240113-1) ... Setting up libk5crypto3:riscv64 (1.20.1-5build1) ... Setting up uuid-runtime (2.39.2-6ubuntu1) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of restart. Setting up libcrypt-dev:riscv64 (1:4.4.36-4) ... Setting up libasan8:riscv64 (14-20240126-2ubuntu1) ... Setting up procps (2:4.0.4-2ubuntu1) ... Installing new version of config file /etc/sysctl.conf ... Setting up mawk (1.3.4.20240123-1) ... Setting up libkrb5-3:riscv64 (1.20.1-5build1) ... Setting up libbinutils:riscv64 (2.42-2ubuntu1) ... Setting up libc-dev-bin (2.38-3ubuntu1) ... Setting up openssl (3.0.10-1ubuntu4) ... Setting up libgpg-error-l10n (1.47-3build1) ... Setting up readline-common (8.2-3) ... Setting up libcc1-0:riscv64 (14-20240126-2ubuntu1) ... Setting up liblocale-gettext-perl (1.07-6build1) ... Setting up libgdbm6:riscv64 (1.23-5) ... Setting up libctf0:riscv64 (2.42-2ubuntu1) ... Setting up pinentry-curses (1.2.1-3ubuntu1) ... Setting up cpp-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Setting up libreadline8:riscv64 (8.2-3) ... Setting up binutils-riscv64-linux-gnu (2.42-2ubuntu1) ... Setting up debconf-i18n (1.5.85) ... Setting up binutils (2.42-2ubuntu1) ... Setting up optipng (0.7.8+ds-1) ... Setting up libgssapi-krb5-2:riscv64 (1.20.1-5build1) ... Setting up libgdbm-compat4:riscv64 (1.23-5) ... Setting up libgcc-13-dev:riscv64 (13.2.0-13ubuntu1) ... Setting up cpp-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up libperl5.36:riscv64 (5.36.0-10ubuntu1) ... Setting up libtirpc3:riscv64 (1.3.4+ds-1build1) ... Setting up cpp-13 (13.2.0-13ubuntu1) ... Setting up gcc-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Setting up libperl5.38:riscv64 (5.38.2-3) ... Setting up gcc-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up perl (5.38.2-3) ... Setting up libtirpc-dev:riscv64 (1.3.4+ds-1build1) ... Setting up gcc-13 (13.2.0-13ubuntu1) ... Setting up libdpkg-perl (1.22.2ubuntu3) ... Setting up cpp (4:13.2.0-7ubuntu1) ... Setting up libnsl2:riscv64 (1.3.0-3) ... Setting up gcc (4:13.2.0-7ubuntu1) ... Setting up dpkg-dev (1.22.2ubuntu3) ... Setting up libnsl-dev:riscv64 (1.3.0-3) ... Setting up libc6-dev:riscv64 (2.38-3ubuntu1) ... Setting up libstdc++-13-dev:riscv64 (13.2.0-13ubuntu1) ... Setting up g++-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Setting up g++-13 (13.2.0-13ubuntu1) ... Setting up g++-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up g++ (4:13.2.0-7ubuntu1) ... Processing triggers for libc-bin (2.38-3ubuntu1) ... Processing triggers for debianutils (5.16) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-27738515 riscv64 noble-proposed -c chroot:build-PACKAGEBUILD-27738515 --arch=riscv64 --dist=noble-proposed --nolog petsc4py_3.19.6-3.dsc Initiating build PACKAGEBUILD-27738515 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.19.0-1021-generic #23~22.04.1-Ubuntu SMP Thu Jun 22 12:49:35 UTC 2023 riscv64 sbuild (Debian sbuild) 0.81.2ubuntu6 (16 February 2022) on bos03-riscv64-032.buildd +==============================================================================+ | petsc4py 3.19.6-3 (riscv64) Thu, 01 Feb 2024 19:46:56 +0000 | +==============================================================================+ Package: petsc4py Version: 3.19.6-3 Source Version: 3.19.6-3 Distribution: noble-proposed Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-27738515/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/petsc4py-EHZR6G/resolver-k3clHA' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- petsc4py_3.19.6-3.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/petsc4py-EHZR6G/petsc4py-3.19.6' with '<>' I: NOTICE: Log filtering will replace 'build/petsc4py-EHZR6G' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dev (>= 3.3), python3-distutils, cython3-legacy (>= 0.24~), python3-numpy (>= 1:1.4.1-4~), libpetsc-real3.19-dev, libpetsc-complex3.19-dev, libpetsc64-real3.19-dev, libpetsc64-complex3.19-dev, chrpath, mpi-default-dev, libhdf5-mpi-dev, sphinx | python3-sphinx | dh-sequence-sphinxdoc, texinfo, build-essential, fakeroot Filtered Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dev (>= 3.3), python3-distutils, cython3-legacy (>= 0.24~), python3-numpy (>= 1:1.4.1-4~), libpetsc-real3.19-dev, libpetsc-complex3.19-dev, libpetsc64-real3.19-dev, libpetsc64-complex3.19-dev, chrpath, mpi-default-dev, libhdf5-mpi-dev, sphinx | python3-sphinx | dh-sequence-sphinxdoc, texinfo, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [518 B] Get:5 copy:/<>/apt_archive ./ Packages [595 B] Fetched 2070 B in 0s (5897 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: apt-utils bash-completion debconf-i18n krb5-locales libgpg-error-l10n libgpm2 libip4tc2 liblocale-gettext-perl libnss-nis libnss-nisplus libperl5.36 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libunistring2 perl-modules-5.36 psmisc uuid-runtime Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev chrpath cython3-legacy debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz file fonts-mathjax gettext gettext-base gfortran gfortran-13 gfortran-13-riscv64-linux-gnu gfortran-riscv64-linux-gnu groff-base ibverbs-providers intltool-debian libaec-dev libaec0 libamd3 libarchive-zip-perl libblas-dev libblas3 libblas64-3 libbrotli1 libbsd0 libbtf2 libcamd3 libcbor0.10 libccolamd3 libcholmod5 libcolamd3 libcombblas2.0.0 libcurl4 libcurl4-openssl-dev libcxsparse4 libdebhelper-perl libdw1 libedit2 libelf1 libevent-2.1-7 libevent-core-2.1-7 libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libexpat1 libexpat1-dev libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-mpi-dev libfftw3-mpi3 libfftw3-single3 libfido2-1 libfile-stripnondeterminism-perl libgfortran-13-dev libgfortran5 libhdf5-mpi-dev libhdf5-openmpi-103-1 libhdf5-openmpi-cpp-103-1 libhdf5-openmpi-dev libhdf5-openmpi-fortran-102 libhdf5-openmpi-hl-100 libhdf5-openmpi-hl-cpp-100 libhdf5-openmpi-hl-fortran-100 libhwloc-dev libhwloc-plugins libhwloc15 libhypre-2.28.0 libhypre-dev libhypre64m-2.28.0 libhypre64m-dev libibverbs-dev libibverbs1 libicu74 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjs-jquery libjs-jquery-ui libjs-mathjax libjs-sphinxdoc libjs-underscore libjson-perl libklu2 liblapack-dev liblapack3 liblapack64-3 libldap2 libldl3 libltdl-dev libltdl7 libmagic-mgc libmagic1 libmetis5 libmumps-5.6 libmumps-64pord-5.6 libmumps-dev libmumps-headers-dev libmumps64-dev libmunge2 libnghttp2-14 libnl-3-200 libnl-3-dev libnl-route-3-200 libnl-route-3-dev libnuma-dev libnuma1 libopenblas64-0 libopenblas64-0-pthread libopenblas64-dev libopenblas64-pthread-dev libopenmpi-dev libopenmpi3 libparu0 libpciaccess0 libpetsc-complex3.19 libpetsc-complex3.19-dev libpetsc-real3.19 libpetsc-real3.19-dev libpetsc3.19-dev-common libpetsc64-complex3.19 libpetsc64-complex3.19-dev libpetsc64-real3.19 libpetsc64-real3.19-dev libpipeline1 libpmix-dev libpmix2 libpsl5 libpthread-stubs0-dev libptscotch-7.0 libptscotch-dev libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib libpython3.12 libpython3.12-dev libpython3.12-minimal libpython3.12-stdlib librbio4 librdmacm1 librtmp1 libsasl2-2 libsasl2-modules-db libscalapack-mpi-dev libscalapack-openmpi-dev libscalapack-openmpi2.2 libscotch-7.0 libscotch-dev libspex2 libspqr4 libssh-4 libssl-dev libsub-override-perl libsuitesparse-dev libsuitesparse-mongoose3 libsuitesparseconfig7 libsuperlu-dev libsuperlu-dist-dev libsuperlu-dist8 libsuperlu6 libsz2 libtext-unidecode-perl libtool libuchardet0 libumfpack6 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext6 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 libxnvctrl0 libyaml-0-2 libyaml-dev m4 man-db media-types mpi-default-bin mpi-default-dev netbase ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers opencl-clhpp-headers openmpi-bin openmpi-common openssh-client po-debconf python-babel-localedata python3 python3-alabaster python3-all python3-all-dev python3-babel python3-certifi python3-chardet python3-dev python3-distutils python3-docutils python3-idna python3-imagesize python3-jinja2 python3-lib2to3 python3-markupsafe python3-minimal python3-numpy python3-packaging python3-pkg-resources python3-pygments python3-requests python3-roman python3-setuptools python3-snowballstemmer python3-sphinx python3-tz python3-urllib3 python3-zombie-imp python3.11 python3.11-dev python3.11-minimal python3.12 python3.12-dev python3.12-minimal sgml-base sphinx-common tex-common texinfo texinfo-lib ucf x11proto-dev xml-core xorg-sgml-doctools xtrans-dev zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc cython-legacy-doc dh-make flit python3-build python3-installer python3-wheel gettext-doc libasprintf-dev libgettextpo-dev gfortran-doc gfortran-13-doc libcoarrays-dev groff liblapack-doc libcurl4-doc libidn-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev pkg-config libfftw3-doc libhdf5-doc libjs-jquery-ui-docs fonts-mathjax-extras fonts-stix libjs-mathjax-doc libtool-doc openmpi-doc pciutils petsc-dev libpetsc-complex3.19-dbg petsc3.19-doc libluminate-dev libpetsc-real3.19-dbg petsc64-dev libpetsc64-complex3.19-dbg libpetsc64-real3.19-dbg scalapack-doc libssl-doc libsuperlu-doc gcj-jdk libx11-doc libxcb-doc libyaml-doc m4-doc apparmor less www-browser opencl-icd opencl-clhpp-headers-doc keychain libpam-ssh monkeysphere ssh-askpass libmail-box-perl python3-doc python3-tk python3-venv docutils-doc fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french texlive-latex-base texlive-latex-recommended python-jinja2-doc python3-pytest python-pygments-doc ttf-bitstream-vera python3-cryptography python3-openssl python3-socks python-requests-doc python-setuptools-doc python3-stemmer dvipng fonts-freefont-otf imagemagick-6.q16 latexmk python3-sphinx-rtd-theme sphinx-doc tex-gyre texlive-fonts-recommended texlive-latex-extra texlive-plain-generic python3-brotli python3.11-venv python3.11-doc binfmt-support python3.12-venv python3.12-doc sgml-base-doc texlive-base Recommended packages: curl | wget | lynx libarchive-cpio-perl javascript-common libjson-xs-perl libldap-common libcoarrays-openmpi-dev libpetsc3.19-dev-examples ksh | mksh | pdksh | zsh publicsuffix libsasl2-modules libgraphblas-dev libwww-perl libxml-sax-expat-perl libgl-dev xauth libmail-sendmail-perl libpaper-utils python3-pil The following NEW packages will be installed: autoconf automake autopoint autotools-dev chrpath cython3-legacy debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz file fonts-mathjax gettext gettext-base gfortran gfortran-13 gfortran-13-riscv64-linux-gnu gfortran-riscv64-linux-gnu groff-base ibverbs-providers intltool-debian libaec-dev libaec0 libamd3 libarchive-zip-perl libblas-dev libblas3 libblas64-3 libbrotli1 libbsd0 libbtf2 libcamd3 libcbor0.10 libccolamd3 libcholmod5 libcolamd3 libcombblas2.0.0 libcurl4 libcurl4-openssl-dev libcxsparse4 libdebhelper-perl libdw1 libedit2 libelf1 libevent-2.1-7 libevent-core-2.1-7 libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libexpat1 libexpat1-dev libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-mpi-dev libfftw3-mpi3 libfftw3-single3 libfido2-1 libfile-stripnondeterminism-perl libgfortran-13-dev libgfortran5 libhdf5-mpi-dev libhdf5-openmpi-103-1 libhdf5-openmpi-cpp-103-1 libhdf5-openmpi-dev libhdf5-openmpi-fortran-102 libhdf5-openmpi-hl-100 libhdf5-openmpi-hl-cpp-100 libhdf5-openmpi-hl-fortran-100 libhwloc-dev libhwloc-plugins libhwloc15 libhypre-2.28.0 libhypre-dev libhypre64m-2.28.0 libhypre64m-dev libibverbs-dev libibverbs1 libicu74 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjs-jquery libjs-jquery-ui libjs-mathjax libjs-sphinxdoc libjs-underscore libjson-perl libklu2 liblapack-dev liblapack3 liblapack64-3 libldap2 libldl3 libltdl-dev libltdl7 libmagic-mgc libmagic1 libmetis5 libmumps-5.6 libmumps-64pord-5.6 libmumps-dev libmumps-headers-dev libmumps64-dev libmunge2 libnghttp2-14 libnl-3-200 libnl-3-dev libnl-route-3-200 libnl-route-3-dev libnuma-dev libnuma1 libopenblas64-0 libopenblas64-0-pthread libopenblas64-dev libopenblas64-pthread-dev libopenmpi-dev libopenmpi3 libparu0 libpciaccess0 libpetsc-complex3.19 libpetsc-complex3.19-dev libpetsc-real3.19 libpetsc-real3.19-dev libpetsc3.19-dev-common libpetsc64-complex3.19 libpetsc64-complex3.19-dev libpetsc64-real3.19 libpetsc64-real3.19-dev libpipeline1 libpmix-dev libpmix2 libpsl5 libpthread-stubs0-dev libptscotch-7.0 libptscotch-dev libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib libpython3.12 libpython3.12-dev libpython3.12-minimal libpython3.12-stdlib librbio4 librdmacm1 librtmp1 libsasl2-2 libsasl2-modules-db libscalapack-mpi-dev libscalapack-openmpi-dev libscalapack-openmpi2.2 libscotch-7.0 libscotch-dev libspex2 libspqr4 libssh-4 libssl-dev libsub-override-perl libsuitesparse-dev libsuitesparse-mongoose3 libsuitesparseconfig7 libsuperlu-dev libsuperlu-dist-dev libsuperlu-dist8 libsuperlu6 libsz2 libtext-unidecode-perl libtool libuchardet0 libumfpack6 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext6 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 libxnvctrl0 libyaml-0-2 libyaml-dev m4 man-db media-types mpi-default-bin mpi-default-dev netbase ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers opencl-clhpp-headers openmpi-bin openmpi-common openssh-client po-debconf python-babel-localedata python3 python3-alabaster python3-all python3-all-dev python3-babel python3-certifi python3-chardet python3-dev python3-distutils python3-docutils python3-idna python3-imagesize python3-jinja2 python3-lib2to3 python3-markupsafe python3-minimal python3-numpy python3-packaging python3-pkg-resources python3-pygments python3-requests python3-roman python3-setuptools python3-snowballstemmer python3-sphinx python3-tz python3-urllib3 python3-zombie-imp python3.11 python3.11-dev python3.11-minimal python3.12 python3.12-dev python3.12-minimal sbuild-build-depends-main-dummy sgml-base sphinx-common tex-common texinfo texinfo-lib ucf x11proto-dev xml-core xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded. Need to get 290 MB of archives. After this operation, 1445 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [810 B] Get:2 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.12-minimal riscv64 3.12.1-2 [825 kB] Get:3 http://ftpmaster.internal/ubuntu noble/main riscv64 libexpat1 riscv64 2.5.0-2 [78.2 kB] Get:4 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.12-minimal riscv64 3.12.1-2 [2307 kB] Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3-minimal riscv64 3.12.1-0ubuntu1 [26.9 kB] Get:6 http://ftpmaster.internal/ubuntu noble/main riscv64 media-types all 10.1.0 [27.5 kB] Get:7 http://ftpmaster.internal/ubuntu noble/main riscv64 netbase all 6.4 [13.1 kB] Get:8 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.12-stdlib riscv64 3.12.1-2 [2008 kB] Get:9 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.12 riscv64 3.12.1-2 [638 kB] Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libpython3-stdlib riscv64 3.12.1-0ubuntu1 [9662 B] Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3 riscv64 3.12.1-0ubuntu1 [22.9 kB] Get:12 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.11-minimal riscv64 3.11.7-2 [835 kB] Get:13 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.11-minimal riscv64 3.11.7-2 [2148 kB] Get:14 http://ftpmaster.internal/ubuntu noble/main riscv64 sgml-base all 1.31 [11.4 kB] Get:15 http://ftpmaster.internal/ubuntu noble/main riscv64 libbsd0 riscv64 0.11.8-1 [43.9 kB] Get:16 http://ftpmaster.internal/ubuntu noble/main riscv64 libelf1 riscv64 0.190-1 [61.0 kB] Get:17 http://ftpmaster.internal/ubuntu noble/main riscv64 libicu74 riscv64 74.2-1ubuntu1 [10.9 MB] Get:18 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.11-stdlib riscv64 3.11.7-2 [1914 kB] Get:19 http://ftpmaster.internal/ubuntu noble/main riscv64 libxml2 riscv64 2.9.14+dfsg-1.3build3 [719 kB] Get:20 http://ftpmaster.internal/ubuntu noble/main riscv64 libyaml-0-2 riscv64 0.2.5-1 [50.4 kB] Get:21 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-pkg-resources all 68.1.2-2 [167 kB] Get:22 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-pygments all 2.15.1+dfsg-1 [820 kB] Get:23 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.11 riscv64 3.11.7-2 [583 kB] Get:24 http://ftpmaster.internal/ubuntu noble/main riscv64 ucf all 3.0043+nmu1 [56.5 kB] Get:25 http://ftpmaster.internal/ubuntu noble/main riscv64 libmagic-mgc riscv64 1:5.45-2 [307 kB] Get:26 http://ftpmaster.internal/ubuntu noble/main riscv64 libmagic1 riscv64 1:5.45-2 [93.6 kB] Get:27 http://ftpmaster.internal/ubuntu noble/main riscv64 file riscv64 1:5.45-2 [21.7 kB] Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 gettext-base riscv64 0.21-14ubuntu1 [42.5 kB] Get:29 http://ftpmaster.internal/ubuntu noble/main riscv64 libuchardet0 riscv64 0.0.8-1 [77.4 kB] Get:30 http://ftpmaster.internal/ubuntu noble/main riscv64 groff-base riscv64 1.23.0-3 [1017 kB] Get:31 http://ftpmaster.internal/ubuntu noble/main riscv64 libcbor0.10 riscv64 0.10.2-1.1ubuntu1 [25.7 kB] Get:32 http://ftpmaster.internal/ubuntu noble/main riscv64 libedit2 riscv64 3.1-20230828-1 [94.8 kB] Get:33 http://ftpmaster.internal/ubuntu noble/main riscv64 libfido2-1 riscv64 1.14.0-1 [88.4 kB] Get:34 http://ftpmaster.internal/ubuntu noble/main riscv64 libnghttp2-14 riscv64 1.58.0-1 [82.4 kB] Get:35 http://ftpmaster.internal/ubuntu noble/main riscv64 libnuma1 riscv64 2.0.16-1 [19.9 kB] Get:36 http://ftpmaster.internal/ubuntu noble/main riscv64 libpipeline1 riscv64 1.5.7-1 [26.8 kB] Get:37 http://ftpmaster.internal/ubuntu noble/main riscv64 libpsl5 riscv64 0.21.2-1build1 [57.2 kB] Get:38 http://ftpmaster.internal/ubuntu noble/main riscv64 libxau6 riscv64 1:1.0.9-1build5 [6836 B] Get:39 http://ftpmaster.internal/ubuntu noble/main riscv64 libxdmcp6 riscv64 1:1.1.3-0ubuntu5 [10.3 kB] Get:40 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb1 riscv64 1.15-1 [42.1 kB] Get:41 http://ftpmaster.internal/ubuntu noble/main riscv64 libx11-data all 2:1.8.7-1 [115 kB] Get:42 http://ftpmaster.internal/ubuntu noble/main riscv64 libx11-6 riscv64 2:1.8.7-1 [663 kB] Get:43 http://ftpmaster.internal/ubuntu noble/main riscv64 libxext6 riscv64 2:1.3.4-1build1 [27.8 kB] Get:44 http://ftpmaster.internal/ubuntu noble/main riscv64 man-db riscv64 2.12.0-3 [1219 kB] Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 openssh-client riscv64 1:9.6p1-3ubuntu1 [966 kB] Get:46 http://ftpmaster.internal/ubuntu noble/main riscv64 m4 riscv64 1.4.19-4 [261 kB] Get:47 http://ftpmaster.internal/ubuntu noble/main riscv64 autoconf all 2.71-3 [339 kB] Get:48 http://ftpmaster.internal/ubuntu noble/main riscv64 autotools-dev all 20220109.1 [44.9 kB] Get:49 http://ftpmaster.internal/ubuntu noble/main riscv64 automake all 1:1.16.5-1.3 [558 kB] Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 autopoint all 0.21-14ubuntu1 [422 kB] Get:51 http://ftpmaster.internal/ubuntu noble/universe riscv64 chrpath riscv64 0.16-2 [12.9 kB] Get:52 http://ftpmaster.internal/ubuntu noble/universe riscv64 python3-zombie-imp all 0.0.2-2 [11.9 kB] Get:53 http://ftpmaster.internal/ubuntu noble/universe riscv64 cython3-legacy riscv64 0.29.36-3ubuntu1 [4204 kB] Get:54 http://ftpmaster.internal/ubuntu noble/main riscv64 libdebhelper-perl all 13.13ubuntu1 [88.9 kB] Get:55 http://ftpmaster.internal/ubuntu noble/main riscv64 libtool all 2.4.7-7 [166 kB] Get:56 http://ftpmaster.internal/ubuntu noble/main riscv64 dh-autoreconf all 20 [16.1 kB] Get:57 http://ftpmaster.internal/ubuntu noble/main riscv64 libarchive-zip-perl all 1.68-1 [90.2 kB] Get:58 http://ftpmaster.internal/ubuntu noble/main riscv64 libsub-override-perl all 0.10-1 [10.0 kB] Get:59 http://ftpmaster.internal/ubuntu noble/main riscv64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] Get:60 http://ftpmaster.internal/ubuntu noble/main riscv64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] Get:61 http://ftpmaster.internal/ubuntu noble/main riscv64 libdw1 riscv64 0.190-1 [268 kB] Get:62 http://ftpmaster.internal/ubuntu noble/main riscv64 debugedit riscv64 1:5.0-5 [48.8 kB] Get:63 http://ftpmaster.internal/ubuntu noble/main riscv64 dwz riscv64 0.15-1 [115 kB] Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 gettext riscv64 0.21-14ubuntu1 [874 kB] Get:65 http://ftpmaster.internal/ubuntu noble/main riscv64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] Get:66 http://ftpmaster.internal/ubuntu noble/main riscv64 po-debconf all 1.0.21+nmu1 [233 kB] Get:67 http://ftpmaster.internal/ubuntu noble/main riscv64 debhelper all 13.13ubuntu1 [868 kB] Get:68 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-lib2to3 all 3.11.5-1 [79.0 kB] Get:69 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-distutils all 3.11.5-1 [131 kB] Get:70 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-setuptools all 68.1.2-2 [396 kB] Get:71 http://ftpmaster.internal/ubuntu noble/universe riscv64 dh-python all 6.20231223 [128 kB] Get:72 http://ftpmaster.internal/ubuntu noble/main riscv64 xml-core all 0.19 [20.3 kB] Get:73 http://ftpmaster.internal/ubuntu noble/main riscv64 docutils-common all 0.20.1+dfsg-3 [132 kB] Get:74 http://ftpmaster.internal/ubuntu noble/main riscv64 fonts-mathjax all 2.7.9+dfsg-1 [2208 kB] Get:75 http://ftpmaster.internal/ubuntu noble/main riscv64 libgfortran5 riscv64 14-20240126-2ubuntu1 [465 kB] Get:76 http://ftpmaster.internal/ubuntu noble/main riscv64 libgfortran-13-dev riscv64 13.2.0-13ubuntu1 [1326 kB] Get:77 http://ftpmaster.internal/ubuntu noble/main riscv64 gfortran-13-riscv64-linux-gnu riscv64 13.2.0-13ubuntu1 [10.8 MB] Get:78 http://ftpmaster.internal/ubuntu noble/main riscv64 gfortran-13 riscv64 13.2.0-13ubuntu1 [10.2 kB] Get:79 http://ftpmaster.internal/ubuntu noble/main riscv64 gfortran-riscv64-linux-gnu riscv64 4:13.2.0-7ubuntu1 [1020 B] Get:80 http://ftpmaster.internal/ubuntu noble/main riscv64 gfortran riscv64 4:13.2.0-7ubuntu1 [1164 B] Get:81 http://ftpmaster.internal/ubuntu noble/main riscv64 libnl-3-200 riscv64 3.7.0-0.3 [59.3 kB] Get:82 http://ftpmaster.internal/ubuntu noble/main riscv64 libnl-route-3-200 riscv64 3.7.0-0.3 [202 kB] Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libibverbs1 riscv64 48.0-1.1 [67.7 kB] Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 ibverbs-providers riscv64 48.0-1.1 [407 kB] Get:85 http://ftpmaster.internal/ubuntu noble/universe riscv64 libaec0 riscv64 1.1.2-1 [23.3 kB] Get:86 http://ftpmaster.internal/ubuntu noble/main riscv64 libsuitesparseconfig7 riscv64 1:7.6.0+dfsg-1 [12.6 kB] Get:87 http://ftpmaster.internal/ubuntu noble/universe riscv64 libamd3 riscv64 1:7.6.0+dfsg-1 [27.7 kB] Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libblas3 riscv64 3.12.0-2 [132 kB] Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libblas-dev riscv64 3.12.0-2 [292 kB] Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libblas64-3 riscv64 3.12.0-2 [124 kB] Get:91 http://ftpmaster.internal/ubuntu noble/main riscv64 libbrotli1 riscv64 1.1.0-2 [381 kB] Get:92 http://ftpmaster.internal/ubuntu noble/universe riscv64 libbtf2 riscv64 1:7.6.0+dfsg-1 [13.5 kB] Get:93 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcamd3 riscv64 1:7.6.0+dfsg-1 [24.1 kB] Get:94 http://ftpmaster.internal/ubuntu noble/universe riscv64 libccolamd3 riscv64 1:7.6.0+dfsg-1 [25.6 kB] Get:95 http://ftpmaster.internal/ubuntu noble/main riscv64 libcolamd3 riscv64 1:7.6.0+dfsg-1 [18.5 kB] Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 liblapack3 riscv64 3.12.0-2 [2295 kB] Get:97 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcholmod5 riscv64 1:7.6.0+dfsg-1 [696 kB] Get:98 http://ftpmaster.internal/ubuntu noble/main riscv64 libevent-core-2.1-7 riscv64 2.1.12-stable-9 [92.5 kB] Get:99 http://ftpmaster.internal/ubuntu noble/main riscv64 libevent-pthreads-2.1-7 riscv64 2.1.12-stable-9 [7598 B] Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 librdmacm1 riscv64 48.0-1.1 [76.5 kB] Get:101 http://ftpmaster.internal/ubuntu noble/universe riscv64 libfabric1 riscv64 1.17.0-3 [481 kB] Get:102 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhwloc15 riscv64 2.10.0-1 [169 kB] Get:103 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmunge2 riscv64 0.5.15-3ubuntu1 [24.6 kB] Get:104 http://ftpmaster.internal/ubuntu noble/main riscv64 libpciaccess0 riscv64 0.17-3 [19.0 kB] Get:105 http://ftpmaster.internal/ubuntu noble/main riscv64 libxnvctrl0 riscv64 510.47.03-0ubuntu1 [10.9 kB] Get:106 http://ftpmaster.internal/ubuntu noble/universe riscv64 ocl-icd-libopencl1 riscv64 2.3.2-1 [33.3 kB] Get:107 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhwloc-plugins riscv64 2.10.0-1 [15.2 kB] Get:108 http://ftpmaster.internal/ubuntu noble/universe riscv64 libpmix2 riscv64 5.0.1-4 [715 kB] Get:109 http://ftpmaster.internal/ubuntu noble/universe riscv64 libopenmpi3 riscv64 4.1.6-5ubuntu1 [2805 kB] Get:110 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcombblas2.0.0 riscv64 2.0.0-3 [272 kB] Get:111 http://ftpmaster.internal/ubuntu noble/main riscv64 libsasl2-modules-db riscv64 2.1.28+dfsg1-4 [21.5 kB] Get:112 http://ftpmaster.internal/ubuntu noble/main riscv64 libsasl2-2 riscv64 2.1.28+dfsg1-4 [61.0 kB] Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libldap2 riscv64 2.6.6+dfsg-1~exp1ubuntu2 [207 kB] Get:114 http://ftpmaster.internal/ubuntu noble/main riscv64 librtmp1 riscv64 2.4+20151223.gitfa8646d.1-2build4 [54.6 kB] Get:115 http://ftpmaster.internal/ubuntu noble/main riscv64 libssh-4 riscv64 0.10.6-2 [235 kB] Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libcurl4 riscv64 8.5.0-2ubuntu2 [355 kB] Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libcurl4-openssl-dev riscv64 8.5.0-2ubuntu2 [1116 kB] Get:118 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcxsparse4 riscv64 1:7.6.0+dfsg-1 [75.1 kB] Get:119 http://ftpmaster.internal/ubuntu noble/main riscv64 libevent-2.1-7 riscv64 2.1.12-stable-9 [147 kB] Get:120 http://ftpmaster.internal/ubuntu noble/main riscv64 libevent-extra-2.1-7 riscv64 2.1.12-stable-9 [65.4 kB] Get:121 http://ftpmaster.internal/ubuntu noble/main riscv64 libevent-openssl-2.1-7 riscv64 2.1.12-stable-9 [15.0 kB] Get:122 http://ftpmaster.internal/ubuntu noble/main riscv64 libevent-dev riscv64 2.1.12-stable-9 [560 kB] Get:123 http://ftpmaster.internal/ubuntu noble/main riscv64 libexpat1-dev riscv64 2.5.0-2 [292 kB] Get:124 http://ftpmaster.internal/ubuntu noble/main riscv64 libfftw3-double3 riscv64 3.3.10-1ubuntu1 [382 kB] Get:125 http://ftpmaster.internal/ubuntu noble/main riscv64 libfftw3-long3 riscv64 3.3.10-1ubuntu1 [747 kB] Get:126 http://ftpmaster.internal/ubuntu noble/main riscv64 libfftw3-single3 riscv64 3.3.10-1ubuntu1 [387 kB] Get:127 http://ftpmaster.internal/ubuntu noble/main riscv64 libfftw3-bin riscv64 3.3.10-1ubuntu1 [30.0 kB] Get:128 http://ftpmaster.internal/ubuntu noble/main riscv64 libfftw3-dev riscv64 3.3.10-1ubuntu1 [1617 kB] Get:129 http://ftpmaster.internal/ubuntu noble/universe riscv64 libfftw3-mpi3 riscv64 3.3.10-1ubuntu1 [39.8 kB] Get:130 http://ftpmaster.internal/ubuntu noble/universe riscv64 libfftw3-mpi-dev riscv64 3.3.10-1ubuntu1 [63.2 kB] Get:131 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsz2 riscv64 1.1.2-1 [5068 B] Get:132 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-openmpi-103-1 riscv64 1.10.10+repack-3ubuntu1 [1442 kB] Get:133 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-openmpi-cpp-103-1 riscv64 1.10.10+repack-3ubuntu1 [128 kB] Get:134 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-openmpi-fortran-102 riscv64 1.10.10+repack-3ubuntu1 [89.0 kB] Get:135 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-openmpi-hl-100 riscv64 1.10.10+repack-3ubuntu1 [58.6 kB] Get:136 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-openmpi-hl-cpp-100 riscv64 1.10.10+repack-3ubuntu1 [10.8 kB] Get:137 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-openmpi-hl-fortran-100 riscv64 1.10.10+repack-3ubuntu1 [32.4 kB] Get:138 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmetis5 riscv64 5.1.0.dfsg-7build2 [153 kB] Get:139 http://ftpmaster.internal/ubuntu noble/universe riscv64 libptscotch-7.0 riscv64 7.0.4-1 [711 kB] Get:140 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsuperlu-dist8 riscv64 8.2.1+dfsg1-1 [660 kB] Get:141 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhypre-2.28.0 riscv64 2.28.0-8 [1623 kB] Get:142 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libopenblas64-0-pthread riscv64 0.3.25+ds-2 [3274 kB] Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 liblapack64-3 riscv64 3.12.0-2 [2209 kB] Get:144 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhypre64m-2.28.0 riscv64 2.28.0-8 [1476 kB] Get:145 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libopenblas64-0 riscv64 0.3.25+ds-2 [4958 B] Get:146 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libopenblas64-pthread-dev riscv64 0.3.25+ds-2 [7705 kB] Get:147 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libopenblas64-dev riscv64 0.3.25+ds-2 [5022 B] Get:148 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsuperlu6 riscv64 6.0.1+dfsg1-1 [175 kB] Get:149 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsuperlu-dev riscv64 6.0.1+dfsg1-1 [20.7 kB] Get:150 http://ftpmaster.internal/ubuntu noble/universe riscv64 openmpi-common all 4.1.6-5ubuntu1 [178 kB] Get:151 http://ftpmaster.internal/ubuntu noble/main riscv64 libnl-3-dev riscv64 3.7.0-0.3 [195 kB] Get:152 http://ftpmaster.internal/ubuntu noble/main riscv64 libnl-route-3-dev riscv64 3.7.0-0.3 [620 kB] Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libibverbs-dev riscv64 48.0-1.1 [1813 kB] Get:154 http://ftpmaster.internal/ubuntu noble/main riscv64 libnuma-dev riscv64 2.0.16-1 [66.4 kB] Get:155 http://ftpmaster.internal/ubuntu noble/main riscv64 libltdl7 riscv64 2.4.7-7 [40.5 kB] Get:156 http://ftpmaster.internal/ubuntu noble/main riscv64 libltdl-dev riscv64 2.4.7-7 [196 kB] Get:157 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhwloc-dev riscv64 2.10.0-1 [600 kB] Get:158 http://ftpmaster.internal/ubuntu noble/main riscv64 zlib1g-dev riscv64 1:1.3.dfsg-3ubuntu1 [973 kB] Get:159 http://ftpmaster.internal/ubuntu noble/universe riscv64 libpmix-dev riscv64 5.0.1-4 [6049 kB] Get:160 http://ftpmaster.internal/ubuntu noble/main riscv64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] Get:161 http://ftpmaster.internal/ubuntu noble/universe riscv64 libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] Get:162 http://ftpmaster.internal/ubuntu noble/universe riscv64 openmpi-bin riscv64 4.1.6-5ubuntu1 [92.5 kB] Get:163 http://ftpmaster.internal/ubuntu noble/universe riscv64 libopenmpi-dev riscv64 4.1.6-5ubuntu1 [1572 kB] Get:164 http://ftpmaster.internal/ubuntu noble/universe riscv64 mpi-default-dev riscv64 1.15 [3118 B] Get:165 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhypre64m-dev riscv64 2.28.0-8 [4084 kB] Get:166 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg-turbo8 riscv64 2.1.5-2ubuntu1 [119 kB] Get:167 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg-turbo8-dev riscv64 2.1.5-2ubuntu1 [434 kB] Get:168 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg8 riscv64 8c-2ubuntu11 [2150 B] Get:169 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg8-dev riscv64 8c-2ubuntu11 [1486 B] Get:170 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg-dev riscv64 8c-2ubuntu11 [1484 B] Get:171 http://ftpmaster.internal/ubuntu noble/main riscv64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] Get:172 http://ftpmaster.internal/ubuntu noble/main riscv64 libjs-sphinxdoc all 7.2.6-3 [149 kB] Get:173 http://ftpmaster.internal/ubuntu noble/main riscv64 libjson-perl all 4.10000-1 [81.9 kB] Get:174 http://ftpmaster.internal/ubuntu noble/universe riscv64 libklu2 riscv64 1:7.6.0+dfsg-1 [76.0 kB] Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 liblapack-dev riscv64 3.12.0-2 [13.4 MB] Get:176 http://ftpmaster.internal/ubuntu noble/universe riscv64 libldl3 riscv64 1:7.6.0+dfsg-1 [13.3 kB] Get:177 http://ftpmaster.internal/ubuntu noble/universe riscv64 mpi-default-bin riscv64 1.15 [2340 B] Get:178 http://ftpmaster.internal/ubuntu noble/universe riscv64 libscalapack-openmpi2.2 riscv64 2.2.1-3 [1542 kB] Get:179 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmumps-5.6 riscv64 5.6.2-2 [2062 kB] Get:180 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmumps-64pord-5.6 riscv64 5.6.2-2 [2042 kB] Get:181 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmumps-headers-dev all 5.6.2-2 [21.0 kB] Get:182 http://ftpmaster.internal/ubuntu noble/universe riscv64 libscalapack-openmpi-dev riscv64 2.2.1-3 [7454 B] Get:183 http://ftpmaster.internal/ubuntu noble/universe riscv64 libscalapack-mpi-dev riscv64 2.2.1-3 [2314 B] Get:184 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmumps64-dev riscv64 5.6.2-2 [8203 kB] Get:185 http://ftpmaster.internal/ubuntu noble/universe riscv64 libumfpack6 riscv64 1:7.6.0+dfsg-1 [264 kB] Get:186 http://ftpmaster.internal/ubuntu noble/universe riscv64 libparu0 riscv64 1:7.6.0+dfsg-1 [51.8 kB] Get:187 http://ftpmaster.internal/ubuntu noble/universe riscv64 libspqr4 riscv64 1:7.6.0+dfsg-1 [128 kB] Get:188 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc-complex3.19 riscv64 3.19.6+dfsg1-2ubuntu1 [6979 kB] Get:189 http://ftpmaster.internal/ubuntu noble/main riscv64 libjs-mathjax all 2.7.9+dfsg-1 [5665 kB] Get:190 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsuitesparse-mongoose3 riscv64 1:7.6.0+dfsg-1 [35.2 kB] Get:191 http://ftpmaster.internal/ubuntu noble/universe riscv64 librbio4 riscv64 1:7.6.0+dfsg-1 [28.1 kB] Get:192 http://ftpmaster.internal/ubuntu noble/universe riscv64 libspex2 riscv64 1:7.6.0+dfsg-1 [37.4 kB] Get:193 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsuitesparse-dev riscv64 1:7.6.0+dfsg-1 [4385 kB] Get:194 http://ftpmaster.internal/ubuntu noble/universe riscv64 libscotch-7.0 riscv64 7.0.4-1 [446 kB] Get:195 http://ftpmaster.internal/ubuntu noble/universe riscv64 libscotch-dev riscv64 7.0.4-1 [2440 kB] Get:196 http://ftpmaster.internal/ubuntu noble/universe riscv64 libptscotch-dev riscv64 7.0.4-1 [2591 kB] Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libssl-dev riscv64 3.0.10-1ubuntu4 [5204 kB] Get:198 http://ftpmaster.internal/ubuntu noble/universe riscv64 opencl-c-headers all 3.0~2023.12.14-1 [58.7 kB] Get:199 http://ftpmaster.internal/ubuntu noble/universe riscv64 opencl-clhpp-headers all 3.0~2023.12.14-1ubuntu1 [50.5 kB] Get:200 http://ftpmaster.internal/ubuntu noble/universe riscv64 ocl-icd-opencl-dev riscv64 2.3.2-1 [2430 B] Get:201 http://ftpmaster.internal/ubuntu noble/universe riscv64 libaec-dev riscv64 1.1.2-1 [46.2 kB] Get:202 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-openmpi-dev riscv64 1.10.10+repack-3ubuntu1 [7028 kB] Get:203 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhdf5-mpi-dev riscv64 1.10.10+repack-3ubuntu1 [4618 B] Get:204 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsuperlu-dist-dev riscv64 8.2.1+dfsg1-1 [3674 kB] Get:205 http://ftpmaster.internal/ubuntu noble/main riscv64 xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] Get:206 http://ftpmaster.internal/ubuntu noble/main riscv64 x11proto-dev all 2023.2-1 [602 kB] Get:207 http://ftpmaster.internal/ubuntu noble/main riscv64 libxau-dev riscv64 1:1.0.9-1build5 [12.9 kB] Get:208 http://ftpmaster.internal/ubuntu noble/main riscv64 libxdmcp-dev riscv64 1:1.1.3-0ubuntu5 [36.1 kB] Get:209 http://ftpmaster.internal/ubuntu noble/main riscv64 xtrans-dev all 1.4.0-1 [68.9 kB] Get:210 http://ftpmaster.internal/ubuntu noble/main riscv64 libpthread-stubs0-dev riscv64 0.4-1build2 [5500 B] Get:211 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb1-dev riscv64 1.15-1 [151 kB] Get:212 http://ftpmaster.internal/ubuntu noble/main riscv64 libx11-dev riscv64 2:1.8.7-1 [1382 kB] Get:213 http://ftpmaster.internal/ubuntu noble/main riscv64 libyaml-dev riscv64 0.2.5-1 [143 kB] Get:214 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc3.19-dev-common all 3.19.6+dfsg1-2ubuntu1 [297 kB] Get:215 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmumps-dev riscv64 5.6.2-2 [8216 kB] Get:216 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc-complex3.19-dev riscv64 3.19.6+dfsg1-2ubuntu1 [6601 kB] Get:217 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc-real3.19 riscv64 3.19.6+dfsg1-2ubuntu1 [6881 kB] Get:218 http://ftpmaster.internal/ubuntu noble/universe riscv64 libhypre-dev riscv64 2.28.0-8 [4546 kB] Get:219 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc-real3.19-dev riscv64 3.19.6+dfsg1-2ubuntu1 [6600 kB] Get:220 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc64-complex3.19 riscv64 3.19.6+dfsg1-2ubuntu1 [6922 kB] Get:221 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc64-complex3.19-dev riscv64 3.19.6+dfsg1-2ubuntu1 [6624 kB] Get:222 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc64-real3.19 riscv64 3.19.6+dfsg1-2ubuntu1 [6810 kB] Get:223 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 libpetsc64-real3.19-dev riscv64 3.19.6+dfsg1-2ubuntu1 [6595 kB] Get:224 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.12 riscv64 3.12.1-2 [2371 kB] Get:225 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.12-dev riscv64 3.12.1-2 [16.8 MB] Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libpython3-dev riscv64 3.12.1-0ubuntu1 [9928 B] Get:227 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.11 riscv64 3.11.7-2 [2203 kB] Get:228 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.11-dev riscv64 3.11.7-2 [15.5 MB] Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libpython3-all-dev riscv64 3.12.1-0ubuntu1 [918 B] Get:230 http://ftpmaster.internal/ubuntu noble/universe riscv64 libtext-unidecode-perl all 1.30-3 [105 kB] Get:231 http://ftpmaster.internal/ubuntu noble/main riscv64 libxml-namespacesupport-perl all 1.12-2 [13.5 kB] Get:232 http://ftpmaster.internal/ubuntu noble/main riscv64 libxml-sax-base-perl all 1.09-3 [18.9 kB] Get:233 http://ftpmaster.internal/ubuntu noble/main riscv64 libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 libxml-libxml-perl riscv64 2.0207+dfsg+really+2.0134-1build2 [308 kB] Get:235 http://ftpmaster.internal/ubuntu noble/main riscv64 python-babel-localedata all 2.10.3-3build1 [6357 kB] Get:236 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3-all riscv64 3.12.1-0ubuntu1 [912 B] Get:237 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.12-dev riscv64 3.12.1-2 [498 kB] Get:238 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3-dev riscv64 3.12.1-0ubuntu1 [26.7 kB] Get:239 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.11-dev riscv64 3.11.7-2 [500 kB] Get:240 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3-all-dev riscv64 3.12.1-0ubuntu1 [916 B] Get:241 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-tz all 2023.3.post1-2 [31.4 kB] Get:242 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-babel all 2.10.3-3build1 [87.5 kB] Get:243 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-certifi all 2023.11.17-1 [165 kB] Get:244 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-chardet all 5.2.0+dfsg-1 [117 kB] Get:245 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-roman all 3.3-3 [9632 B] Get:246 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-docutils all 0.20.1+dfsg-3 [393 kB] Get:247 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-idna all 3.3-2 [45.4 kB] Get:248 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-imagesize all 1.4.1-1 [6844 B] Get:249 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3-markupsafe riscv64 2.1.4-1 [13.9 kB] Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3-jinja2 all 3.1.2-1ubuntu1 [107 kB] Get:251 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-numpy riscv64 1:1.24.2-2 [4631 kB] Get:252 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-packaging all 23.2-1 [40.6 kB] Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main riscv64 python3-urllib3 all 2.0.7-1 [113 kB] Get:254 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-requests all 2.31.0+dfsg-1ubuntu1 [50.7 kB] Get:255 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-snowballstemmer all 2.2.0-4 [59.7 kB] Get:256 http://ftpmaster.internal/ubuntu noble/main riscv64 sphinx-common all 7.2.6-3 [741 kB] Get:257 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-alabaster all 0.7.12-1 [17.8 kB] Get:258 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-sphinx all 7.2.6-3 [557 kB] Get:259 http://ftpmaster.internal/ubuntu noble/universe riscv64 tex-common all 6.18 [32.8 kB] Get:260 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 texinfo-lib riscv64 7.1-3 [137 kB] Get:261 http://ftpmaster.internal/ubuntu noble-proposed/universe riscv64 texinfo all 7.1-3 [1273 kB] Preconfiguring packages ... Fetched 290 MB in 36s (8082 kB/s) Selecting previously unselected package libpython3.12-minimal:riscv64. (Reading database ... 15691 files and directories currently installed.) Preparing to unpack .../libpython3.12-minimal_3.12.1-2_riscv64.deb ... Unpacking libpython3.12-minimal:riscv64 (3.12.1-2) ... Selecting previously unselected package libexpat1:riscv64. Preparing to unpack .../libexpat1_2.5.0-2_riscv64.deb ... Unpacking libexpat1:riscv64 (2.5.0-2) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.1-2_riscv64.deb ... Unpacking python3.12-minimal (3.12.1-2) ... Setting up libpython3.12-minimal:riscv64 (3.12.1-2) ... Setting up libexpat1:riscv64 (2.5.0-2) ... Setting up python3.12-minimal (3.12.1-2) ... Selecting previously unselected package python3-minimal. (Reading database ... 16009 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.12.1-0ubuntu1_riscv64.deb ... Unpacking python3-minimal (3.12.1-0ubuntu1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package libpython3.12-stdlib:riscv64. Preparing to unpack .../3-libpython3.12-stdlib_3.12.1-2_riscv64.deb ... Unpacking libpython3.12-stdlib:riscv64 (3.12.1-2) ... Selecting previously unselected package python3.12. Preparing to unpack .../4-python3.12_3.12.1-2_riscv64.deb ... Unpacking python3.12 (3.12.1-2) ... Selecting previously unselected package libpython3-stdlib:riscv64. Preparing to unpack .../5-libpython3-stdlib_3.12.1-0ubuntu1_riscv64.deb ... Unpacking libpython3-stdlib:riscv64 (3.12.1-0ubuntu1) ... Setting up python3-minimal (3.12.1-0ubuntu1) ... Selecting previously unselected package python3. (Reading database ... 16450 files and directories currently installed.) Preparing to unpack .../000-python3_3.12.1-0ubuntu1_riscv64.deb ... Unpacking python3 (3.12.1-0ubuntu1) ... Selecting previously unselected package libpython3.11-minimal:riscv64. Preparing to unpack .../001-libpython3.11-minimal_3.11.7-2_riscv64.deb ... Unpacking libpython3.11-minimal:riscv64 (3.11.7-2) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../002-python3.11-minimal_3.11.7-2_riscv64.deb ... Unpacking python3.11-minimal (3.11.7-2) ... Selecting previously unselected package sgml-base. Preparing to unpack .../003-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package libbsd0:riscv64. Preparing to unpack .../004-libbsd0_0.11.8-1_riscv64.deb ... Unpacking libbsd0:riscv64 (0.11.8-1) ... Selecting previously unselected package libelf1:riscv64. Preparing to unpack .../005-libelf1_0.190-1_riscv64.deb ... Unpacking libelf1:riscv64 (0.190-1) ... Selecting previously unselected package libicu74:riscv64. Preparing to unpack .../006-libicu74_74.2-1ubuntu1_riscv64.deb ... Unpacking libicu74:riscv64 (74.2-1ubuntu1) ... Selecting previously unselected package libpython3.11-stdlib:riscv64. Preparing to unpack .../007-libpython3.11-stdlib_3.11.7-2_riscv64.deb ... Unpacking libpython3.11-stdlib:riscv64 (3.11.7-2) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../008-libxml2_2.9.14+dfsg-1.3build3_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.14+dfsg-1.3build3) ... Selecting previously unselected package libyaml-0-2:riscv64. Preparing to unpack .../009-libyaml-0-2_0.2.5-1_riscv64.deb ... Unpacking libyaml-0-2:riscv64 (0.2.5-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../010-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../011-python3-pygments_2.15.1+dfsg-1_all.deb ... Unpacking python3-pygments (2.15.1+dfsg-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../012-python3.11_3.11.7-2_riscv64.deb ... Unpacking python3.11 (3.11.7-2) ... Selecting previously unselected package ucf. Preparing to unpack .../013-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../014-libmagic-mgc_1%3a5.45-2_riscv64.deb ... Unpacking libmagic-mgc (1:5.45-2) ... Selecting previously unselected package libmagic1:riscv64. Preparing to unpack .../015-libmagic1_1%3a5.45-2_riscv64.deb ... Unpacking libmagic1:riscv64 (1:5.45-2) ... Selecting previously unselected package file. Preparing to unpack .../016-file_1%3a5.45-2_riscv64.deb ... Unpacking file (1:5.45-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../017-gettext-base_0.21-14ubuntu1_riscv64.deb ... Unpacking gettext-base (0.21-14ubuntu1) ... Selecting previously unselected package libuchardet0:riscv64. Preparing to unpack .../018-libuchardet0_0.0.8-1_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.8-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../019-groff-base_1.23.0-3_riscv64.deb ... Unpacking groff-base (1.23.0-3) ... Selecting previously unselected package libcbor0.10:riscv64. Preparing to unpack .../020-libcbor0.10_0.10.2-1.1ubuntu1_riscv64.deb ... Unpacking libcbor0.10:riscv64 (0.10.2-1.1ubuntu1) ... Selecting previously unselected package libedit2:riscv64. Preparing to unpack .../021-libedit2_3.1-20230828-1_riscv64.deb ... Unpacking libedit2:riscv64 (3.1-20230828-1) ... Selecting previously unselected package libfido2-1:riscv64. Preparing to unpack .../022-libfido2-1_1.14.0-1_riscv64.deb ... Unpacking libfido2-1:riscv64 (1.14.0-1) ... Selecting previously unselected package libnghttp2-14:riscv64. Preparing to unpack .../023-libnghttp2-14_1.58.0-1_riscv64.deb ... Unpacking libnghttp2-14:riscv64 (1.58.0-1) ... Selecting previously unselected package libnuma1:riscv64. Preparing to unpack .../024-libnuma1_2.0.16-1_riscv64.deb ... Unpacking libnuma1:riscv64 (2.0.16-1) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../025-libpipeline1_1.5.7-1_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.7-1) ... Selecting previously unselected package libpsl5:riscv64. Preparing to unpack .../026-libpsl5_0.21.2-1build1_riscv64.deb ... Unpacking libpsl5:riscv64 (0.21.2-1build1) ... Selecting previously unselected package libxau6:riscv64. Preparing to unpack .../027-libxau6_1%3a1.0.9-1build5_riscv64.deb ... Unpacking libxau6:riscv64 (1:1.0.9-1build5) ... Selecting previously unselected package libxdmcp6:riscv64. Preparing to unpack .../028-libxdmcp6_1%3a1.1.3-0ubuntu5_riscv64.deb ... Unpacking libxdmcp6:riscv64 (1:1.1.3-0ubuntu5) ... Selecting previously unselected package libxcb1:riscv64. Preparing to unpack .../029-libxcb1_1.15-1_riscv64.deb ... Unpacking libxcb1:riscv64 (1.15-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../030-libx11-data_2%3a1.8.7-1_all.deb ... Unpacking libx11-data (2:1.8.7-1) ... Selecting previously unselected package libx11-6:riscv64. Preparing to unpack .../031-libx11-6_2%3a1.8.7-1_riscv64.deb ... Unpacking libx11-6:riscv64 (2:1.8.7-1) ... Selecting previously unselected package libxext6:riscv64. Preparing to unpack .../032-libxext6_2%3a1.3.4-1build1_riscv64.deb ... Unpacking libxext6:riscv64 (2:1.3.4-1build1) ... Selecting previously unselected package man-db. Preparing to unpack .../033-man-db_2.12.0-3_riscv64.deb ... Unpacking man-db (2.12.0-3) ... Selecting previously unselected package openssh-client. Preparing to unpack .../034-openssh-client_1%3a9.6p1-3ubuntu1_riscv64.deb ... Unpacking openssh-client (1:9.6p1-3ubuntu1) ... Selecting previously unselected package m4. Preparing to unpack .../035-m4_1.4.19-4_riscv64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../036-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../037-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../038-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../039-autopoint_0.21-14ubuntu1_all.deb ... Unpacking autopoint (0.21-14ubuntu1) ... Selecting previously unselected package chrpath. Preparing to unpack .../040-chrpath_0.16-2_riscv64.deb ... Unpacking chrpath (0.16-2) ... Selecting previously unselected package python3-zombie-imp. Preparing to unpack .../041-python3-zombie-imp_0.0.2-2_all.deb ... Unpacking python3-zombie-imp (0.0.2-2) ... Selecting previously unselected package cython3-legacy. Preparing to unpack .../042-cython3-legacy_0.29.36-3ubuntu1_riscv64.deb ... Unpacking cython3-legacy (0.29.36-3ubuntu1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../043-libdebhelper-perl_13.13ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.13ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../044-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../045-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../046-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../047-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../048-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../049-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libdw1:riscv64. Preparing to unpack .../050-libdw1_0.190-1_riscv64.deb ... Unpacking libdw1:riscv64 (0.190-1) ... Selecting previously unselected package debugedit. Preparing to unpack .../051-debugedit_1%3a5.0-5_riscv64.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../052-dwz_0.15-1_riscv64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package gettext. Preparing to unpack .../053-gettext_0.21-14ubuntu1_riscv64.deb ... Unpacking gettext (0.21-14ubuntu1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../054-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../055-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../056-debhelper_13.13ubuntu1_all.deb ... Unpacking debhelper (13.13ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../057-python3-lib2to3_3.11.5-1_all.deb ... Unpacking python3-lib2to3 (3.11.5-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../058-python3-distutils_3.11.5-1_all.deb ... Unpacking python3-distutils (3.11.5-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../059-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../060-dh-python_6.20231223_all.deb ... Unpacking dh-python (6.20231223) ... Selecting previously unselected package xml-core. Preparing to unpack .../061-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package docutils-common. Preparing to unpack .../062-docutils-common_0.20.1+dfsg-3_all.deb ... Unpacking docutils-common (0.20.1+dfsg-3) ... Selecting previously unselected package fonts-mathjax. Preparing to unpack .../063-fonts-mathjax_2.7.9+dfsg-1_all.deb ... Unpacking fonts-mathjax (2.7.9+dfsg-1) ... Selecting previously unselected package libgfortran5:riscv64. Preparing to unpack .../064-libgfortran5_14-20240126-2ubuntu1_riscv64.deb ... Unpacking libgfortran5:riscv64 (14-20240126-2ubuntu1) ... Selecting previously unselected package libgfortran-13-dev:riscv64. Preparing to unpack .../065-libgfortran-13-dev_13.2.0-13ubuntu1_riscv64.deb ... Unpacking libgfortran-13-dev:riscv64 (13.2.0-13ubuntu1) ... Selecting previously unselected package gfortran-13-riscv64-linux-gnu. Preparing to unpack .../066-gfortran-13-riscv64-linux-gnu_13.2.0-13ubuntu1_riscv64.deb ... Unpacking gfortran-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Selecting previously unselected package gfortran-13. Preparing to unpack .../067-gfortran-13_13.2.0-13ubuntu1_riscv64.deb ... Unpacking gfortran-13 (13.2.0-13ubuntu1) ... Selecting previously unselected package gfortran-riscv64-linux-gnu. Preparing to unpack .../068-gfortran-riscv64-linux-gnu_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking gfortran-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Selecting previously unselected package gfortran. Preparing to unpack .../069-gfortran_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking gfortran (4:13.2.0-7ubuntu1) ... Selecting previously unselected package libnl-3-200:riscv64. Preparing to unpack .../070-libnl-3-200_3.7.0-0.3_riscv64.deb ... Unpacking libnl-3-200:riscv64 (3.7.0-0.3) ... Selecting previously unselected package libnl-route-3-200:riscv64. Preparing to unpack .../071-libnl-route-3-200_3.7.0-0.3_riscv64.deb ... Unpacking libnl-route-3-200:riscv64 (3.7.0-0.3) ... Selecting previously unselected package libibverbs1:riscv64. Preparing to unpack .../072-libibverbs1_48.0-1.1_riscv64.deb ... Unpacking libibverbs1:riscv64 (48.0-1.1) ... Selecting previously unselected package ibverbs-providers:riscv64. Preparing to unpack .../073-ibverbs-providers_48.0-1.1_riscv64.deb ... Unpacking ibverbs-providers:riscv64 (48.0-1.1) ... Selecting previously unselected package libaec0:riscv64. Preparing to unpack .../074-libaec0_1.1.2-1_riscv64.deb ... Unpacking libaec0:riscv64 (1.1.2-1) ... Selecting previously unselected package libsuitesparseconfig7:riscv64. Preparing to unpack .../075-libsuitesparseconfig7_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libsuitesparseconfig7:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libamd3:riscv64. Preparing to unpack .../076-libamd3_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libamd3:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libblas3:riscv64. Preparing to unpack .../077-libblas3_3.12.0-2_riscv64.deb ... Unpacking libblas3:riscv64 (3.12.0-2) ... Selecting previously unselected package libblas-dev:riscv64. Preparing to unpack .../078-libblas-dev_3.12.0-2_riscv64.deb ... Unpacking libblas-dev:riscv64 (3.12.0-2) ... Selecting previously unselected package libblas64-3:riscv64. Preparing to unpack .../079-libblas64-3_3.12.0-2_riscv64.deb ... Unpacking libblas64-3:riscv64 (3.12.0-2) ... Selecting previously unselected package libbrotli1:riscv64. Preparing to unpack .../080-libbrotli1_1.1.0-2_riscv64.deb ... Unpacking libbrotli1:riscv64 (1.1.0-2) ... Selecting previously unselected package libbtf2:riscv64. Preparing to unpack .../081-libbtf2_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libbtf2:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libcamd3:riscv64. Preparing to unpack .../082-libcamd3_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libcamd3:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libccolamd3:riscv64. Preparing to unpack .../083-libccolamd3_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libccolamd3:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libcolamd3:riscv64. Preparing to unpack .../084-libcolamd3_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libcolamd3:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package liblapack3:riscv64. Preparing to unpack .../085-liblapack3_3.12.0-2_riscv64.deb ... Unpacking liblapack3:riscv64 (3.12.0-2) ... Selecting previously unselected package libcholmod5:riscv64. Preparing to unpack .../086-libcholmod5_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libcholmod5:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libevent-core-2.1-7:riscv64. Preparing to unpack .../087-libevent-core-2.1-7_2.1.12-stable-9_riscv64.deb ... Unpacking libevent-core-2.1-7:riscv64 (2.1.12-stable-9) ... Selecting previously unselected package libevent-pthreads-2.1-7:riscv64. Preparing to unpack .../088-libevent-pthreads-2.1-7_2.1.12-stable-9_riscv64.deb ... Unpacking libevent-pthreads-2.1-7:riscv64 (2.1.12-stable-9) ... Selecting previously unselected package librdmacm1:riscv64. Preparing to unpack .../089-librdmacm1_48.0-1.1_riscv64.deb ... Unpacking librdmacm1:riscv64 (48.0-1.1) ... Selecting previously unselected package libfabric1:riscv64. Preparing to unpack .../090-libfabric1_1.17.0-3_riscv64.deb ... Unpacking libfabric1:riscv64 (1.17.0-3) ... Selecting previously unselected package libhwloc15:riscv64. Preparing to unpack .../091-libhwloc15_2.10.0-1_riscv64.deb ... Unpacking libhwloc15:riscv64 (2.10.0-1) ... Selecting previously unselected package libmunge2:riscv64. Preparing to unpack .../092-libmunge2_0.5.15-3ubuntu1_riscv64.deb ... Unpacking libmunge2:riscv64 (0.5.15-3ubuntu1) ... Selecting previously unselected package libpciaccess0:riscv64. Preparing to unpack .../093-libpciaccess0_0.17-3_riscv64.deb ... Unpacking libpciaccess0:riscv64 (0.17-3) ... Selecting previously unselected package libxnvctrl0:riscv64. Preparing to unpack .../094-libxnvctrl0_510.47.03-0ubuntu1_riscv64.deb ... Unpacking libxnvctrl0:riscv64 (510.47.03-0ubuntu1) ... Selecting previously unselected package ocl-icd-libopencl1:riscv64. Preparing to unpack .../095-ocl-icd-libopencl1_2.3.2-1_riscv64.deb ... Unpacking ocl-icd-libopencl1:riscv64 (2.3.2-1) ... Selecting previously unselected package libhwloc-plugins:riscv64. Preparing to unpack .../096-libhwloc-plugins_2.10.0-1_riscv64.deb ... Unpacking libhwloc-plugins:riscv64 (2.10.0-1) ... Selecting previously unselected package libpmix2:riscv64. Preparing to unpack .../097-libpmix2_5.0.1-4_riscv64.deb ... Unpacking libpmix2:riscv64 (5.0.1-4) ... Selecting previously unselected package libopenmpi3:riscv64. Preparing to unpack .../098-libopenmpi3_4.1.6-5ubuntu1_riscv64.deb ... Unpacking libopenmpi3:riscv64 (4.1.6-5ubuntu1) ... Selecting previously unselected package libcombblas2.0.0:riscv64. Preparing to unpack .../099-libcombblas2.0.0_2.0.0-3_riscv64.deb ... Unpacking libcombblas2.0.0:riscv64 (2.0.0-3) ... Selecting previously unselected package libsasl2-modules-db:riscv64. Preparing to unpack .../100-libsasl2-modules-db_2.1.28+dfsg1-4_riscv64.deb ... Unpacking libsasl2-modules-db:riscv64 (2.1.28+dfsg1-4) ... Selecting previously unselected package libsasl2-2:riscv64. Preparing to unpack .../101-libsasl2-2_2.1.28+dfsg1-4_riscv64.deb ... Unpacking libsasl2-2:riscv64 (2.1.28+dfsg1-4) ... Selecting previously unselected package libldap2:riscv64. Preparing to unpack .../102-libldap2_2.6.6+dfsg-1~exp1ubuntu2_riscv64.deb ... Unpacking libldap2:riscv64 (2.6.6+dfsg-1~exp1ubuntu2) ... Selecting previously unselected package librtmp1:riscv64. Preparing to unpack .../103-librtmp1_2.4+20151223.gitfa8646d.1-2build4_riscv64.deb ... Unpacking librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build4) ... Selecting previously unselected package libssh-4:riscv64. Preparing to unpack .../104-libssh-4_0.10.6-2_riscv64.deb ... Unpacking libssh-4:riscv64 (0.10.6-2) ... Selecting previously unselected package libcurl4:riscv64. Preparing to unpack .../105-libcurl4_8.5.0-2ubuntu2_riscv64.deb ... Unpacking libcurl4:riscv64 (8.5.0-2ubuntu2) ... Selecting previously unselected package libcurl4-openssl-dev:riscv64. Preparing to unpack .../106-libcurl4-openssl-dev_8.5.0-2ubuntu2_riscv64.deb ... Unpacking libcurl4-openssl-dev:riscv64 (8.5.0-2ubuntu2) ... Selecting previously unselected package libcxsparse4:riscv64. Preparing to unpack .../107-libcxsparse4_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libcxsparse4:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libevent-2.1-7:riscv64. Preparing to unpack .../108-libevent-2.1-7_2.1.12-stable-9_riscv64.deb ... Unpacking libevent-2.1-7:riscv64 (2.1.12-stable-9) ... Selecting previously unselected package libevent-extra-2.1-7:riscv64. Preparing to unpack .../109-libevent-extra-2.1-7_2.1.12-stable-9_riscv64.deb ... Unpacking libevent-extra-2.1-7:riscv64 (2.1.12-stable-9) ... Selecting previously unselected package libevent-openssl-2.1-7:riscv64. Preparing to unpack .../110-libevent-openssl-2.1-7_2.1.12-stable-9_riscv64.deb ... Unpacking libevent-openssl-2.1-7:riscv64 (2.1.12-stable-9) ... Selecting previously unselected package libevent-dev. Preparing to unpack .../111-libevent-dev_2.1.12-stable-9_riscv64.deb ... Unpacking libevent-dev (2.1.12-stable-9) ... Selecting previously unselected package libexpat1-dev:riscv64. Preparing to unpack .../112-libexpat1-dev_2.5.0-2_riscv64.deb ... Unpacking libexpat1-dev:riscv64 (2.5.0-2) ... Selecting previously unselected package libfftw3-double3:riscv64. Preparing to unpack .../113-libfftw3-double3_3.3.10-1ubuntu1_riscv64.deb ... Unpacking libfftw3-double3:riscv64 (3.3.10-1ubuntu1) ... Selecting previously unselected package libfftw3-long3:riscv64. Preparing to unpack .../114-libfftw3-long3_3.3.10-1ubuntu1_riscv64.deb ... Unpacking libfftw3-long3:riscv64 (3.3.10-1ubuntu1) ... Selecting previously unselected package libfftw3-single3:riscv64. Preparing to unpack .../115-libfftw3-single3_3.3.10-1ubuntu1_riscv64.deb ... Unpacking libfftw3-single3:riscv64 (3.3.10-1ubuntu1) ... Selecting previously unselected package libfftw3-bin. Preparing to unpack .../116-libfftw3-bin_3.3.10-1ubuntu1_riscv64.deb ... Unpacking libfftw3-bin (3.3.10-1ubuntu1) ... Selecting previously unselected package libfftw3-dev:riscv64. Preparing to unpack .../117-libfftw3-dev_3.3.10-1ubuntu1_riscv64.deb ... Unpacking libfftw3-dev:riscv64 (3.3.10-1ubuntu1) ... Selecting previously unselected package libfftw3-mpi3:riscv64. Preparing to unpack .../118-libfftw3-mpi3_3.3.10-1ubuntu1_riscv64.deb ... Unpacking libfftw3-mpi3:riscv64 (3.3.10-1ubuntu1) ... Selecting previously unselected package libfftw3-mpi-dev:riscv64. Preparing to unpack .../119-libfftw3-mpi-dev_3.3.10-1ubuntu1_riscv64.deb ... Unpacking libfftw3-mpi-dev:riscv64 (3.3.10-1ubuntu1) ... Selecting previously unselected package libsz2:riscv64. Preparing to unpack .../120-libsz2_1.1.2-1_riscv64.deb ... Unpacking libsz2:riscv64 (1.1.2-1) ... Selecting previously unselected package libhdf5-openmpi-103-1:riscv64. Preparing to unpack .../121-libhdf5-openmpi-103-1_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-openmpi-103-1:riscv64 (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libhdf5-openmpi-cpp-103-1:riscv64. Preparing to unpack .../122-libhdf5-openmpi-cpp-103-1_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-openmpi-cpp-103-1:riscv64 (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libhdf5-openmpi-fortran-102:riscv64. Preparing to unpack .../123-libhdf5-openmpi-fortran-102_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-openmpi-fortran-102:riscv64 (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libhdf5-openmpi-hl-100:riscv64. Preparing to unpack .../124-libhdf5-openmpi-hl-100_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-openmpi-hl-100:riscv64 (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libhdf5-openmpi-hl-cpp-100:riscv64. Preparing to unpack .../125-libhdf5-openmpi-hl-cpp-100_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-openmpi-hl-cpp-100:riscv64 (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libhdf5-openmpi-hl-fortran-100:riscv64. Preparing to unpack .../126-libhdf5-openmpi-hl-fortran-100_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-openmpi-hl-fortran-100:riscv64 (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libmetis5:riscv64. Preparing to unpack .../127-libmetis5_5.1.0.dfsg-7build2_riscv64.deb ... Unpacking libmetis5:riscv64 (5.1.0.dfsg-7build2) ... Selecting previously unselected package libptscotch-7.0:riscv64. Preparing to unpack .../128-libptscotch-7.0_7.0.4-1_riscv64.deb ... Unpacking libptscotch-7.0:riscv64 (7.0.4-1) ... Selecting previously unselected package libsuperlu-dist8:riscv64. Preparing to unpack .../129-libsuperlu-dist8_8.2.1+dfsg1-1_riscv64.deb ... Unpacking libsuperlu-dist8:riscv64 (8.2.1+dfsg1-1) ... Selecting previously unselected package libhypre-2.28.0:riscv64. Preparing to unpack .../130-libhypre-2.28.0_2.28.0-8_riscv64.deb ... Unpacking libhypre-2.28.0:riscv64 (2.28.0-8) ... Selecting previously unselected package libopenblas64-0-pthread:riscv64. Preparing to unpack .../131-libopenblas64-0-pthread_0.3.25+ds-2_riscv64.deb ... Unpacking libopenblas64-0-pthread:riscv64 (0.3.25+ds-2) ... Selecting previously unselected package liblapack64-3:riscv64. Preparing to unpack .../132-liblapack64-3_3.12.0-2_riscv64.deb ... Unpacking liblapack64-3:riscv64 (3.12.0-2) ... Selecting previously unselected package libhypre64m-2.28.0:riscv64. Preparing to unpack .../133-libhypre64m-2.28.0_2.28.0-8_riscv64.deb ... Unpacking libhypre64m-2.28.0:riscv64 (2.28.0-8) ... Selecting previously unselected package libopenblas64-0:riscv64. Preparing to unpack .../134-libopenblas64-0_0.3.25+ds-2_riscv64.deb ... Unpacking libopenblas64-0:riscv64 (0.3.25+ds-2) ... Selecting previously unselected package libopenblas64-pthread-dev:riscv64. Preparing to unpack .../135-libopenblas64-pthread-dev_0.3.25+ds-2_riscv64.deb ... Unpacking libopenblas64-pthread-dev:riscv64 (0.3.25+ds-2) ... Selecting previously unselected package libopenblas64-dev:riscv64. Preparing to unpack .../136-libopenblas64-dev_0.3.25+ds-2_riscv64.deb ... Unpacking libopenblas64-dev:riscv64 (0.3.25+ds-2) ... Selecting previously unselected package libsuperlu6:riscv64. Preparing to unpack .../137-libsuperlu6_6.0.1+dfsg1-1_riscv64.deb ... Unpacking libsuperlu6:riscv64 (6.0.1+dfsg1-1) ... Selecting previously unselected package libsuperlu-dev:riscv64. Preparing to unpack .../138-libsuperlu-dev_6.0.1+dfsg1-1_riscv64.deb ... Unpacking libsuperlu-dev:riscv64 (6.0.1+dfsg1-1) ... Selecting previously unselected package openmpi-common. Preparing to unpack .../139-openmpi-common_4.1.6-5ubuntu1_all.deb ... Unpacking openmpi-common (4.1.6-5ubuntu1) ... Selecting previously unselected package libnl-3-dev:riscv64. Preparing to unpack .../140-libnl-3-dev_3.7.0-0.3_riscv64.deb ... Unpacking libnl-3-dev:riscv64 (3.7.0-0.3) ... Selecting previously unselected package libnl-route-3-dev:riscv64. Preparing to unpack .../141-libnl-route-3-dev_3.7.0-0.3_riscv64.deb ... Unpacking libnl-route-3-dev:riscv64 (3.7.0-0.3) ... Selecting previously unselected package libibverbs-dev:riscv64. Preparing to unpack .../142-libibverbs-dev_48.0-1.1_riscv64.deb ... Unpacking libibverbs-dev:riscv64 (48.0-1.1) ... Selecting previously unselected package libnuma-dev:riscv64. Preparing to unpack .../143-libnuma-dev_2.0.16-1_riscv64.deb ... Unpacking libnuma-dev:riscv64 (2.0.16-1) ... Selecting previously unselected package libltdl7:riscv64. Preparing to unpack .../144-libltdl7_2.4.7-7_riscv64.deb ... Unpacking libltdl7:riscv64 (2.4.7-7) ... Selecting previously unselected package libltdl-dev:riscv64. Preparing to unpack .../145-libltdl-dev_2.4.7-7_riscv64.deb ... Unpacking libltdl-dev:riscv64 (2.4.7-7) ... Selecting previously unselected package libhwloc-dev:riscv64. Preparing to unpack .../146-libhwloc-dev_2.10.0-1_riscv64.deb ... Unpacking libhwloc-dev:riscv64 (2.10.0-1) ... Selecting previously unselected package zlib1g-dev:riscv64. Preparing to unpack .../147-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_riscv64.deb ... Unpacking zlib1g-dev:riscv64 (1:1.3.dfsg-3ubuntu1) ... Selecting previously unselected package libpmix-dev:riscv64. Preparing to unpack .../148-libpmix-dev_5.0.1-4_riscv64.deb ... Unpacking libpmix-dev:riscv64 (5.0.1-4) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../149-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-jquery-ui. Preparing to unpack .../150-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... Selecting previously unselected package openmpi-bin. Preparing to unpack .../151-openmpi-bin_4.1.6-5ubuntu1_riscv64.deb ... Unpacking openmpi-bin (4.1.6-5ubuntu1) ... Selecting previously unselected package libopenmpi-dev:riscv64. Preparing to unpack .../152-libopenmpi-dev_4.1.6-5ubuntu1_riscv64.deb ... Unpacking libopenmpi-dev:riscv64 (4.1.6-5ubuntu1) ... Selecting previously unselected package mpi-default-dev. Preparing to unpack .../153-mpi-default-dev_1.15_riscv64.deb ... Unpacking mpi-default-dev (1.15) ... Selecting previously unselected package libhypre64m-dev:riscv64. Preparing to unpack .../154-libhypre64m-dev_2.28.0-8_riscv64.deb ... Unpacking libhypre64m-dev:riscv64 (2.28.0-8) ... Selecting previously unselected package libjpeg-turbo8:riscv64. Preparing to unpack .../155-libjpeg-turbo8_2.1.5-2ubuntu1_riscv64.deb ... Unpacking libjpeg-turbo8:riscv64 (2.1.5-2ubuntu1) ... Selecting previously unselected package libjpeg-turbo8-dev:riscv64. Preparing to unpack .../156-libjpeg-turbo8-dev_2.1.5-2ubuntu1_riscv64.deb ... Unpacking libjpeg-turbo8-dev:riscv64 (2.1.5-2ubuntu1) ... Selecting previously unselected package libjpeg8:riscv64. Preparing to unpack .../157-libjpeg8_8c-2ubuntu11_riscv64.deb ... Unpacking libjpeg8:riscv64 (8c-2ubuntu11) ... Selecting previously unselected package libjpeg8-dev:riscv64. Preparing to unpack .../158-libjpeg8-dev_8c-2ubuntu11_riscv64.deb ... Unpacking libjpeg8-dev:riscv64 (8c-2ubuntu11) ... Selecting previously unselected package libjpeg-dev:riscv64. Preparing to unpack .../159-libjpeg-dev_8c-2ubuntu11_riscv64.deb ... Unpacking libjpeg-dev:riscv64 (8c-2ubuntu11) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../160-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../161-libjs-sphinxdoc_7.2.6-3_all.deb ... Unpacking libjs-sphinxdoc (7.2.6-3) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../162-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package libklu2:riscv64. Preparing to unpack .../163-libklu2_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libklu2:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package liblapack-dev:riscv64. Preparing to unpack .../164-liblapack-dev_3.12.0-2_riscv64.deb ... Unpacking liblapack-dev:riscv64 (3.12.0-2) ... Selecting previously unselected package libldl3:riscv64. Preparing to unpack .../165-libldl3_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libldl3:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package mpi-default-bin. Preparing to unpack .../166-mpi-default-bin_1.15_riscv64.deb ... Unpacking mpi-default-bin (1.15) ... Selecting previously unselected package libscalapack-openmpi2.2:riscv64. Preparing to unpack .../167-libscalapack-openmpi2.2_2.2.1-3_riscv64.deb ... Unpacking libscalapack-openmpi2.2:riscv64 (2.2.1-3) ... Selecting previously unselected package libmumps-5.6:riscv64. Preparing to unpack .../168-libmumps-5.6_5.6.2-2_riscv64.deb ... Unpacking libmumps-5.6:riscv64 (5.6.2-2) ... Selecting previously unselected package libmumps-64pord-5.6:riscv64. Preparing to unpack .../169-libmumps-64pord-5.6_5.6.2-2_riscv64.deb ... Unpacking libmumps-64pord-5.6:riscv64 (5.6.2-2) ... Selecting previously unselected package libmumps-headers-dev. Preparing to unpack .../170-libmumps-headers-dev_5.6.2-2_all.deb ... Unpacking libmumps-headers-dev (5.6.2-2) ... Selecting previously unselected package libscalapack-openmpi-dev:riscv64. Preparing to unpack .../171-libscalapack-openmpi-dev_2.2.1-3_riscv64.deb ... Unpacking libscalapack-openmpi-dev:riscv64 (2.2.1-3) ... Selecting previously unselected package libscalapack-mpi-dev:riscv64. Preparing to unpack .../172-libscalapack-mpi-dev_2.2.1-3_riscv64.deb ... Unpacking libscalapack-mpi-dev:riscv64 (2.2.1-3) ... Selecting previously unselected package libmumps64-dev:riscv64. Preparing to unpack .../173-libmumps64-dev_5.6.2-2_riscv64.deb ... Unpacking libmumps64-dev:riscv64 (5.6.2-2) ... Selecting previously unselected package libumfpack6:riscv64. Preparing to unpack .../174-libumfpack6_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libumfpack6:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libparu0:riscv64. Preparing to unpack .../175-libparu0_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libparu0:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libspqr4:riscv64. Preparing to unpack .../176-libspqr4_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libspqr4:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libpetsc-complex3.19:riscv64. Preparing to unpack .../177-libpetsc-complex3.19_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc-complex3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libjs-mathjax. Preparing to unpack .../178-libjs-mathjax_2.7.9+dfsg-1_all.deb ... Unpacking libjs-mathjax (2.7.9+dfsg-1) ... Selecting previously unselected package libsuitesparse-mongoose3:riscv64. Preparing to unpack .../179-libsuitesparse-mongoose3_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libsuitesparse-mongoose3:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package librbio4:riscv64. Preparing to unpack .../180-librbio4_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking librbio4:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libspex2:riscv64. Preparing to unpack .../181-libspex2_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libspex2:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libsuitesparse-dev:riscv64. Preparing to unpack .../182-libsuitesparse-dev_1%3a7.6.0+dfsg-1_riscv64.deb ... Unpacking libsuitesparse-dev:riscv64 (1:7.6.0+dfsg-1) ... Selecting previously unselected package libscotch-7.0:riscv64. Preparing to unpack .../183-libscotch-7.0_7.0.4-1_riscv64.deb ... Unpacking libscotch-7.0:riscv64 (7.0.4-1) ... Selecting previously unselected package libscotch-dev. Preparing to unpack .../184-libscotch-dev_7.0.4-1_riscv64.deb ... Unpacking libscotch-dev (7.0.4-1) ... Selecting previously unselected package libptscotch-dev. Preparing to unpack .../185-libptscotch-dev_7.0.4-1_riscv64.deb ... Unpacking libptscotch-dev (7.0.4-1) ... Selecting previously unselected package libssl-dev:riscv64. Preparing to unpack .../186-libssl-dev_3.0.10-1ubuntu4_riscv64.deb ... Unpacking libssl-dev:riscv64 (3.0.10-1ubuntu4) ... Selecting previously unselected package opencl-c-headers. Preparing to unpack .../187-opencl-c-headers_3.0~2023.12.14-1_all.deb ... Unpacking opencl-c-headers (3.0~2023.12.14-1) ... Selecting previously unselected package opencl-clhpp-headers. Preparing to unpack .../188-opencl-clhpp-headers_3.0~2023.12.14-1ubuntu1_all.deb ... Unpacking opencl-clhpp-headers (3.0~2023.12.14-1ubuntu1) ... Selecting previously unselected package ocl-icd-opencl-dev:riscv64. Preparing to unpack .../189-ocl-icd-opencl-dev_2.3.2-1_riscv64.deb ... Unpacking ocl-icd-opencl-dev:riscv64 (2.3.2-1) ... Selecting previously unselected package libaec-dev:riscv64. Preparing to unpack .../190-libaec-dev_1.1.2-1_riscv64.deb ... Unpacking libaec-dev:riscv64 (1.1.2-1) ... Selecting previously unselected package libhdf5-openmpi-dev. Preparing to unpack .../191-libhdf5-openmpi-dev_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-openmpi-dev (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libhdf5-mpi-dev. Preparing to unpack .../192-libhdf5-mpi-dev_1.10.10+repack-3ubuntu1_riscv64.deb ... Unpacking libhdf5-mpi-dev (1.10.10+repack-3ubuntu1) ... Selecting previously unselected package libsuperlu-dist-dev:riscv64. Preparing to unpack .../193-libsuperlu-dist-dev_8.2.1+dfsg1-1_riscv64.deb ... Unpacking libsuperlu-dist-dev:riscv64 (8.2.1+dfsg1-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../194-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../195-x11proto-dev_2023.2-1_all.deb ... Unpacking x11proto-dev (2023.2-1) ... Selecting previously unselected package libxau-dev:riscv64. Preparing to unpack .../196-libxau-dev_1%3a1.0.9-1build5_riscv64.deb ... Unpacking libxau-dev:riscv64 (1:1.0.9-1build5) ... Selecting previously unselected package libxdmcp-dev:riscv64. Preparing to unpack .../197-libxdmcp-dev_1%3a1.1.3-0ubuntu5_riscv64.deb ... Unpacking libxdmcp-dev:riscv64 (1:1.1.3-0ubuntu5) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../198-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libpthread-stubs0-dev:riscv64. Preparing to unpack .../199-libpthread-stubs0-dev_0.4-1build2_riscv64.deb ... Unpacking libpthread-stubs0-dev:riscv64 (0.4-1build2) ... Selecting previously unselected package libxcb1-dev:riscv64. Preparing to unpack .../200-libxcb1-dev_1.15-1_riscv64.deb ... Unpacking libxcb1-dev:riscv64 (1.15-1) ... Selecting previously unselected package libx11-dev:riscv64. Preparing to unpack .../201-libx11-dev_2%3a1.8.7-1_riscv64.deb ... Unpacking libx11-dev:riscv64 (2:1.8.7-1) ... Selecting previously unselected package libyaml-dev:riscv64. Preparing to unpack .../202-libyaml-dev_0.2.5-1_riscv64.deb ... Unpacking libyaml-dev:riscv64 (0.2.5-1) ... Selecting previously unselected package libpetsc3.19-dev-common. Preparing to unpack .../203-libpetsc3.19-dev-common_3.19.6+dfsg1-2ubuntu1_all.deb ... Unpacking libpetsc3.19-dev-common (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libmumps-dev:riscv64. Preparing to unpack .../204-libmumps-dev_5.6.2-2_riscv64.deb ... Unpacking libmumps-dev:riscv64 (5.6.2-2) ... Selecting previously unselected package libpetsc-complex3.19-dev:riscv64. Preparing to unpack .../205-libpetsc-complex3.19-dev_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc-complex3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libpetsc-real3.19:riscv64. Preparing to unpack .../206-libpetsc-real3.19_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc-real3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libhypre-dev:riscv64. Preparing to unpack .../207-libhypre-dev_2.28.0-8_riscv64.deb ... Unpacking libhypre-dev:riscv64 (2.28.0-8) ... Selecting previously unselected package libpetsc-real3.19-dev:riscv64. Preparing to unpack .../208-libpetsc-real3.19-dev_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc-real3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libpetsc64-complex3.19:riscv64. Preparing to unpack .../209-libpetsc64-complex3.19_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc64-complex3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libpetsc64-complex3.19-dev:riscv64. Preparing to unpack .../210-libpetsc64-complex3.19-dev_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc64-complex3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libpetsc64-real3.19:riscv64. Preparing to unpack .../211-libpetsc64-real3.19_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc64-real3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libpetsc64-real3.19-dev:riscv64. Preparing to unpack .../212-libpetsc64-real3.19-dev_3.19.6+dfsg1-2ubuntu1_riscv64.deb ... Unpacking libpetsc64-real3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Selecting previously unselected package libpython3.12:riscv64. Preparing to unpack .../213-libpython3.12_3.12.1-2_riscv64.deb ... Unpacking libpython3.12:riscv64 (3.12.1-2) ... Selecting previously unselected package libpython3.12-dev:riscv64. Preparing to unpack .../214-libpython3.12-dev_3.12.1-2_riscv64.deb ... Unpacking libpython3.12-dev:riscv64 (3.12.1-2) ... Selecting previously unselected package libpython3-dev:riscv64. Preparing to unpack .../215-libpython3-dev_3.12.1-0ubuntu1_riscv64.deb ... Unpacking libpython3-dev:riscv64 (3.12.1-0ubuntu1) ... Selecting previously unselected package libpython3.11:riscv64. Preparing to unpack .../216-libpython3.11_3.11.7-2_riscv64.deb ... Unpacking libpython3.11:riscv64 (3.11.7-2) ... Selecting previously unselected package libpython3.11-dev:riscv64. Preparing to unpack .../217-libpython3.11-dev_3.11.7-2_riscv64.deb ... Unpacking libpython3.11-dev:riscv64 (3.11.7-2) ... Selecting previously unselected package libpython3-all-dev:riscv64. Preparing to unpack .../218-libpython3-all-dev_3.12.1-0ubuntu1_riscv64.deb ... Unpacking libpython3-all-dev:riscv64 (3.12.1-0ubuntu1) ... Selecting previously unselected package libtext-unidecode-perl. Preparing to unpack .../219-libtext-unidecode-perl_1.30-3_all.deb ... Unpacking libtext-unidecode-perl (1.30-3) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../220-libxml-namespacesupport-perl_1.12-2_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-2) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../221-libxml-sax-base-perl_1.09-3_all.deb ... Unpacking libxml-sax-base-perl (1.09-3) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../222-libxml-sax-perl_1.02+dfsg-3_all.deb ... Unpacking libxml-sax-perl (1.02+dfsg-3) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../223-libxml-libxml-perl_2.0207+dfsg+really+2.0134-1build2_riscv64.deb ... Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build2) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../224-python-babel-localedata_2.10.3-3build1_all.deb ... Unpacking python-babel-localedata (2.10.3-3build1) ... Selecting previously unselected package python3-all. Preparing to unpack .../225-python3-all_3.12.1-0ubuntu1_riscv64.deb ... Unpacking python3-all (3.12.1-0ubuntu1) ... Selecting previously unselected package python3.12-dev. Preparing to unpack .../226-python3.12-dev_3.12.1-2_riscv64.deb ... Unpacking python3.12-dev (3.12.1-2) ... Selecting previously unselected package python3-dev. Preparing to unpack .../227-python3-dev_3.12.1-0ubuntu1_riscv64.deb ... Unpacking python3-dev (3.12.1-0ubuntu1) ... Selecting previously unselected package python3.11-dev. Preparing to unpack .../228-python3.11-dev_3.11.7-2_riscv64.deb ... Unpacking python3.11-dev (3.11.7-2) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../229-python3-all-dev_3.12.1-0ubuntu1_riscv64.deb ... Unpacking python3-all-dev (3.12.1-0ubuntu1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../230-python3-tz_2023.3.post1-2_all.deb ... Unpacking python3-tz (2023.3.post1-2) ... Selecting previously unselected package python3-babel. Preparing to unpack .../231-python3-babel_2.10.3-3build1_all.deb ... Unpacking python3-babel (2.10.3-3build1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../232-python3-certifi_2023.11.17-1_all.deb ... Unpacking python3-certifi (2023.11.17-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../233-python3-chardet_5.2.0+dfsg-1_all.deb ... Unpacking python3-chardet (5.2.0+dfsg-1) ... Selecting previously unselected package python3-roman. Preparing to unpack .../234-python3-roman_3.3-3_all.deb ... Unpacking python3-roman (3.3-3) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../235-python3-docutils_0.20.1+dfsg-3_all.deb ... Unpacking python3-docutils (0.20.1+dfsg-3) ... Selecting previously unselected package python3-idna. Preparing to unpack .../236-python3-idna_3.3-2_all.deb ... Unpacking python3-idna (3.3-2) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../237-python3-imagesize_1.4.1-1_all.deb ... Unpacking python3-imagesize (1.4.1-1) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../238-python3-markupsafe_2.1.4-1_riscv64.deb ... Unpacking python3-markupsafe (2.1.4-1) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../239-python3-jinja2_3.1.2-1ubuntu1_all.deb ... Unpacking python3-jinja2 (3.1.2-1ubuntu1) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../240-python3-numpy_1%3a1.24.2-2_riscv64.deb ... Unpacking python3-numpy (1:1.24.2-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../241-python3-packaging_23.2-1_all.deb ... Unpacking python3-packaging (23.2-1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../242-python3-urllib3_2.0.7-1_all.deb ... Unpacking python3-urllib3 (2.0.7-1) ... Selecting previously unselected package python3-requests. Preparing to unpack .../243-python3-requests_2.31.0+dfsg-1ubuntu1_all.deb ... Unpacking python3-requests (2.31.0+dfsg-1ubuntu1) ... Selecting previously unselected package python3-snowballstemmer. Preparing to unpack .../244-python3-snowballstemmer_2.2.0-4_all.deb ... Unpacking python3-snowballstemmer (2.2.0-4) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../245-sphinx-common_7.2.6-3_all.deb ... Unpacking sphinx-common (7.2.6-3) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../246-python3-alabaster_0.7.12-1_all.deb ... Unpacking python3-alabaster (0.7.12-1) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../247-python3-sphinx_7.2.6-3_all.deb ... Unpacking python3-sphinx (7.2.6-3) ... Selecting previously unselected package tex-common. Preparing to unpack .../248-tex-common_6.18_all.deb ... Unpacking tex-common (6.18) ... Selecting previously unselected package texinfo-lib. Preparing to unpack .../249-texinfo-lib_7.1-3_riscv64.deb ... Unpacking texinfo-lib (7.1-3) ... Selecting previously unselected package texinfo. Preparing to unpack .../250-texinfo_7.1-3_all.deb ... Unpacking texinfo (7.1-3) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../251-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:riscv64 (1.5.7-1) ... Setting up libpciaccess0:riscv64 (0.17-3) ... Setting up libxau6:riscv64 (1:1.0.9-1build5) ... Setting up libpsl5:riscv64 (0.21.2-1build1) ... Setting up fonts-mathjax (2.7.9+dfsg-1) ... Setting up libfftw3-single3:riscv64 (3.3.10-1ubuntu1) ... Setting up libjs-mathjax (2.7.9+dfsg-1) ... Setting up libmagic-mgc (1:5.45-2) ... Setting up libcbor0.10:riscv64 (0.10.2-1.1ubuntu1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libyaml-0-2:riscv64 (0.2.5-1) ... Setting up libscotch-7.0:riscv64 (7.0.4-1) ... Setting up libdebhelper-perl (13.13ubuntu1) ... Setting up libbrotli1:riscv64 (1.1.0-2) ... Setting up libcxsparse4:riscv64 (1:7.6.0+dfsg-1) ... Setting up libnghttp2-14:riscv64 (1.58.0-1) ... Setting up libmagic1:riscv64 (1:5.45-2) ... Setting up libxml-namespacesupport-perl (1.12-2) ... Setting up libfftw3-long3:riscv64 (3.3.10-1ubuntu1) ... Setting up gettext-base (0.21-14ubuntu1) ... Setting up m4 (1.4.19-4) ... Setting up libmetis5:riscv64 (5.1.0.dfsg-7build2) ... Setting up libldl3:riscv64 (1:7.6.0+dfsg-1) ... Setting up file (1:5.45-2) ... Setting up texinfo-lib (7.1-3) ... Setting up libpthread-stubs0-dev:riscv64 (0.4-1build2) ... Setting up libaec0:riscv64 (1.1.2-1) ... Setting up python-babel-localedata (2.10.3-3build1) ... Setting up libsasl2-modules-db:riscv64 (2.1.28+dfsg1-4) ... Setting up libbtf2:riscv64 (1:7.6.0+dfsg-1) ... Setting up libxml-sax-base-perl (1.09-3) ... Setting up xtrans-dev (1.4.0-1) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:riscv64 (3.12.0-2) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/riscv64-linux-gnu/libblas.so.3 (libblas.so.3-riscv64-linux-gnu) in auto mode Setting up libmunge2:riscv64 (0.5.15-3ubuntu1) ... Setting up libexpat1-dev:riscv64 (2.5.0-2) ... Setting up libx11-data (2:1.8.7-1) ... Setting up librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build4) ... Setting up libssl-dev:riscv64 (3.0.10-1ubuntu4) ... Setting up libhwloc15:riscv64 (2.10.0-1) ... Setting up libevent-core-2.1-7:riscv64 (2.1.12-stable-9) ... Setting up libevent-2.1-7:riscv64 (2.1.12-stable-9) ... Setting up autopoint (0.21-14ubuntu1) ... Setting up ucf (3.0043+nmu1) ... Setting up libjpeg-turbo8:riscv64 (2.1.5-2ubuntu1) ... Setting up libltdl7:riscv64 (2.4.7-7) ... Setting up opencl-c-headers (3.0~2023.12.14-1) ... Setting up libfftw3-double3:riscv64 (3.3.10-1ubuntu1) ... Setting up libsasl2-2:riscv64 (2.1.28+dfsg1-4) ... Setting up libssh-4:riscv64 (0.10.6-2) ... Setting up libgfortran5:riscv64 (14-20240126-2ubuntu1) ... Setting up autoconf (2.71-3) ... Setting up libmumps-headers-dev (5.6.2-2) ... Setting up libicu74:riscv64 (74.2-1ubuntu1) ... Setting up zlib1g-dev:riscv64 (1:1.3.dfsg-3ubuntu1) ... Setting up libnuma1:riscv64 (2.0.16-1) ... Setting up ocl-icd-libopencl1:riscv64 (2.3.2-1) ... Setting up libuchardet0:riscv64 (0.0.8-1) ... Setting up libjson-perl (4.10000-1) ... Setting up libnl-3-200:riscv64 (3.7.0-0.3) ... Setting up openmpi-common (4.1.6-5ubuntu1) ... Setting up libsuitesparseconfig7:riscv64 (1:7.6.0+dfsg-1) ... Setting up libsub-override-perl (0.10-1) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up netbase (6.4) ... Setting up sgml-base (1.31) ... Setting up libpython3.11-minimal:riscv64 (3.11.7-2) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libfido2-1:riscv64 (1.14.0-1) ... Setting up libtext-unidecode-perl (1.30-3) ... Setting up libgfortran-13-dev:riscv64 (13.2.0-13ubuntu1) ... Setting up libbsd0:riscv64 (0.11.8-1) ... Setting up libelf1:riscv64 (0.190-1) ... Setting up libxml2:riscv64 (2.9.14+dfsg-1.3build3) ... Setting up libldap2:riscv64 (2.6.6+dfsg-1~exp1ubuntu2) ... Setting up gfortran-13-riscv64-linux-gnu (13.2.0-13ubuntu1) ... Setting up chrpath (0.16-2) ... Setting up libblas-dev:riscv64 (3.12.0-2) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/blas/libblas.so to provide /usr/lib/riscv64-linux-gnu/libblas.so (libblas.so-riscv64-linux-gnu) in auto mode Setting up libsz2:riscv64 (1.1.2-1) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up libevent-pthreads-2.1-7:riscv64 (2.1.12-stable-9) ... Setting up libblas64-3:riscv64 (3.12.0-2) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/blas64/libblas64.so.3 to provide /usr/lib/riscv64-linux-gnu/libblas64.so.3 (libblas64.so.3-riscv64-linux-gnu) in auto mode Setting up libjpeg8:riscv64 (8c-2ubuntu11) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up x11proto-dev (2023.2-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.11-minimal (3.11.7-2) ... Setting up libdw1:riscv64 (0.190-1) ... Setting up libjpeg-turbo8-dev:riscv64 (2.1.5-2ubuntu1) ... Setting up libxdmcp6:riscv64 (1:1.1.3-0ubuntu5) ... Setting up libevent-extra-2.1-7:riscv64 (2.1.12-stable-9) ... Setting up liblapack3:riscv64 (3.12.0-2) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/riscv64-linux-gnu/liblapack.so.3 (liblapack.so.3-riscv64-linux-gnu) in auto mode Setting up libxcb1:riscv64 (1.15-1) ... Setting up gettext (0.21-14ubuntu1) ... Setting up libamd3:riscv64 (1:7.6.0+dfsg-1) ... Setting up libxau-dev:riscv64 (1:1.0.9-1build5) ... Setting up libpython3.12-stdlib:riscv64 (3.12.1-2) ... Setting up libyaml-dev:riscv64 (0.2.5-1) ... Setting up libtool (2.4.7-7) ... Setting up libcolamd3:riscv64 (1:7.6.0+dfsg-1) ... Setting up libfftw3-bin (3.3.10-1ubuntu1) ... Setting up libsuitesparse-mongoose3:riscv64 (1:7.6.0+dfsg-1) ... Setting up libopenblas64-0-pthread:riscv64 (0.3.25+ds-2) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/openblas64-pthread/libblas64.so.3 to provide /usr/lib/riscv64-linux-gnu/libblas64.so.3 (libblas64.so.3-riscv64-linux-gnu) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/openblas64-pthread/liblapack64.so.3 to provide /usr/lib/riscv64-linux-gnu/liblapack64.so.3 (liblapack64.so.3-riscv64-linux-gnu) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/openblas64-pthread/libopenblas64.so.0 to provide /usr/lib/riscv64-linux-gnu/libopenblas64.so.0 (libopenblas64.so.0-riscv64-linux-gnu) in auto mode Setting up libpython3.11-stdlib:riscv64 (3.11.7-2) ... Setting up python3.12 (3.12.1-2) ... Setting up libedit2:riscv64 (3.1-20230828-1) ... Setting up libaec-dev:riscv64 (1.1.2-1) ... Setting up libevent-openssl-2.1-7:riscv64 (2.1.12-stable-9) ... Setting up libopenblas64-pthread-dev:riscv64 (0.3.25+ds-2) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/openblas64-pthread/libblas64.so to provide /usr/lib/riscv64-linux-gnu/libblas64.so (libblas64.so-riscv64-linux-gnu) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/openblas64-pthread/liblapack64.so to provide /usr/lib/riscv64-linux-gnu/liblapack64.so (liblapack64.so-riscv64-linux-gnu) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/openblas64-pthread/libopenblas64.so to provide /usr/lib/riscv64-linux-gnu/libopenblas64.so (libopenblas64.so-riscv64-linux-gnu) in auto mode Setting up liblapack64-3:riscv64 (3.12.0-2) ... Setting up libsuperlu6:riscv64 (6.0.1+dfsg1-1) ... Setting up libxml-sax-perl (1.02+dfsg-3) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up gfortran-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up libcamd3:riscv64 (1:7.6.0+dfsg-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up libnuma-dev:riscv64 (2.0.16-1) ... Setting up libnl-route-3-200:riscv64 (3.7.0-0.3) ... Setting up dh-autoreconf (20) ... Setting up tex-common (6.18) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libltdl-dev:riscv64 (2.4.7-7) ... Setting up libxdmcp-dev:riscv64 (1:1.1.3-0ubuntu5) ... Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... Setting up gfortran-13 (13.2.0-13ubuntu1) ... Setting up librbio4:riscv64 (1:7.6.0+dfsg-1) ... Setting up opencl-clhpp-headers (3.0~2023.12.14-1ubuntu1) ... Setting up libevent-dev (2.1.12-stable-9) ... Setting up liblapack-dev:riscv64 (3.12.0-2) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/lapack/liblapack.so to provide /usr/lib/riscv64-linux-gnu/liblapack.so (liblapack.so-riscv64-linux-gnu) in auto mode Setting up libjs-sphinxdoc (7.2.6-3) ... Setting up ocl-icd-opencl-dev:riscv64 (2.3.2-1) ... Setting up libccolamd3:riscv64 (1:7.6.0+dfsg-1) ... Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build2) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up libopenblas64-0:riscv64 (0.3.25+ds-2) ... Setting up dwz (0.15-1) ... Setting up libnl-3-dev:riscv64 (3.7.0-0.3) ... Setting up groff-base (1.23.0-3) ... Setting up xml-core (0.19) ... Setting up debugedit (1:5.0-5) ... Setting up libcurl4:riscv64 (8.5.0-2ubuntu2) ... Setting up libx11-6:riscv64 (2:1.8.7-1) ... Setting up libhwloc-dev:riscv64 (2.10.0-1) ... Setting up libjpeg8-dev:riscv64 (8c-2ubuntu11) ... Setting up libsuperlu-dev:riscv64 (6.0.1+dfsg1-1) ... Setting up libfftw3-dev:riscv64 (3.3.10-1ubuntu1) ... Setting up libpython3.12:riscv64 (3.12.1-2) ... Setting up libpython3-stdlib:riscv64 (3.12.1-0ubuntu1) ... Setting up python3.11 (3.11.7-2) ... Setting up libibverbs1:riscv64 (48.0-1.1) ... Setting up libcholmod5:riscv64 (1:7.6.0+dfsg-1) ... Setting up libxcb1-dev:riscv64 (1.15-1) ... Setting up libopenblas64-dev:riscv64 (0.3.25+ds-2) ... Setting up libspex2:riscv64 (1:7.6.0+dfsg-1) ... Setting up libpython3.11:riscv64 (3.11.7-2) ... Setting up ibverbs-providers:riscv64 (48.0-1.1) ... Setting up libspqr4:riscv64 (1:7.6.0+dfsg-1) ... Setting up openssh-client (1:9.6p1-3ubuntu1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libjpeg-dev:riscv64 (8c-2ubuntu11) ... Setting up libx11-dev:riscv64 (2:1.8.7-1) ... Setting up libxext6:riscv64 (2:1.3.4-1build1) ... Setting up python3 (3.12.1-0ubuntu1) ... /usr/share/petsc/3.19/lib/petsc/bin/petsc_tas_analysis.py:792: SyntaxWarning: invalid escape sequence '\l' axMeshConv.set(xlabel='Problem Size $\log N$', /usr/share/petsc/3.19/lib/petsc/bin/petsc_tas_analysis.py:793: SyntaxWarning: invalid escape sequence '\l' ylabel='Error $\log |x - x^*|$', title='Mesh Convergence') /usr/share/petsc/3.19/lib/petsc/bin/petsclogformat.py:253: SyntaxWarning: invalid escape sequence '\d' print("\documentclass{article}") /usr/share/petsc/3.19/lib/petsc/bin/petsclogformat.py:256: SyntaxWarning: invalid escape sequence '\c' print("\centering") /usr/share/petsc/3.19/lib/petsc/bin/petsclogformat.py:259: SyntaxWarning: invalid escape sequence '\m' print(" & & \multicolumn{4}{c}{--------------- Percent of -------------} & \\\\") /usr/share/petsc/3.19/lib/petsc/bin/petsclogformat.py:261: SyntaxWarning: invalid escape sequence '\h' print("\hline") /usr/share/petsc/3.19/lib/petsc/bin/petsclogformat.py:321: SyntaxWarning: invalid escape sequence '\e' print("\end{tabular}") /usr/share/petsc/3.19/lib/petsc/bin/petsclogformat.py:322: SyntaxWarning: invalid escape sequence '\e' print("\end{table}") /usr/share/petsc/3.19/lib/petsc/bin/petsclogformat.py:323: SyntaxWarning: invalid escape sequence '\e' print("\end{document}") Setting up libpython3.12-dev:riscv64 (3.12.1-2) ... Setting up man-db (2.12.0-3) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /usr/lib/systemd/system/man-db.timer. Setting up python3-markupsafe (2.1.4-1) ... Setting up gfortran (4:13.2.0-7ubuntu1) ... update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist Setting up python3-tz (2023.3.post1-2) ... Setting up libxnvctrl0:riscv64 (510.47.03-0ubuntu1) ... Setting up libnl-route-3-dev:riscv64 (3.7.0-0.3) ... Setting up python3-roman (3.3-3) ... Setting up python3-jinja2 (3.1.2-1ubuntu1) ... Setting up python3-packaging (23.2-1) ... Setting up python3-certifi (2023.11.17-1) ... Setting up libcurl4-openssl-dev:riscv64 (8.5.0-2ubuntu2) ... Setting up python3-snowballstemmer (2.2.0-4) ... Setting up libklu2:riscv64 (1:7.6.0+dfsg-1) ... Setting up libpython3.11-dev:riscv64 (3.11.7-2) ... Setting up sphinx-common (7.2.6-3) ... Setting up python3-idna (3.3-2) ... Setting up python3.12-dev (3.12.1-2) ... Setting up texinfo (7.1-3) ... Setting up python3-urllib3 (2.0.7-1) ... Setting up libumfpack6:riscv64 (1:7.6.0+dfsg-1) ... Setting up python3-lib2to3 (3.11.5-1) ... Setting up python3-imagesize (1.4.1-1) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.11.5-1) ... python3.12: can't get files for byte-compilation Setting up librdmacm1:riscv64 (48.0-1.1) ... Setting up python3-zombie-imp (0.0.2-2) ... Setting up libpython3-dev:riscv64 (3.12.1-0ubuntu1) ... Setting up python3-setuptools (68.1.2-2) ... Setting up python3-babel (2.10.3-3build1) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python3.11-dev (3.11.7-2) ... Setting up python3-alabaster (0.7.12-1) ... Setting up python3-all (3.12.1-0ubuntu1) ... Setting up debhelper (13.13ubuntu1) ... Setting up libparu0:riscv64 (1:7.6.0+dfsg-1) ... Setting up libibverbs-dev:riscv64 (48.0-1.1) ... Setting up libhwloc-plugins:riscv64 (2.10.0-1) ... Setting up python3-pygments (2.15.1+dfsg-1) ... Setting up python3-chardet (5.2.0+dfsg-1) ... Setting up libpython3-all-dev:riscv64 (3.12.1-0ubuntu1) ... Setting up python3-dev (3.12.1-0ubuntu1) ... Setting up python3-requests (2.31.0+dfsg-1ubuntu1) ... Setting up python3-numpy (1:1.24.2-2) ... Setting up cython3-legacy (0.29.36-3ubuntu1) ... Setting up dh-python (6.20231223) ... Setting up python3-all-dev (3.12.1-0ubuntu1) ... Setting up libfabric1:riscv64 (1.17.0-3) ... Setting up libsuitesparse-dev:riscv64 (1:7.6.0+dfsg-1) ... Setting up libpmix2:riscv64 (5.0.1-4) ... Setting up libopenmpi3:riscv64 (4.1.6-5ubuntu1) ... Setting up libfftw3-mpi3:riscv64 (3.3.10-1ubuntu1) ... Setting up libcombblas2.0.0:riscv64 (2.0.0-3) ... Setting up libpmix-dev:riscv64 (5.0.1-4) ... Setting up openmpi-bin (4.1.6-5ubuntu1) ... update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode Setting up libhdf5-openmpi-103-1:riscv64 (1.10.10+repack-3ubuntu1) ... Setting up libptscotch-7.0:riscv64 (7.0.4-1) ... Setting up libsuperlu-dist8:riscv64 (8.2.1+dfsg1-1) ... Setting up libfftw3-mpi-dev:riscv64 (3.3.10-1ubuntu1) ... Setting up mpi-default-bin (1.15) ... Setting up libsuperlu-dist-dev:riscv64 (8.2.1+dfsg1-1) ... Setting up libhdf5-openmpi-fortran-102:riscv64 (1.10.10+repack-3ubuntu1) ... Setting up libhypre-2.28.0:riscv64 (2.28.0-8) ... Setting up libhypre64m-2.28.0:riscv64 (2.28.0-8) ... Setting up libhdf5-openmpi-hl-100:riscv64 (1.10.10+repack-3ubuntu1) ... Setting up libopenmpi-dev:riscv64 (4.1.6-5ubuntu1) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/openmpi/include to provide /usr/include/riscv64-linux-gnu/mpi (mpi-riscv64-linux-gnu) in auto mode Setting up libhdf5-openmpi-cpp-103-1:riscv64 (1.10.10+repack-3ubuntu1) ... Setting up libhdf5-openmpi-hl-cpp-100:riscv64 (1.10.10+repack-3ubuntu1) ... Setting up libscalapack-openmpi2.2:riscv64 (2.2.1-3) ... Setting up libhdf5-openmpi-hl-fortran-100:riscv64 (1.10.10+repack-3ubuntu1) ... Setting up libmumps-64pord-5.6:riscv64 (5.6.2-2) ... Setting up libmumps-5.6:riscv64 (5.6.2-2) ... Setting up libpetsc-real3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/libpetsc_real.so.3.19.6 to provide /usr/lib/riscv64-linux-gnu/libpetsc.so.3.19 (libpetsc.so.3.19) in auto mode Setting up libpetsc64-complex3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/libpetsc64_complex.so.3.19.6 to provide /usr/lib/riscv64-linux-gnu/libpetsc64.so.3.19 (libpetsc64.so.3.19) in auto mode Setting up libscalapack-openmpi-dev:riscv64 (2.2.1-3) ... Setting up mpi-default-dev (1.15) ... Setting up libhypre64m-dev:riscv64 (2.28.0-8) ... Setting up libscalapack-mpi-dev:riscv64 (2.2.1-3) ... Setting up libpetsc64-real3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/libpetsc64_real.so.3.19.6 to provide /usr/lib/riscv64-linux-gnu/libpetsc64.so.3.19 (libpetsc64.so.3.19) in auto mode Setting up libhdf5-openmpi-dev (1.10.10+repack-3ubuntu1) ... update-alternatives: using /usr/bin/h5pcc.openmpi to provide /usr/bin/h5pcc (h5pcc) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/pkgconfig/hdf5-openmpi.pc to provide /usr/lib/riscv64-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode update-alternatives: updating alternative /usr/bin/mpicc.openmpi because link group mpi has changed slave links update-alternatives: using /usr/lib/riscv64-linux-gnu/pkgconfig/hdf5-mpi.pc to provide /usr/lib/riscv64-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode Setting up libpetsc-complex3.19:riscv64 (3.19.6+dfsg1-2ubuntu1) ... Setting up libmumps64-dev:riscv64 (5.6.2-2) ... Setting up libmumps-dev:riscv64 (5.6.2-2) ... Setting up libscotch-dev (7.0.4-1) ... Setting up libhypre-dev:riscv64 (2.28.0-8) ... Setting up libptscotch-dev (7.0.4-1) ... Setting up libhdf5-mpi-dev (1.10.10+repack-3ubuntu1) ... Setting up libpetsc3.19-dev-common (3.19.6+dfsg1-2ubuntu1) ... Setting up libpetsc-complex3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... update-alternatives: error: no alternatives for petsc update-alternatives: using /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-complex to provide /usr/lib/petsc (petsc) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/libpetsc_complex.so.3.19.6 to provide /usr/lib/riscv64-linux-gnu/libpetsc_complex.so (libpetsc_complex.so) in auto mode update-alternatives: using /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-complex to provide /usr/lib/petscdir/3.19 (petsc3.19) in auto mode Setting up libpetsc64-real3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... update-alternatives: using /usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-real to provide /usr/lib/petsc64 (petsc64) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/libpetsc64_real.so.3.19.6 to provide /usr/lib/riscv64-linux-gnu/libpetsc64_real.so (libpetsc64_real.so) in auto mode update-alternatives: using /usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-real to provide /usr/lib/petscdir/64-3.19 (petsc64-3.19) in auto mode Setting up libpetsc-real3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... update-alternatives: using /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real to provide /usr/lib/petsc (petsc) in auto mode update-alternatives: using /usr/lib/riscv64-linux-gnu/libpetsc_real.so.3.19.6 to provide /usr/lib/riscv64-linux-gnu/libpetsc_real.so (libpetsc_real.so) in auto mode update-alternatives: using /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real to provide /usr/lib/petscdir/3.19 (petsc3.19) in auto mode Setting up libpetsc64-complex3.19-dev:riscv64 (3.19.6+dfsg1-2ubuntu1) ... update-alternatives: using /usr/lib/riscv64-linux-gnu/libpetsc64_complex.so.3.19.6 to provide /usr/lib/riscv64-linux-gnu/libpets64c_complex.so (libpetsc64_complex.so) in auto mode Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.38-3ubuntu1) ... Processing triggers for systemd (255.2-3ubuntu2) ... Processing triggers for sgml-base (1.31) ... Setting up docutils-common (0.20.1+dfsg-3) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.20.1+dfsg-3) ... Setting up python3-sphinx (7.2.6-3) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.19.0-1021-generic #23~22.04.1-Ubuntu SMP Thu Jun 22 12:49:35 UTC 2023 riscv64 (riscv64) Toolchain package versions: binutils_2.42-2ubuntu1 dpkg-dev_1.22.2ubuntu3 g++-13_13.2.0-13ubuntu1 gcc-13_13.2.0-13ubuntu1 libc6-dev_2.38-3ubuntu1 libstdc++-13-dev_13.2.0-13ubuntu1 libstdc++6_14-20240126-2ubuntu1 linux-libc-dev_6.6.0-14.14 Package versions: adduser_3.137ubuntu1 advancecomp_2.5-1 apt_2.7.10 apt-utils_2.7.10 autoconf_2.71-3 automake_1:1.16.5-1.3 autopoint_0.21-14ubuntu1 autotools-dev_20220109.1 base-files_13ubuntu6 base-passwd_3.6.3 bash_5.2.21-2ubuntu1 bash-completion_1:2.11-8 binutils_2.42-2ubuntu1 binutils-common_2.42-2ubuntu1 binutils-riscv64-linux-gnu_2.42-2ubuntu1 bsdextrautils_2.39.2-6ubuntu1 bsdutils_1:2.39.2-6ubuntu1 build-essential_12.10ubuntu1 bzip2_1.0.8-5build1 ca-certificates_20230311ubuntu1 chrpath_0.16-2 coreutils_9.4-2ubuntu3 cpp_4:13.2.0-7ubuntu1 cpp-13_13.2.0-13ubuntu1 cpp-13-riscv64-linux-gnu_13.2.0-13ubuntu1 cpp-riscv64-linux-gnu_4:13.2.0-7ubuntu1 cython3-legacy_0.29.36-3ubuntu1 dash_0.5.12-6ubuntu1 debconf_1.5.85 debconf-i18n_1.5.85 debhelper_13.13ubuntu1 debianutils_5.16 debugedit_1:5.0-5 dh-autoreconf_20 dh-python_6.20231223 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.10-1 docutils-common_0.20.1+dfsg-3 dpkg_1.22.2ubuntu3 dpkg-dev_1.22.2ubuntu3 dwz_0.15-1 e2fsprogs_1.47.0-2ubuntu1 fakeroot_1.33-1 file_1:5.45-2 findutils_4.9.0-5 fonts-mathjax_2.7.9+dfsg-1 g++_4:13.2.0-7ubuntu1 g++-13_13.2.0-13ubuntu1 g++-13-riscv64-linux-gnu_13.2.0-13ubuntu1 g++-riscv64-linux-gnu_4:13.2.0-7ubuntu1 gcc_4:13.2.0-7ubuntu1 gcc-13_13.2.0-13ubuntu1 gcc-13-base_13.2.0-13ubuntu1 gcc-13-riscv64-linux-gnu_13.2.0-13ubuntu1 gcc-14-base_14-20240126-2ubuntu1 gcc-riscv64-linux-gnu_4:13.2.0-7ubuntu1 gettext_0.21-14ubuntu1 gettext-base_0.21-14ubuntu1 gfortran_4:13.2.0-7ubuntu1 gfortran-13_13.2.0-13ubuntu1 gfortran-13-riscv64-linux-gnu_13.2.0-13ubuntu1 gfortran-riscv64-linux-gnu_4:13.2.0-7ubuntu1 gpg_2.2.40-1.1ubuntu1 gpg-agent_2.2.40-1.1ubuntu1 gpgconf_2.2.40-1.1ubuntu1 gpgv_2.2.40-1.1ubuntu1 grep_3.11-4 groff-base_1.23.0-3 gzip_1.12-1ubuntu1 hostname_3.23+nmu1ubuntu1 ibverbs-providers_48.0-1.1 init_1.66ubuntu1 init-system-helpers_1.66ubuntu1 intltool-debian_0.35.0+20060710.6 krb5-locales_1.20.1-5build1 libacl1_2.3.1-4ubuntu1 libaec-dev_1.1.2-1 libaec0_1.1.2-1 libamd3_1:7.6.0+dfsg-1 libapparmor1_4.0.0~alpha2-0ubuntu8 libapt-pkg6.0_2.7.10 libarchive-zip-perl_1.68-1 libargon2-1_0~20190702+dfsg-4 libasan8_14-20240126-2ubuntu1 libassuan0_2.5.6-1 libatomic1_14-20240126-2ubuntu1 libattr1_1:2.5.2-1 libaudit-common_1:3.1.2-2 libaudit1_1:3.1.2-2 libbinutils_2.42-2ubuntu1 libblas-dev_3.12.0-2 libblas3_3.12.0-2 libblas64-3_3.12.0-2 libblkid1_2.39.2-6ubuntu1 libbrotli1_1.1.0-2 libbsd0_0.11.8-1 libbtf2_1:7.6.0+dfsg-1 libbz2-1.0_1.0.8-5build1 libc-bin_2.38-3ubuntu1 libc-dev-bin_2.38-3ubuntu1 libc6_2.38-3ubuntu1 libc6-dev_2.38-3ubuntu1 libcamd3_1:7.6.0+dfsg-1 libcap-ng0_0.8.4-1 libcap2_1:2.66-4ubuntu1 libcbor0.10_0.10.2-1.1ubuntu1 libcc1-0_14-20240126-2ubuntu1 libccolamd3_1:7.6.0+dfsg-1 libcholmod5_1:7.6.0+dfsg-1 libcolamd3_1:7.6.0+dfsg-1 libcom-err2_1.47.0-2ubuntu1 libcombblas2.0.0_2.0.0-3 libcrypt-dev_1:4.4.36-4 libcrypt1_1:4.4.36-4 libcryptsetup12_2:2.6.1-6ubuntu1 libctf-nobfd0_2.42-2ubuntu1 libctf0_2.42-2ubuntu1 libcurl4_8.5.0-2ubuntu2 libcurl4-openssl-dev_8.5.0-2ubuntu2 libcxsparse4_1:7.6.0+dfsg-1 libdb5.3_5.3.28+dfsg2-4 libdebconfclient0_0.271ubuntu1 libdebhelper-perl_13.13ubuntu1 libdevmapper1.02.1_2:1.02.185-2ubuntu1 libdpkg-perl_1.22.2ubuntu3 libdw1_0.190-1 libedit2_3.1-20230828-1 libelf1_0.190-1 libevent-2.1-7_2.1.12-stable-9 libevent-core-2.1-7_2.1.12-stable-9 libevent-dev_2.1.12-stable-9 libevent-extra-2.1-7_2.1.12-stable-9 libevent-openssl-2.1-7_2.1.12-stable-9 libevent-pthreads-2.1-7_2.1.12-stable-9 libexpat1_2.5.0-2 libexpat1-dev_2.5.0-2 libext2fs2_1.47.0-2ubuntu1 libfabric1_1.17.0-3 libfakeroot_1.33-1 libfdisk1_2.39.2-6ubuntu1 libffi8_3.4.4-2 libfftw3-bin_3.3.10-1ubuntu1 libfftw3-dev_3.3.10-1ubuntu1 libfftw3-double3_3.3.10-1ubuntu1 libfftw3-long3_3.3.10-1ubuntu1 libfftw3-mpi-dev_3.3.10-1ubuntu1 libfftw3-mpi3_3.3.10-1ubuntu1 libfftw3-single3_3.3.10-1ubuntu1 libfido2-1_1.14.0-1 libfile-stripnondeterminism-perl_1.13.1-1 libgcc-13-dev_13.2.0-13ubuntu1 libgcc-s1_14-20240126-2ubuntu1 libgcrypt20_1.10.3-2 libgdbm-compat4_1.23-5 libgdbm6_1.23-5 libgfortran-13-dev_13.2.0-13ubuntu1 libgfortran5_14-20240126-2ubuntu1 libgmp10_2:6.3.0+dfsg-2ubuntu4 libgnutls30_3.8.3-1ubuntu1 libgomp1_14-20240126-2ubuntu1 libgpg-error-l10n_1.47-3build1 libgpg-error0_1.47-3build1 libgpm2_1.20.7-10build1 libgssapi-krb5-2_1.20.1-5build1 libhdf5-mpi-dev_1.10.10+repack-3ubuntu1 libhdf5-openmpi-103-1_1.10.10+repack-3ubuntu1 libhdf5-openmpi-cpp-103-1_1.10.10+repack-3ubuntu1 libhdf5-openmpi-dev_1.10.10+repack-3ubuntu1 libhdf5-openmpi-fortran-102_1.10.10+repack-3ubuntu1 libhdf5-openmpi-hl-100_1.10.10+repack-3ubuntu1 libhdf5-openmpi-hl-cpp-100_1.10.10+repack-3ubuntu1 libhdf5-openmpi-hl-fortran-100_1.10.10+repack-3ubuntu1 libhogweed6_3.9.1-2 libhwloc-dev_2.10.0-1 libhwloc-plugins_2.10.0-1 libhwloc15_2.10.0-1 libhypre-2.28.0_2.28.0-8 libhypre-dev_2.28.0-8 libhypre64m-2.28.0_2.28.0-8 libhypre64m-dev_2.28.0-8 libibverbs-dev_48.0-1.1 libibverbs1_48.0-1.1 libicu74_74.2-1ubuntu1 libidn2-0_2.3.7-2 libip4tc2_1.8.9-2ubuntu2 libisl23_0.26-3 libjansson4_2.14-2 libjpeg-dev_8c-2ubuntu11 libjpeg-turbo8_2.1.5-2ubuntu1 libjpeg-turbo8-dev_2.1.5-2ubuntu1 libjpeg8_8c-2ubuntu11 libjpeg8-dev_8c-2ubuntu11 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-jquery-ui_1.13.2+dfsg-1 libjs-mathjax_2.7.9+dfsg-1 libjs-sphinxdoc_7.2.6-3 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libjson-c5_0.17-1 libjson-perl_4.10000-1 libk5crypto3_1.20.1-5build1 libkeyutils1_1.6.3-2 libklu2_1:7.6.0+dfsg-1 libkmod2_30+20230601-2ubuntu1 libkrb5-3_1.20.1-5build1 libkrb5support0_1.20.1-5build1 liblapack-dev_3.12.0-2 liblapack3_3.12.0-2 liblapack64-3_3.12.0-2 libldap2_2.6.6+dfsg-1~exp1ubuntu2 libldl3_1:7.6.0+dfsg-1 liblocale-gettext-perl_1.07-6build1 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 libltdl-dev_2.4.7-7 libltdl7_2.4.7-7 liblz4-1_1.9.4-1 liblzma5_5.4.5-0.3 libmagic-mgc_1:5.45-2 libmagic1_1:5.45-2 libmd0_1.1.0-2 libmetis5_5.1.0.dfsg-7build2 libmount1_2.39.2-6ubuntu1 libmpc3_1.3.1-1 libmpfr6_4.2.1-1 libmumps-5.6_5.6.2-2 libmumps-64pord-5.6_5.6.2-2 libmumps-dev_5.6.2-2 libmumps-headers-dev_5.6.2-2 libmumps64-dev_5.6.2-2 libmunge2_0.5.15-3ubuntu1 libncursesw6_6.4+20240113-1 libnettle8_3.9.1-2 libnghttp2-14_1.58.0-1 libnl-3-200_3.7.0-0.3 libnl-3-dev_3.7.0-0.3 libnl-route-3-200_3.7.0-0.3 libnl-route-3-dev_3.7.0-0.3 libnpth0_1.6-3build2 libnsl-dev_1.3.0-3 libnsl2_1.3.0-3 libnss-nis_3.1-0ubuntu6 libnss-nisplus_1.3-0ubuntu6 libnuma-dev_2.0.16-1 libnuma1_2.0.16-1 libopenblas64-0_0.3.25+ds-2 libopenblas64-0-pthread_0.3.25+ds-2 libopenblas64-dev_0.3.25+ds-2 libopenblas64-pthread-dev_0.3.25+ds-2 libopenmpi-dev_4.1.6-5ubuntu1 libopenmpi3_4.1.6-5ubuntu1 libp11-kit0_0.25.3-2ubuntu2 libpam-modules_1.5.2-9.1ubuntu2 libpam-modules-bin_1.5.2-9.1ubuntu2 libpam-runtime_1.5.2-9.1ubuntu2 libpam0g_1.5.2-9.1ubuntu2 libparu0_1:7.6.0+dfsg-1 libpciaccess0_0.17-3 libpcre2-8-0_10.42-4ubuntu1 libperl5.36_5.36.0-10ubuntu1 libperl5.38_5.38.2-3 libpetsc-complex3.19_3.19.6+dfsg1-2ubuntu1 libpetsc-complex3.19-dev_3.19.6+dfsg1-2ubuntu1 libpetsc-real3.19_3.19.6+dfsg1-2ubuntu1 libpetsc-real3.19-dev_3.19.6+dfsg1-2ubuntu1 libpetsc3.19-dev-common_3.19.6+dfsg1-2ubuntu1 libpetsc64-complex3.19_3.19.6+dfsg1-2ubuntu1 libpetsc64-complex3.19-dev_3.19.6+dfsg1-2ubuntu1 libpetsc64-real3.19_3.19.6+dfsg1-2ubuntu1 libpetsc64-real3.19-dev_3.19.6+dfsg1-2ubuntu1 libpipeline1_1.5.7-1 libpmix-dev_5.0.1-4 libpmix2_5.0.1-4 libpng16-16_1.6.42-1 libproc2-0_2:4.0.4-2ubuntu1 libpsl5_0.21.2-1build1 libpthread-stubs0-dev_0.4-1build2 libptscotch-7.0_7.0.4-1 libptscotch-dev_7.0.4-1 libpython3-all-dev_3.12.1-0ubuntu1 libpython3-dev_3.12.1-0ubuntu1 libpython3-stdlib_3.12.1-0ubuntu1 libpython3.11_3.11.7-2 libpython3.11-dev_3.11.7-2 libpython3.11-minimal_3.11.7-2 libpython3.11-stdlib_3.11.7-2 libpython3.12_3.12.1-2 libpython3.12-dev_3.12.1-2 libpython3.12-minimal_3.12.1-2 libpython3.12-stdlib_3.12.1-2 librbio4_1:7.6.0+dfsg-1 librdmacm1_48.0-1.1 libreadline8_8.2-3 librtmp1_2.4+20151223.gitfa8646d.1-2build4 libsasl2-2_2.1.28+dfsg1-4 libsasl2-modules-db_2.1.28+dfsg1-4 libscalapack-mpi-dev_2.2.1-3 libscalapack-openmpi-dev_2.2.1-3 libscalapack-openmpi2.2_2.2.1-3 libscotch-7.0_7.0.4-1 libscotch-dev_7.0.4-1 libseccomp2_2.5.4-2ubuntu2 libselinux1_3.5-2 libsemanage-common_3.5-1build1 libsemanage2_3.5-1build1 libsepol2_3.5-2 libsframe1_2.42-2ubuntu1 libsmartcols1_2.39.2-6ubuntu1 libspex2_1:7.6.0+dfsg-1 libspqr4_1:7.6.0+dfsg-1 libsqlite3-0_3.45.0-1 libss2_1.47.0-2ubuntu1 libssh-4_0.10.6-2 libssl-dev_3.0.10-1ubuntu4 libssl3_3.0.10-1ubuntu4 libstdc++-13-dev_13.2.0-13ubuntu1 libstdc++6_14-20240126-2ubuntu1 libsub-override-perl_0.10-1 libsuitesparse-dev_1:7.6.0+dfsg-1 libsuitesparse-mongoose3_1:7.6.0+dfsg-1 libsuitesparseconfig7_1:7.6.0+dfsg-1 libsuperlu-dev_6.0.1+dfsg1-1 libsuperlu-dist-dev_8.2.1+dfsg1-1 libsuperlu-dist8_8.2.1+dfsg1-1 libsuperlu6_6.0.1+dfsg1-1 libsystemd-shared_255.2-3ubuntu2 libsystemd0_255.2-3ubuntu2 libsz2_1.1.2-1 libtasn1-6_4.19.0-3 libtext-charwidth-perl_0.04-11build1 libtext-iconv-perl_1.7-8build1 libtext-unidecode-perl_1.30-3 libtext-wrapi18n-perl_0.06-10 libtinfo6_6.4+20240113-1 libtirpc-common_1.3.4+ds-1build1 libtirpc-dev_1.3.4+ds-1build1 libtirpc3_1.3.4+ds-1build1 libtool_2.4.7-7 libuchardet0_0.0.8-1 libudev1_255.2-3ubuntu2 libumfpack6_1:7.6.0+dfsg-1 libunistring2_1.0-2 libunistring5_1.1-2 libuuid1_2.39.2-6ubuntu1 libx11-6_2:1.8.7-1 libx11-data_2:1.8.7-1 libx11-dev_2:1.8.7-1 libxau-dev_1:1.0.9-1build5 libxau6_1:1.0.9-1build5 libxcb1_1.15-1 libxcb1-dev_1.15-1 libxdmcp-dev_1:1.1.3-0ubuntu5 libxdmcp6_1:1.1.3-0ubuntu5 libxext6_2:1.3.4-1build1 libxml-libxml-perl_2.0207+dfsg+really+2.0134-1build2 libxml-namespacesupport-perl_1.12-2 libxml-sax-base-perl_1.09-3 libxml-sax-perl_1.02+dfsg-3 libxml2_2.9.14+dfsg-1.3build3 libxnvctrl0_510.47.03-0ubuntu1 libxxhash0_0.8.2-2 libyaml-0-2_0.2.5-1 libyaml-dev_0.2.5-1 libzstd1_1.5.5+dfsg2-2 linux-libc-dev_6.6.0-14.14 lockfile-progs_0.1.19build1 login_1:4.13+dfsg1-3ubuntu1 logsave_1.47.0-2ubuntu1 lto-disabled-list_46 m4_1.4.19-4 make_4.3-4.1build1 man-db_2.12.0-3 mawk_1.3.4.20240123-1 media-types_10.1.0 mount_2.39.2-6ubuntu1 mpi-default-bin_1.15 mpi-default-dev_1.15 ncurses-base_6.4+20240113-1 ncurses-bin_6.4+20240113-1 netbase_6.4 ocl-icd-libopencl1_2.3.2-1 ocl-icd-opencl-dev_2.3.2-1 opencl-c-headers_3.0~2023.12.14-1 opencl-clhpp-headers_3.0~2023.12.14-1ubuntu1 openmpi-bin_4.1.6-5ubuntu1 openmpi-common_4.1.6-5ubuntu1 openssh-client_1:9.6p1-3ubuntu1 openssl_3.0.10-1ubuntu4 optipng_0.7.8+ds-1 passwd_1:4.13+dfsg1-3ubuntu1 patch_2.7.6-7build2 perl_5.38.2-3 perl-base_5.38.2-3 perl-modules-5.36_5.36.0-10ubuntu1 perl-modules-5.38_5.38.2-3 pinentry-curses_1.2.1-3ubuntu1 pkgbinarymangler_154 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:4.0.4-2ubuntu1 psmisc_23.6-2 python-babel-localedata_2.10.3-3build1 python3_3.12.1-0ubuntu1 python3-alabaster_0.7.12-1 python3-all_3.12.1-0ubuntu1 python3-all-dev_3.12.1-0ubuntu1 python3-babel_2.10.3-3build1 python3-certifi_2023.11.17-1 python3-chardet_5.2.0+dfsg-1 python3-dev_3.12.1-0ubuntu1 python3-distutils_3.11.5-1 python3-docutils_0.20.1+dfsg-3 python3-idna_3.3-2 python3-imagesize_1.4.1-1 python3-jinja2_3.1.2-1ubuntu1 python3-lib2to3_3.11.5-1 python3-markupsafe_2.1.4-1 python3-minimal_3.12.1-0ubuntu1 python3-numpy_1:1.24.2-2 python3-packaging_23.2-1 python3-pkg-resources_68.1.2-2 python3-pygments_2.15.1+dfsg-1 python3-requests_2.31.0+dfsg-1ubuntu1 python3-roman_3.3-3 python3-setuptools_68.1.2-2 python3-snowballstemmer_2.2.0-4 python3-sphinx_7.2.6-3 python3-tz_2023.3.post1-2 python3-urllib3_2.0.7-1 python3-zombie-imp_0.0.2-2 python3.11_3.11.7-2 python3.11-dev_3.11.7-2 python3.11-minimal_3.11.7-2 python3.12_3.12.1-2 python3.12-dev_3.12.1-2 python3.12-minimal_3.12.1-2 readline-common_8.2-3 rpcsvc-proto_1.4.2-0ubuntu6 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.20 sgml-base_1.31 sphinx-common_7.2.6-3 systemd_255.2-3ubuntu2 systemd-dev_255.2-3ubuntu2 systemd-sysv_255.2-3ubuntu2 sysvinit-utils_3.08-3ubuntu1 tar_1.35+dfsg-3 tex-common_6.18 texinfo_7.1-3 texinfo-lib_7.1-3 tzdata_2023d-1ubuntu2 ubuntu-keyring_2023.11.28.1 ucf_3.0043+nmu1 usrmerge_35ubuntu1 util-linux_2.39.2-6ubuntu1 uuid-runtime_2.39.2-6ubuntu1 x11proto-dev_2023.2-1 xml-core_0.19 xorg-sgml-doctools_1:1.11-1.1 xtrans-dev_1.4.0-1 xz-utils_5.4.5-0.3 zlib1g_1:1.3.dfsg-3ubuntu1 zlib1g-dev_1:1.3.dfsg-3ubuntu1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: petsc4py Binary: python3-petsc4py, python3-petsc4py-real, python3-petsc4py-complex, python3-petsc4py-real3.19, python3-petsc4py-complex3.19, python3-petsc4py-64-real, python3-petsc4py-64-complex, python3-petsc4py-64-real3.19, python3-petsc4py-64-complex3.19, python-petsc4py-doc Architecture: any all Version: 3.19.6-3 Maintainer: Debian Science Maintainers Uploaders: Drew Parsons Homepage: https://pypi.python.org/packages/source/p/petsc4py/ Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/science-team/petsc4py Vcs-Git: https://salsa.debian.org/science-team/petsc4py.git Testsuite: autopkgtest Testsuite-Triggers: @builddeps@, gzip, pkg-config, python3-numpy Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dev (>= 3.3), python3-distutils, cython3-legacy (>= 0.24~), python3-numpy (>= 1:1.4.1-4~), libpetsc-real3.19-dev, libpetsc-complex3.19-dev, libpetsc64-real3.19-dev, libpetsc64-complex3.19-dev, chrpath, mpi-default-dev, libhdf5-mpi-dev, sphinx | python3-sphinx | dh-sequence-sphinxdoc, texinfo Package-List: python-petsc4py-doc deb doc optional arch=all python3-petsc4py deb python optional arch=all python3-petsc4py-64-complex deb python optional arch=all python3-petsc4py-64-complex3.19 deb python optional arch=any python3-petsc4py-64-real deb python optional arch=all python3-petsc4py-64-real3.19 deb python optional arch=any python3-petsc4py-complex deb python optional arch=all python3-petsc4py-complex3.19 deb python optional arch=any python3-petsc4py-real deb python optional arch=all python3-petsc4py-real3.19 deb python optional arch=any Checksums-Sha1: 3ce1a046d58a57a5ca0dba844614f7dd2f31c4af 287827 petsc4py_3.19.6.orig.tar.gz fdee80ad5569c8d9feb4ba55fdef6caea090a2b8 14040 petsc4py_3.19.6-3.debian.tar.xz Checksums-Sha256: 346283b3c5716c08c7c2ef3e59095820171c37430ff24458e344b7ab1a9b766c 287827 petsc4py_3.19.6.orig.tar.gz b36e40f39746d905cee09bbd004845df6a6ab6723ef9162797334d2091739e08 14040 petsc4py_3.19.6-3.debian.tar.xz Files: 35e302c31ba4235d6cfbcb3fe5e4a682 287827 petsc4py_3.19.6.orig.tar.gz bc0d840242a8c78c4ffd26b59203c632 14040 petsc4py_3.19.6-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmWWuB0ACgkQVz7x5L1a AfpMSQ/+Lm1h8CZtQ01cI/xS+jtnD6VV69zyZU/7I688XI8EEnO2/2kx2WNxCAYc 40qhS6X0A8hF3vWNwzDXZ9WtZ3EGCA4sngK3OvqzxN+h9EOUuTn3MT2siA2MP7Sl IgxwIl1SQDiIZOMQjlOGJzY/3aszLbMlKb3rp//hPQ8sr6WeqcrppwCRljh0+9BE 2Wedr/ZmzfNgmn+qYOKG6Dpmq39siNl4R6R9sj1PvuagOb0T3fvFfYNuQJNUw4gU 5i5d4sFQ6xvcCuoSbFbrO8Q8p8V0PR3BoTTximFll4Fy8DGfgQUPmDGN0qyoO6Yi YvATcm4BQ4vRy0AEjkvBtiCE2ReOohQj/FxhY9OBAzRIdEYOVWsf+R4bZpizyunF WAoc5d6xwBylgh6mOebNQNWC2bkCPIAz5fxTYwFxf4t5u9TKxXKT6OmvnwabOwH0 I3JwR6MT0H6wwHdkCuDxsyegzsv6UpUJ/RN3pNEekB2RdqbGXSWnCQR2LE+kNGGO PMsll6nAtZbZRXGd8wcyoTQvH5OQpAcp8NV2a/8Q4mUzvgRPb6naUGEIihbc337o WAimimrnckTLq1mMWNXY+8Meaig3XKKgVBBf+HuvBV7oDhoCldQ9oDhq0wOAHlbB TiMhMyybK2+OOhKrB8BSR2u49btA8I0zwPFIfzlQyu7NCQYSph8= =Bttr -----END PGP SIGNATURE----- gpgv: Signature made Thu Jan 4 13:52:29 2024 UTC gpgv: using RSA key 23C9A93E585819E9126D0A36573EF1E4BD5A01FA gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./petsc4py_3.19.6-3.dsc: no acceptable signature found dpkg-source: info: extracting petsc4py in /<> dpkg-source: info: unpacking petsc4py_3.19.6.orig.tar.gz dpkg-source: info: unpacking petsc4py_3.19.6-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying demo_fixes.patch dpkg-source: info: applying ppc_skip_test_ts_py.patch dpkg-source: info: applying petsc_soname_extensions.patch dpkg-source: info: applying test_demo_no_plot.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-27738515 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-27738515 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-27738515 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package petsc4py dpkg-buildpackage: info: source version 3.19.6-3 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 fakeroot debian/rules clean dh clean --with python3,sphinxdoc --buildsystem=pybuild Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. dh_auto_clean -O--buildsystem=pybuild I: pybuild base:305: python3.11 setup.py clean running clean PETSC_DIR not specified removing '/<>/.pybuild/cpython3_3.11/build' (and everything under it) 'build/bdist.linux-riscv64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it I: pybuild base:305: python3.12 setup.py clean /<>/conf/confpetsc.py:180: SyntaxWarning: invalid escape sequence '\s' flag, count = re.subn('-arch\s+\w+', ' ', str(flag)) /<>/conf/confpetsc.py:903: SyntaxWarning: invalid escape sequence '\s' _variable_rx = _re.compile("([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)") running clean PETSC_DIR not specified removing '/<>/.pybuild/cpython3_3.12/build' (and everything under it) 'build/bdist.linux-riscv64' does not exist -- can't clean it 'build/scripts-3.12' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules execute_after_dh_clean make[1]: Entering directory '/<>' rm -rf .eggs Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. rm -f src/petsc4py/PETSc.c src/petsc4py/PETSc.h src/petsc4py/PETSc_api.h make[1]: Leaving directory '/<>' debian/rules build-arch dh build-arch --with python3,sphinxdoc --buildsystem=pybuild Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. dh_update_autotools_config -a -O--buildsystem=pybuild dh_autoreconf -a -O--buildsystem=pybuild debian/rules override_dh_auto_configure-arch make[1]: Entering directory '/<>' PYBUILD_NAME=petsc4py_real3.19 PETSC_DIR=/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real dh_auto_configure -ppython3-petsc4py-real3.19 Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. I: pybuild base:305: python3.11 setup.py config running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: real * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- I: pybuild base:305: python3.12 setup.py config /<>/conf/confpetsc.py:180: SyntaxWarning: invalid escape sequence '\s' flag, count = re.subn('-arch\s+\w+', ' ', str(flag)) /<>/conf/confpetsc.py:903: SyntaxWarning: invalid escape sequence '\s' _variable_rx = _re.compile("([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)") running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: real * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- PYBUILD_NAME=petsc4py_complex3.19 PETSC_DIR=/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-complex dh_auto_configure -ppython3-petsc4py-complex3.19 I: pybuild base:305: python3.11 setup.py config running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-complex ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: complex * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- I: pybuild base:305: python3.12 setup.py config running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-complex ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: complex * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- PYBUILD_NAME=petsc4py_64_real3.19 PETSC_DIR=/usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-real dh_auto_configure -ppython3-petsc4py-64-real3.19 I: pybuild base:305: python3.11 setup.py config running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-real ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: real * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- I: pybuild base:305: python3.12 setup.py config running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-real ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: real * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- PYBUILD_NAME=petsc4py_64_complex3.19 PETSC_DIR=/usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-complex dh_auto_configure -ppython3-petsc4py-64-complex3.19 I: pybuild base:305: python3.11 setup.py config running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-complex ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: complex * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- I: pybuild base:305: python3.12 setup.py config running config ---------------------------------------------------------------------- PETSC_DIR: /usr/lib/petscdir/petsc64-3.19/riscv64-linux-gnu-complex ---------------------------------------------------------------------- PETSC_ARCH: * scalar-type: complex * precision: double * language: CONLY * compiler: mpicc * linker: mpicc ---------------------------------------------------------------------- make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build-arch make[1]: Entering directory '/<>' PYBUILD_NAME=petsc4py_real3.19 PETSC_DIR=/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real dh_auto_build -ppython3-petsc4py-real3.19 -- --build-args=--force Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. Use of uninitialized value $value in concatenation (.) or string at /usr/share/perl5/Dpkg/BuildFlags.pm line 389. I: pybuild base:305: /usr/bin/python3.11 setup.py build --force running build running build_src using Cython 0.29.36 cythonizing 'petsc4py/PETSc.pyx' -> 'petsc4py/PETSc.c' running build_py creating /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py copying src/petsc4py/__init__.py -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py copying src/petsc4py/__main__.py -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py copying src/petsc4py/PETSc.py -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py creating /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/lib copying src/petsc4py/lib/__init__.py -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/lib copying src/petsc4py/PETSc.pxd -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py copying src/petsc4py/PETSc.h -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py copying src/petsc4py/PETSc_api.h -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py creating /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/include creating /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/petsc4py.h -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/pyscalar.h -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/pybuffer.h -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/numpy.h -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/petsc4py.i -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/lib/petsc.cfg -> /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/lib running build_ext PETSC_DIR: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real PETSC_ARCH: version: 3.19.6 release integer-size: 32-bit scalar-type: real precision: double language: CONLY compiler: mpicc linker: mpicc building 'PETSc' extension creating build creating build/temp.linux-riscv64-cpython-311 creating build/temp.linux-riscv64-cpython-311/src creating build/temp.linux-riscv64-cpython-311/src/petsc4py mpicc -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/build/petsc-jCtT3k/petsc-3.19.6+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -fPIC -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -fno-stack-clash-protection -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/petsc4py-3.19.6-3 -DMPICH_SKIP_MPICXX=1 -DOMPI_SKIP_MPICXX=1 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -Isrc -Isrc/petsc4py/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/usr/include/python3.11 -c src/petsc4py/PETSc.c -o build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o src/petsc4py/PETSc.c: In function ‘__pyx_pymod_exec_PETSc’: src/petsc4py/PETSc.c:428792:30: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without 428792 | static CYTHON_SMALL_CODE int __pyx_pymod_exec_PETSc(PyObject *__pyx_pyinit_module) | ^~~~~~~~~~~~~~~~~~~~~~ mpicc -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,-z,defs -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/build/petsc-jCtT3k/petsc-3.19.6+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o -L/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/lib -Wl,--enable-new-dtags,-R/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/lib -lpetsc_real -o /<>/.pybuild/cpython3_3.11_petsc4py_real3.19/build/petsc4py/lib/PETSc.cpython-311-riscv64-linux-gnu.so /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440216:(.text+0x72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_self': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440592:(.text+0x568): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_closure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440604:(.text+0x596): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440616:(.text+0x5c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440869:(.text+0x96e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440881:(.text+0x992): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x9c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440895:(.text+0x9e0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Options': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0xa16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440917:(.text+0xa2e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__Mat_Stencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440929:(.text+0xa66): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__Vec_LocalForm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440941:(.text+0xa9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440943:(.text+0xab6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440957:(.text+0xae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440967:(.text+0xb02): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440969:(.text+0xb1c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_repr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440979:(.text+0xb36): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440979:(.text+0xb42): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0xb6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440993:(.text+0xb8c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_RaiseExpected': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441017:(.text+0xbf6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CheckKeywordStrings': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0xc3e): undefined reference to `PyDict_Next' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441041:(.text+0xc54): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441041:(.text+0xc68): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441053:(.text+0xc9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441063:(.text+0xcb2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441065:(.text+0xcc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441075:(.text+0xcd6): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441075:(.text+0xce0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441075:(.text+0xce6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441077:(.text+0xcfc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0xd28): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441089:(.text+0xd38): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441099:(.text+0xd50): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441101:(.text+0xd62): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441101:(.text+0xd66): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441111:(.text+0xd7a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `KSPConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441285:(.text+0x1070): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441295:(.text+0x109a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview__slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441343:(.text+0x1168): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441343:(.text+0x1170): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatHasPreallocationAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441591:(.text+0x159e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text+0x15b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_init_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441604:(.text+0x15d4): undefined reference to `PyMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441617:(.text+0x1608): undefined reference to `PyUnicode_InternFromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441630:(.text+0x1654): undefined reference to `PyObject_Init' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441630:(.text+0x165a): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441656:(.text+0x16c6): undefined reference to `PyObject_Init' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441656:(.text+0x16cc): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `DMDACreateND': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441887:(.text+0x1a72): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441887:(.text+0x1a84): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text+0x1ac4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text+0x1ade): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_traverse__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441911:(.text+0x1aee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441913:(.text+0x1b02): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text+0x1b12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441923:(.text+0x1b24): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441925:(.text+0x1b38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441925:(.text+0x1b40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441935:(.text+0x1b54): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442031:(.text+0x1cec): undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442031:(.text+0x1cf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442055:(.text+0x1d54): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyUnicode_IS_READY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442057:(.text+0x1d68): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyCFunction_GET_FLAGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442103:(.text+0x1e40): undefined reference to `_PyObject_GC_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text+0x1ed6): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442141:(.text+0x1efa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442153:(.text+0x1f26): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442153:(.text+0x1f34): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442153:(.text+0x1f38): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442164:(.text+0x1f48): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text+0x1f98): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text+0x1ffa): undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_AddObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442270:(.text+0x211c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442270:(.text+0x212e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_copy_strided_to_strided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442437:(.text+0x23fe): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x2436): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442451:(.text+0x245e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCheckReals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442463:(.text+0x2490): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442475:(.text+0x24b4): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442487:(.text+0x24e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscIsInfOrNanReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442499:(.text+0x250a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESLogConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442511:(.text+0x253c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESLogHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442501:(.text+0x2560): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_manager_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442533:(.text+0x2592): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tp_clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x25b6): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442557:(.text+0x25e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442559:(.text+0x260c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442571:(.text+0x263e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442581:(.text+0x2654): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442593:(.text+0x267e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442595:(.text+0x268c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442605:(.text+0x26b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442607:(.text+0x26c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_sq_item_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x26ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442619:(.text+0x26fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442631:(.text+0x2726): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_sq_item_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442641:(.text+0x2734): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442643:(.text+0x275e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442665:(.text+0x27a0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442665:(.text+0x27a8): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442667:(.text+0x27bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x27f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442701:(.text+0x2824): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442703:(.text+0x2846): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x2856): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442713:(.text+0x2860): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442713:(.text+0x2866): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442715:(.text+0x2874): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442725:(.text+0x2888): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442727:(.text+0x289a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc_Options': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442739:(.text+0x28be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442728:(.text+0x28d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442763:(.text+0x2926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442789:(.text+0x299a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442811:(.text+0x29e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442813:(.text+0x29f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442837:(.text+0x2a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__GetModuleGlobalName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442839:(.text+0x2a56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442839:(.text+0x2a68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442861:(.text+0x2ab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IternextUnpackEndCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442863:(.text+0x2ac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442873:(.text+0x2ad6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442885:(.text+0x2b0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442887:(.text+0x2b18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442887:(.text+0x2b1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IternextUnpackEndCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442887:(.text+0x2b30): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_doc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442897:(.text+0x2b42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442909:(.text+0x2b78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_init_defaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x2b84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442911:(.text+0x2b8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442921:(.text+0x2b9c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442921:(.text+0x2bae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442935:(.text+0x2bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442935:(.text+0x2bf0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442945:(.text+0x2c02): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc___pyx_scope_struct_1_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442981:(.text+0x2cac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442983:(.text+0x2cc0): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442983:(.text+0x2cc8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc___pyx_scope_struct_1_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442993:(.text+0x2cd8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x2cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443007:(.text+0x2d2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443007:(.text+0x2d32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443017:(.text+0x2d44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443033:(.text+0x2d88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_kwdefaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443021:(.text+0x2d8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443033:(.text+0x2da0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443044:(.text+0x2dc4): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443021:(.text+0x2dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443057:(.text+0x2df6): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443057:(.text+0x2dfe): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_defaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443072:(.text+0x2e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x2e4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443072:(.text+0x2e5c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443021:(.text+0x2e64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_annotations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443083:(.text+0x2e76): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443096:(.text+0x2eaa): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_annotations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443098:(.text+0x2ed2): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443109:(.text+0x2ed8): undefined reference to `PyErr_PrintEx' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443020:(.text+0x2ede): undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443109:(.text+0x2ef0): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443111:(.text+0x2ef8): undefined reference to `PyErr_WriteUnraisable' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443122:(.text+0x2f20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443122:(.text+0x2f26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443122:(.text+0x2f2e): undefined reference to `PyErr_WriteUnraisable' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscDelPyDict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443021:(.text+0x2fcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443174:(.text+0x301a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443176:(.text+0x3038): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_qualname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443200:(.text+0x3096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443202:(.text+0x30a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443202:(.text+0x30ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x30c0): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_dict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443228:(.text+0x3122): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443228:(.text+0x3128): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443020:(.text+0x313a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_dict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443257:(.text+0x3198): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_WriteUnraisable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443267:(.text+0x31aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443267:(.text+0x31b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443269:(.text+0x31d4): undefined reference to `PyModule_GetDict' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_WriteUnraisable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x31dc): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443279:(.text+0x31ee): undefined reference to `PyImport_ImportModuleLevelObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_WriteUnraisable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x3210): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443293:(.text+0x3220): undefined reference to `PyModule_GetDict' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443293:(.text+0x3228): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443295:(.text+0x323a): undefined reference to `PyImport_ImportModuleLevelObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443306:(.text+0x324e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443306:(.text+0x325c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_WriteUnraisable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443315:(.text+0x3274): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_7__releasebuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443317:(.text+0x3292): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_7__releasebuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443339:(.text+0x32c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_6__releasebuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443339:(.text+0x32ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443339:(.text+0x32da): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_35__releasebuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443341:(.text+0x32e2): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443351:(.text+0x3308): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_4__releasebuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443365:(.text+0x333e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443367:(.text+0x3344): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443367:(.text+0x3350): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443367:(.text+0x3358): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443377:(.text+0x3374): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc___pyx_scope_struct__EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443403:(.text+0x33ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443405:(.text+0x33f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443415:(.text+0x33f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443417:(.text+0x340a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc___pyx_scope_struct_1_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443441:(.text+0x3480): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443451:(.text+0x3492): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443451:(.text+0x3498): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443453:(.text+0x349e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc__DMComposite_access': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443453:(.text+0x34b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_Import': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443493:(.text+0x3556): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443454:(.text+0x3568): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443504:(.text+0x356e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443504:(.text+0x3574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443504:(.text+0x357a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443506: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_Import': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443517:(.text+0x35ba): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443455:(.text+0x35c2): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443544:(.text+0x360a): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443544:(.text+0x3612): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__Vec_LocalForm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443565:(.text+0x365a): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443565:(.text+0x3662): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__Vec_LocalForm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443579:(.text+0x36aa): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443579:(.text+0x36b2): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443601:(.text+0x36fa): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443603:(.text+0x3702): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443615:(.text+0x372c): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc___pyx_scope_struct__EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443639:(.text+0x37a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443649:(.text+0x37a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443649:(.text+0x37ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443649:(.text+0x37b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443649:(.text+0x37ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443649: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443651:(.text+0x37cc): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443651:(.text+0x37d4): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443673:(.text+0x381a): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x382e): undefined reference to `PyObject_Free' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443685:(.text+0x3844): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443699:(.text+0x389a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443699:(.text+0x38a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443709:(.text+0x38c4): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443711:(.text+0x38cc): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443723:(.text+0x390c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443735:(.text+0x3930): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x3966): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443757:(.text+0x398a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443769:(.text+0x39c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443783:(.text+0x39e4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443795:(.text+0x3a1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443797:(.text+0x3a3e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443809:(.text+0x3a74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443821:(.text+0x3a98): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443833:(.text+0x3ace): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443845:(.text+0x3af2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443881:(.text+0x3b76): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443883:(.text+0x3b92): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443893:(.text+0x3baa): undefined reference to `PyErr_GivenExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443989:(.text+0x3d34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443991:(.text+0x3d4a): undefined reference to `PyObject_Free' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444001:(.text+0x3d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444001:(.text+0x3d64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444003:(.text+0x3d6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444003:(.text+0x3d70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444003:(.text+0x3d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444003: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444025:(.text+0x3db2): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444025:(.text+0x3dbc): undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444027:(.text+0x3dd0): undefined reference to `PyObject_GC_Del' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444037:(.text+0x3dea): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444051:(.text+0x3e3a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444061:(.text+0x3e4a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444073:(.text+0x3e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x3e8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444085:(.text+0x3ea2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444087:(.text+0x3ec4): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444087:(.text+0x3ecc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444097:(.text+0x3ee0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x3f04): undefined reference to `PyExc_DeprecationWarning' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444111:(.text+0x3f18): undefined reference to `PyErr_WarnFormat' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444111:(.text+0x3f2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444121:(.text+0x3f42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444123:(.text+0x3f5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444147:(.text+0x3fbc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444157:(.text+0x3fca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444159:(.text+0x3fe2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444159:(.text+0x3ff0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444169:(.text+0x4002): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatchesTuple': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444193:(.text+0x406c): undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444207:(.text+0x40a2): undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444264:(.text+0x418a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444264:(.text+0x419e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444266:(.text+0x41a6): undefined reference to `PyUnicode_Compare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444266:(.text+0x41b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444276:(.text+0x41ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444278:(.text+0x41e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444278:(.text+0x41ec): undefined reference to `PyUnicode_Compare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444290:(.text+0x420c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444290:(.text+0x4218): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_dealloc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444314:(.text+0x4264): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__CyFunction_dealloc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444316:(.text+0x4278): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_dealloc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444326:(.text+0x4292): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__CyFunction_dealloc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x42a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call2Args': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444338:(.text+0x42ba): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444340:(.text+0x42ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444340:(.text+0x42de): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444350:(.text+0x42f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444352:(.text+0x4302): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444362:(.text+0x4324): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call2Args': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444374:(.text+0x434a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444374:(.text+0x435a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444376:(.text+0x4364): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call2Args': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444377:(.text+0x437a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444510: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CleanupGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x5278): undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCHPDDMGetSTShareSubKSP': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:16:(.text+0x54ec): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:16:(.text+0x54fa): undefined reference to `PyDict_GetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:16:(.text+0x5504): undefined reference to `PyCapsule_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCHPDDMSetDeflationMat': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x5532): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x553e): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x5548): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x5552): undefined reference to `PyCapsule_GetName' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x5556): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x5566): undefined reference to `PyModule_GetName' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCreateSeqViennaCLWithArrays': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:11:(.text+0x557c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:11:(.text+0x5590): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:11:(.text+0x559e): undefined reference to `PyModule_GetName' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:11:(.text+0x55b0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:11:(.text+0x55b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCreateMPIViennaCLWithArrays': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:12:(.text+0x55f0): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:12:(.text+0x5600): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatDenseCUDAGetArrayRead': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:11:(.text+0x5608): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatDenseCUDARestoreArrayRead': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:12:(.text+0x567e): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatDenseCUDAGetArrayWrite': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:13:(.text+0x56d8): undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatDenseCUDARestoreArrayWrite': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:14:(.text+0x56de): undefined reference to `PyThread_free_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:14:(.text+0x56e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:14:(.text+0x56ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:14:(.text+0x56f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:14:(.text+0x5702): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:14:(.text+0x5710): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:14:(.text+0x571a): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatDenseCUDARestoreArray': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:16:(.text+0x5780): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:16:(.text+0x578a): undefined reference to `PyErr_NormalizeException' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:16:(.text+0x578e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:16:(.text+0x57a2): undefined reference to `PyException_SetTraceback' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatCreateDenseCUDA': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:17:(.text+0x57dc): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatCreateH2OpusFromMat': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:11:(.text+0x5840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatH2OpusOrthogonalize': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:12:(.text+0x5848): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:12:(.text+0x584e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:12:(.text+0x586e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatH2OpusLowRankUpdate': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:14:(.text+0x58ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:14:(.text+0x58fc): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:14:(.text+0x590c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCSPAISetEpsilon': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:11:(.text+0x594a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:11:(.text+0x5952): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCSPAISetNBSteps': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:12:(.text+0x5964): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:12:(.text+0x597a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCSPAISetMax': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:13:(.text+0x59c6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:13:(.text+0x59d6): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCSPAISetMaxNew': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:14:(.text+0x59fe): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:14:(.text+0x5a1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:14:(.text+0x5a2a): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:14:(.text+0x5a30): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:15:(.text+0x5a48): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:15:(.text+0x5a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:15:(.text+0x5a66): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:15:(.text+0x5a7a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:16:(.text+0x5ab2): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:16:(.text+0x5abe): undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCSPAISetVerbose': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:17:(.text+0x5b08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PCSPAISetSp': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:18:(.text+0x5b1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:18:(.text+0x5b30): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:18:(.text+0x5b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:18:(.text+0x5b56): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyInit_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428728:(.text+0x5b6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_module_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445580:(.text+0x5b7a): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445583:(.text+0x5b94): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445584:(.text+0x5bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445584:(.text+0x5bb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445585:(.text+0x5bc6): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445586:(.text+0x5bde): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445587:(.text+0x5bea): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445588:(.text+0x5c04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445588:(.text+0x5c0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445590:(.text+0x5c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445590:(.text+0x5c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445597:(.text+0x5cc6): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445597:(.text+0x5cd6): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445601:(.text+0x5d1c): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445603:(.text+0x5d26): undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445606:(.text+0x5d5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445611:(.text+0x5d8a): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445613:(.text+0x5d92): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Cython_ImportFunction': /usr/src/petsc4py-3.19.6-3/src/cython.h:10:(.text+0x5dec): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/cython.h:36:(.text+0x5dfc): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5e26): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x5e2c): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Cython_ImportFunction': /usr/src/petsc4py-3.19.6-3/src/cython.h:38:(.text+0x5e52): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/cython.h:38:(.text+0x5e5a): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/cython.h:12:(.text+0x5ec0): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5ed0): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423247:(.text+0x5efa): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423247:(.text+0x5f00): undefined reference to `PyObject_GC_Track' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423258:(.text+0x5f26): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402276:(.text+0x5f2e): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423261:(.text+0x5f94): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423261:(.text+0x5fa4): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423265:(.text+0x5fd0): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402294:(.text+0x6006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6012): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x601a): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423267:(.text+0x6080): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetException': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446123:(.text+0x6090): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446134:(.text+0x60c4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x611a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XINCREF': /usr/include/python3.11/object.h:591:(.text+0x6120): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6126): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetException': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446154:(.text+0x6132): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446178:(.text+0x613a): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446188:(.text+0x61a6): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x61b6): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447746:(.text+0x61f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6230): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447747:(.text+0x629c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447748:(.text+0x62aa): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447749:(.text+0x62b4): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447753:(.text+0x631a): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_Raise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446430:(.text+0x6356): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x639e): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x63a6): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_Raise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446452:(.text+0x63de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_CallAsMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448516:(.text+0x6438): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x644e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_CallAsMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448525:(.text+0x6476): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448537:(.text+0x6484): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453436:(.text+0x6536): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453436:(.text+0x6542): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x655a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6584): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6592): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x65a0): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SETERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12634:(.text+0x65d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6626): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x662e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6638): undefined reference to `PyErr_GivenExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6644): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6658): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscError_Set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360648:(.text+0x666a): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360660:(.text+0x6672): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12772:(.text+0x66a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413083:(.text+0x66b2): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413083:(.text+0x66ba): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413083:(.text+0x66c0): undefined reference to `PyExc_IndexError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413090:(.text+0x66d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413099:(.text+0x6742): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6780): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85655:(.text+0x6798): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413086:(.text+0x67b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413087:(.text+0x67c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413102:(.text+0x67d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_SF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414298:(.text+0x6802): undefined reference to `PyCFunction_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414298:(.text+0x6810): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414300:(.text+0x681e): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114776:(.text+0x6842): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x6852): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_SF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414310:(.text+0x6858): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414311:(.text+0x6864): undefined reference to `PyCFunction_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414314:(.text+0x6888): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414314:(.text+0x6896): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414315:(.text+0x68be): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114798:(.text+0x68f2): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Section': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415451:(.text+0x6938): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415451:(.text+0x693c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150878:(.text+0x6950): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Section': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415455:(.text+0x6972): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Options': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419828:(.text+0x6a72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419831:(.text+0x6aa2): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6aaa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6ab2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70890:(.text+0x6afa): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__DMComposite_access': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419670:(.text+0x6b14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419670:(.text+0x6b20): undefined reference to `_PyUnicode_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419673:(.text+0x6b36): undefined reference to `_PyUnicode_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419689:(.text+0x6bd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6c02): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__DMComposite_access': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419690:(.text+0x6c34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412862:(.text+0x6c6a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412869:(.text+0x6c94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCommDEALLOC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18684:(.text+0x6cbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6cf2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412876:(.text+0x6d1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412879:(.text+0x6d4e): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412880:(.text+0x6d5e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCommDEALLOC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18741:(.text+0x6d6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6da8): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412865:(.text+0x6dc0): undefined reference to `PyObject_GC_Track' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412880:(.text+0x6de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412879:(.text+0x6df4): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412880:(.text+0x6dfc): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418872:(.text+0x6e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22930:(.text+0x6e64): undefined reference to `PyCFunction_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418875:(.text+0x6e74): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418875:(.text+0x6e82): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418877:(.text+0x6e98): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418865:(.text+0x6ece): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418866:(.text+0x6ee0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418878:(.text+0x6ef6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418878:(.text+0x6f10): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423531:(.text+0x6f1e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6f48): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_clear__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423540:(.text+0x6f7c): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x6fb0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x6fba): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446857:(.text+0x6fce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446865:(.text+0x6fd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446865:(.text+0x6fde): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446874:(.text+0x6ff0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446894:(.text+0x6ffe): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7044): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446894:(.text+0x706e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446880:(.text+0x70f6): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446880:(.text+0x7100): undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447061:(.text+0x712a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x7132): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447065:(.text+0x713a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x7144): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447071:(.text+0x7178): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464696:(.text+0x7182): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447070:(.text+0x71a6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447073:(.text+0x71b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464732:(.text+0x71f2): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7202): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x722c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454792:(.text+0x72b4): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454792:(.text+0x72ba): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x72e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454903:(.text+0x72e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454903:(.text+0x72f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454808:(.text+0x72fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454853:(.text+0x7326): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x7330): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454733:(.text+0x7354): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x735e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallNoArg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445889:(.text+0x73ac): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyObject_TypeCheck': /usr/include/python3.11/object.h:263:(.text+0x73d6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445876:(.text+0x745e): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallNoArg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445901:(.text+0x7488): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyObject_TypeCheck': /usr/include/python3.11/object.h:263:(.text+0x7490): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:263:(.text+0x7498): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyCFunction_GET_FUNCTION': /usr/include/python3.11/cpython/methodobject.h:41:(.text+0x74a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyCFunction_GET_SELF': /usr/include/python3.11/cpython/methodobject.h:49:(.text+0x74d6): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.11/cpython/methodobject.h:50:(.text+0x74e0): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/include/python3.11/cpython/methodobject.h:48:(.text+0x7504): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x750e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyUnicode_Equals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446247:(.text+0x7554): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446273:(.text+0x75a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyUnicode_IS_READY': /usr/include/python3.11/cpython/unicodeobject.h:269:(.text+0x75c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyUnicode_GET_LENGTH': /usr/include/python3.11/cpython/unicodeobject.h:359:(.text+0x75d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyUnicode_Equals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446289:(.text+0x75e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446289:(.text+0x75ea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyUnicode_IS_COMPACT': /usr/include/python3.11/cpython/unicodeobject.h:289:(.text+0x75fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_PyUnicode_NONCOMPACT_DATA': /usr/include/python3.11/cpython/unicodeobject.h:331:(.text+0x7606): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyUnicode_Equals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446302:(.text+0x763c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446338:(.text+0x7678): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446313:(.text+0x7688): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x76aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x76be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyUnicode_Equals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446338:(.text+0x76e2): undefined reference to `PyMethodDescr_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446273:(.text+0x7738): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyUnicode_READ': /usr/include/python3.11/cpython/unicodeobject.h:400:(.text+0x775e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/cpython/unicodeobject.h:403:(.text+0x7766): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyUnicode_IS_READY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446274:(.text+0x777a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyUnicode_GET_LENGTH': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446274:(.text+0x7780): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x77c0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x780c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413064:(.text+0x7832): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413067:(.text+0x783c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413075:(.text+0x7850): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413074:(.text+0x7856): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413075:(.text+0x786a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413076:(.text+0x7872): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413064:(.text+0x78be): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413068:(.text+0x78d8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413075:(.text+0x78e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413081:(.text+0x790e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413070:(.text+0x7918): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423500:(.text+0x796c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423510:(.text+0x7986): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423510:(.text+0x7990): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447581:(.text+0x79bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447592:(.text+0x79c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x7a7e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7a94): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyObject_TypeCheck': /usr/include/python3.11/object.h:263:(.text+0x7aba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:263:(.text+0x7ac4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:263:(.text+0x7ad8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:263:(.text+0x7ae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x7b34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x7b50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445874:(.text+0x7b7c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445874:(.text+0x7b86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyCFunction_GET_FUNCTION': /usr/include/python3.11/cpython/methodobject.h:41:(.text+0x7bdc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.11/cpython/methodobject.h:41:(.text+0x7bf2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyObject_TypeCheck': /usr/include/python3.11/object.h:263:(.text+0x7c04): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445879:(.text+0x7c4e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x7c74): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x7c7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x7c8e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x7c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x7c9e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413648:(.text+0x7cb2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x7cb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7d04): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100583:(.text+0x7d1a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7d2c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7d76): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413660:(.text+0x7d9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413661:(.text+0x7da2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413664:(.text+0x7db6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413664:(.text+0x7dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413665:(.text+0x7dc6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7dda): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x7de0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100592:(.text+0x7e2c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413651:(.text+0x7e42): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413652:(.text+0x7e54): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413665:(.text+0x7e9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413778:(.text+0x7ec4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413780:(.text+0x7eca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413787:(.text+0x7ede): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413787:(.text+0x7ee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413788:(.text+0x7eee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7f02): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101626:(.text+0x7f08): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101638:(.text+0x7f54): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101635:(.text+0x7f6a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7f7c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413794:(.text+0x7fc6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7fec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x7ff2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8006): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101659:(.text+0x800e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101659:(.text+0x8016): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x802a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413780:(.text+0x8030): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x807c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413795:(.text+0x8092): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421923:(.text+0x80a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x80ee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8114): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359339:(.text+0x811a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x812e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8136): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359345:(.text+0x813e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359342:(.text+0x8152): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8158): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421938:(.text+0x81a4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x81ba): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x81cc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421925:(.text+0x8216): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421938:(.text+0x823c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421938:(.text+0x8242): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8256): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x825e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x8266): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421938:(.text+0x827a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458542:(.text+0x8280): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458735:(.text+0x82cc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458569:(.text+0x82e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x82f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x833e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x8364): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x836a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x837e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x8386): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x838e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__CallUnboundCMethod0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447438:(.text+0x83a2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447438:(.text+0x83a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x83f4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x840a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__CallUnboundCMethod0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447454:(.text+0x841c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x8466): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x848c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x8492): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TryUnpackUnboundCMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447279:(.text+0x84a6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447278:(.text+0x84ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447279:(.text+0x84b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447274:(.text+0x84ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447274:(.text+0x84d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x851c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458150:(.text+0x8532): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458177:(.text+0x8544): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458343:(.text+0x858e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x85b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458331:(.text+0x85ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x85ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x85d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x85de): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x85f2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458342:(.text+0x85f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458330:(.text+0x8644): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x865a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_4isInitialized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74493:(.text+0x866c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x86b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_5isInitialized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74468:(.text+0x86dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74468:(.text+0x86e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74468:(.text+0x86f6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74467:(.text+0x86fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74467:(.text+0x8706): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x871a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_7isFinalized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74533:(.text+0x8720): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x876c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8782): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_7isFinalized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74535:(.text+0x8794): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464106:(.text+0x87de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464217:(.text+0x8804): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464217:(.text+0x880a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464122:(.text+0x881e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464217:(.text+0x8826): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464217:(.text+0x882e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464113:(.text+0x8842): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464217:(.text+0x8848): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8894): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x88aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464204:(.text+0x88bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8906): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x892c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x8932): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8946): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x894e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8956): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x896a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8970): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x89bc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458373:(.text+0x89d2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458419:(.text+0x89e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458539:(.text+0x8a2e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x8a54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x8a5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8a6e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8a76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8a7e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8a92): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8a98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x8ae4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458538:(.text+0x8afa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453709:(.text+0x8b0c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453872:(.text+0x8b56): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453879:(.text+0x8b7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453879:(.text+0x8b82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x8b96): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x8b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x8ba6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8bba): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8bc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453876:(.text+0x8c0c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453759:(.text+0x8c22): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x8c34): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455681:(.text+0x8c7e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455794:(.text+0x8ca4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455800:(.text+0x8caa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455641:(.text+0x8cbe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455801:(.text+0x8cc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455801:(.text+0x8cce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x8ce2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x8ce8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8d34): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8d4a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455798:(.text+0x8d5c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462403:(.text+0x8da6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462453:(.text+0x8dcc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462453:(.text+0x8dd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x8de6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x8dee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462572:(.text+0x8df6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462413:(.text+0x8e0a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462573:(.text+0x8e10): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8e5c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8e72): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8e84): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x8ece): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461031:(.text+0x8ef4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461035:(.text+0x8efa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461081:(.text+0x8f0e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461081:(.text+0x8f16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461081:(.text+0x8f1e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461194:(.text+0x8f32): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461194:(.text+0x8f38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x8f84): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461189:(.text+0x8f9a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8fac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461198:(.text+0x8ff6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x901c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9022): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455412:(.text+0x9036): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455435:(.text+0x903e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455439:(.text+0x9046): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455485:(.text+0x905a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455485:(.text+0x9060): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455605:(.text+0x90ac): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x90c2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x90d4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x911e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455602:(.text+0x9144): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455602:(.text+0x914a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455604:(.text+0x915e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9166): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x916e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453490:(.text+0x9182): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453513:(.text+0x9188): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453676:(.text+0x91d4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453523:(.text+0x91ea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453683:(.text+0x91fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9246): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x926c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9272): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453680:(.text+0x9286): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453680:(.text+0x928e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453680:(.text+0x9296): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453682:(.text+0x92aa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x92b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x92fc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x9312): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x9324): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x936e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9394): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x939a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x93ae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x93b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x93be): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x93d2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x93d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456807:(.text+0x9424): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456844:(.text+0x943a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456857:(.text+0x944c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456977:(.text+0x9496): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x94bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x94c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x94d6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x94de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x94e6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x94fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9500): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x954c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456980:(.text+0x9562): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x9574): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457172:(.text+0x95be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457009:(.text+0x95e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457173:(.text+0x95ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x95fe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x9606): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x960e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9622): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x9628): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457170:(.text+0x9674): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457053:(.text+0x968a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x969c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459317:(.text+0x96e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459436:(.text+0x970c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459277:(.text+0x9712): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459437:(.text+0x9726): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459437:(.text+0x972e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459437:(.text+0x9736): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x974a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x9750): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x979c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x97b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x97c4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462799:(.text+0x980e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462845:(.text+0x9834): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462845:(.text+0x983a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462958:(.text+0x984e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462964:(.text+0x9856): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462805:(.text+0x985e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462965:(.text+0x9872): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462965:(.text+0x9878): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x98c4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x98da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462952:(.text+0x98ec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9936): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460055:(.text+0x995c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460055:(.text+0x9962): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460101:(.text+0x9976): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460101:(.text+0x997e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460101:(.text+0x9986): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460214:(.text+0x999a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460214:(.text+0x99a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x99ec): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460209:(.text+0x9a02): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x9a14): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460218:(.text+0x9a5e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9a84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460220:(.text+0x9a8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460639:(.text+0x9a9e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460643:(.text+0x9aa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460643:(.text+0x9aae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460689:(.text+0x9ac2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460689:(.text+0x9ac8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460645:(.text+0x9b14): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x9b2a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x9b3c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9b86): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460806:(.text+0x9bac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460689:(.text+0x9bb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9bc6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460808:(.text+0x9bd6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454493:(.text+0x9bea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x9bf0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454662:(.text+0x9c3c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454503:(.text+0x9c52): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454663:(.text+0x9c64): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x9cae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9cd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x9cda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454660:(.text+0x9cee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454660:(.text+0x9cf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454543:(.text+0x9cfe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9d12): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9d18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x9d64): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x9d7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x9d8c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x9dd6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x9dfc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9e02): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9e16): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9e1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x9e26): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x9e3a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x9e40): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463817:(.text+0x9e8c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463863:(.text+0x9ea2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463863:(.text+0x9eb4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463983:(.text+0x9efe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463971:(.text+0x9f24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463971:(.text+0x9f2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9f3e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x9f46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9f4e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9f62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463970:(.text+0x9f68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9fb4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x9fca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460251:(.text+0x9fdc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460257:(.text+0xa026): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460417:(.text+0xa04c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xa052): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xa066): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xa06e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460405:(.text+0xa076): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa08a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xa090): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460414:(.text+0xa0dc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xa0f2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460404:(.text+0xa104): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463667:(.text+0xa14e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463627:(.text+0xa174): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463627:(.text+0xa17a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463787:(.text+0xa18e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463787:(.text+0xa196): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xa19e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xa1b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xa1b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xa204): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463784:(.text+0xa21a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463786:(.text+0xa22c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456615:(.text+0xa276): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456774:(.text+0xa29c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456774:(.text+0xa2a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456780:(.text+0xa2b6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456621:(.text+0xa2be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456621:(.text+0xa2c6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456781:(.text+0xa2da): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456781:(.text+0xa2e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xa32c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456780:(.text+0xa342): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xa354): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456780:(.text+0xa39e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463229:(.text+0xa3c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463262:(.text+0xa3ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463275:(.text+0xa3de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463275:(.text+0xa3e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463388:(.text+0xa3ee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463394:(.text+0xa402): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463235:(.text+0xa408): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463383:(.text+0xa454): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa46a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xa47c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463275:(.text+0xa4c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463394:(.text+0xa4ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456392:(.text+0xa4f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456419:(.text+0xa506): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456419:(.text+0xa50e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456452:(.text+0xa516): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456465:(.text+0xa52a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456465:(.text+0xa530): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa5b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xa5c4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456582:(.text+0xa602): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456465:(.text+0xa614): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xa62e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461231:(.text+0xa654): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461231:(.text+0xa65a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461277:(.text+0xa66e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461277:(.text+0xa676): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa6f6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xa708): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461394:(.text+0xa746): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461394:(.text+0xa758): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xa772): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454101:(.text+0xa798): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454105:(.text+0xa79e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454151:(.text+0xa7b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454151:(.text+0xa7ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454259:(.text+0xa83a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa84c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xa88a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454268:(.text+0xa89c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454270:(.text+0xa8b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0xa8dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461619:(.text+0xa8e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461623:(.text+0xa8f6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461669:(.text+0xa8fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xa97e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa990): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xa9ce): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461786:(.text+0xa9e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461669:(.text+0xa9fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457176:(.text+0xaa20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457176:(.text+0xaa26): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457203:(.text+0xaa3a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457203:(.text+0xaa42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xaac2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457357:(.text+0xaad4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xab12): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457366:(.text+0xab24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457366:(.text+0xab3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457356:(.text+0xab64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458814:(.text+0xab6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458837:(.text+0xab7e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458841:(.text+0xab86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xac06): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xac18): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459006:(.text+0xac56): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xac68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459006:(.text+0xac82): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xaca8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458994:(.text+0xacae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xacc2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCHPDDMCoarseCorrectionType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461423:(.text+0xacca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xad4a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xad5c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xad9a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCHPDDMCoarseCorrectionType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461580:(.text+0xadac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461590:(.text+0xadc6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xadec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xadf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459832:(.text+0xae06): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xae0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460025:(.text+0xae8e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0xaea0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xaede): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xaef0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460022:(.text+0xaf0a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460024:(.text+0xaf30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xaf36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460024:(.text+0xaf4a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455020:(.text+0xaf52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455213:(.text+0xafd2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xafe4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xb022): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xb034): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb04e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0xb074): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0xb07a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xb08e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455212:(.text+0xb096): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461005:(.text+0xb116): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461005:(.text+0xb128): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb166): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xb178): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb192): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461002:(.text+0xb1b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460885:(.text+0xb1be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xb1d2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xb1da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457405:(.text+0xb25a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457401:(.text+0xb26c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb2aa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xb2bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xb2d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457562:(.text+0xb2fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457562:(.text+0xb302): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457564:(.text+0xb316): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xb31e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460453:(.text+0xb39e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460613:(.text+0xb3b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb3ee): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xb400): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xb41a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460610:(.text+0xb440): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460610:(.text+0xb446): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460493:(.text+0xb45a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460612:(.text+0xb462): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459043:(.text+0xb4e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459043:(.text+0xb4f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459191:(.text+0xb532): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb544): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xb55e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459200:(.text+0xb584): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459200:(.text+0xb58a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459200:(.text+0xb59e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459083:(.text+0xb5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454460:(.text+0xb626): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454307:(.text+0xb638): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xb676): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb688): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xb6a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb6c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xb6ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454466:(.text+0xb6e2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454464:(.text+0xb6ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458102:(.text+0xb76a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457949:(.text+0xb77c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xb7ba): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458097:(.text+0xb7cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xb7e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458096:(.text+0xb80c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb812): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0xb826): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458108:(.text+0xb82e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456389:(.text+0xb89e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456382:(.text+0xb8ca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456382:(.text+0xb8dc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456280:(.text+0xb906): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456339:(.text+0xb918): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456339:(.text+0xb934): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456377:(.text+0xb95a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456377:(.text+0xb960): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb972): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xb97a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462266:(.text+0xb9e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462377:(.text+0xba0e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462282:(.text+0xba20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462377:(.text+0xba78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xbaa4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xbab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xbb0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453905:(.text+0xbb3a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453964:(.text+0xbb4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454062:(.text+0xbc64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462968:(.text+0xbc90): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462991:(.text+0xbca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463154:(.text+0xbcfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463161:(.text+0xbd26): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463052:(.text+0xbd38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xbd90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xbdbc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xbdce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455997:(.text+0xbe26): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455902:(.text+0xbe52): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455990:(.text+0xbe64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455947:(.text+0xbebc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455985:(.text+0xbee8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xbefa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455992:(.text+0xbf52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPlexReorderDefaultFlag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463480:(.text+0xbf7e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463591:(.text+0xbf90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463487:(.text+0xbfe8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463541:(.text+0xc014): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463541:(.text+0xc026): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xc07e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xc0aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456000:(.text+0xc0bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456098:(.text+0xc114): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456089:(.text+0xc140): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456193:(.text+0xc152): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xc1aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xc1d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xc1e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461874:(.text+0xc240): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461890:(.text+0xc26c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461890:(.text+0xc27e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461935:(.text+0xc2d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0xc302): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461973:(.text+0xc314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xc36c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xc398): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xc3aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xc402): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0xc42e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc440): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xc498): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc4c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xc4d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451081:(.text+0xc52e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451074:(.text+0xc55a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450977:(.text+0xc56c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xc5c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc5f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xc602): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459659:(.text+0xc65a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459829:(.text+0xc686): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459734:(.text+0xc698): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459829:(.text+0xc6f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459779:(.text+0xc71c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0xc72e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc786): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461988:(.text+0xc7b2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462070:(.text+0xc7c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462174:(.text+0xc81c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462181:(.text+0xc848): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462072:(.text+0xc85a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462169:(.text+0xc8b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462176:(.text+0xc8de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc8f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462674:(.text+0xc968): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462665:(.text+0xc994): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462665:(.text+0xc9a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xc9fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xca2a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xca3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459522:(.text+0xca94): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459633:(.text+0xcab4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459626:(.text+0xcae0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459626:(.text+0xcaee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459583:(.text+0xcb46): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xcb66): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xcb92): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xcba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457650:(.text+0xcbf8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457761:(.text+0xcc18): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457754:(.text+0xcc44): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457754:(.text+0xcc52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457711:(.text+0xccaa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xccca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xccf6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xcd04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xcd64): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memview_set_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450731:(.text+0xcd84): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xcdb0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xcdbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xce0c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xce54): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418723:(.text+0xcebc): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342670:(.text+0xcee2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342692:(.text+0xceea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcf08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcf16): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329015:(.text+0xcf8e): undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xcfd8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd050): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd088): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMSwarm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421788:(.text+0xd0ae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421790:(.text+0xd0b6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMShell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421680:(.text+0xd0d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMPlex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421177:(.text+0xd150): undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xd19a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414877:(.text+0xd21a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414998:(.text+0xd22e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415000:(.text+0xd236): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd278): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd29e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd320): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd330): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd390): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xd39a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119086:(.text+0xd3a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119095:(.text+0xd3aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414434: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd3f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xd3f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Random': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413498:(.text+0xd410): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413500:(.text+0xd418): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413501:(.text+0xd420): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413503: more undefined references to `PyObject_GetAttr' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Random': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413509:(.text+0xd458): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd474): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd488): undefined reference to `PyExc_KeyError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd494): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xd49e): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xd4a6): undefined reference to `PyExc_KeyError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413501:(.text+0xd4b2): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_SF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414287:(.text+0xd4c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_FE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415116:(.text+0xd618): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd62c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd656): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd66a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd672): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd686): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd7a6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd7ba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_NullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416158:(.text+0xd880): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416158:(.text+0xd892): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd8f8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415327:(.text+0xd924): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd92a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Section': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415429:(.text+0xd940): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xda12): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101574:(.text+0xda24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416893:(.text+0xdb46): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xdb58): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_AO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418089:(.text+0xdd30): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418092:(.text+0xdd42): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418098:(.text+0xdd68): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdd7c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdd86): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdd9c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdda6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xddb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418090:(.text+0xddc2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417790:(.text+0xddd6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417793:(.text+0xdde0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xddf2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266938:(.text+0xddfe): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417799:(.text+0xde10): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417791:(.text+0xde56): undefined reference to `PyThreadState_Get' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417360:(.text+0xde7a): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417363:(.text+0xde82): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xde9c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247195:(.text+0xdeaa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417369:(.text+0xdeb8): undefined reference to `PyObject_Not' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdecc): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdee2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdeea): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417361:(.text+0xdefa): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xdf3e): undefined reference to `PyFrame_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91462:(.text+0xdf4c): undefined reference to `PyTraceBack_Here' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdf9e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_ViewerHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420880:(.text+0xdfbc): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420882:(.text+0xdfc6): undefined reference to `PyUnicode_AsUTF8' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420885:(.text+0xdfd4): undefined reference to `PyCode_NewEmpty' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_MatPartitioning': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416062:(.text+0xdffc): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416060:(.text+0xe07c): undefined reference to `PyFrame_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Partitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418625:(.text+0xe096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418627:(.text+0xe0aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe0d6): undefined reference to `PyObject_Not' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe0ec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe0f4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe10c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420654:(.text+0xe140): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420659:(.text+0xe14e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe15a): undefined reference to `PyCode_NewEmpty' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420664:(.text+0xe170): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420656:(.text+0xe18a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe19c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420658:(.text+0xe1de): undefined reference to `PyMem_Realloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413641:(.text+0xe20e): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100506:(.text+0xe220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413638:(.text+0xe23a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413640:(.text+0xe252): undefined reference to `PyMem_Malloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe28a): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe292): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413640:(.text+0xe2a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421908:(.text+0xe2ac): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421916:(.text+0xe2c6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xe2ce): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe2d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359259:(.text+0xe2e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe330): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421915:(.text+0xe35c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420218:(.text+0xe366): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3da): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3e2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xe44a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe4a8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398070:(.text+0xe58a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397792:(.text+0xe5be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xe5c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397796:(.text+0xe5f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe5fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397822:(.text+0xe692): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0xe6be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0xe6c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397885:(.text+0xe75c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe788): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe792): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe824): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397936:(.text+0xe850): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397936:(.text+0xe85a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397999:(.text+0xe8ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe918): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xe922): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398060:(.text+0xe9b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe9de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe9e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xea7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xeaa6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xeab0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xeb42): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xeb6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xeb78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xec0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397740:(.text+0xec36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448697:(.text+0xec40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xecd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ProcessTypeChunk': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450199:(.text+0xecfe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450201:(.text+0xed08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450225:(.text+0xed9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_TypeCharToNativeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450072:(.text+0xedc6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450072:(.text+0xedd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ProcessTypeChunk': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450203:(.text+0xee62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_RaiseUnexpectedChar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450025:(.text+0xee8e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450025:(.text+0xee98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ProcessTypeChunk': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450267:(.text+0xef2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450281:(.text+0xef56): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450224:(.text+0xef60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450242:(.text+0xeff2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450235:(.text+0xf01e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450236:(.text+0xf028): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450257:(.text+0xf0ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_TypeCharToNativeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450076:(.text+0xf0e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450075:(.text+0xf0f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450340:(.text+0xf182): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0xf1ae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0xf1b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0xf24a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450474:(.text+0xf276): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450474:(.text+0xf280): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ParseNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450005:(.text+0xf312): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450009:(.text+0xf33e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450009:(.text+0xf348): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450386:(.text+0xf3c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450394:(.text+0xf3dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450380:(.text+0xf4c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ParseNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450008:(.text+0xf4da): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_buffmt_parse_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450325:(.text+0xf538): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450439:(.text+0xf542): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450441:(.text+0xf566): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_buffmt_parse_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450335:(.text+0xf57e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450337:(.text+0xf588): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450304:(.text+0xf58e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450464:(.text+0xf5ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_buffmt_parse_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450322:(.text+0xf618): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450322:(.text+0xf622): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450390:(.text+0xf68e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449802:(.text+0xf6bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449645:(.text+0xf730): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449648:(.text+0xf75c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449810:(.text+0xf766): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_find_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449682:(.text+0xf7c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449812:(.text+0xf842): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CreateCodeObjectForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449758:(.text+0xf86e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449760:(.text+0xf878): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_insert_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449707:(.text+0xf8d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf96e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449632:(.text+0xf97e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xf990): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449645:(.text+0xf9c4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449645:(.text+0xf9d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449810:(.text+0xf9e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449823:(.text+0xfa4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449823:(.text+0xfa5c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfa6e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xfaa2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xfaae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_insert_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449714:(.text+0xfac6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfb2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449626:(.text+0xfb3a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449626:(.text+0xfb4c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xfb80): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449812:(.text+0xfb8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449634:(.text+0xfba4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfc08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_53getDict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88764:(.text+0xfc18): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xfc2a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfc5e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfc6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfc82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88812:(.text+0xfce6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5array_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144355:(.text+0xfcf6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144355:(.text+0xfd08): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144366:(.text+0xfd3c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144369:(.text+0xfd48): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144369:(.text+0xfd60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414522:(.text+0xfdc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414516:(.text+0xfdd4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xfde6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_6buffer___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144248:(.text+0xfe1a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414518:(.text+0xfe26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfe3e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xfea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xfeb2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_67clearDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125295:(.text+0xfec4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_66clearDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125325:(.text+0xfef8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xff04): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xff1c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_67clearDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125301:(.text+0xff80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_66clearDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125352:(.text+0xff90): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125352:(.text+0xffa2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xffd6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_19getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195490:(.text+0xffe2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_18getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195517:(.text+0xfffa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_19getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195492:(.text+0x1005e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_18getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195534:(.text+0x1006e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195534:(.text+0x10080): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x100b4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_63getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219956:(.text+0x100c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_62getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219983:(.text+0x100d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_63getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219958:(.text+0x1013c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_62getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220000:(.text+0x1014c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220000:(.text+0x1015e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x10192): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_51getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219027:(.text+0x1019e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219033:(.text+0x101b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219027:(.text+0x1021a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_50getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219069:(.text+0x1022a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219069:(.text+0x1023c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_25getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217036:(.text+0x10270): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_24getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217063:(.text+0x1027c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_25getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217044:(.text+0x10294): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217038:(.text+0x102f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_24getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217080:(.text+0x10308): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217080:(.text+0x1031a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_125getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237278:(.text+0x1034e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_124getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237305:(.text+0x1035a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_125getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237286:(.text+0x10372): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237279:(.text+0x103d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_124getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237322:(.text+0x103e6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237322:(.text+0x103f8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_111getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236067:(.text+0x1042c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_110getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236094:(.text+0x10438): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_111getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236075:(.text+0x10450): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236068:(.text+0x104b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_110getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236111:(.text+0x104c4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236111:(.text+0x104d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_79getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233514:(.text+0x1050a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_78getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233541:(.text+0x10516): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_79getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233522:(.text+0x1052e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_78getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233558:(.text+0x10592): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233558:(.text+0x105a2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233558:(.text+0x105b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_71getInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232669:(.text+0x105e8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_70getInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232694:(.text+0x105f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1060c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_70getInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232711:(.text+0x10670): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232711:(.text+0x10680): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232711:(.text+0x10692): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_180getPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259969:(.text+0x106c6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259969:(.text+0x106d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x106ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_180getPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259986:(.text+0x1074e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259986:(.text+0x1075e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259986:(.text+0x10770): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_176getPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259658:(.text+0x107a4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259658:(.text+0x107b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x107c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_176getPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259675:(.text+0x1082c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259675:(.text+0x1083c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259675:(.text+0x1084e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_162getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258301:(.text+0x10882): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258301:(.text+0x1088e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x108a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_162getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258318:(.text+0x1090a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258318:(.text+0x1091a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258318:(.text+0x1092c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_44getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249449:(.text+0x10960): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249449:(.text+0x1096c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10984): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_44getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249466:(.text+0x109e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249466:(.text+0x109f8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249466:(.text+0x10a0a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_112getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275964:(.text+0x10a3e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275964:(.text+0x10a4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10a62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_112getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275981:(.text+0x10ac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275981:(.text+0x10ad6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275981:(.text+0x10ae8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_104getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275427:(.text+0x10b1c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_105getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275408:(.text+0x10b28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10b40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_104getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275444:(.text+0x10ba4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275444:(.text+0x10bb4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275444:(.text+0x10bc6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_66getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272834:(.text+0x10bfa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_67getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272815:(.text+0x10c06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10c1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_66getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272851:(.text+0x10c82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272851:(.text+0x10c92): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_27getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268248:(.text+0x10ca4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_26getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268279:(.text+0x10cd8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_27getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268260:(.text+0x10ce4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10cfc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_26getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268296:(.text+0x10d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268296:(.text+0x10d70): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_39getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285306:(.text+0x10d82): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_38getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285337:(.text+0x10db6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_39getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285318:(.text+0x10dc2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10dda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_38getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285354:(.text+0x10e3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285354:(.text+0x10e4e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_indexed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403620:(.text+0x10e60): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403671:(.text+0x10e94): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403661:(.text+0x10ea0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403638:(.text+0x10eb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_5array_7memview___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400692:(.text+0x10f1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400692:(.text+0x10f2c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_array_memview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422980:(.text+0x10f3e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x10f72): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10f7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400896:(.text+0x10f96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400869:(.text+0x10ffa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400890:(.text+0x1100a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400895:(.text+0x1101c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_getattro_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422969:(.text+0x11050): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422970:(.text+0x1105c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422976:(.text+0x11074): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59284:(.text+0x110da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_7__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59266:(.text+0x110ea): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x110fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_7__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59260:(.text+0x11130): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59260:(.text+0x1113c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59259:(.text+0x11154): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x111c0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_15_DMDA_Vec_array_release': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59061:(.text+0x111d2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59061:(.text+0x11206): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_9__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28906:(.text+0x11212): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x11228): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_9__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28912:(.text+0x1128e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28912:(.text+0x1129e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28911:(.text+0x112b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28954:(.text+0x112e2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_exit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28864:(.text+0x112ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11306): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_9__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23550:(.text+0x1135e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1137e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1139e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x113ac): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_9__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23552:(.text+0x113be): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23552:(.text+0x113d0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23551:(.text+0x113dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_8__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23594:(.text+0x113f4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23594:(.text+0x11400): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_exit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23504:(.text+0x11416): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDeviceContext_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361731:(.text+0x11508): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x11536): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1160e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1163c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x11682): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x116c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x11706): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1170c): undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1171e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x11734): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1177a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x117ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x117c0): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSpace_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364950:(.text+0x117d2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364950:(.text+0x117e6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1185c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDMLabel_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364803:(.text+0x1189a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x118a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDMLabel_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364797:(.text+0x118c0): undefined reference to `PyType_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x11954): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x11962): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscQuad_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364650:(.text+0x11978): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364650:(.text+0x11988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscQuad_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364644:(.text+0x119ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x119de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x119ee): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x11a4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscFE_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364467:(.text+0x11a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11a6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscFE_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364497:(.text+0x11a7e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x11a94): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x11aec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPartitioner_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364273:(.text+0x11b06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x11b2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x11b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x11b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPartitioner_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364344:(.text+0x11b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11b64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364344: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x11b7e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x11bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDS_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364191:(.text+0x11c4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364185:(.text+0x11ca4): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x11cc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x11ce4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11d30): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x11da0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x11da8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x11db0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x11dfe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscAO_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363879:(.text+0x11e2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x11e52): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x11ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x11eca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTAO_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363655:(.text+0x11ed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363726:(.text+0x11f20): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x11f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTAO_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363720:(.text+0x11f74): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x11fe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x11fec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x11ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12042): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363567:(.text+0x1206e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12096): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSNES_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363420:(.text+0x12106): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1210e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSNES_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363420:(.text+0x12116): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x12162): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1218a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscKSP_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363224:(.text+0x121b2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscKSP_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363261:(.text+0x1222a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363261:(.text+0x12232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12280): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x122ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPC_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363084:(.text+0x122de): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1235c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12364): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1236c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12374): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x123b6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x123c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x123ce): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x123e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1240a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362737:(.text+0x1247a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362765:(.text+0x12482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1248a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x124d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362802:(.text+0x12504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x1252c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1259c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x125a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x125ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSection_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362649:(.text+0x125fa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x12626): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x12658): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x126d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x126de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscScatter_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362496:(.text+0x126e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362496:(.text+0x126ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12730): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12742): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x12748): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscVec_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362306:(.text+0x1275a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x12784): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscVec_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362343:(.text+0x127f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362343:(.text+0x127fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x12804): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x12852): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1287e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x128b0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x1292e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscLGMap_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361972:(.text+0x12936): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362000:(.text+0x1293e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x12946): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscLGMap_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362043:(.text+0x12988): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362043:(.text+0x1299a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x129a0): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x129b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscLGMap_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362037:(.text+0x129dc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x12a4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x12a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x12a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12aaa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x12ad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12b08): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12b8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12b96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscRandom_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361444:(.text+0x12b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12be0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12bf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12bf8): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscViewer_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361226:(.text+0x12c0a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x12c34): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscViewer_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361291:(.text+0x12ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361291:(.text+0x12cac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361291:(.text+0x12cb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_GetPtr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361073:(.text+0x12d02): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x12d2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_GetPtr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361144:(.text+0x12d60): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x12dde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x12de6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360994:(.text+0x12dee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361021:(.text+0x12df6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361034:(.text+0x12e38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12e4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361063:(.text+0x12e50): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12e62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361057:(.text+0x12e8c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x12efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x12f04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x12f0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x12f5a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscComm_GetPtr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360900:(.text+0x12f86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscComm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360756:(.text+0x12fd2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x13040): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x13048): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x13050): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscComm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360821:(.text+0x1306e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1309a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_slice_from_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409354:(.text+0x130ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x130f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x13102): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_slice_from_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409398:(.text+0x13136): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x131a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x131ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x131b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x13204): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x13230): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405683:(.text+0x13258): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449885:(.text+0x132c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x132d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405715:(.text+0x132d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405730:(.text+0x13326): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_c_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405596:(.text+0x13352): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405637:(.text+0x13384): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_c_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405605:(.text+0x13402): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405605:(.text+0x1340a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405605:(.text+0x13412): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1341a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_4__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28682:(.text+0x1345c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28697:(.text+0x1346e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x13474): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_4__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28719:(.text+0x13486): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28721:(.text+0x134b0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_4__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23327:(.text+0x13520): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23327:(.text+0x13528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23337:(.text+0x13530): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23351:(.text+0x1357e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23355:(.text+0x135aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_ndim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423341:(.text+0x135dc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91282:(.text+0x1365a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91285:(.text+0x13662): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453436:(.text+0x1366a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91301:(.text+0x13672): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91336:(.text+0x136b4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91340:(.text+0x136c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91340:(.text+0x136cc): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91342:(.text+0x136de): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13708): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13778): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13780): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13788): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91438:(.text+0x137d4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91337:(.text+0x13800): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91370:(.text+0x13832): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x138b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x138b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91409:(.text+0x138c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91409:(.text+0x138c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1390a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1391c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13922): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91340:(.text+0x13934): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91342:(.text+0x1395e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x139ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDevice_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361477:(.text+0x13a2c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13a58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscComm_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360685:(.text+0x13aaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360746:(.text+0x13ae8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367466:(.text+0x13b32): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367521:(.text+0x13ba2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4Comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412904:(.text+0x13baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412904:(.text+0x13bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13c00): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4rank___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85274:(.text+0x13c2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13c54): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4rank___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85294:(.text+0x13cc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85294:(.text+0x13ccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85294:(.text+0x13cd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85182:(.text+0x13d22): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85190:(.text+0x13d4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4Comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412902:(.text+0x13d76): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85212:(.text+0x13de6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4Comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412902:(.text+0x13dee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412902:(.text+0x13df6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x13e42): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_8refcount___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90199:(.text+0x13e6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90206:(.text+0x13e94): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90206:(.text+0x13f04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90194:(.text+0x13f0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90228:(.text+0x13f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90228:(.text+0x13f62): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_5klass___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90112:(.text+0x13f8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x13fb6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14026): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1402e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_klass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413174:(.text+0x14036): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x14084): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x140b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x140d8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_classid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413170:(.text+0x14148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14150): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14158): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_7classid___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90064:(.text+0x141a6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90030:(.text+0x141d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x141fa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4name_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89961:(.text+0x1426a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89961:(.text+0x14272): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1427a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x142c8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4name_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89949:(.text+0x142f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Object_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413166:(.text+0x1431c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89871:(.text+0x1438c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89873:(.text+0x14394): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1439c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413156:(.text+0x143ea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413156:(.text+0x14416): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1449a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x144a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4comm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89786:(.text+0x144b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x144e0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x144ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4comm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89820:(.text+0x14588): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x145fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89717:(.text+0x14662): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89714:(.text+0x1466c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Object_prefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413148:(.text+0x1468a): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1469e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x146aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89705:(.text+0x146dc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_prefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413136:(.text+0x1474c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413136:(.text+0x14754): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89624:(.text+0x1475c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89636:(.text+0x147aa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_prefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413138:(.text+0x147d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x147fe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89658:(.text+0x1486e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89658:(.text+0x14876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89658:(.text+0x1487e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89547:(.text+0x148cc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89555:(.text+0x148f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14920): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89577:(.text+0x14990): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89577:(.text+0x14998): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89577:(.text+0x149a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413122:(.text+0x149ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89465:(.text+0x14a1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14a42): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413124:(.text+0x14ab2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89474:(.text+0x14aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14ac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89496:(.text+0x14b10): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Random_interval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413530:(.text+0x14b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8interval_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100087:(.text+0x14b64): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Random_interval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413537:(.text+0x14bd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413537:(.text+0x14bdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14be4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8interval_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100118:(.text+0x14c32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x14c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x14c86): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8interval___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100015:(.text+0x14cf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14cfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8interval___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100012:(.text+0x14d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Random_interval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413527:(.text+0x14d54): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8interval___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100037:(.text+0x14d80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100037:(.text+0x14db2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99934:(.text+0x14e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14e4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14e54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99931:(.text+0x14e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14ea4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99956:(.text+0x14ed2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99956:(.text+0x14edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x14f2a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99844:(.text+0x14f62): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14fa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99850:(.text+0x14faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Random_seed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413513:(.text+0x14fc6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1500a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Random_seed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413513:(.text+0x1503a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99875:(.text+0x15062): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98414:(.text+0x150d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x150da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x150e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15132): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98388:(.text+0x15160): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1518c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98443:(.text+0x151c4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98409:(.text+0x15204): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1520c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x15214): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15228): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1526c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1529c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Device_device_id': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413673:(.text+0x152c4): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413673:(.text+0x15334): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1533c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x15344): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x15394): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x153c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x153ea): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101239:(.text+0x1545a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101239:(.text+0x15462): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101239:(.text+0x1546a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x154ba): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_7current_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104187:(.text+0x154e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15510): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15580): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15588): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15590): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x155e0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1560e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x15636): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_13DeviceContext_current': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413827:(.text+0x156a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413827:(.text+0x156ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x156b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_7current___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104140:(.text+0x15706): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104106:(.text+0x15734): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1575c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102452:(.text+0x157cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102452:(.text+0x157d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x157dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1582a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102440:(.text+0x15856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_13DeviceContext_device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413823:(.text+0x1587e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102362:(.text+0x158ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102364:(.text+0x158f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x158fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_13DeviceContext_device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413813:(.text+0x1594e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413813:(.text+0x1597c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102393:(.text+0x159ae): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_11stream_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102074:(.text+0x15a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102077:(.text+0x15a34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102077:(.text+0x15a3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102079:(.text+0x15a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102083:(.text+0x15a88): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15a9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x15aa2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15ab4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15ade): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x15b4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x15b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x15b5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15bae): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_11stream_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102002:(.text+0x15bdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_13DeviceContext_stream_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413799:(.text+0x15c28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_11stream_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102027:(.text+0x15c54): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_13DeviceContext_stream_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413799:(.text+0x15c5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110902:(.text+0x15d26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110902:(.text+0x15d2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x15d40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110902:(.text+0x15d6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_indices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413980:(.text+0x15d76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15e14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_7indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110729:(.text+0x15e88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15ef2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x15efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110659:(.text+0x15f1a): undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110656:(.text+0x15f2e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_block_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413978:(.text+0x15f6c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110681:(.text+0x15fdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110681:(.text+0x15fe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110682:(.text+0x15fec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110571:(.text+0x1603c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1606a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16092): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x16102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1610a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110599:(.text+0x16112): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110486:(.text+0x16162): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16190): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x161b8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110517:(.text+0x16228): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110517:(.text+0x16230): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413970:(.text+0x16238): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413964:(.text+0x16288): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110405:(.text+0x162b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110413:(.text+0x162de): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110413:(.text+0x1634e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16356): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110401:(.text+0x1635e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110435:(.text+0x163ae): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6sorted___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110319:(.text+0x163dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16404): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16474): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1647c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_sorted': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413962:(.text+0x16484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x164d4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_6sorted_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110297:(.text+0x16502): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1652a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_identity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413958:(.text+0x1659a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413958:(.text+0x165a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x165aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_8identity___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110271:(.text+0x165fa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110237:(.text+0x16628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16650): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_11permutation___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110167:(.text+0x166c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x166c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x166d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_11permutation___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110167:(.text+0x16720): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110190:(.text+0x1674e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110189:(.text+0x16776): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104510:(.text+0x167e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x167ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104522:(.text+0x167f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16846): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_7__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104472:(.text+0x16874): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104473:(.text+0x1689c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104539:(.text+0x1690c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0x16914): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_3__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104299:(.text+0x1691c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104346:(.text+0x1696c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1699a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104361:(.text+0x169c2): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104371:(.text+0x16a32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104365:(.text+0x16a42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_10block_info___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114639:(.text+0x16a92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114645:(.text+0x16ac0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16af2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_10block_info___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114673:(.text+0x16b70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114673:(.text+0x16b78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_block_info': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414178:(.text+0x16b80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414178:(.text+0x16b88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_info': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414172:(.text+0x16bcc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x16be0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4info___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114557:(.text+0x16be6): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114561:(.text+0x16bf8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114569:(.text+0x16c22): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114569:(.text+0x16c92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16c9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4info___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114557:(.text+0x16ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114591:(.text+0x16cf2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_13block_indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114475:(.text+0x16d20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114487:(.text+0x16d6c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114487:(.text+0x16dda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_13block_indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114509:(.text+0x16dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_block_indices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414170:(.text+0x16e08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_13block_indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114509:(.text+0x16e34): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_7indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114393:(.text+0x16e66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16e96): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x16ea0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_indices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414166:(.text+0x16ede): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x16f5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x16f64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_7indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114393:(.text+0x16f6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114427:(.text+0x16f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114311:(.text+0x16fb8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114315:(.text+0x16fcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16fd2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x16fe4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114320:(.text+0x1700e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114345:(.text+0x1707e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114345:(.text+0x17086): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114345:(.text+0x1708e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x170de): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114232:(.text+0x1710c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17134): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414158:(.text+0x171a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114241:(.text+0x171ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x171b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114263:(.text+0x17204): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x17232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144421:(.text+0x17264): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414536:(.text+0x172e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x172ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x172f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x172fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144463:(.text+0x1733e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144463:(.text+0x17352): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144463:(.text+0x17358): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144416:(.text+0x1736a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144425:(.text+0x17394): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_r___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144154:(.text+0x17404): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144156:(.text+0x1740c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17414): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17464): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17492): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_r___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144151:(.text+0x174c4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143861:(.text+0x17542): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1754a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143861:(.text+0x17552): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143864:(.text+0x1755a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143873:(.text+0x1759e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x175b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x175b8): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x175ca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414500:(.text+0x175f4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143895:(.text+0x17664): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143895:(.text+0x1766c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17674): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x176c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x176f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17724): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x177a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_8buffer_r___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143779:(.text+0x177aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143813:(.text+0x177b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143813:(.text+0x177ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_8buffer_w___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143700:(.text+0x177fe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143702:(.text+0x17812): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17818): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1782a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_8buffer_w___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143706:(.text+0x17854): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143731:(.text+0x178c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143731:(.text+0x178cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143731:(.text+0x178d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17924): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_12owner_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143618:(.text+0x17952): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143627:(.text+0x17984): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143615:(.text+0x17a02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143649:(.text+0x17a0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143649:(.text+0x17a12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143649:(.text+0x17a1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143649:(.text+0x17a5e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_owner_range': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414482:(.text+0x17a72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414482:(.text+0x17a78): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x17a8a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17ab4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17b24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_owner_range': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414484:(.text+0x17b2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414484:(.text+0x17b34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x17b84): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143451:(.text+0x17bda): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_block_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414480:(.text+0x17c4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17c52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17c5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143485:(.text+0x17caa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143451:(.text+0x17cd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_local_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414474:(.text+0x17d0a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143383:(.text+0x17d88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_local_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414476:(.text+0x17d90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414476:(.text+0x17d98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17da0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143403:(.text+0x17de4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143403:(.text+0x17df8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143404:(.text+0x17dfe): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x17e10): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143403:(.text+0x17e3a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143299:(.text+0x17eaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17eb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414472:(.text+0x17f0a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143321:(.text+0x17f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143321:(.text+0x17f6a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x17ff0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17ff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5sizes_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143218:(.text+0x18000): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18044): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18058): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1805e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18070): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5sizes_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143240:(.text+0x1809a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143125:(.text+0x1810a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x18112): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143128:(.text+0x1811a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1816a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18198): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143137:(.text+0x181c0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143159:(.text+0x18230): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18240): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18290): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x182be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_295localForm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141578:(.text+0x182e6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_36__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120468:(.text+0x18356): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120480:(.text+0x1835e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120480:(.text+0x18366): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_37__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120449:(.text+0x183b6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x183e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_37__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120443:(.text+0x18416): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18494): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0x1849c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_33__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120269:(.text+0x184a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120269:(.text+0x184ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_32__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120316:(.text+0x184f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1850a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1851c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_32__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120331:(.text+0x18546): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x185b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x185be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_32__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120335:(.text+0x185c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x18616): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18676): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10structsymm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192907:(.text+0x186f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192907:(.text+0x186fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192908:(.text+0x18704): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_structsymm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415664:(.text+0x1870c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18750): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9hermitian___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192791:(.text+0x18764): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1876a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9hermitian___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192794:(.text+0x1877c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x187a6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_hermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415660:(.text+0x18816): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9hermitian___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192803:(.text+0x1881e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18826): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9hermitian___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192825:(.text+0x18874): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_symmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415654:(.text+0x188a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9symmetric___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192714:(.text+0x188d2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18950): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_symmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415656:(.text+0x18958): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415656:(.text+0x18960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9symmetric___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192721:(.text+0x18968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x189ac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9symmetric___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192743:(.text+0x189c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192743:(.text+0x189c6): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192744:(.text+0x189d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x18a02): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_assembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415652:(.text+0x18a72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415652:(.text+0x18a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18a82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9assembled___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192661:(.text+0x18ad2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192627:(.text+0x18b00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_owner_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415646:(.text+0x18b32): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18bb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_owner_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415648:(.text+0x18bb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415648:(.text+0x18bc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18bc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_12owner_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192545:(.text+0x18c0c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192579:(.text+0x18c20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192579:(.text+0x18c26): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_owner_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415648:(.text+0x18c38): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_12owner_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192579:(.text+0x18c62): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18cd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_11owner_range___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192475:(.text+0x18cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_owner_range': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415644:(.text+0x18d32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_11owner_range___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192497:(.text+0x18d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192463:(.text+0x18d92): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18e10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_11block_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192393:(.text+0x18e20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192393:(.text+0x18e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18e6c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_block_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415640:(.text+0x18e80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415640:(.text+0x18e86): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18e98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_block_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415640:(.text+0x18ec2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192302:(.text+0x18f32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192302:(.text+0x18f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192303:(.text+0x18f42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192313:(.text+0x18f92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18fc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192299:(.text+0x18fe8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19058): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_local_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415630:(.text+0x19060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192217:(.text+0x19068): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192229:(.text+0x190b8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_local_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415632:(.text+0x190e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415632:(.text+0x19118): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_10local_size_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192195:(.text+0x19196): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1919e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415626:(.text+0x191a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415626:(.text+0x191ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x191f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192147:(.text+0x19206): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1920c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1921e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19248): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192135:(.text+0x192b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192135:(.text+0x192c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192169:(.text+0x192c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_5sizes_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192057:(.text+0x19318): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19346): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19378): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_5sizes_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192088:(.text+0x193f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192088:(.text+0x193fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192089:(.text+0x19406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Mat_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415624:(.text+0x1940e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415612:(.text+0x19452): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x19466): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1946c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191976:(.text+0x1947e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x194a8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191985:(.text+0x19518): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191985:(.text+0x19520): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191973:(.text+0x19528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192007:(.text+0x19578): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x195a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x195d8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19656): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1965e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19666): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1966e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x196b2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195852:(.text+0x196c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195880:(.text+0x196cc): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195914:(.text+0x196de): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195853:(.text+0x19708): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x19778): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227769:(.text+0x19780): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227769:(.text+0x19788): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227775:(.text+0x197d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19806): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227778:(.text+0x19838): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227801:(.text+0x198b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416686:(.text+0x198be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227685:(.text+0x198c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x198ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227697:(.text+0x19912): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227694:(.text+0x1992c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416688:(.text+0x1993e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19968): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227719:(.text+0x199d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227719:(.text+0x199e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227719:(.text+0x199e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227608:(.text+0x19a38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227615:(.text+0x19a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19a98): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227603:(.text+0x19b16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227603:(.text+0x19b1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227637:(.text+0x19b26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227637:(.text+0x19b2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227522:(.text+0x19b72): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227526:(.text+0x19b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227527:(.text+0x19b8c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19b9e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19bc8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227522:(.text+0x19c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227556:(.text+0x19c48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x19c98): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x19cc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4norm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227447:(.text+0x19cee): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416670:(.text+0x19d66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416670:(.text+0x19d6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x19dbe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_3its_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227360:(.text+0x19e14): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227374:(.text+0x19e84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19e8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19ee4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_its': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416666:(.text+0x19f12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19f3a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227291:(.text+0x19fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a00a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227313:(.text+0x1a038): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1a06a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a0e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1a0f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1a0f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a100): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_norm_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416596:(.text+0x1a144): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a158): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a15e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a170): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9norm_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226570:(.text+0x1a19a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_norm_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416584:(.text+0x1a20a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1a212): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9norm_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226489:(.text+0x1a21a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226501:(.text+0x1a26a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_norm_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416586:(.text+0x1a298): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416586:(.text+0x1a2ca): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_pc_side': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416574:(.text+0x1a350): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416575:(.text+0x1a358): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1a360): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a3a4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7pc_side_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226420:(.text+0x1a3b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226420:(.text+0x1a3be): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226417:(.text+0x1a3d0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_pc_side': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416582:(.text+0x1a3fa): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416582:(.text+0x1a46a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1a472): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1a47a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1a4ca): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a4f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7pc_side___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226336:(.text+0x1a52a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226361:(.text+0x1a5a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_pc_side': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416572:(.text+0x1a5b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416572:(.text+0x1a5b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1a5c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_pc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416566:(.text+0x1a604): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1a618): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2pc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226248:(.text+0x1a61e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226250:(.text+0x1a630): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226257:(.text+0x1a65a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226257:(.text+0x1a6ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226245:(.text+0x1a6d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226279:(.text+0x1a6da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226279:(.text+0x1a72a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1a758): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a78a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a808): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a810): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a820): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_guess_knoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416564:(.text+0x1a864): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226164:(.text+0x1a878): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a87e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1a890): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226083:(.text+0x1a8ba): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226097:(.text+0x1a92a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_guess_knoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416554:(.text+0x1a932): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416554:(.text+0x1a93a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226117:(.text+0x1a98a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1a9b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a9ea): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226014:(.text+0x1aa68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aa70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1aa78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226016:(.text+0x1aa80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1aac2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226014:(.text+0x1aad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226014:(.text+0x1aadc): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226036:(.text+0x1aaee): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1ab18): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225926:(.text+0x1ab88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ab90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1ab98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1abe8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_guess_nonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416540:(.text+0x1ac16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225955:(.text+0x1ac48): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225672:(.text+0x1acc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225673:(.text+0x1acce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1acd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225675:(.text+0x1acde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ad22): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ad36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ad3c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ad4e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225669:(.text+0x1ad78): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416522:(.text+0x1ade8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416522:(.text+0x1adf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225587:(.text+0x1adf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225599:(.text+0x1ae48): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416524:(.text+0x1ae76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416524:(.text+0x1aea8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1af26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1af2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416512:(.text+0x1af36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1af3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1af82): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225518:(.text+0x1af96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225518:(.text+0x1af9c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1afae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225534:(.text+0x1afd8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225540:(.text+0x1b048): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416520:(.text+0x1b050): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1b058): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225425:(.text+0x1b0a8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b0d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225434:(.text+0x1b108): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225459:(.text+0x1b186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225460:(.text+0x1b18e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416510:(.text+0x1b196): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1b19e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416498:(.text+0x1b1e2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225344:(.text+0x1b1f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1b1fc): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225347:(.text+0x1b20e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b238): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b2a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b2b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b2b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1b308): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1b336): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225266:(.text+0x1b368): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b3e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b3ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416496:(.text+0x1b3f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416496:(.text+0x1b3fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416496:(.text+0x1b442): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225263:(.text+0x1b456): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225297:(.text+0x1b45c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225297:(.text+0x1b46e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1b498): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_fd_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247127:(.text+0x1b508): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1b518): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_fd_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247130:(.text+0x1b568): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247152:(.text+0x1b596): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b5be): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b62e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1b636): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b63e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b68e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1b6bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_use_fd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417127:(.text+0x1b6e4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1b754): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_mf_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246959:(.text+0x1b75c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246959:(.text+0x1b764): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246965:(.text+0x1b7b4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b7e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b80a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1b87a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1b882): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1b88a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b8da): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_mf___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246884:(.text+0x1b908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b93a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_mf___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246909:(.text+0x1b9b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246909:(.text+0x1b9c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246909:(.text+0x1b9c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_6use_mf_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246853:(.text+0x1b9d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246595:(.text+0x1ba14): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246598:(.text+0x1ba28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ba2e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ba40): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246606:(.text+0x1ba6a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246626:(.text+0x1bada): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246626:(.text+0x1bae2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246626:(.text+0x1baea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1bb3a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246514:(.text+0x1bb68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246523:(.text+0x1bb9a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246511:(.text+0x1bc18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246545:(.text+0x1bc20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246545:(.text+0x1bc28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246545:(.text+0x1bc30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246545:(.text+0x1bc74): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bc88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_history': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417081:(.text+0x1bc8e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1bca0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246435:(.text+0x1bcca): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bd3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_history': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417083:(.text+0x1bd42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417083:(.text+0x1bd4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1bd9a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bdc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246348:(.text+0x1bdfa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417079:(.text+0x1be78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1be80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1be88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1be90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246382:(.text+0x1bed4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246382:(.text+0x1bee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417079:(.text+0x1beee): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1bf00): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1bf2a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4norm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246279:(.text+0x1bf9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bfa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4norm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246276:(.text+0x1bfaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417069:(.text+0x1bffa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4norm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246301:(.text+0x1c028): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246301:(.text+0x1c05a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c0d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3its_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246198:(.text+0x1c0e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246198:(.text+0x1c0f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c134): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c148): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c14e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3its_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246198:(.text+0x1c160): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246220:(.text+0x1c18a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1c1fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246108:(.text+0x1c202): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246108:(.text+0x1c20a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246114:(.text+0x1c25a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c288): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246117:(.text+0x1c2b0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c320): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c328): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_max_funcs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417043:(.text+0x1c330): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c380): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_9max_funcs_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246033:(.text+0x1c3ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_max_funcs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417051:(.text+0x1c3d6): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417051:(.text+0x1c446): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1c44e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1c456): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1c4a6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c4d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c4fc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_9max_funcs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245977:(.text+0x1c56c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245977:(.text+0x1c574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245977:(.text+0x1c57c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c5cc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1c5fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_ew_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245240:(.text+0x1c622): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c692): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c69a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c6a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_use_ew': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416981:(.text+0x1c6f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1c720): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_ew___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245153:(.text+0x1c748): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c7b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_use_ew': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416971:(.text+0x1c7c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416971:(.text+0x1c7c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_ew___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245187:(.text+0x1c818): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1c846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_ew___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245187:(.text+0x1c86e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c8de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c8e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3ksp_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245084:(.text+0x1c8ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c93e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3ksp_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245084:(.text+0x1c96c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245106:(.text+0x1c994): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3ksp___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244991:(.text+0x1ca04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244994:(.text+0x1ca0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244994:(.text+0x1ca14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ca64): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ca92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1caba): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cb2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_vec_rhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416951:(.text+0x1cb32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416951:(.text+0x1cb3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244921:(.text+0x1cb8a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_vec_rhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416953:(.text+0x1cbb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cbe0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244943:(.text+0x1cc50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244943:(.text+0x1cc58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244943:(.text+0x1cc60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_upd___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244832:(.text+0x1ccb0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244839:(.text+0x1ccde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cd10): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_upd___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244827:(.text+0x1cd8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244827:(.text+0x1cd96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244861:(.text+0x1cd9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244861:(.text+0x1cda6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244748:(.text+0x1cdea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1cdfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244751:(.text+0x1ce04): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ce16): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ce40): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244779:(.text+0x1ceb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244779:(.text+0x1ceb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416945:(.text+0x1cec0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_npc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416933:(.text+0x1cf10): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244667:(.text+0x1cf3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cf70): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244676:(.text+0x1cfee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244676:(.text+0x1cff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244664:(.text+0x1cffe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244698:(.text+0x1d006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d04a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1d05e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1d064): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_npc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416929:(.text+0x1d076): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244587:(.text+0x1d0a0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d110): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d118): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d120): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_npc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416931:(.text+0x1d170): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244617:(.text+0x1d19e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244502:(.text+0x1d1d0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d24e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d256): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416927:(.text+0x1d25e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244502:(.text+0x1d2aa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244536:(.text+0x1d2be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244536:(.text+0x1d2c4): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416927:(.text+0x1d2d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1d300): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d370): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244433:(.text+0x1d378): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244433:(.text+0x1d380): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d3d0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244455:(.text+0x1d3fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244455:(.text+0x1d43e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244455:(.text+0x1d452): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244352:(.text+0x1d544): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244259:(.text+0x1d5d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416903:(.text+0x1d65a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d66a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d672): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d67a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416903:(.text+0x1d680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416903: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d69c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244259:(.text+0x1d6a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244293:(.text+0x1d6a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244293:(.text+0x1d6b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244293:(.text+0x1d6c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416903:(.text+0x1d6c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416903:(.text+0x1d6d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244293:(.text+0x1d6e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244293:(.text+0x1d6f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d764): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417549:(.text+0x1d7bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d7c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266693:(.text+0x1d7f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d7fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266715:(.text+0x1d826): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266603:(.text+0x1d896): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266603:(.text+0x1d89e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266604:(.text+0x1d8a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266614:(.text+0x1d8f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d924): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266600:(.text+0x1d94c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d9bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_max_steps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417499:(.text+0x1d9c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1d9cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1da1c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266219:(.text+0x1da4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1da72): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1dae2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266205:(.text+0x1daea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266205:(.text+0x1daf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266127:(.text+0x1db42): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1db70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1db98): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266158:(.text+0x1dc08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266158:(.text+0x1dc10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266159:(.text+0x1dc18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_max_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417485:(.text+0x1dc68): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8max_time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266046:(.text+0x1dc96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dcbe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dd2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dd36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dd3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1dd8c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1ddb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1dde0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_max_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417483:(.text+0x1de50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417483:(.text+0x1de58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1de60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8max_time___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265996:(.text+0x1deb0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265962:(.text+0x1dede): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_8max_time_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265940:(.text+0x1df06): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1df76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_11step_number_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265893:(.text+0x1df7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1df86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dfd6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_11step_number_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265881:(.text+0x1e004): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265916:(.text+0x1e02c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_11step_number___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265803:(.text+0x1e09c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265803:(.text+0x1e0a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265805:(.text+0x1e0ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_step_number': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417469:(.text+0x1e0fc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e12a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_11step_number___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265800:(.text+0x1e152): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_time_step': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417457:(.text+0x1e1c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417458:(.text+0x1e1ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1e1d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e222): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e250): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e278): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1e2e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9time_step_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265719:(.text+0x1e2f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e2f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9time_step___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265641:(.text+0x1e348): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e376): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e39e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9time_step___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265672:(.text+0x1e40e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265672:(.text+0x1e416): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_time_step': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417455:(.text+0x1e41e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417443:(.text+0x1e46e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265560:(.text+0x1e49c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e4e8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265569:(.text+0x1e556): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265557:(.text+0x1e55e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265591:(.text+0x1e566): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265592:(.text+0x1e584): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1e5b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1e5e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e612): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1e61c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265490:(.text+0x1e650): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265510:(.text+0x1e6c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265511:(.text+0x1e6c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417441:(.text+0x1e6d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417435:(.text+0x1e720): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265399:(.text+0x1e74e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265406:(.text+0x1e776): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265406:(.text+0x1e7e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265394:(.text+0x1e7ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265428:(.text+0x1e7f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265428:(.text+0x1e846): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_3ksp___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265312:(.text+0x1e874): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e89c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e90c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e914): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_ksp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417433:(.text+0x1e91c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1e96c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_3ksp___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265346:(.text+0x1e99a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1e9c2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_snes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417429:(.text+0x1ea32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417429:(.text+0x1ea3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ea42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4snes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265264:(.text+0x1ea90): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1eabc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4snes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265264:(.text+0x1eae4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1eb54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265161:(.text+0x1eb5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265161:(.text+0x1eb64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ebb4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1ebe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265183:(.text+0x1ec0a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265071:(.text+0x1ec7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265071:(.text+0x1ec82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265072:(.text+0x1ec8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265082:(.text+0x1ecda): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ed08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265068:(.text+0x1ed30): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1eda0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_problem_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417403:(.text+0x1eda8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1edb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ee00): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265001:(.text+0x1ee2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ee56): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1eec6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1eece): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264987:(.text+0x1eed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264909:(.text+0x1ef26): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ef54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264915:(.text+0x1ef7c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264940:(.text+0x1efec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264940:(.text+0x1eff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264940:(.text+0x1effc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f04c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264828:(.text+0x1f07a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f0a2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f112): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f11a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f122): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1f172): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x1f1a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1f1c8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417387:(.text+0x1f238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417387:(.text+0x1f240): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264778:(.text+0x1f298): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264744:(.text+0x1f2c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f2ee): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264675:(.text+0x1f35e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264675:(.text+0x1f366): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f36e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f3be): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264663:(.text+0x1f3ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f438): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f4a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f4ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264594:(.text+0x1f4b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264591:(.text+0x1f4d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f500): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264582:(.text+0x1f534): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417373:(.text+0x1f564): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1f56e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417889:(.text+0x1f5ac): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f62a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417891:(.text+0x1f632): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f63a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f642): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281288:(.text+0x1f684): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281288:(.text+0x1f696): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281288:(.text+0x1f69c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417891:(.text+0x1f6ae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281288:(.text+0x1f6dc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f748): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8function___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281096:(.text+0x1f766): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f76e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417883:(.text+0x1f776): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417883:(.text+0x1f77e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8function___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281099:(.text+0x1f7be): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417883:(.text+0x1f7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8function___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281121:(.text+0x1f81e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_9objective___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281017:(.text+0x1f89c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281017:(.text+0x1f8a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f8ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f8b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417879:(.text+0x1f8f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_9objective___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281017:(.text+0x1f908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f90e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_9objective___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281039:(.text+0x1f920): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1f94a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8solution___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280928:(.text+0x1f9ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280929:(.text+0x1f9c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f9ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fa18): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_solution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417875:(.text+0x1fa44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8solution___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280957:(.text+0x1fa6c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280671:(.text+0x1fadc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1fae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280671:(.text+0x1faec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fb3a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fb66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280705:(.text+0x1fbb4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280424:(.text+0x1fc3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280424:(.text+0x1fc44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280426:(.text+0x1fc4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1fc54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1fc66): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fc92): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fcc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280421:(.text+0x1fcf4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280455:(.text+0x1fcfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280455:(.text+0x1fd3e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280183:(.text+0x1fdbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280183:(.text+0x1fdc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280183:(.text+0x1fdcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fdd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fe16): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280183:(.text+0x1fe28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280183:(.text+0x1fe2e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280205:(.text+0x1fe40): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_gtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417835:(.text+0x1fe6a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279924:(.text+0x1feda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279926:(.text+0x1fee2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279927:(.text+0x1feea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_ftol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417821:(.text+0x1ff38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417821:(.text+0x1ff64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279955:(.text+0x1ff8c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_ksp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417815:(.text+0x1fffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_3ksp___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279839:(.text+0x20004): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2000c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_3ksp___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279851:(.text+0x2005a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_ksp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417817:(.text+0x20086): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417817:(.text+0x200b8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20136): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2013e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3TAO_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417805:(.text+0x20146): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2014e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20190): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x201a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279770:(.text+0x201a8): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x201ba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3TAO_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417813:(.text+0x201e4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279792:(.text+0x20254): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3TAO_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417813:(.text+0x2025c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x20264): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279677:(.text+0x202b2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x202de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20310): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279711:(.text+0x2038e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279711:(.text+0x20396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417803:(.text+0x2039e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417803:(.text+0x203a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x203e8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x203fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x20400): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298091:(.text+0x20412): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2043c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x204ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x204b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x204bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2DM_ds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418224:(.text+0x2050a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x20536): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298010:(.text+0x2055e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298024:(.text+0x205ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2DM_ds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418214:(.text+0x205d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418214:(.text+0x205de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298044:(.text+0x2062c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x20658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x206a6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2072e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2DM_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418210:(.text+0x20736): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297957:(.text+0x2073e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20758): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x20784): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2DM_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418210:(.text+0x207b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x207e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x207f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297851:(.text+0x20828): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2089a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x208a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x208aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2DM_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418200:(.text+0x208f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297882:(.text+0x20922): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2093e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367058:(.text+0x2094e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x20960): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367112:(.text+0x209a8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x209b8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x209e8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367122:(.text+0x209fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20a18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367236:(.text+0x20a6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367262:(.text+0x20a9a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367264:(.text+0x20aa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x20ab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20abc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20ace): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20b66): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367180:(.text+0x20b7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20b8c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x20cfc): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20d10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367319:(.text+0x20d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20d42): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367272:(.text+0x20d54): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367272:(.text+0x20d5e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20da0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20db0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x20dc4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x20dce): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336208:(.text+0x20de0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336209:(.text+0x20dea): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20dfe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336217:(.text+0x20e16): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20e2a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20e34): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_ghost_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421453:(.text+0x20e48): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336123:(.text+0x20f20): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20f3a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x20f4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336135:(.text+0x20f62): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336132:(.text+0x20f78): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421449:(.text+0x20fc0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336135:(.text+0x20fd0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421449:(.text+0x20ffe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x21014): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336157:(.text+0x2102a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x21044): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2104a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_13stencil_width___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336041:(.text+0x2105e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336044:(.text+0x2106c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336044:(.text+0x21072): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336044:(.text+0x21078): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336047:(.text+0x2108a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x210b8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x210ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_13stencil_width___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336075:(.text+0x21132): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336075:(.text+0x2113a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x21190): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12stencil_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335971:(.text+0x211f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335973:(.text+0x21216): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_stencil_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421441:(.text+0x21226): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x21238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x21240): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_stencil_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421441:(.text+0x2124c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421441:(.text+0x21252): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421441:(.text+0x21258): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335971: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x212a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12stencil_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335993:(.text+0x212bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335993:(.text+0x212ce): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14boundary_types___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335882:(.text+0x21316): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x21326): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14boundary_types___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335889:(.text+0x2134a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2135e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14boundary_types___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335911:(.text+0x213c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335877:(.text+0x213f2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335911:(.text+0x213fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335911:(.text+0x21406): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335911:(.text+0x2140e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335911:(.text+0x21414): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_proc_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421431:(.text+0x21426): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335801:(.text+0x21466): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x214a4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335795:(.text+0x21502): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335829:(.text+0x21514): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2156a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x215c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_11local_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335725:(.text+0x215cc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335725:(.text+0x215da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x215e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x215ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_local_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421429:(.text+0x215f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421429:(.text+0x21600): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421429:(.text+0x2162e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x2167c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x216b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_global_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421423:(.text+0x216bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12global_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335635:(.text+0x216ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335636:(.text+0x216f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x216f6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x21708): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12global_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335643:(.text+0x2171a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x21722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2172a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x21758): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2176a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_global_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421425:(.text+0x21772): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x2178c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_global_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421425:(.text+0x217b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12global_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335631:(.text+0x217d0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335665:(.text+0x217f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_19entries_per_element___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335552:(.text+0x21832): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335555:(.text+0x21844): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x21888): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_19entries_per_element___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335583:(.text+0x218f8): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_entries_per_element': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421421:(.text+0x21908): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_19entries_per_element___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335583:(.text+0x2192a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335583:(.text+0x2193a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_4dofs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335470:(.text+0x21976): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335471:(.text+0x2197e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x21992): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x219a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x219f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_4dofs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335479:(.text+0x21a1c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335501:(.text+0x21a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335501:(.text+0x21a36): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335502:(.text+0x21a48): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_dofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421417:(.text+0x21a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_4dofs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335467:(.text+0x21a6a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335501:(.text+0x21a7c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335501:(.text+0x21a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_3dim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335388:(.text+0x21abe): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335390:(.text+0x21ace): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x21af0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x21b00): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x21b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x21b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421413:(.text+0x21b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x21b6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_3dim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335419:(.text+0x21bb6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_17getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331764:(.text+0x21be2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x21bf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_17getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331768:(.text+0x21bfc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_16getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331797:(.text+0x21c0e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x21c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_16getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331800:(.text+0x21c30): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331803:(.text+0x21c42): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x21c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_16getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331811:(.text+0x21c84): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_17getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331776:(.text+0x21c94): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x21cb6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_17getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331776:(.text+0x21cc6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21d0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_16getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331831:(.text+0x21d1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331831:(.text+0x21d30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x21d7c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_ghost_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421032:(.text+0x21da8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x21db8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307457:(.text+0x21dc2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307459:(.text+0x21dd4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x21de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x21df6): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307466:(.text+0x21e08): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307463:(.text+0x21e12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x21e4a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_ghost_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421034:(.text+0x21e5a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307488:(.text+0x21e7c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307488:(.text+0x21e8c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307488:(.text+0x21ec8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307488:(.text+0x21ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x21ee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307372:(.text+0x21ef6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307384:(.text+0x21f42): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421030:(.text+0x21f6e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x21f7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x21f88): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x21f9a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421030:(.text+0x21fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x21fbc): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307406:(.text+0x21fce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307406:(.text+0x21fd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307406:(.text+0x22010): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307406:(.text+0x22020): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12ghost_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307290:(.text+0x22042): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307293:(.text+0x22052): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307302:(.text+0x2208e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307302:(.text+0x22096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307299:(.text+0x220aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_ghost_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421026:(.text+0x220bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12ghost_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307290:(.text+0x22108): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_ghost_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421026:(.text+0x22134): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x22144): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12ghost_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307290:(.text+0x2214e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307324:(.text+0x22160): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307325:(.text+0x2216c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421020:(.text+0x22182): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x22194): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307211:(.text+0x2219e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307220:(.text+0x221d6): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307220:(.text+0x221e6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421022:(.text+0x22208): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22218): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307208:(.text+0x22254): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307242:(.text+0x2225c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307242:(.text+0x22270): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421022:(.text+0x22282): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x222ce): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x222fa): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x2230a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x22314): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13stencil_width___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307138:(.text+0x22326): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x22332): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil_width': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421018:(.text+0x22348): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2235a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x22364): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13stencil_width___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307126:(.text+0x2239c): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307160:(.text+0x223ac): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x223ce): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13stencil_width___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307126:(.text+0x223de): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12stencil_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307044:(.text+0x2241a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x22422): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12stencil_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307047:(.text+0x22436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x22448): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421014:(.text+0x22494): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x224c0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421014:(.text+0x224d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12stencil_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307056:(.text+0x224da): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307078:(.text+0x224ec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307078:(.text+0x224f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421014:(.text+0x2250e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12stencil_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307044:(.text+0x22520): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307078:(.text+0x2252a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x22562): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x22572): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7stencil___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306968:(.text+0x22594): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x225a4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421010:(.text+0x225e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421010:(.text+0x225e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x225fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421010:(.text+0x2260e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421010:(.text+0x2265a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7stencil___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306996:(.text+0x22686): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22696): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_boundary_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421004:(.text+0x226a0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13boundary_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306880:(.text+0x226b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306880:(.text+0x226be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306885:(.text+0x226d4): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x226e6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x226f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_boundary_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421006:(.text+0x22728): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22738): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_boundary_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421006:(.text+0x2275a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13boundary_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306892:(.text+0x2276a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_boundary_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421006:(.text+0x227a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x227ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13boundary_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306914:(.text+0x227c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306914:(.text+0x227d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306803:(.text+0x22820): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306810:(.text+0x2284c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2285c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x22866): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_proc_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421002:(.text+0x22878): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22884): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2289a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_proc_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421002:(.text+0x228ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306810:(.text+0x228b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_proc_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421002:(.text+0x228ee): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306798:(.text+0x228fe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306832:(.text+0x22920): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22930): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2296c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306722:(.text+0x22974): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x22988): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2299a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x229e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306750:(.text+0x22a12): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306750:(.text+0x22a22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306750:(.text+0x22a2c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x22a3e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306716:(.text+0x22a4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306750:(.text+0x22a60): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22a72): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x22a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_3dof___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306634:(.text+0x22a8e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306646:(.text+0x22ad8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420988:(.text+0x22bce): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22c6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x22c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_3dim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306586:(.text+0x22cb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420990:(.text+0x22cc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_3dim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306552:(.text+0x22cdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306552:(.text+0x22ce2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306586:(.text+0x22cf4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22d08): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_7getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301277:(.text+0x22d16): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301310:(.text+0x22d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x22d4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301310:(.text+0x22d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301313:(.text+0x22d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301314:(.text+0x22d66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x22d80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301322:(.text+0x22d92): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301319:(.text+0x22daa): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301324:(.text+0x22db2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x22db8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x22dd4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x22dde): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_7getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301289:(.text+0x22dea): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22e1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22e26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301344:(.text+0x22e5c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_7getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301283:(.text+0x22e76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301283:(.text+0x22e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301283:(.text+0x22e94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301310:(.text+0x22ea2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22ebc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10active_all_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83480:(.text+0x22f1a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x22fa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10active_all_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83486:(.text+0x22fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83474:(.text+0x22fc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83508:(.text+0x22fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x23022): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10active_all___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83396:(.text+0x23056): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83396:(.text+0x2305e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83405:(.text+0x2308c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83405:(.text+0x23116): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83393:(.text+0x2312c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83427:(.text+0x23134): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83427:(.text+0x2313c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogEvent_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420693:(.text+0x23194): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83124:(.text+0x231c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83126:(.text+0x231d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83133:(.text+0x231fe): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83155:(.text+0x23288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83155:(.text+0x2329e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83155:(.text+0x232a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogEvent_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420701:(.text+0x232ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x23306): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2333a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x23342): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83054:(.text+0x23370): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x233fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83074:(.text+0x23410): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83074:(.text+0x23418): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83074:(.text+0x23420): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x23478): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82569:(.text+0x234ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x234b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x234e2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82595:(.text+0x2356c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_5__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82110:(.text+0x23582): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2358a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x23592): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x235ea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2361e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x23626): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x23654): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82186:(.text+0x236de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_5__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82116:(.text+0x236f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82116:(.text+0x236fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82116:(.text+0x23704): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogClass_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420487:(.text+0x2375c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81761:(.text+0x23790): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x23798): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81769:(.text+0x237c6): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81791:(.text+0x23850): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81791:(.text+0x23866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogClass_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420495:(.text+0x2386e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x23876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x238ce): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x23900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x23908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81690:(.text+0x23936): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x239c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81710:(.text+0x239d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81710:(.text+0x239de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81710:(.text+0x239e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x23a3e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81205:(.text+0x23a72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81210:(.text+0x23a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x23aa8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_4name_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81174:(.text+0x23b32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogStage_visible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420275:(.text+0x23b48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x23b50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_7visible_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80727:(.text+0x23b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80739:(.text+0x23bb0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogStage_visible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420282:(.text+0x23be4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x23bec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x23c1a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_visible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420270:(.text+0x23ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x23cba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_7visible___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80649:(.text+0x23cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80649:(.text+0x23cca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x23d22): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_visible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420272:(.text+0x23d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420272:(.text+0x23d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_7visible___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80680:(.text+0x23d8c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80358:(.text+0x23e16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80361:(.text+0x23e2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x23e34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x23e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x23e94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80367:(.text+0x23ec8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x23ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogStage_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420268:(.text+0x23efe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x23f88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80286:(.text+0x23f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80286:(.text+0x23fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x23fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420258:(.text+0x24006): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80309:(.text+0x2403a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420258:(.text+0x24042): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80308:(.text+0x24070): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x240fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420244:(.text+0x24110): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420244:(.text+0x24118): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x24120): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79820:(.text+0x24178): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79820:(.text+0x241ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79820:(.text+0x241b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x241e2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79413:(.text+0x2426c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x24282): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79432:(.text+0x2428a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x24292): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x242ea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79404:(.text+0x2431e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79448:(.text+0x24326): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_5__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79378:(.text+0x24354): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_6__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71022:(.text+0x243de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x243f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x243fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_6__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71029:(.text+0x24404): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2445c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_6__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71051:(.text+0x24490): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71051:(.text+0x24498): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x244e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406048:(.text+0x24504): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406067:(.text+0x24516): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2453e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406082:(.text+0x24550): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x2456a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406129:(.text+0x245b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406129:(.text+0x245b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x245ca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x245d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x24616): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x246a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x246ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ValidateAndInit_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450623:(.text+0x246da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_check': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406152:(.text+0x24706): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x24718): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ValidateAndInit_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450640:(.text+0x24740): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450640:(.text+0x24754): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450653:(.text+0x2476a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450653:(.text+0x2477c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450648:(.text+0x247c6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_Init': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449989:(.text+0x24804): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449996:(.text+0x2482a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449995:(.text+0x24832): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ValidateAndInit_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450660:(.text+0x24844): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450660:(.text+0x2484c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450662:(.text+0x24854): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450662:(.text+0x2485c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x24932): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x24c24): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x24c56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403116:(.text+0x24c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x24cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x24cb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x24ce0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x24cea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403146:(.text+0x24d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x24de4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0x24dfa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x24e2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x24e34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x24e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403223:(.text+0x24e70): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x24e82): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403082:(.text+0x24e98): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x24ef8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x24f24): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x24f2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array_get_memview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400741:(.text+0x24f9a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x24fcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array_get_memview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400778:(.text+0x25010): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400778:(.text+0x25018): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x250a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x250e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x250fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Options': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419859:(.text+0x2512c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419859:(.text+0x25134): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x25182): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2518c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_8__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71131:(.text+0x2519e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x251b0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Options': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419866:(.text+0x25244): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419866:(.text+0x2524c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_8__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71131:(.text+0x252d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x25346): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x25358): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_8__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71165:(.text+0x25384): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71165:(.text+0x2538e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2546c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2547e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_8__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71166:(.text+0x254aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x254b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81975:(.text+0x25592): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81982:(.text+0x255a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81975:(.text+0x255d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81975:(.text+0x255da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x256c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x256d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_max_it': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416652:(.text+0x25700): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227226:(.text+0x2570a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x257f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x25804): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x25830): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x2583a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x258fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2592a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x25934): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x259f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x25a0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x25a36): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x25a40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x25b28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x25b3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416616:(.text+0x25b66): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x25b70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x25c58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416602:(.text+0x25c6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226737:(.text+0x25c96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226737:(.text+0x25ca0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x25dbc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x25e2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x25e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x25e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_max_it': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417029:(.text+0x25e6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245870:(.text+0x25e98): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245872:(.text+0x25ea2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x25f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x25f64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245896:(.text+0x25faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x26048): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x26056): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26102): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x26138): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x26140): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2614a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_stol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417015:(.text+0x2617a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26188): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245740:(.text+0x261b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x261be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x26234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2626a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x262a0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245558:(.text+0x262ac): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245560:(.text+0x262b8): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26318): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x26382): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417009:(.text+0x263c0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x2641e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245561:(.text+0x26430): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x26462): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245403:(.text+0x264be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x264ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x264ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2651e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2655e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x26564): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245425:(.text+0x265b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245425:(.text+0x265b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245426:(.text+0x265c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x265ca): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x265f8): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x26626): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x26640): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x2666a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417527:(.text+0x26684): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2668e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x26694): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x266a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266529:(.text+0x266b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266529:(.text+0x266c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266531:(.text+0x266d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26712): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2671c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x26744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x26764): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266527:(.text+0x267e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x26810): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417514:(.text+0x26892): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x268f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x26910): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26916): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2691e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x26932): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x269a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266396:(.text+0x269b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x26a36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x26a4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266374:(.text+0x26a5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x26a72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_itemsize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423345:(.text+0x26a90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405086:(.text+0x26aa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405103:(.text+0x26ab6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446844:(.text+0x26b14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26b2c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x26b3e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412417:(.text+0x26b50): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x26b9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412440:(.text+0x26be4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26c16): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x26ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412390:(.text+0x26d2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446848:(.text+0x26d34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412392:(.text+0x26d64): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x26d82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446848:(.text+0x26e4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x26e94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412410:(.text+0x26ea6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x26ed6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x26ef0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_MemviewEnum_3__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401714:(.text+0x26f0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401730:(.text+0x26f4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401747:(.text+0x26f68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401747:(.text+0x26f72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6max_it___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227127:(.text+0x26fb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227136:(.text+0x26ff6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_max_it': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416642:(.text+0x27026): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x27084): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6max_it___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227122:(.text+0x270c0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x27118): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2712a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6divtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226979:(.text+0x2719a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_divtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416628:(.text+0x271d2): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416628:(.text+0x27250): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416628:(.text+0x27256): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6divtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226979:(.text+0x27292): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226977:(.text+0x2729a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226979:(.text+0x272a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x272aa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226813:(.text+0x272fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2730e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226825:(.text+0x2735e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226825:(.text+0x27366): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416614:(.text+0x2736e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416614:(.text+0x27378): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416614:(.text+0x27384): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x273b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226845:(.text+0x273e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226808:(.text+0x27402): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x27414): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226808:(.text+0x2741a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226808:(.text+0x27420): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226822:(.text+0x27432): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226822:(.text+0x27444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x27458): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226651:(.text+0x27472): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226651:(.text+0x27484): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226654:(.text+0x27494): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x274b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226668:(.text+0x274f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416600:(.text+0x27526): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226688:(.text+0x27576): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226651:(.text+0x275a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_mat_pc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416534:(.text+0x2760a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_pc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225848:(.text+0x27674): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2768a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_pc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225853:(.text+0x27692): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_mat_pc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416536:(.text+0x276b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416536:(.text+0x276bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x276da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_mat_pc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416536:(.text+0x27740): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x2775a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_pc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225848:(.text+0x2776c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225850:(.text+0x2778a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_op___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225754:(.text+0x277d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x27814): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_op___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225768:(.text+0x27844): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x278a8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_op___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225751:(.text+0x278e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x27944): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6max_it___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245786:(.text+0x27956): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x279c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x27a02): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245632:(.text+0x27b12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245632:(.text+0x27b1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245633:(.text+0x27b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x27b2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x27b34): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245646:(.text+0x27b86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_stol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417013:(.text+0x27b96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x27bf0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245643:(.text+0x27bfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245666:(.text+0x27c02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_stol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417013:(.text+0x27c1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245629:(.text+0x27c32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x27c3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245629:(.text+0x27c46): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245641:(.text+0x27c6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x27c7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x27c88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416997:(.text+0x27c8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x27c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x27ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x27ca8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245475:(.text+0x27cae): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245475:(.text+0x27cc0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245477:(.text+0x27cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x27cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x27cf8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x27d12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x27d24): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416999:(.text+0x27d34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416999:(.text+0x27d4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x27d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245486:(.text+0x27d9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245509:(.text+0x27db8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245472:(.text+0x27dca): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x27dda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x27e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245318:(.text+0x27e54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x27e84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x27f04): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x27f34): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417523:(.text+0x27fd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266443:(.text+0x27fde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x27fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x28028): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2804e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417525:(.text+0x2807a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x280be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266286:(.text+0x28190): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x281bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2822c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417511:(.text+0x28234): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2826e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266300:(.text+0x28280): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266286:(.text+0x282bc): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266286:(.text+0x282ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266300:(.text+0x282e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x28308): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8gradient___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281175:(.text+0x28356): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x28368): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8gradient___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281181:(.text+0x28382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x283ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417887:(.text+0x283c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417887:(.text+0x283d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8gradient___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281169:(.text+0x2845c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281183:(.text+0x28488): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_5cnorm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280841:(.text+0x284e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280850:(.text+0x2851e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280852:(.text+0x28532): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x28588): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2859a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x28670): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_5gnorm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280759:(.text+0x2869c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x286fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x28710): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2873a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_5gnorm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280790:(.text+0x28778): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280791:(.text+0x2878a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x28816): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x28854): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x28884): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x288e8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x28926): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_4__contains__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70935:(.text+0x28984): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70935:(.text+0x28996): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450911:(.text+0x28a08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x28a42): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_4__contains__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70971:(.text+0x28b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_5__contains__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70914:(.text+0x28b5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x28b62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x28b6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450970:(.text+0x28b74): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x28bc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451069:(.text+0x28bd6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x28c30): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x28c3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x28c42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_viewcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368474:(.text+0x28c5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368505:(.text+0x28c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368474:(.text+0x28c7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368496:(.text+0x28c86): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368514:(.text+0x28caa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368533:(.text+0x28cbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368554:(.text+0x28cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368554:(.text+0x28cce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368554:(.text+0x28cd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368593:(.text+0x28ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368593:(.text+0x28ce8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368593:(.text+0x28cee): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368629:(.text+0x28d00): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368629:(.text+0x28d08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368523:(.text+0x28d1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368583:(.text+0x28d38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368593:(.text+0x28d52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368624:(.text+0x28d64): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368625:(.text+0x28d74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368554:(.text+0x28d8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x28db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_viewcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368629:(.text+0x28ddc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20863:(.text+0x28df8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20863:(.text+0x28e0a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20915:(.text+0x28e1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20963:(.text+0x28e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21011:(.text+0x28e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x28eec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x28f18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21074:(.text+0x28f7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x28f8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x28fb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x28ff4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21011:(.text+0x29006): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x290b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_9__copy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85884:(.text+0x290e0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85878:(.text+0x29142): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85878:(.text+0x29154): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2917e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x291bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_8__copy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85921:(.text+0x291ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85999:(.text+0x2927c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x292a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x2930a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x2931c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x29346): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x29384): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x29396): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24288:(.text+0x29444): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24299:(.text+0x29470): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x294d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24349:(.text+0x294fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24290:(.text+0x29516): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x29528): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x295b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24349:(.text+0x295ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24313:(.text+0x2961e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x29666): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_2__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119149:(.text+0x296be): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_3__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119130:(.text+0x296ce): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_neg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24400:(.text+0x29720): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x29748): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_5__neg__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119193:(.text+0x2975a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_neg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24426:(.text+0x29774): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24426:(.text+0x2977e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_4__neg__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119229:(.text+0x29784): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119229:(.text+0x29796): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x297f2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_309getDiagonalBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180706:(.text+0x29810): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_308getDiagonalBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180734:(.text+0x2982a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x2984e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2986a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_308getDiagonalBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180780:(.text+0x29900): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180780:(.text+0x2992c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_267createVecLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177726:(.text+0x29970): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x299ba): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_267createVecLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177734:(.text+0x299ca): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x29a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_267createVecLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177728:(.text+0x29a28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_266createVecLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177791:(.text+0x29a3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177791:(.text+0x29a42): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_267createVecLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177727:(.text+0x29a54): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x29ab2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_265createVecRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177639:(.text+0x29ac4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_264createVecRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177677:(.text+0x29ae2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177688:(.text+0x29af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177702:(.text+0x29b8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177702:(.text+0x29bb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_126getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223227:(.text+0x29c22): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x29c82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x29c8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x29c92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_127getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223201:(.text+0x29cb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_126getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223273:(.text+0x29d26): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x29d40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x29d52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_124getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223129:(.text+0x29d70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_125getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223109:(.text+0x29dba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223102:(.text+0x29e34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x29e64): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_124getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223175:(.text+0x29e90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x29e9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x29ebc): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216123:(.text+0x29ed0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x29ef0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x29fa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_180getSolutionUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240103:(.text+0x29fd2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_181getSolutionUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240065:(.text+0x2a062): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240065:(.text+0x2a068): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_180getSolutionUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240137:(.text+0x2a094): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_177getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239860:(.text+0x2a116): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_176getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239888:(.text+0x2a128): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2a196): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_177getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239862:(.text+0x2a1b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_176getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239934:(.text+0x2a1fa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239934:(.text+0x2a228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x2a25a): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_174getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239790:(.text+0x2a27a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_175getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239770:(.text+0x2a2be): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2a2ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_175getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239764:(.text+0x2a320): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239764:(.text+0x2a330): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_174getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239836:(.text+0x2a356): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2a36e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_174getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239836:(.text+0x2a388): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2a39a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_82getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233925:(.text+0x2a3d6): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233937:(.text+0x2a3f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x2a426): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x2a436): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_82getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233989:(.text+0x2a45c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x2a474): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x2a48e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2a4a0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2a4dc): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2a4f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2a52c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2a53c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_83getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233897:(.text+0x2a562): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233897:(.text+0x2a57a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_82getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234015:(.text+0x2a594): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_83getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233896:(.text+0x2a5a6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233896:(.text+0x2a5e2): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_82getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234015:(.text+0x2a5fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2a632): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2a642): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_82getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233908:(.text+0x2a668): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233908:(.text+0x2a680): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_75getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233004:(.text+0x2a69a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233004:(.text+0x2a6ac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233042:(.text+0x2a6e8): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x2a704): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233086:(.text+0x2a736): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2a756): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2a79a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233133:(.text+0x2a7c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233183:(.text+0x2a7fa): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2a81a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x2a85e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2a88c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2a8be): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_75getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233010:(.text+0x2a8de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233072:(.text+0x2a922): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2a950): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2a982): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2a9a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233169:(.text+0x2a9e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233183:(.text+0x2aa14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x2aa46): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x2aa66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2aaaa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2aad8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x2ab0a): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x2ab2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x2ab6e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2ab9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111126:(.text+0x2abac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111009:(.text+0x2ac16): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2acca): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x2ad68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2ad84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111106:(.text+0x2ad90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111018:(.text+0x2adc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111031:(.text+0x2add6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111006:(.text+0x2ade0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111006:(.text+0x2ade8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x2ae16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2ae4e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111014:(.text+0x2ae60): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111019:(.text+0x2ae80): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111019:(.text+0x2ae8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111019:(.text+0x2aea2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2aea8): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2aeb2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2aee6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2aeee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132680:(.text+0x2af22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x2af2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132680:(.text+0x2af30): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132713:(.text+0x2af44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x2afa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2aff4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_150copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132777:(.text+0x2b05e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2b08e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2b0be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2b0f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132701:(.text+0x2b0fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132696:(.text+0x2b102): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2b14a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132701:(.text+0x2b18c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2b1a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132839:(.text+0x2b1bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2b1e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x2b22e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132821:(.text+0x2b2e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132710:(.text+0x2b2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132710:(.text+0x2b2fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132710:(.text+0x2b306): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x2b366): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x2b36e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x2b378): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180932:(.text+0x2b3b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2b3e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180982:(.text+0x2b3ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180982:(.text+0x2b3f2): undefined reference to `PyExc_ImportError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x2b406): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2b42c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181016:(.text+0x2b4e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181016:(.text+0x2b4e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181016:(.text+0x2b4fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2b504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2b564): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2b56c): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180950:(.text+0x2b576): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181004:(.text+0x2b5ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181004:(.text+0x2b5e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181005:(.text+0x2b5ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181005:(.text+0x2b5f0): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181005:(.text+0x2b604): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2b6a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2b6da): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180963:(.text+0x2b700): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2b71e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180968:(.text+0x2b75a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180969:(.text+0x2b76e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180979:(.text+0x2b778): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180979:(.text+0x2b78c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180979:(.text+0x2b79e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2b7fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157354:(.text+0x2b810): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157354:(.text+0x2b820): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x2b83e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157354:(.text+0x2b84a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157394:(.text+0x2b862): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2b890): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157407:(.text+0x2b8a0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2b8ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157494:(.text+0x2b8f8): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157495:(.text+0x2b908): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157496:(.text+0x2b90e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2b920): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2b930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157521:(.text+0x2b944): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2b9e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157418:(.text+0x2b9f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157418:(.text+0x2ba10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2ba40): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x2ba50): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157466:(.text+0x2baa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2baba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2bac0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2bac6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2bad8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157521:(.text+0x2baec): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2baf6): undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2bb08): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157521:(.text+0x2bb1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157490:(.text+0x2bbe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2bc6e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x2bc7e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157378:(.text+0x2bca8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157390:(.text+0x2bcb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2bcc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2bcce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2bcd4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2bce6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x2bcfe): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x2bd08): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157466:(.text+0x2bd1a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157387:(.text+0x2bd86): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157391:(.text+0x2bdb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2be10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157418:(.text+0x2be16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2be24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194252:(.text+0x2be58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2be84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2be8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194301:(.text+0x2bed4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194301:(.text+0x2bee6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2bf5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2bfa0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x2bfb6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2bfd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2bfda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194333:(.text+0x2bfe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194272:(.text+0x2c000): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194278:(.text+0x2c00c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194279:(.text+0x2c028): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194279:(.text+0x2c02e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194279:(.text+0x2c040): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2c046): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194355:(.text+0x2c058): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194355:(.text+0x2c06a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2c0d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196834:(.text+0x2c10e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196846:(.text+0x2c11e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196846:(.text+0x2c124): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196845:(.text+0x2c138): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2c164): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x2c16e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196889:(.text+0x2c1b2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196877:(.text+0x2c1c2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196995:(.text+0x2c200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2c222): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197022:(.text+0x2c236): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197022:(.text+0x2c23c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x2c24e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x2c334): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2c346): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2c388): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196951:(.text+0x2c3ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2c408): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196959:(.text+0x2c412): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2c434): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2c456): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2c460): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2c470): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2c482): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2c488): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2c49a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197022:(.text+0x2c4b2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196858:(.text+0x2c4fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196861:(.text+0x2c510): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196882:(.text+0x2c53c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2c546): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x2c582): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2c590): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2c59c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196853:(.text+0x2c5ae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196870:(.text+0x2c5c0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2c618): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2c644): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196946:(.text+0x2c6a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196858:(.text+0x2c6d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196934:(.text+0x2c6f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196867:(.text+0x2c722): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196948:(.text+0x2c734): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196871:(.text+0x2c7f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2c822): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224035:(.text+0x2c87e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224068:(.text+0x2c8b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224085:(.text+0x2c8ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224050:(.text+0x2c900): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x2c912): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224095:(.text+0x2c9b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2c9f2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_132buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224120:(.text+0x2ca72): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224195:(.text+0x2ca82): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224195:(.text+0x2ca90): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2cac6): undefined reference to `PyBytes_AsStringAndSize' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224061:(.text+0x2cb0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2cb12): undefined reference to `_PyByteArray_empty_string' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224065:(.text+0x2cb3c): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_132buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224152:(.text+0x2cb68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224152:(.text+0x2cb70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224152:(.text+0x2cb78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224152:(.text+0x2cb7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_117setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222688:(.text+0x2cbb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222699:(.text+0x2cbcc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2cbe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_117setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222728:(.text+0x2cc32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455827:(.text+0x2cc5e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455902:(.text+0x2ccea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455902:(.text+0x2ccf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455947:(.text+0x2cd1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2cd96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_116setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222781:(.text+0x2cda8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_117setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222715:(.text+0x2ce2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x2ce5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_109setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222339:(.text+0x2cf50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2cf82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `KSPSetIterationNumber': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:338:(.text+0x2cf8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_109setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222304:(.text+0x2cfac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222310:(.text+0x2cfc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `KSPSetIterationNumber': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:337:(.text+0x2cff0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:337:(.text+0x2d002): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2d016): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_108setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222359:(.text+0x2d0a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222383:(.text+0x2d0aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2d0c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2d0d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2d140): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2d156): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_23setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216967:(.text+0x2d172): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216971:(.text+0x2d190): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216978:(.text+0x2d1a2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_22setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216996:(.text+0x2d1b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2d1c6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_22setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217013:(.text+0x2d22a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_23setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216949:(.text+0x2d256): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216978:(.text+0x2d2de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215703:(.text+0x2d2f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215703:(.text+0x2d300): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215715:(.text+0x2d324): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215758:(.text+0x2d38c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215758:(.text+0x2d39e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x2d462): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x2d48c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2d4b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2d4c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215815:(.text+0x2d58c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215820:(.text+0x2d5b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2d63a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2d654): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2d65c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2d680): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215730:(.text+0x2d6e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215727:(.text+0x2d6fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215751:(.text+0x2d7ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2d7be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215891:(.text+0x2d7ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2d7f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2d890): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215803:(.text+0x2d8ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215735:(.text+0x2d8fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x2d998): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215740:(.text+0x2d9de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x2d9fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2da20): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215767:(.text+0x2da32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2dabc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_43setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249355:(.text+0x2dae6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_42setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249382:(.text+0x2db16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_43setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249335:(.text+0x2dbb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249338:(.text+0x2dbe0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_25setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268145:(.text+0x2dc62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268174:(.text+0x2dc7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2dc84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2dca8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_24setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268212:(.text+0x2dd10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2dd22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_25setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268168:(.text+0x2ddbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268172:(.text+0x2dde8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_37setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285232:(.text+0x2de6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2de84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2de8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_37setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285243:(.text+0x2deb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2df18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x2df2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_37setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285226:(.text+0x2dfc0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285230:(.text+0x2dfec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x2dff6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2e074): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_MemviewEnum___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401366:(.text+0x2e0ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401346:(.text+0x2e120): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401349:(.text+0x2e150): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401353:(.text+0x2e17a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2e1ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_19getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337774:(.text+0x2e214): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2e220): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2e24e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_18getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337861:(.text+0x2e2bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2e2e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x2e368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2e382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x2e38a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_19getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337801:(.text+0x2e3ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_18getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337861:(.text+0x2e416): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_19getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337833:(.text+0x2e428): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337793:(.text+0x2e4c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337806:(.text+0x2e4ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_51getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304285:(.text+0x2e576): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304314:(.text+0x2e590): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2e598): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2e5bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x2e624): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_50getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304367:(.text+0x2e636): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_51getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304305:(.text+0x2e6ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x2e6fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_51getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304327:(.text+0x2e760): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304305:(.text+0x2e772): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304308:(.text+0x2e786): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304312:(.text+0x2e7da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304339:(.text+0x2e826): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_5setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301154:(.text+0x2e852): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2e864): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2e880): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2e886): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2e898): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_5setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301194:(.text+0x2e8b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301203:(.text+0x2e8ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301203:(.text+0x2e8d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_4setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301224:(.text+0x2e908): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301227:(.text+0x2e90e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2e922): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_5setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301169:(.text+0x2e9a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_4setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301236:(.text+0x2e9d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301258:(.text+0x2ea2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_5setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301177:(.text+0x2ea66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301177:(.text+0x2ea7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2eab0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70728:(.text+0x2eac2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2eb84): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70776:(.text+0x2ebb0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70749:(.text+0x2ec0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70754:(.text+0x2ec42): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70758:(.text+0x2ec5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70823:(.text+0x2ec8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70776:(.text+0x2ec9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29684:(.text+0x2ed60): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2ed8c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29654:(.text+0x2ede6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29667:(.text+0x2ee1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29667:(.text+0x2ee36): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14_Vec_LocalForm___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29746:(.text+0x2ee68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29682:(.text+0x2ee7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2ef3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228001:(.text+0x2ef6a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2efc4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9converged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227916:(.text+0x2f032): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416706:(.text+0x2f056): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9converged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227934:(.text+0x2f08c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_9converged_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227893:(.text+0x2f094): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2f09c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416700:(.text+0x2f0a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447657:(.text+0x2f11a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2f132): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2f13a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227846:(.text+0x2f158): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227867:(.text+0x2f174): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416702:(.text+0x2f186): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417101:(.text+0x2f260): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417101:(.text+0x2f298): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447609:(.text+0x2f30c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447654:(.text+0x2f33c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2f368): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417553:(.text+0x2f376): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266782:(.text+0x2f396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417893:(.text+0x2f3f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417895:(.text+0x2f446): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417895:(.text+0x2f4da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2f506): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246827:(.text+0x2f586): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_diverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417109:(.text+0x2f5a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x2f5a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246827:(.text+0x2f5cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2f634): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417105:(.text+0x2f646): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2f6be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2f6f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266896:(.text+0x2f76a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2f79a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9converged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266831:(.text+0x2f7c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266849:(.text+0x2f810): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266849:(.text+0x2f858): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266849:(.text+0x2f864): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2f890): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281490:(.text+0x2f8fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281490:(.text+0x2f92a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281490:(.text+0x2f934): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2f9a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_9converged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281423:(.text+0x2f9dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281423:(.text+0x2fa0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_def_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18860:(.text+0x2faf8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18211:(.text+0x2fb62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18216:(.text+0x2fb8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18233:(.text+0x2fbe4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2fc04): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2fc26): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_def_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18860:(.text+0x2fc32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18858:(.text+0x2fc4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x2fcbc): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x2fcc6): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18245:(.text+0x2fcd6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x2fce8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x2fcf2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x2fd04): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_def_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18869:(.text+0x2fd14): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x2fd20): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_def_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18869:(.text+0x2fd38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x2fd4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x2fdae): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18245:(.text+0x2fdc0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18233:(.text+0x2fdd0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18256:(.text+0x2fde8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18233:(.text+0x2fe4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412844:(.text+0x2fe78): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83933:(.text+0x2fef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83953:(.text+0x2ff12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2ff1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412860:(.text+0x2ff3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83905:(.text+0x2ffa6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83905:(.text+0x2ffb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412850:(.text+0x30030): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83880:(.text+0x30068): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83884:(.text+0x300ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x300ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_GetComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85480:(.text+0x30112): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Datatype_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18413:(.text+0x30160): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18441:(.text+0x301a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x301b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x301e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3024e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Datatype_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18519:(.text+0x3027a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18519:(.text+0x30284): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18519:(.text+0x302f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ImportFrom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446965:(.text+0x30376): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Op_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18558:(.text+0x303b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0x303e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x30414): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Op_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18626:(.text+0x30454): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x30462): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Op_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18647:(.text+0x3046c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3049c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Op_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18641:(.text+0x304d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18641:(.text+0x3053e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18592:(.text+0x30574): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x305a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3064e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85749:(.text+0x30692): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_5__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85679:(.text+0x30718): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85751:(.text+0x30722): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x30748): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x3081e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85783:(.text+0x30902): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x3090a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404224:(.text+0x30950): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404229:(.text+0x30966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3096e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404280:(.text+0x3097c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404331:(.text+0x30992): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404512:(.text+0x309e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x30ad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x30adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x30b10): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x30b1e): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400258:(.text+0x30b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400474:(.text+0x30bf4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400288:(.text+0x30c1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400290:(.text+0x30c28): undefined reference to `PyDict_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x30c40): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x30ccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x30cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x30d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x30d4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x30d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400328: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400235:(.text+0x30d84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400236:(.text+0x30d98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84666:(.text+0x30dd8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84698:(.text+0x30dec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x30dfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84718:(.text+0x30e0e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84761:(.text+0x30e44): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_11duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84642:(.text+0x30e8a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84794:(.text+0x30ed8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x30efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_11duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84635:(.text+0x30f1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84636:(.text+0x30f26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84636:(.text+0x30f2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84636:(.text+0x30f36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84727:(.text+0x30fea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3100a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x3102e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x31036): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x3103e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x31052): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3108c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x310b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x310d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84676:(.text+0x310e0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84491:(.text+0x3118a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_8destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84565:(.text+0x311ae): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84583:(.text+0x311d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x311de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x3121c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x31234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3123a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x31252): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84493:(.text+0x31274): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84492:(.text+0x31280): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x312a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_8destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84545:(.text+0x312c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x31546): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x31560): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x315bc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x315ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x31652): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84416:(.text+0x31670): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x31694): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x316a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84416:(.text+0x316ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84416:(.text+0x316b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84416:(.text+0x316c8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x316ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/include/python3.11/object.h:601:(.text+0x316e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x3172e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_63setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89274:(.text+0x317d6): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89283:(.text+0x317e4): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_62setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89303:(.text+0x31804): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_59stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88972:(.text+0x31966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x319b2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_59stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89012:(.text+0x319e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89021:(.text+0x319fe): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x31a2c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_59stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88995:(.text+0x31ae8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x31aee): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_58stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89051:(.text+0x31afc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x31b56): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_str2bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12311:(.text+0x31b6a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyObject_TypeCheck': /usr/include/python3.11/object.h:263:(.text+0x31c4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:263:(.text+0x31c5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:263:(.text+0x31c68): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/include/python3.11/object.h:263:(.text+0x31c72): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyByteArray_GET_SIZE': /usr/include/python3.11/cpython/bytearrayobject.h:33:(.text+0x31c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_str2bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12421:(.text+0x31cbe): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12455:(.text+0x31cd2): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyByteArray_AS_STRING': /usr/include/python3.11/cpython/bytearrayobject.h:22:(.text+0x31d3c): undefined reference to `PyExc_ZeroDivisionError' /usr/bin/ld: /usr/include/python3.11/cpython/bytearrayobject.h:22:(.text+0x31d4e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x31d6c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_str2bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12420:(.text+0x31d7e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12448:(.text+0x31d92): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12448:(.text+0x31da0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12396:(.text+0x31dba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x31dc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x31dca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_str2bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12398:(.text+0x31dd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_49getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88498:(.text+0x31e3a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88527:(.text+0x31e48): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88538:(.text+0x31e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88525:(.text+0x31f7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_48getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88576:(.text+0x31f9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88589:(.text+0x31fc6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_49getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88518:(.text+0x31fd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_43query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88037:(.text+0x32068): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x32094): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_43query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88075:(.text+0x320d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88075:(.text+0x320f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_42query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88130:(.text+0x32128): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21110:(.text+0x32144): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x32156): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21154:(.text+0x3216e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_43query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88040:(.text+0x3221a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_42query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88204:(.text+0x32258): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_43query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88046:(.text+0x32288): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88053:(.text+0x32306): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88046:(.text+0x3235e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88049:(.text+0x32384): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88052:(.text+0x32396): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3240a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x32434): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x32478): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_65printfASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96154:(.text+0x324e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96165:(.text+0x3252e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96174:(.text+0x32548): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3258c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_64printfASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96227:(.text+0x325bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x325e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_65printfASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96152:(.text+0x32632): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96145:(.text+0x3267a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96145:(.text+0x32686): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x326b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_47decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88351:(.text+0x3270a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_46decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88394:(.text+0x3272c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88443:(.text+0x32764): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_47decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88363:(.text+0x32778): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88363:(.text+0x32780): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_46decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88433:(.text+0x32792): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_47decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88357:(.text+0x327dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_46decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88479:(.text+0x32808): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88422:(.text+0x3284c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88363:(.text+0x3286c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_33setName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87467:(.text+0x328a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x328c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x328d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_33setName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87494:(.text+0x328ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87476:(.text+0x329ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87483:(.text+0x329e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87476:(.text+0x32a30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_32setName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87547:(.text+0x32a84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_29getComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87280:(.text+0x32ab2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_28getComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87312:(.text+0x32ae6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87324:(.text+0x32af8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87349:(.text+0x32ba8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87349:(.text+0x32bd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x32bea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_27viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87107:(.text+0x32c16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x32c20): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_27viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87162:(.text+0x32c9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87148:(.text+0x32cb4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x32ce6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_26viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87245:(.text+0x32d1c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x32d2e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x32d40): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_27viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87176:(.text+0x32f36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_23appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86918:(.text+0x32f62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86967:(.text+0x32fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_22appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86988:(.text+0x3300e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_23appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86938:(.text+0x3308c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86952:(.text+0x3309e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_22appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87009:(.text+0x3314e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_19setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86705:(.text+0x3317a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86745:(.text+0x33200): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86754:(.text+0x33226): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x332a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_19setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86719:(.text+0x332b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86728:(.text+0x33368): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x33394): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_14destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86599:(.text+0x33490): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216166:(.text+0x334b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216261:(.text+0x33512): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x33524): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216182:(.text+0x3363c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216196:(.text+0x33668): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216195:(.text+0x336ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_75setFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96629:(.text+0x33714): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96669:(.text+0x33792): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96678:(.text+0x337a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96644:(.text+0x33852): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96656:(.text+0x3387e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96656:(.text+0x33888): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x33924): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_67printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96251:(.text+0x33950): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96251:(.text+0x3395a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96300:(.text+0x339f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_66printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96330:(.text+0x33a22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x33a2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_67printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96278:(.text+0x33ac8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_66printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96357:(.text+0x33af4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x33b4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_67printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96300:(.text+0x33b86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_63useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96013:(.text+0x33b9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x33bd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x33be2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x33c7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x33cb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453019:(.text+0x33ce0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_63useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96036:(.text+0x33d82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x33dd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_62useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96092:(.text+0x33de8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_63useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96040:(.text+0x33e18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x33e64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_53subtractASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95659:(.text+0x33ed2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95698:(.text+0x33f56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_52subtractASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95728:(.text+0x33f86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_53subtractASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95669:(.text+0x3401a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95672:(.text+0x3404e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95676:(.text+0x34078): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_51addASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95537:(.text+0x340cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95579:(.text+0x34162): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_50addASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95606:(.text+0x3418e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95616:(.text+0x34198): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_51addASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95560:(.text+0x3424e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95560:(.text+0x34260): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95564:(.text+0x3428c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95564:(.text+0x34296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x34336): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_47setASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95378:(.text+0x3436e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95358:(.text+0x343e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_46setASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95407:(.text+0x34412): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_47setASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95358:(.text+0x3443a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_46setASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95417:(.text+0x34488): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x344d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x344dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94404:(.text+0x34508): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94444:(.text+0x34574): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_34restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94481:(.text+0x345a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94521:(.text+0x34668): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3469a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x346ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_34restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94481:(.text+0x3479a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94427:(.text+0x347cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x34802): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_34restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94481:(.text+0x34818): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94431:(.text+0x3481e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94431:(.text+0x3484a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x34854): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_33getSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94293:(.text+0x348cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94315:(.text+0x34952): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94275:(.text+0x34968): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3499c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_33getSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94304:(.text+0x349a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94284:(.text+0x349dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94260:(.text+0x349e2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x349f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x34a0a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_32getSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94384:(.text+0x34a40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x34abc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_33getSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94290:(.text+0x34aec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93824:(.text+0x34b6c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93844:(.text+0x34bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93827:(.text+0x34bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_22setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93874:(.text+0x34bf0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x34bf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x34c0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93815:(.text+0x34c7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93829:(.text+0x34c8a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93818:(.text+0x34d0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x34d24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_22setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93886:(.text+0x34d34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x34d48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93844:(.text+0x34d64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91903:(.text+0x34d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91914:(.text+0x34d8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x34de4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x34dfc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92008:(.text+0x34e0e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91958:(.text+0x34e20): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91949:(.text+0x34e90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x34ebc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91933:(.text+0x34f3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91927:(.text+0x34f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91903:(.text+0x34f5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91928:(.text+0x34f82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91860:(.text+0x34fea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91872:(.text+0x34ffc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91884:(.text+0x35094): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91640:(.text+0x350c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91651:(.text+0x350ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91695:(.text+0x35168): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x35194): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91757:(.text+0x3521a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91778:(.text+0x35240): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91661:(.text+0x352be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91664:(.text+0x352d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x35380): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91811:(.text+0x353ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91811:(.text+0x353b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x35454): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x35480): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91670:(.text+0x35500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x3551a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x35522): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x35546): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98817:(.text+0x355ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98846:(.text+0x355c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98896:(.text+0x35658): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x35684): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98844:(.text+0x3570a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98923:(.text+0x35730): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x357ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98689:(.text+0x357c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98744:(.text+0x35850): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x35888): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98764:(.text+0x358fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98710:(.text+0x3592c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98719:(.text+0x35954): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98774:(.text+0x359a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98744:(.text+0x359ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x359f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98657:(.text+0x35a24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98670:(.text+0x35aaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98670:(.text+0x35abc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98462:(.text+0x35ae8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98462:(.text+0x35af2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x35bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x35be8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98508:(.text+0x35c14): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98483:(.text+0x35c1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x35cde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98488:(.text+0x35d0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_263createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177292:(.text+0x35d8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177314:(.text+0x35da4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x35dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x35dd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177433:(.text+0x35e38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177439:(.text+0x35e4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177371:(.text+0x35ec2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177397:(.text+0x35efa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x35f6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_263createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177296:(.text+0x35f9e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177321:(.text+0x35fc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x36014): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177527:(.text+0x3605c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177527:(.text+0x36068): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177590:(.text+0x36094): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x36102): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3612e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x36138): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x361f8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177509:(.text+0x3627c): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x362a8): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_263createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177311:(.text+0x36346): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x363c8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177445:(.text+0x363da): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177590:(.text+0x3640e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177533:(.text+0x3644c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177329:(.text+0x36460): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177336:(.text+0x36470): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x36484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x364c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_263createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177329:(.text+0x364de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91086:(.text+0x3652c): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91110:(.text+0x3654a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91114:(.text+0x3655c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91125:(.text+0x36584): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91125:(.text+0x3658c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91136:(.text+0x365aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3660a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91168:(.text+0x36612): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91172:(.text+0x36618): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3662a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x36640): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x3668c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91257:(.text+0x366a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91257:(.text+0x366fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91257:(.text+0x36702): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3670a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x36712): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_ContainsTF': /usr/include/python3.11/object.h:537:(.text+0x36722): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91169:(.text+0x36732): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91169:(.text+0x3673e): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91112:(.text+0x3676e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91172:(.text+0x36776): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x367a8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x367b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x367c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91206:(.text+0x367d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x367d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x367e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91206: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91217:(.text+0x367fc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91220:(.text+0x3681a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91220:(.text+0x36820): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91222:(.text+0x36832): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91125:(.text+0x3684c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x36860): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91136:(.text+0x36874): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x36892): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91195:(.text+0x368c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x3692c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3693e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3696a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405554:(.text+0x36974): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405578:(.text+0x36a12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x36a50): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x36a80): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405461:(.text+0x36b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x36b74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405424:(.text+0x36b86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405424:(.text+0x36be2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x36bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405447:(.text+0x36c36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x36c58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x36ca2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405415:(.text+0x36cc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60354:(.text+0x36d24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60395:(.text+0x36d82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60407:(.text+0x36d9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60432:(.text+0x36dca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60433:(.text+0x36dd4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60550:(.text+0x36eb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60562:(.text+0x36ec2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60588:(.text+0x36eee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60589:(.text+0x36ef8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60679:(.text+0x36f94): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60695:(.text+0x36fd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60699:(.text+0x37002): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457445:(.text+0x37042): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60740:(.text+0x3705e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60740:(.text+0x3706c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60735:(.text+0x37088): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457445:(.text+0x37118): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457558:(.text+0x3712a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x37158): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60367:(.text+0x37196): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60406:(.text+0x371ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x371ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60695:(.text+0x37298): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60695:(.text+0x372a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60627:(.text+0x3732c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60601:(.text+0x3734c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60562:(.text+0x37382): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60536:(.text+0x373b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400917:(.text+0x373fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400917:(.text+0x3741c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400917:(.text+0x37462): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400937:(.text+0x37478): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400958:(.text+0x3748a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402510:(.text+0x374ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x37544): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408144:(.text+0x37570): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402538:(.text+0x375a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x375be): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x375d2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402562:(.text+0x375da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x375e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x375ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402603:(.text+0x37600): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402603:(.text+0x37606): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408259:(.text+0x3765a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408264:(.text+0x37692): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408196:(.text+0x37706): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402561:(.text+0x37736): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464734:(.text+0x3775e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x377ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408306:(.text+0x377f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x37800): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464696:(.text+0x3782c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408146:(.text+0x37898): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408306:(.text+0x378c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402514:(.text+0x3798e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408303:(.text+0x379c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x379d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_35setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103983:(.text+0x37c3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_34setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104025:(.text+0x37c5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x37c8a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_35setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103954:(.text+0x37cce): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103961:(.text+0x37d52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x37d74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103670:(.text+0x37dbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x37dee): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x37dfe): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x37e2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103713:(.text+0x37e40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103717:(.text+0x37e78): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_30viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103798:(.text+0x37e8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103798:(.text+0x37e94): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103810:(.text+0x37ea6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103727:(.text+0x37ee4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103674:(.text+0x37f24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103689:(.text+0x37f6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103683:(.text+0x37fdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103682:(.text+0x3800c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_30viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103825:(.text+0x38038): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103690:(.text+0x38044): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103690:(.text+0x38050): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103691:(.text+0x38058): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103695:(.text+0x3807e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x380ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x380ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_28setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103615:(.text+0x38118): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103625:(.text+0x3812e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103586:(.text+0x381d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_28setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103639:(.text+0x38212): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103580:(.text+0x38242): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103561:(.text+0x38282): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x3829e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_28setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103625:(.text+0x382ac): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103565:(.text+0x382c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x3830e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x383a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422963:(.text+0x383ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_21waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102739:(.text+0x383e8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x38426): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_21waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102769:(.text+0x3844a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102769:(.text+0x38462): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102749:(.text+0x38502): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_20waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102820:(.text+0x38540): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x38570): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_21waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102756:(.text+0x385b0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x385cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_21waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102778:(.text+0x385da): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_13setDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102213:(.text+0x385f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3863c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x386d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_13setDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102227:(.text+0x386e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102257:(.text+0x38716): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_12setDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102311:(.text+0x38754): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_13setDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102236:(.text+0x38778): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102236:(.text+0x38790): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x38870): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x38882): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x388ae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x388b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3897a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101680:(.text+0x389a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x38a00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_getbuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23679:(.text+0x38a38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23679:(.text+0x38a50): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23803:(.text+0x38a84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23766:(.text+0x38a96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23041:(.text+0x38b5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23001:(.text+0x38b86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_release': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23056:(.text+0x38b90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_71difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108398:(.text+0x38c2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x38c5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x38cda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_71difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108441:(.text+0x38cf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108441:(.text+0x38cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108407:(.text+0x38d20): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_70difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108461:(.text+0x38d88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108498:(.text+0x38d9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x38e32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x38e5e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_65sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107962:(.text+0x38ede): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x38ef8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_65sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107966:(.text+0x38f00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x38f24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_65sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107948:(.text+0x38f8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107949:(.text+0x38f9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3904e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_64sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108033:(.text+0x39070): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_65sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107976:(.text+0x3909a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108184:(.text+0x390ba): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3911a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108224:(.text+0x3913a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_68union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108303:(.text+0x391a0): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108238:(.text+0x391de): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3922a): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x39232): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108211:(.text+0x3929a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108204:(.text+0x392c0): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108207:(.text+0x392f0): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_68union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108367:(.text+0x392fc): undefined reference to `PyNumber_Multiply' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3932a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_68union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108367:(.text+0x39340): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108367:(.text+0x39384): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x393b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x393c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x393c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_67expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108082:(.text+0x39412): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3943e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_67expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108107:(.text+0x394be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x394d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x394e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_67expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108073:(.text+0x39504): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_66expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108164:(.text+0x3956c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108164:(.text+0x3957e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108164:(.text+0x395ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_59setIdentity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107633:(.text+0x3962c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_58setIdentity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107674:(.text+0x3965c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x396d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_55setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107477:(.text+0x3972e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107485:(.text+0x39756): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x39768): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_55setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107478:(.text+0x397fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_51sort': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107317:(.text+0x39826): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3986c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_49setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107201:(.text+0x39916): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x39942): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_49setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107250:(.text+0x3999e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x399d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_49setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107215:(.text+0x399ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_48setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107270:(.text+0x39a22): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107270:(.text+0x39a34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_39invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106669:(.text+0x39b14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106669:(.text+0x39b26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x39b52): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x39b5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_38invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106748:(.text+0x39c1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x39c4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_39invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106709:(.text+0x39ca6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106690:(.text+0x39cde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x39cf6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x39d2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_39invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106694:(.text+0x39d3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106555:(.text+0x39e04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x39e30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_36buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106624:(.text+0x39eb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106565:(.text+0x39ed8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x39f16): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106555:(.text+0x39f68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106526:(.text+0x39f7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106535:(.text+0x3a02a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x3a056): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3a0b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x3a0ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_34toGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106486:(.text+0x3a102): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x3a136): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_33allGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106347:(.text+0x3a148): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_32allGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106412:(.text+0x3a210): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3a23c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_14create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104941:(.text+0x3a2cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x3a2f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3a35a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x3a36c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3a388): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_15create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104865:(.text+0x3a3bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104889:(.text+0x3a462): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104890:(.text+0x3a48e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3a526): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3a52e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_31load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106210:(.text+0x3a554): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106224:(.text+0x3a5c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x3a5d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_31load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106193:(.text+0x3a66a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_30load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106300:(.text+0x3a696): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3a6f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3a72a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_31load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106224:(.text+0x3a742): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_26duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105892:(.text+0x3a776): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3a788): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_27duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105862:(.text+0x3a84e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3a87a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_26duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105901:(.text+0x3a8d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105944:(.text+0x3a90e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105906:(.text+0x3a926): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x3a95a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x3a96c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x3aa34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_29copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105964:(.text+0x3aa60): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105964:(.text+0x3aa6a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105979:(.text+0x3aaea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3ab22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_29copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106024:(.text+0x3ab96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_28copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106070:(.text+0x3abc6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106095:(.text+0x3abee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3ac3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3ac86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x3ac92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3acbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_28copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106150:(.text+0x3ad2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3ad56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3adb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x3adea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_29copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105989:(.text+0x3ae02): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105994:(.text+0x3ae36): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105994:(.text+0x3ae48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_17setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105013:(.text+0x3aee8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3af26): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3af56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_16setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105104:(.text+0x3afd4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_17setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105028:(.text+0x3b02a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105040:(.text+0x3b052): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105040:(.text+0x3b064): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3b0f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x3b124): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3b16a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_35applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113591:(.text+0x3b216): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3b242): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_34applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113665:(.text+0x3b2c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3b2ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_35applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113605:(.text+0x3b328): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113618:(.text+0x3b37a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113635:(.text+0x3b38c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3b43c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x3b468): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3b4c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_11destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111485:(.text+0x3b4fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3b514): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111484:(.text+0x3b548): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_5setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111152:(.text+0x3b55a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3b620): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111243:(.text+0x3b64c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_5setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111179:(.text+0x3b6ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111258:(.text+0x3b6f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_5setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111175:(.text+0x3b736): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x3b748): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117368:(.text+0x3b824): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_40compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117414:(.text+0x3b850): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117342:(.text+0x3b8ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117355:(.text+0x3b8e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117355:(.text+0x3b8fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_40compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117439:(.text+0x3b930): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117348:(.text+0x3b942): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151160:(.text+0x3ba22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151203:(.text+0x3ba34): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151231:(.text+0x3ba60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x3ba6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x3bb2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151256:(.text+0x3bb56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151148:(.text+0x3bb68): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151157:(.text+0x3bb94): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151157:(.text+0x3bb9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_29createInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116319:(.text+0x3bc5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3bc8a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_29createInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116325:(.text+0x3bc94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116318:(.text+0x3bd14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_28createInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116382:(.text+0x3bd4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_26getMulti': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116259:(.text+0x3bdc0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_27getMulti': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116227:(.text+0x3bdf0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3be1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_27getMulti': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116220:(.text+0x3be6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_26getMulti': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116293:(.text+0x3beb4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116293:(.text+0x3bec0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115173:(.text+0x3beee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3bf34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115213:(.text+0x3bf72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115252:(.text+0x3bfa2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115193:(.text+0x3c020): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115279:(.text+0x3c076): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115193:(.text+0x3c09e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115196:(.text+0x3c0b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115036:(.text+0x3c144): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115101:(.text+0x3c170): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115130:(.text+0x3c1b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115101:(.text+0x3c27a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115154:(.text+0x3c28c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115065:(.text+0x3c2b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115055:(.text+0x3c2c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114982:(.text+0x3c39e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114964:(.text+0x3c3b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3c3dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3c3e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143935:(.text+0x3c4aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143956:(.text+0x3c4d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143980:(.text+0x3c56e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x3c576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143982:(.text+0x3c59c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3c608): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144005:(.text+0x3c61a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3c6cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3c6de): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3c70a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3c714): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x3c7d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144023:(.text+0x3c804): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x3c88c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3c8aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x3c8ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x3c8e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3c91c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3c92e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144062:(.text+0x3c942): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x3c956): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144071:(.text+0x3c992): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144102:(.text+0x3c9b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x3c9c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3c9da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3ca38): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x3ca40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x3ca52): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144037:(.text+0x3cafc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144010:(.text+0x3cb0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3cb3a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x3cb44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x3cbe8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144028:(.text+0x3cc20): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x3cc94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_314getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143051:(.text+0x3ccc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3ccec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_315getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143013:(.text+0x3cd3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x3cd84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_314getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143076:(.text+0x3cd90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3cdbc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3ce2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3ce56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_305getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142258:(.text+0x3ce60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142275:(.text+0x3cefc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x3cf28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_305getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142232:(.text+0x3cf84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_304getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142300:(.text+0x3cfbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3cfd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_305getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142264:(.text+0x3d008): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142264:(.text+0x3d01a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x3d0e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_305getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142242:(.text+0x3d10c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3d168): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_278assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140417:(.text+0x3d1a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3d1b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3d1ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3d1fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_266getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139781:(.text+0x3d2c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139813:(.text+0x3d2f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_267getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139761:(.text+0x3d2fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3d3b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_266getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139827:(.text+0x3d3c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_211permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136212:(.text+0x3d3f0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136212:(.text+0x3d3fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136267:(.text+0x3d49a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x3d4d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x3d546): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_210permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136336:(.text+0x3d576): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_211permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136236:(.text+0x3d59e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x3d5ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_211permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136237:(.text+0x3d636): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136261:(.text+0x3d642): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3d66e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_211permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136269:(.text+0x3d6f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3d706): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_abs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24462:(.text+0x3d732): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24477:(.text+0x3d73c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3d7fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_185normBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134986:(.text+0x3d82a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134975:(.text+0x3d834): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459271:(.text+0x3d8d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_184normBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135076:(.text+0x3d8fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459430:(.text+0x3d968): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459277:(.text+0x3d98a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_185normBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134996:(.text+0x3d9b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_184normBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135090:(.text+0x3da26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x3da38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3daec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x3db18): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x3db22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_44create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120911:(.text+0x3dbc2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x3dbee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_45create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120879:(.text+0x3dc7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120883:(.text+0x3dca4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120865:(.text+0x3dd24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120865:(.text+0x3dd36): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3de0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3de1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_155load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133038:(.text+0x3de4a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133038:(.text+0x3de54): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133024:(.text+0x3df16): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133018:(.text+0x3df42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_154load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133152:(.text+0x3df9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_155load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133025:(.text+0x3dfd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_154load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133101:(.text+0x3dfee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3e022): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3e034): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x3e0e6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_145getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132125:(.text+0x3e144): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132158:(.text+0x3e15a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_144getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132222:(.text+0x3e162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3e168): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_144getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132240:(.text+0x3e194): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3e1c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x3e23a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_145getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132171:(.text+0x3e272): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132171:(.text+0x3e27a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132180:(.text+0x3e2d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3e302): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_144getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132258:(.text+0x3e30c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_145getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132155:(.text+0x3e380): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x3e3fa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3e40a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_125resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130424:(.text+0x3e4ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x3e51a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_124resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130512:(.text+0x3e568): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3e574): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_125resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130439:(.text+0x3e5f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130439:(.text+0x3e5fe): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3e634): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_125resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130470:(.text+0x3e642): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3e67e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_124resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130531:(.text+0x3e752): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x3e826): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_115restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129665:(.text+0x3e858): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3e89a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_115restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129707:(.text+0x3e8b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129707:(.text+0x3e8b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129711:(.text+0x3e8e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x3e8ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_115restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129711:(.text+0x3e966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_114restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129786:(.text+0x3e9ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3ea04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_115restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129679:(.text+0x3ea3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129679:(.text+0x3ea42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x3ea7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_115restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129711:(.text+0x3ea82): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129711:(.text+0x3ea94): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129671:(.text+0x3eaaa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129689:(.text+0x3eb2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129689:(.text+0x3eb40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3eb6c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3eb76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_113getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129552:(.text+0x3ec22): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129558:(.text+0x3ec54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_112getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129597:(.text+0x3ec96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3ecac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x3ecb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_113getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129558:(.text+0x3ecde): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129558:(.text+0x3ece8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_112getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129633:(.text+0x3ed62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x3edea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_113getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129558:(.text+0x3ee00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129547:(.text+0x3ee36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129518:(.text+0x3ee3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129532:(.text+0x3ee78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129532:(.text+0x3ee7e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_112getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129597:(.text+0x3ee90): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_113getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129536:(.text+0x3eea6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_111createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129410:(.text+0x3ef04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_110createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129442:(.text+0x3ef30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3ef8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_111createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129416:(.text+0x3efc4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_110createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129479:(.text+0x3efdc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3f010): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_110createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129479:(.text+0x3f022): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_103setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129009:(.text+0x3f168): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129003:(.text+0x3f1b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_102setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129062:(.text+0x3f1fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3f244): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_103setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129032:(.text+0x3f25e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_91setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128422:(.text+0x3f264): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x3f290): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3f29a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_90setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128476:(.text+0x3f336): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_87appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128233:(.text+0x3f376): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x3f386): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_87appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128273:(.text+0x3f3d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128282:(.text+0x3f3fc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128259:(.text+0x3f4aa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_86appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128339:(.text+0x3f4ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_87appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128253:(.text+0x3f510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128256:(.text+0x3f51a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128256:(.text+0x3f53c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3f552): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_83setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128020:(.text+0x3f596): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x3f5a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_83setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128069:(.text+0x3f634): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3f6b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_83setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128040:(.text+0x3f6dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128047:(.text+0x3f71a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128040:(.text+0x3f74a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_AcquireArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27906:(.text+0x3f7f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27918:(.text+0x3f82e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27946:(.text+0x3f840): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28400:(.text+0x3f89a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_AcquireArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27906:(.text+0x3f8da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27906:(.text+0x3f8e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_ReleaseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28004:(.text+0x3f8fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3f91e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_ReleaseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28029:(.text+0x3f968): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27981:(.text+0x3f988): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419017:(.text+0x3fa1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28301:(.text+0x3fa4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419005:(.text+0x3fa54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_release': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28514:(.text+0x3fb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x3fb2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405155:(.text+0x3fb56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3fb60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_47setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120983:(.text+0x3fc48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120983:(.text+0x3fc5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121012:(.text+0x3fc86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3fc90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x3fd78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_47setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121003:(.text+0x3fd8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121010:(.text+0x3fdb6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121010:(.text+0x3fdc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x3fe5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_63viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356310:(.text+0x3feda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x3ff0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x3ffa4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x3ffac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_63viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356339:(.text+0x3ffb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x3ffec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_63viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356294:(.text+0x40012): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356297:(.text+0x4003e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356329:(.text+0x40082): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356289:(.text+0x40104): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356307:(.text+0x40184): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x401b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_59setPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356111:(.text+0x4024e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356111:(.text+0x40256): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356111:(.text+0x4025e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_58setPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356140:(.text+0x40296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x402bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_59setPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356091:(.text+0x402e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_58setPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356164:(.text+0x4032c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x403f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_57getPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355986:(.text+0x40402): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_56getPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356026:(.text+0x4042e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x40438): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_56getPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356051:(.text+0x404d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356051:(.text+0x40508): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355575:(.text+0x40538): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355586:(.text+0x40566): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355604:(.text+0x40572): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4059e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355613:(.text+0x405b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355624:(.text+0x405e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_48setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355654:(.text+0x40606): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355668:(.text+0x40686): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355595:(.text+0x4069e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355595:(.text+0x406b0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355598:(.text+0x406b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355602:(.text+0x40712): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x40738): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_47getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355447:(.text+0x40768): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355475:(.text+0x407c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355477:(.text+0x407e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355486:(.text+0x407ee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355486:(.text+0x40800): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355486:(.text+0x40804): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_46getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355508:(.text+0x40810): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355530:(.text+0x4083a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355530:(.text+0x40842): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x40854): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_47getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355471:(.text+0x4088e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355464:(.text+0x40894): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355464:(.text+0x408a6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355464:(.text+0x408b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_46getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355508:(.text+0x408ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355555:(.text+0x408d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355555:(.text+0x408f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355555:(.text+0x408fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355555:(.text+0x40912): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4098e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4099a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_47getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355486:(.text+0x409b4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355120:(.text+0x409d2): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40a0c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40a1e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355150:(.text+0x40a46): undefined reference to `PyBytes_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355152:(.text+0x40a52): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355159:(.text+0x40a5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_40setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355179:(.text+0x40a7e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x40aa4): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355124:(.text+0x40ab2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_40setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355179:(.text+0x40aee): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355133:(.text+0x40b42): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x40b54): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355137:(.text+0x40b78): undefined reference to `PyBytes_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355137:(.text+0x40b86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355137:(.text+0x40b8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_37getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354843:(.text+0x40bf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354843:(.text+0x40c00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40c2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40c34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40c3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40c44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_37getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354881:(.text+0x40c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354883: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_36getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354926:(.text+0x40cb6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_37getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354870:(.text+0x40d40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354870:(.text+0x40d48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354870:(.text+0x40d50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_36getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0x40d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0x40d6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0x40d76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_37getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354863:(.text+0x40d7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354866:(.text+0x40d9c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354866:(.text+0x40da8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354869:(.text+0x40db6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_36getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0x40dd0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0x40dd8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x40e42): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x40e5e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_29setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354438:(.text+0x40e90): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x40e9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x40ea2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40eb4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40ed0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x40ee0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_29setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354478:(.text+0x40ef2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354480:(.text+0x40f06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x40f3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_28setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354529:(.text+0x40f62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354554:(.text+0x4101e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x41066): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_28setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354529:(.text+0x4107a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_29setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354487:(.text+0x410a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_25setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354239:(.text+0x410b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354288:(.text+0x41158): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x41194): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_25setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354265:(.text+0x411ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_24setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354332:(.text+0x41208): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_25setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354262:(.text+0x41238): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x412aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354049:(.text+0x412f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x41330): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354089:(.text+0x41342): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_20setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354128:(.text+0x41392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354064:(.text+0x413d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354069:(.text+0x413da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_20setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354118:(.text+0x413f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354072:(.text+0x41448): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x41460): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x414ea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353346:(.text+0x41522): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x41532): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353339:(.text+0x41558): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353340:(.text+0x41566): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353340:(.text+0x41576): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353388:(.text+0x415a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353339:(.text+0x415cc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x41600): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x41664): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353241:(.text+0x41694): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x416bc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353230:(.text+0x416e6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353315:(.text+0x41748): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353240:(.text+0x41750): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353207:(.text+0x41758): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353207:(.text+0x41760): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353186:(.text+0x417c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353211:(.text+0x417f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_51setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359016:(.text+0x41834): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x41884): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_51setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359065:(.text+0x418d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_50setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359085:(.text+0x418ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x41902): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x41918): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_50setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359085:(.text+0x41966): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359085:(.text+0x4196c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359109:(.text+0x4197e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_51setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359036:(.text+0x41990): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359039:(.text+0x419b8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359043:(.text+0x419ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x41a22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_51setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359065:(.text+0x41a38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x41ab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358997:(.text+0x41af6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358904:(.text+0x41b0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358971:(.text+0x41b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358981:(.text+0x41b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358914:(.text+0x41b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358914:(.text+0x41b86): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x41b98): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x41baa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358904:(.text+0x41c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358947:(.text+0x41c48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358870:(.text+0x41cd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358996:(.text+0x41cf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x41d72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x41da2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_33getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358033:(.text+0x41e36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_32getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358065:(.text+0x41e72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x41e8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x41e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x41ea8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_33getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358011:(.text+0x41efe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358007:(.text+0x41f80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358033:(.text+0x41ffc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_29setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357766:(.text+0x4202c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_28setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357835:(.text+0x420c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_29setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357780:(.text+0x420fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357786:(.text+0x42116): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357792:(.text+0x4211e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_28setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357835:(.text+0x42132): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_29setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357789:(.text+0x42188): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4220a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42286): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_25setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357601:(.text+0x422b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357572:(.text+0x4234a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357572:(.text+0x42386): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357575:(.text+0x423a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357575:(.text+0x423a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x423bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_25setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357579:(.text+0x42412): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42494): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_20setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357422:(.text+0x42510): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x42540): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357376:(.text+0x425d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x425f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_20setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357432:(.text+0x425fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357380:(.text+0x42612): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357380:(.text+0x42634): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_13getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357007:(.text+0x4268a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x426f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x42770): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_12getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357072:(.text+0x427a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_11duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356936:(.text+0x42838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42856): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4285e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42872): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_11duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356930:(.text+0x42894): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356983:(.text+0x428ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42958): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356620:(.text+0x42aac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x42ace): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42af8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42b04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42b12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356565:(.text+0x42b4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42b5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356605:(.text+0x42ba8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356595:(.text+0x42bb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356595:(.text+0x42bd2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356660:(.text+0x42c16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356591:(.text+0x42c40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148340:(.text+0x42c6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x42cde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148492:(.text+0x42d16): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x42d8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x42dba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148356:(.text+0x42de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148442:(.text+0x42e34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148491:(.text+0x42e7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148491:(.text+0x42e8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148364:(.text+0x42eb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148491:(.text+0x42f24): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148373:(.text+0x42f50): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4301a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4304c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4305e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4318c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_36getBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147895:(.text+0x431de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147895:(.text+0x431f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x43204): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_36getBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147895:(.text+0x43230): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4323a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4330e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_34setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147769:(.text+0x4332a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x43376): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_35setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147711:(.text+0x433a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147710:(.text+0x43416): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147713:(.text+0x43436): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x43468): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4347a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4349c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_28getFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147415:(.text+0x434c8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147426:(.text+0x434da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x434ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x43514): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_29getFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147376:(.text+0x43564): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_28getFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147440:(.text+0x43576): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147440:(.text+0x435a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146854:(.text+0x435dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146854:(.text+0x435e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146854:(.text+0x435f8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146903:(.text+0x4367e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x436aa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x436b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x43756): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x43782): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x43806): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x43820): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x43828): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146877:(.text+0x4384e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146881:(.text+0x438ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x438cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_12getQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146536:(.text+0x43968): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_13getQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146516:(.text+0x43994): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_12getQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146573:(.text+0x43a18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146573:(.text+0x43a32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146573:(.text+0x43a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146573:(.text+0x43a60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145836:(.text+0x43acc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145879:(.text+0x43ade): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x43b7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145847:(.text+0x43ba6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145843:(.text+0x43c2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145833:(.text+0x43c44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145833:(.text+0x43c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145824:(.text+0x43c72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145858:(.text+0x43cde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x43cf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145735:(.text+0x43d8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145784:(.text+0x43db8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x43e3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_19setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145459:(.text+0x43e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145459:(.text+0x43e5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145468:(.text+0x43e84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145445:(.text+0x43ef0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_18setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145488:(.text+0x43f02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x43f78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_19setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145446:(.text+0x43fb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145468:(.text+0x43fe6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x44044): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x440ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_14setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145289:(.text+0x44120): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x44192): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_14setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145299:(.text+0x4419a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_15setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145247:(.text+0x441c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145247:(.text+0x441d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x44216): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x44266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144924:(.text+0x4427e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144925:(.text+0x44296): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144924:(.text+0x442aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x442b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_8destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144973:(.text+0x442c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144924:(.text+0x442ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x442fe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_7duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144834:(.text+0x44312): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144836:(.text+0x443ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_6duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144899:(.text+0x443e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x4446a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144716:(.text+0x44484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144758:(.text+0x4448c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144777:(.text+0x444b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4451e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x44530): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144698:(.text+0x445c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144712:(.text+0x445f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144777:(.text+0x44650): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144711:(.text+0x44688): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x446a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_18copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149589:(.text+0x446d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x446e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_18copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149614:(.text+0x447b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x447dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_17setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149478:(.text+0x44860): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149478:(.text+0x4487a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149478:(.text+0x44882): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_16setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149526:(.text+0x448a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x44914): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x44926): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149275:(.text+0x449a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x449d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149223:(.text+0x44a2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149302:(.text+0x44a5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149216:(.text+0x44a84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149302:(.text+0x44ad4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149245:(.text+0x44b1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x44b2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148951:(.text+0x44b58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148915:(.text+0x44bc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148963:(.text+0x44bf2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148963:(.text+0x44bfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x44c72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x44cf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x44d34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_85createGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156070:(.text+0x44d64): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156087:(.text+0x44d92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156085:(.text+0x44dd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156063:(.text+0x44de0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156066:(.text+0x44dea): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x44e1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x44e58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x44ec8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x44f10): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_33getPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152500:(.text+0x44f42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_32getPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152572:(.text+0x44fb0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x45028): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_19setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151647:(.text+0x45076): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151647:(.text+0x45088): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x450b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_19setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151632:(.text+0x450fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_18setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151667:(.text+0x45104): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151667:(.text+0x4510c): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151691:(.text+0x45124): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151691:(.text+0x4512c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151677:(.text+0x45180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_19setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151625:(.text+0x4518a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151625:(.text+0x4519e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x451c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x451f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151311:(.text+0x4521a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151311:(.text+0x4522c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151338:(.text+0x4525a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4526c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x45282): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x452c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151365:(.text+0x452e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4536a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151320:(.text+0x45378): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x45386): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151365:(.text+0x453b0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151365:(.text+0x453c2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151058:(.text+0x4541c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151066:(.text+0x45444): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x45454): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151059:(.text+0x4547e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151060:(.text+0x45486): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151060:(.text+0x4548e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151060:(.text+0x45494): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151060:(.text+0x454a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151059:(.text+0x454ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190008:(.text+0x454f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190008:(.text+0x454fa): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190019:(.text+0x4550c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190019:(.text+0x45526): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190041:(.text+0x4553c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190114:(.text+0x45546): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190094:(.text+0x4554e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190095:(.text+0x45554): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190105:(.text+0x4555a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190123:(.text+0x4556c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x455ac): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x455bc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190151:(.text+0x455e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x455e8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190229:(.text+0x45608): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190210:(.text+0x45618): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190229:(.text+0x45632): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190274:(.text+0x45656): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x45670): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x4567a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4568c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x456b2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190052:(.text+0x456c4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190054:(.text+0x456d2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190054:(.text+0x456e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190056:(.text+0x456e6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190063:(.text+0x456f8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190063:(.text+0x45700): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45744): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45752): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45760): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190254:(.text+0x4578a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4579c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x457f6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190141:(.text+0x4581e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x4582e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190029:(.text+0x45858): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190030:(.text+0x45860): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190048:(.text+0x45868): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x4586e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45880): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x458c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x458ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x458d4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x458e6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45900): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45916): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45928): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x4592e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45934): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190033:(.text+0x45946): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x45986): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x45996): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190038:(.text+0x459bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190038:(.text+0x459c2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x459e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x459f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190063:(.text+0x45a0c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_449getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191603:(.text+0x45a30): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x45a4a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191644:(.text+0x45a54): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x45a66): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x45a8c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x45a9e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_449getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191611:(.text+0x45aac): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x45aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x45ac0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x45ad2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x45ada): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_449getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191605:(.text+0x45b1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191605:(.text+0x45b2c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191605:(.text+0x45b3a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x45b64): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191644:(.text+0x45b76): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191696:(.text+0x45bd0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191649:(.text+0x45bf8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x45c08): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x45c32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x45c3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x45c42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x45c48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191696:(.text+0x45c5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x45c9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x45ca8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191696:(.text+0x45cae): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191696:(.text+0x45cc0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x45cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x45cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x45cfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x45d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x45d08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x45d0e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x45d20): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_382getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186859:(.text+0x45d60): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186871:(.text+0x45d70): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_383getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186839:(.text+0x45d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186839:(.text+0x45d9c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x45dbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x45dcc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x45de6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_383getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186833:(.text+0x45e0a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_382getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186905:(.text+0x45e24): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186905:(.text+0x45e2e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_383getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186832:(.text+0x45e40): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_382getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186905:(.text+0x45e66): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x45e78): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x45e86): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x45e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x45e9a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_435getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190326:(.text+0x45eac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x45eb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190383:(.text+0x45efe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_435getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190334:(.text+0x45f2a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x45f34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190367:(.text+0x45ff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4600a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190369:(.text+0x46036): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x46040): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190419:(.text+0x46128): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190419:(.text+0x4613a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x46166): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x46170): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_429setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189849:(.text+0x46232): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189858:(.text+0x4625e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189824:(.text+0x462ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_428setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189902:(.text+0x462f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189903:(.text+0x4630a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_429setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189832:(.text+0x4633e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x46350): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_390getLRCMats': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187353:(.text+0x46416): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187389:(.text+0x46442): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x4649e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x464d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x464ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x46522): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_391getLRCMats': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187318:(.text+0x46534): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x465da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x466b6): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_390getLRCMats': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187389:(.text+0x466ce): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187389:(.text+0x466da): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_353getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184866:(.text+0x46720): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184906:(.text+0x467aa): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184915:(.text+0x467bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_352getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184938:(.text+0x467de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4689c): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x468b4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x468c0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_353getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184880:(.text+0x468e2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184900:(.text+0x4691a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_352getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185008:(.text+0x46938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185008:(.text+0x46940): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185008:(.text+0x469a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185008:(.text+0x469b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x469bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_352getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184985:(.text+0x469ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184985:(.text+0x469d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185008:(.text+0x469e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x46a0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x46a14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_352getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184975:(.text+0x46a1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_353getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184893:(.text+0x46a2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184893:(.text+0x46a4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x46a7e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184458:(.text+0x46aa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184470:(.text+0x46ac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184458:(.text+0x46ace): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184469:(.text+0x46ad8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184458:(.text+0x46ae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184471:(.text+0x46ae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184501:(.text+0x46b62): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_346kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184622:(.text+0x46b94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184528:(.text+0x46bc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184528:(.text+0x46bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184528:(.text+0x46bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x46be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x46bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184485:(.text+0x46c2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184485:(.text+0x46c44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_346kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184571:(.text+0x46c78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184517:(.text+0x46ca2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184518:(.text+0x46cd4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x46ce6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_346kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184622:(.text+0x46d4e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0x46d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184490:(.text+0x46d88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_346kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184571:(.text+0x46db0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184495:(.text+0x46dc6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184495:(.text+0x46ddc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x46de2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x46df4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_34destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157753:(.text+0x46e34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157765:(.text+0x46e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x46e56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_35destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157729:(.text+0x46e9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157729:(.text+0x46eaa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x46ebe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_34destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157777:(.text+0x46eca): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_35destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157728:(.text+0x46ee8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157728:(.text+0x46ef0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x46f04): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x46f0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_293getNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179598:(.text+0x46f12): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_292getNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179626:(.text+0x46f24): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_293getNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179606:(.text+0x46f7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179600:(.text+0x46fc2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_292getNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179672:(.text+0x46ff4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x47046): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_289getTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179403:(.text+0x470c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179397:(.text+0x4711a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179397:(.text+0x4712c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179397:(.text+0x47132): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_288getTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179469:(.text+0x4714a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179469:(.text+0x47152): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179469:(.text+0x4719a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x471a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x471a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_285getNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179188:(.text+0x471b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_284getNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179220:(.text+0x471dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x47212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_285getNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179194:(.text+0x4727e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_284getNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179266:(.text+0x472b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179266:(.text+0x472f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x47302): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178429:(.text+0x47330): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178429:(.text+0x47342): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178462:(.text+0x47358): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x4739e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x473ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178475:(.text+0x473f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178489:(.text+0x47440): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_274getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178522:(.text+0x47472): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178571:(.text+0x474c4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x47540): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x47598): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_274getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178553:(.text+0x475aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178553:(.text+0x475b0): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178459:(.text+0x475c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178459:(.text+0x475d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_273getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178253:(.text+0x47618): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178242:(.text+0x47620): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178242:(.text+0x47626): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178253:(.text+0x4762e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178292:(.text+0x4765a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178257:(.text+0x47690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x476fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_273getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178302:(.text+0x47734): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4776e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x47780): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_272getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178366:(.text+0x477ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_273getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178263:(.text+0x477c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178282:(.text+0x477d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178263:(.text+0x4781c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178266:(.text+0x4782c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178272:(.text+0x478c0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_261findZeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177196:(.text+0x47902): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_260findZeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177224:(.text+0x47910): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177224:(.text+0x4791e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_261findZeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177204:(.text+0x47946): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x47a22): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x47a32): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176978:(.text+0x47a48): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x47ab8): undefined reference to `PyUnicode_Join' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177024:(.text+0x47ac8): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177026:(.text+0x47ae2): undefined reference to `PyUnicode_AsASCIIString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32792:(.text+0x47afe): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455239:(.text+0x47b0c): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x47b36): undefined reference to `PyBytes_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_256assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177053:(.text+0x47b50): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x47b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x47baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177033:(.text+0x47bc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x47c06): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176994:(.text+0x47c16): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x47c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32820:(.text+0x47c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32820:(.text+0x47c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32820:(.text+0x47c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32820:(.text+0x47c7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177053: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177008:(.text+0x47c90): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x47cf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x47d1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x47d26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x47d30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x47d38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177003:(.text+0x47d8c): undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x47db0): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x47e1c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x47e2c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x47e7a): undefined reference to `_PyBytes_Join' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x47e88): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x47ea2): undefined reference to `PyBytes_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x47ecc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x47ee2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403991:(.text+0x47f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403991:(.text+0x47f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403958:(.text+0x47f60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403991: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404016:(.text+0x47f98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404016:(.text+0x47fa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404023:(.text+0x47fc6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x4803c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4805c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404033:(.text+0x4809c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404033:(.text+0x480a8): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404055:(.text+0x480c2): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404057:(.text+0x480ce): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x480fe): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x48108): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404090:(.text+0x48118): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4813c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x4814e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x48190): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x4819c): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404106:(.text+0x481b6): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404120:(.text+0x481c2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4820a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4821c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x48232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404170:(.text+0x4823a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x48242): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x48290): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x482b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x48374): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404101:(.text+0x4837a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x4838c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x483a4): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x483dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x483e4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404106:(.text+0x483fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404121:(.text+0x48424): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404029:(.text+0x48448): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404055:(.text+0x48488): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404057:(.text+0x4849e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404018:(.text+0x484b4): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404018:(.text+0x484c2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x48534): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x4853c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x48544): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x4854c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404090:(.text+0x485c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404090: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_209getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173005:(.text+0x4865e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_208getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173038:(.text+0x48686): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x486d2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_208getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173090:(.text+0x486ee): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173090:(.text+0x486fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x48708): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_209getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173017:(.text+0x4872e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173011:(.text+0x487a2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_208getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113:(.text+0x487bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113:(.text+0x487c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113:(.text+0x487cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_209getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173010:(.text+0x487e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_208getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113:(.text+0x487e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_207setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172925:(.text+0x48978): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x48980): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_207setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172926:(.text+0x4898c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x48998): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_206setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172971:(.text+0x489a4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x489ce): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_207setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172890:(.text+0x48a40): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172890:(.text+0x48a4c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172893:(.text+0x48a6e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_206setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172985:(.text+0x48b5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_207setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172890:(.text+0x48b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172891:(.text+0x48b8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172898:(.text+0x48b96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172923:(.text+0x48bba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172903: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x49014): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_138duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167263:(.text+0x49034): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x49054): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x49090): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30347:(.text+0x491d4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30374:(.text+0x4922e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30325:(.text+0x49256): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30331:(.text+0x49286): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x492a0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x4938a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x493a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_3__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156240:(.text+0x49412): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_5__neg__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156303:(.text+0x49458): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4946c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_157conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168985:(.text+0x4957a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168985:(.text+0x4958e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x495c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_157conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168981:(.text+0x495f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_156conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169076:(.text+0x4961e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x49658): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_156conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169100:(.text+0x4973a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_157conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168960:(.text+0x4975a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168961:(.text+0x4976c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_155imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168800:(.text+0x49846): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x4988c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x498ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_155imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168796:(.text+0x498be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_154imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168891:(.text+0x498e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x498f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_155imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168810:(.text+0x49900): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168810:(.text+0x49912): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x4995a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_154imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168872:(.text+0x49970): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x499ac): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_154imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168843:(.text+0x499be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168915:(.text+0x49a08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0x49a1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_155imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168780:(.text+0x49a4a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x49a82): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168565:(.text+0x49aa8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x49ae0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168615:(.text+0x49b08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x49b34): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168580:(.text+0x49b3c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x49b4e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x49b54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x49b5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x49b6e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x49b76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168609:(.text+0x49b80): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168611:(.text+0x49b92): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168611:(.text+0x49b98): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_152realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168677:(.text+0x49baa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x49bbc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168625:(.text+0x49be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x49bf8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x49c78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_152realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168730:(.text+0x49ccc): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168590:(.text+0x49cea): undefined reference to `PyNumber_InPlaceMultiply' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168591:(.text+0x49d0c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168625:(.text+0x49d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_151hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168346:(.text+0x49d74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168346:(.text+0x49d7c): undefined reference to `PyNumber_InPlaceMultiply' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168346:(.text+0x49d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168346:(.text+0x49d9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168396:(.text+0x49dca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168396:(.text+0x49de8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x49e0e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x49e20): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_150hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168451:(.text+0x49e76): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168521:(.text+0x49e88): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_151hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168376:(.text+0x49ff0): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168376:(.text+0x4a000): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_151hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168406:(.text+0x4a008): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_147transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168012:(.text+0x4a016): undefined reference to `PyNumber_InPlaceMultiply' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168062:(.text+0x4a05e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168062:(.text+0x4a07a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x4a0b0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4a0c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4a0ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4a0da): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_147transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168058:(.text+0x4a0e4): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168058:(.text+0x4a0fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_146transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168117:(.text+0x4a110): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_147transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168028:(.text+0x4a1b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168033:(.text+0x4a1dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x4a200): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4a208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168211: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_146transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168211:(.text+0x4a224): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168211:(.text+0x4a22a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_147transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168037:(.text+0x4a23c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168042:(.text+0x4a27a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_145convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167742:(.text+0x4a2aa): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167754:(.text+0x4a2c0): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167742:(.text+0x4a2ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4a328): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4a380): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_145convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167801:(.text+0x4a456): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167767:(.text+0x4a4ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_144convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167858:(.text+0x4a50e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4a590): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_145convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167767:(.text+0x4a5a6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167777:(.text+0x4a5d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167777:(.text+0x4a5de): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167778:(.text+0x4a5f0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167771:(.text+0x4a602): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x4a6ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x4a7be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_36create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157891:(.text+0x4a87e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_37create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157851:(.text+0x4a8c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x4a8f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_143load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167607:(.text+0x4a94a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_142load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167672:(.text+0x4a9c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_143load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167589:(.text+0x4aa1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167603:(.text+0x4aa30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167613:(.text+0x4aa36): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167589:(.text+0x4aa4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167589:(.text+0x4aa56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_142load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167699:(.text+0x4aa9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167723:(.text+0x4aaa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167723:(.text+0x4aaac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167723:(.text+0x4aab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_143load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167596:(.text+0x4aae0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4ab16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_134getOwnershipIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166922:(.text+0x4ab82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166946:(.text+0x4abba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x4abf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4ac06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x4ac34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_135getOwnershipIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166901:(.text+0x4ac46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4ac5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_135getOwnershipIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166895:(.text+0x4aca2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_134getOwnershipIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166979:(.text+0x4acb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4acfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4ad44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4ad76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_113getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165678:(.text+0x4adc8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165727:(.text+0x4ae44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_112getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165757:(.text+0x4ae9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165758:(.text+0x4aeae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x4aeb4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459524:(.text+0x4aecc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459529:(.text+0x4aed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459538:(.text+0x4af1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4af24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x4af2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x4af32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459583:(.text+0x4af5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_113getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165712:(.text+0x4af94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165698:(.text+0x4b000): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4b038): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_113getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165705:(.text+0x4b072): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165705:(.text+0x4b084): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x4b0b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4b0c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4b0da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_109setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165494:(.text+0x4b120): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x4b130): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_109setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165496:(.text+0x4b19c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_108setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165544:(.text+0x4b1c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_105appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165312:(.text+0x4b224): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4b25c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_105appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165341:(.text+0x4b274): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165350:(.text+0x4b2a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_104appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165380:(.text+0x4b2ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_105appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165328:(.text+0x4b380): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_104appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165407:(.text+0x4b3ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165392:(.text+0x4b408): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_101setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165088:(.text+0x4b440): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x4b458): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4b48c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4b49e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x4b53e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_101setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165102:(.text+0x4b57c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165115:(.text+0x4b5ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165108:(.text+0x4b60e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165111:(.text+0x4b628): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4b674): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_97setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164875:(.text+0x4b68a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164875:(.text+0x4b69c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4b6e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4b6f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_97setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164915:(.text+0x4b70c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_96setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164954:(.text+0x4b764): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x4b788): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4b7a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_97setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164889:(.text+0x4b7c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164895:(.text+0x4b7d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164896:(.text+0x4b7e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164902:(.text+0x4b7f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_96setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164954:(.text+0x4b82a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164981:(.text+0x4b83e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_97setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164895:(.text+0x4b852): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164901:(.text+0x4b884): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164924:(.text+0x4b8ca): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4b936): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4b99e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_38setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158023:(.text+0x4b9b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4b9e0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4b9f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_39setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157958:(.text+0x4ba12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157971:(.text+0x4ba4c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157971:(.text+0x4ba5a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_38setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158023:(.text+0x4ba6a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_39setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157967:(.text+0x4baa6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157967:(.text+0x4baba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x4bad6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4bb08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4bba0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161620:(.text+0x4bbb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_70createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161692:(.text+0x4bc08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161702:(.text+0x4bc28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4bc54): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161634:(.text+0x4bc78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161605:(.text+0x4bc9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161624:(.text+0x4bcc4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x4bcf2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_70createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161667:(.text+0x4bd0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4bd2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4bd4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4bd88): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161581:(.text+0x4bd92): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161589:(.text+0x4bda6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161589:(.text+0x4bdac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161592:(.text+0x4bdb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161592:(.text+0x4bdca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161592:(.text+0x4bdd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161596:(.text+0x4bdda): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x4bdee): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4bdf8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_70createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161663:(.text+0x4bdfe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161664:(.text+0x4be12): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161749:(.text+0x4be30): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161624:(.text+0x4be44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161622:(.text+0x4be4a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4be5e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161584:(.text+0x4be74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161589:(.text+0x4bed8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161590:(.text+0x4bee2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161597:(.text+0x4bf28): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161602:(.text+0x4bf5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_47setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158532:(.text+0x4bfd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4bffc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_47setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158570:(.text+0x4c044): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158570:(.text+0x4c05a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_46setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158600:(.text+0x4c06c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4c0ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x4c0d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_47setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158541:(.text+0x4c0f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_46setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158627:(.text+0x4c14e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_47setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158541:(.text+0x4c172): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4c1aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x4c1c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4c1ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4c1de): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158275:(.text+0x4c20a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158304:(.text+0x4c224): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4c236): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4c258): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158315:(.text+0x4c26c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158315:(.text+0x4c282): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4c2c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x4c2d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158309:(.text+0x4c310): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158298:(.text+0x4c382): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158302:(.text+0x4c3ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196288:(.text+0x4c416): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196288:(.text+0x4c428): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4c43c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196328:(.text+0x4c490): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196367:(.text+0x4c4de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4c50a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4c51c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4c538): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x4c53e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196308:(.text+0x4c550): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196315:(.text+0x4c56e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196315:(.text+0x4c582): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196315:(.text+0x4c58a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196394:(.text+0x4c5c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196308:(.text+0x4c5c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196311:(.text+0x4c5dc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x4c664): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196193:(.text+0x4c690): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4c71e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196204:(.text+0x4c744): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4c782): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196190:(.text+0x4c7d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196190:(.text+0x4c7e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4c898): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196129:(.text+0x4c8c4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196141:(.text+0x4c952): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195933:(.text+0x4c978): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4c9b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196054:(.text+0x4ca08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196065:(.text+0x4ca1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195957:(.text+0x4cacc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x4caf8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196054:(.text+0x4cb86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195959:(.text+0x4cbac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195963:(.text+0x4cbea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195003:(.text+0x4cc3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x4cc4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_12setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195101:(.text+0x4cd00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x4cd2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195066:(.text+0x4cdba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4cde0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_12setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195183:(.text+0x4ce1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4ce70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_12setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195126:(.text+0x4ce82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195129:(.text+0x4cf34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195050:(.text+0x4cf60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4cfee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195050:(.text+0x4d014): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195036:(.text+0x4d052): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4d0a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4d0b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280577:(.text+0x4d168): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x4d194): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x4d222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4d248): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280567:(.text+0x4d286): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4d2d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x4d2ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x4d3c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x4d3d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4d3fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x4d408): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x4d4ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x4d4f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4d554): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x4d58c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280320:(.text+0x4d5a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x4d5d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x4d5ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4d6d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280317:(.text+0x4d6e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280374:(.text+0x4d714): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280374:(.text+0x4d71e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x4d7e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280351:(.text+0x4d810): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4d894): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x4d8ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280278:(.text+0x4d8b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280324:(.text+0x4d8dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4d948): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280278:(.text+0x4d95a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x4d9f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280071:(.text+0x4da22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4da90): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x4dadc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x4db02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4db16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280068:(.text+0x4db6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3TAO_ftol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417831:(.text+0x4dba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4dbae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x4dbc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4dc0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280105:(.text+0x4dcc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280064:(.text+0x4dcf2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x4dd5a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280026:(.text+0x4dd6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x4dd80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x4ddd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4de22): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194516:(.text+0x4de4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x4de60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4de7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4de82): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4de94): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194518:(.text+0x4deb4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194518:(.text+0x4dec8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194518:(.text+0x4ded0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194566:(.text+0x4df08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194517:(.text+0x4df0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_275getDeflationPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215545:(.text+0x4df22): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4dfaa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4dfd6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4e03e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_274getDeflationPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215623:(.text+0x4e050): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215623:(.text+0x4e064): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_272getDeflationCoarseKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215491:(.text+0x4e0b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4e106): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4e132): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_273getDeflationCoarseKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215453:(.text+0x4e144): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215453:(.text+0x4e160): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215452:(.text+0x4e166): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_272getDeflationCoarseKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215525:(.text+0x4e178): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4e198): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_272getDeflationCoarseKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215525:(.text+0x4e1ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215525:(.text+0x4e1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_261setDeflationReductionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214748:(.text+0x4e1ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214758:(.text+0x4e1f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214748:(.text+0x4e206): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4e2b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x4e2c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_261setDeflationReductionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214768:(.text+0x4e2f0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214782:(.text+0x4e2fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214775:(.text+0x4e3bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214797:(.text+0x4e3e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4e444): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_259setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214676:(.text+0x4e47c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214685:(.text+0x4e494): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x4e4c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_258setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214727:(.text+0x4e4da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214715:(.text+0x4e5a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_259setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214663:(.text+0x4e5d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212568:(.text+0x4e654): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212628:(.text+0x4e66e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212628:(.text+0x4e676): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212688:(.text+0x4e69c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212723:(.text+0x4e708): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4e71a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x4e7b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461227:(.text+0x4e7e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4e866): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212658:(.text+0x4e880): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212658:(.text+0x4e888): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212629:(.text+0x4e8ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4e91a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x4e92c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212725:(.text+0x4e9c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212869:(.text+0x4e9f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212600:(.text+0x4ea4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4ea84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4ea9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212603:(.text+0x4ead0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4eae2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212631:(.text+0x4eba8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4ebd4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461237:(.text+0x4ec30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212723:(.text+0x4ec68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4ec80): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x4ecb4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x4ecc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212600:(.text+0x4ed90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x4edbc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x4ee40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461385:(.text+0x4ee5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4ee62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212851:(.text+0x4ee88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461277:(.text+0x4eef4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461390:(.text+0x4ef06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212851:(.text+0x4ef9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212642:(.text+0x4efca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x4f026): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x4f05e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0x4f076): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461396:(.text+0x4f0aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_223setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212368:(.text+0x4f0bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212423:(.text+0x4f182): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_222setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212499:(.text+0x4f1ae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212531:(.text+0x4f20a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4f242): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_223setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212445:(.text+0x4f25a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4f28e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_222setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212486:(.text+0x4f2a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4f36a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_223setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212430:(.text+0x4f396): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212428:(.text+0x4f418): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_222setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212546:(.text+0x4f432): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212546:(.text+0x4f43a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4f45e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_223setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212391:(.text+0x4f4c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212396:(.text+0x4f4da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212410:(.text+0x4f552): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212445:(.text+0x4f58a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212218:(.text+0x4f5fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4f62e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212236:(.text+0x4f658): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x4f6a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_220setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212331:(.text+0x4f6f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212331:(.text+0x4f6fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4f72c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x4f79c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x4f7c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212196:(.text+0x4f84c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x4f866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x4f86e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_220setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212346:(.text+0x4f894): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212228:(.text+0x4f900): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_220setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212346:(.text+0x4f912): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x4f9aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212229:(.text+0x4f9d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212215:(.text+0x4fa1c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212215:(.text+0x4fa24): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212211:(.text+0x4fa40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x4fa56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x4fa68): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412497:(.text+0x4fa9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412572:(.text+0x4fada): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412614:(.text+0x4faec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x4fbb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x4fbde): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454670:(.text+0x4fc24): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454670:(.text+0x4fc2c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412730:(.text+0x4fc48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412720:(.text+0x4fc5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412739:(.text+0x4fc70): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412747:(.text+0x4fca4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0x4fce2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412743:(.text+0x4fcf4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412581:(.text+0x4fdf6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454680:(.text+0x4fe48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454683:(.text+0x4fe5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412541:(.text+0x4fe6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412559:(.text+0x4fe9a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454698:(.text+0x4fea4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x4ff78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x4ff94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x4ffe2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x5000e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412747:(.text+0x50092): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454679:(.text+0x500ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454679:(.text+0x500b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412542:(.text+0x500da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412695:(.text+0x50146): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x50158): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412504:(.text+0x501f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x50220): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412695:(.text+0x502a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412763:(.text+0x502be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412502:(.text+0x502c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412768:(.text+0x502ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412777:(.text+0x50358): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401149:(.text+0x5036a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401252:(.text+0x50408): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x50434): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x5043e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401184:(.text+0x504e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401200:(.text+0x5050c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401228:(.text+0x50590): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x505aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401307:(.text+0x505b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x505d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x50644): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401224:(.text+0x50656): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x506f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401252:(.text+0x5071e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401200:(.text+0x507a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410894:(.text+0x507bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410906:(.text+0x507c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410986:(.text+0x507ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410932:(.text+0x50856): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410941:(.text+0x50868): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410928:(.text+0x50900): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410934:(.text+0x5092c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x50988): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memslice_transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408455:(.text+0x509c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408507:(.text+0x509d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408516:(.text+0x50a0c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408550:(.text+0x50a1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0x50abc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410855:(.text+0x50b3c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410876:(.text+0x50b6c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410852:(.text+0x50c08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x50c10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x50c18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x50c5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410855:(.text+0x50c84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410852:(.text+0x50cb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x50cf4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410748:(.text+0x50dc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x50df2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410777:(.text+0x50e62): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410793:(.text+0x50e78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411565:(.text+0x50eaa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411565:(.text+0x50ebc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411573:(.text+0x50ef8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411573:(.text+0x50f0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411194:(.text+0x50f1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_get_array_memory_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449900:(.text+0x50f44): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411244:(.text+0x50f92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411244:(.text+0x50fa4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410772:(.text+0x50fd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5100a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/include/python3.11/object.h:538:(.text+0x51012): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x51026): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/include/python3.11/object.h:601:(.text+0x5109a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411089:(.text+0x510ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_get_array_memory_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449901:(.text+0x510d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449901:(.text+0x510dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_slices_overlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449925:(.text+0x51108): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411273:(.text+0x51112): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411283:(.text+0x5119c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_data_to_temp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410519:(.text+0x511e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410577:(.text+0x51216): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_fill_contig_strides_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410431:(.text+0x5128c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449887:(.text+0x51304): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411311:(.text+0x51352): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411311:(.text+0x51364): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411339:(.text+0x51398): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449875:(.text+0x513ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `copy_strided_to_strided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410252:(.text+0x51456): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410252:(.text+0x5145e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411539:(.text+0x51466): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410746:(.text+0x5147e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x51486): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411494:(.text+0x514c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice_with_gil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411760:(.text+0x514cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411749:(.text+0x514e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `copy_strided_to_strided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410252:(.text+0x51502): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411814:(.text+0x51528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411803:(.text+0x51554): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x51566): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411301:(.text+0x51572): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x51584): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411378:(.text+0x515be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411349:(.text+0x51604): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411349:(.text+0x51622): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_fill_contig_strides_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410391:(.text+0x516fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_data_to_temp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410702:(.text+0x5170e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410704:(.text+0x5173a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410706:(.text+0x51744): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_new_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450826:(.text+0x51842): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450838:(.text+0x51894): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450839:(.text+0x518a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450884:(.text+0x518ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450885:(.text+0x518e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450885:(.text+0x518f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450859:(.text+0x519c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450869:(.text+0x519e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450871:(.text+0x51a08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450871:(.text+0x51a50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x51a82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x51ad4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/object.h:601:(.text+0x51b50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403240:(.text+0x51ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403264:(.text+0x51bba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403264:(.text+0x51bc0): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403274:(.text+0x51bd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403274:(.text+0x51be0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450970:(.text+0x51c28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450970:(.text+0x51c30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x51c36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x51c3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450970:(.text+0x51c6a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450986:(.text+0x51ca0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0x51d0c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0x51d44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0x51d7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403311:(.text+0x51d90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403320:(.text+0x51dbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403320:(.text+0x51dd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403289:(.text+0x51de6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450972:(.text+0x51e2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450977:(.text+0x51e3c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0x51e86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x51ece): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403264:(.text+0x51f00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403273:(.text+0x51f52): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403274:(.text+0x51fce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x52026): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x52038): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x5203e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403287:(.text+0x52056): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403287:(.text+0x5205e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x520a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0x520ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0x520b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0x520bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x520e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451068:(.text+0x5211e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5218a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403289:(.text+0x521c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451068:(.text+0x521fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451068:(.text+0x5220e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423353:(.text+0x5223c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405230:(.text+0x5224e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405239:(.text+0x52264): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x522aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405264:(.text+0x522ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5232a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x52356): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408976:(.text+0x523da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408977:(.text+0x523f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408977:(.text+0x523fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x52422): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x5248e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409032:(.text+0x524a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409065:(.text+0x5253c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409066:(.text+0x52568): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409253:(.text+0x525ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x52606): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409265:(.text+0x5260e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409267:(.text+0x52634): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409265:(.text+0x526a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409317:(.text+0x526b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409270:(.text+0x5272a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408950:(.text+0x52806): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409317:(.text+0x5281e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409317:(.text+0x5282a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x52870): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x528fa): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464730:(.text+0x5290c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409019:(.text+0x5292e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409291:(.text+0x529ec): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409270:(.text+0x52a04): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409270:(.text+0x52a10): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_object_from_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409646:(.text+0x52a32): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409667:(.text+0x52a6a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409717:(.text+0x52a88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409717:(.text+0x52a90): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409688:(.text+0x52af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409734:(.text+0x52b04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409734:(.text+0x52b0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409739:(.text+0x52b1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_T': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423321:(.text+0x52b20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423321:(.text+0x52b36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409591:(.text+0x52b5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404574:(.text+0x52b64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404585:(.text+0x52b6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404596:(.text+0x52b7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_T': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423323:(.text+0x52b9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409608:(.text+0x52bce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x52bf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x52c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x52c1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x52c28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x52c30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x52c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x52cb2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404610:(.text+0x52ce4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405853:(.text+0x52d10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405853:(.text+0x52d1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405853:(.text+0x52d2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405882:(.text+0x52d32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405853:(.text+0x52d3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405892:(.text+0x52d7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405892:(.text+0x52d94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405902:(.text+0x52dc8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405925:(.text+0x52df2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405924:(.text+0x52e24): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_fortran': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405851:(.text+0x52e36): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405796:(.text+0x52e9e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405797:(.text+0x52ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405797:(.text+0x52ed8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405830:(.text+0x52f00): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405830:(.text+0x52f16): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405824:(.text+0x52f2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405824:(.text+0x52f32): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405830:(.text+0x52f44): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211968:(.text+0x52f84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211980:(.text+0x52f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211983:(.text+0x52fa6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x52fee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x52ffa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212036:(.text+0x5300e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212036:(.text+0x5301a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x53038): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x53040): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_218setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212099:(.text+0x53054): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x5305c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x53062): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x53074): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x530ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212045:(.text+0x53112): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x53144): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x53196): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212003:(.text+0x53212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_218setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212146:(.text+0x5326a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212146:(.text+0x5327c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212146:(.text+0x53282): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212147:(.text+0x5329a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211991:(.text+0x532a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_218setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212146:(.text+0x532ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212146:(.text+0x532f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212146:(.text+0x532f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x53300): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_218setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212146:(.text+0x5332c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x53362): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212015:(.text+0x533ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212011:(.text+0x53406): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212045:(.text+0x53440): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211768:(.text+0x53452): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211781:(.text+0x53480): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x53492): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211818:(.text+0x534a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211836:(.text+0x534ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211836:(.text+0x534fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x53548): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_216setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211920:(.text+0x53590): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211942:(.text+0x535c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x53614): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x53690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211786:(.text+0x536e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211796:(.text+0x536fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x53700): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x53718): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x53720): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_216setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211946:(.text+0x53768): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211946:(.text+0x53770): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211946:(.text+0x53776): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211946:(.text+0x5377e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211814:(.text+0x537aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_216setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211946:(.text+0x537e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x5384c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211829:(.text+0x53884): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211815:(.text+0x538be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211815:(.text+0x538d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x538fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x53910): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211845:(.text+0x53926): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_199setBDDCLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210277:(.text+0x5396c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5397c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_198setBDDCLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210317:(.text+0x539ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x53a16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_199setBDDCLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210271:(.text+0x53aa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x53aca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_199setBDDCLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210275:(.text+0x53b08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_197setBDDCCoarseningRatio': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210136:(.text+0x53b5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210136:(.text+0x53b6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x53c1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_197setBDDCCoarseningRatio': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210150:(.text+0x53c4a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210159:(.text+0x53cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210163:(.text+0x53d00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209794:(.text+0x53d64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x53d9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209834:(.text+0x53db0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_190setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209883:(.text+0x53e52): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209904:(.text+0x53e7e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x53f02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x53f1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209810:(.text+0x53f24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209821:(.text+0x53f4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x53fb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x53fc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x54042): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209818:(.text+0x5407a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209831:(.text+0x540ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x5411e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209863:(.text+0x54148): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209603:(.text+0x54198): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209668:(.text+0x541e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209687:(.text+0x541ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x5421c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x5428c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_188setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209761:(.text+0x542b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x5433c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453019:(.text+0x54356): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209625:(.text+0x5435e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209628:(.text+0x54384): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209683:(.text+0x543f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x54402): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_188setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209775:(.text+0x544c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x544d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x544fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x54508): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209620:(.text+0x545ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209640:(.text+0x5460a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209656:(.text+0x54680): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x546fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x5475e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x54772): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x54782): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209634:(.text+0x547b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x547be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x547c6): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x547de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x547e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x547ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209697:(.text+0x547f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209416:(.text+0x547fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x54812): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209416:(.text+0x54830): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209466:(.text+0x54862): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5488c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x549c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x549f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209444:(.text+0x54a24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209444:(.text+0x54a2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209488:(.text+0x54a54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209489:(.text+0x54a72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_186setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209570:(.text+0x54a8e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x54aaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x54b54): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209457:(.text+0x54b9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209463:(.text+0x54c40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209459:(.text+0x54c70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_177setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208785:(.text+0x54d10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x54d42): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x54d64): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_177setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208825:(.text+0x54d7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208825:(.text+0x54d8c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_176setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208854:(.text+0x54dec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461041:(.text+0x54e18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x54e30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x54e36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461037:(.text+0x54e4a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_177setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208805:(.text+0x54e58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208811:(.text+0x54e64): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_176setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208854:(.text+0x54e70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208854:(.text+0x54e78): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208878:(.text+0x54e8c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x54e9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_177setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208805:(.text+0x54ee4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_175getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208676:(.text+0x550a0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_174getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208709:(.text+0x550ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_175getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208665:(.text+0x55194): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_174getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208765:(.text+0x551c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x55282): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x552b4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x552d6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x552ec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x552fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_173getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208517:(.text+0x553f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_172getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208618:(.text+0x55444): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208618:(.text+0x5545c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208618:(.text+0x55464): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208618:(.text+0x55478): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_173getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208511:(.text+0x55486): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208514:(.text+0x55492): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208514:(.text+0x5549c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208514:(.text+0x554b0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208517:(.text+0x554b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_172getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208618:(.text+0x554cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x55512): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x558a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x558b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_169getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208217:(.text+0x558de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208223:(.text+0x558e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208220:(.text+0x55990): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_168getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208324:(.text+0x559cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x559ec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_169getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208246:(.text+0x55a14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_165getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207922:(.text+0x55a3e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x55a5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x55a6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_164getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207993:(.text+0x55ade): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208003:(.text+0x55afc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208015:(.text+0x55b0e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x55b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_165getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207936:(.text+0x55b46): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207942:(.text+0x55b5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207956:(.text+0x55b68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207949:(.text+0x55b72): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207949:(.text+0x55b88): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207949:(.text+0x55b9a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_164getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207993:(.text+0x55ba4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208049:(.text+0x55bbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208049:(.text+0x55bc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208049:(.text+0x55bec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x55bf2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_165getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207945:(.text+0x55c04): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_164getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208049:(.text+0x55c54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x55c72): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_161getMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207647:(.text+0x55c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207647:(.text+0x55cac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207647:(.text+0x55cbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x55ccc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_161getMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207676:(.text+0x55cd4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x55ce8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x55cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x55d08): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_160getMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207718:(.text+0x55d56): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207718:(.text+0x55d62): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207728:(.text+0x55d76): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207740:(.text+0x55d88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x55d9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_161getMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207674:(.text+0x55e0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207674:(.text+0x55e10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207670:(.text+0x55e8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x55eb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_157getMGCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207421:(.text+0x55f14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_156getMGCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207465:(.text+0x55f4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x55f64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_157getMGCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207433:(.text+0x55f98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x55faa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_155setMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207309:(.text+0x56072): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207320:(.text+0x5609e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207358:(.text+0x5610e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207358:(.text+0x56124): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x56156): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_155setMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207323:(.text+0x56168): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_154setMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207378:(.text+0x561a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207402:(.text+0x561b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207402:(.text+0x561ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_155setMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207332:(.text+0x561f0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207336:(.text+0x5623e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207336:(.text+0x56250): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207358:(.text+0x56282): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_146getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206957:(.text+0x562ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206969:(.text+0x562c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x562d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_147getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206931:(.text+0x5635c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_146getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207003:(.text+0x56388): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_145addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206799:(.text+0x563e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5641c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x56434): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_145addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206839:(.text+0x56468): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206839:(.text+0x5647a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206820:(.text+0x56540): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206826:(.text+0x5656c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206822:(.text+0x565c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_144addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206890:(.text+0x56600): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x56618): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_143getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206647:(.text+0x5664c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x5665e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x56724): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x56750): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x567bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_143getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206674:(.text+0x567f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_142getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778:(.text+0x5680c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778:(.text+0x56840): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x56852): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_142getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778:(.text+0x56904): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778:(.text+0x56924): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x56940): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x56946): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_141setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206535:(.text+0x56972): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206535:(.text+0x5697c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206584:(.text+0x56a0a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460297:(.text+0x56a52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_140setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206614:(.text+0x56a68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_141setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206549:(.text+0x56aae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_140setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206604:(.text+0x56ade): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x56b08): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460405:(.text+0x56b2a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x56b40): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_141setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206558:(.text+0x56b52): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460297:(.text+0x56b88): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460414:(.text+0x56bde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_141setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206562:(.text+0x56c22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x56c28): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x56c3c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460404:(.text+0x56c4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x56c56): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x56c7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x56c82): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_127setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205231:(.text+0x56c96): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205231:(.text+0x56ca8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205231:(.text+0x56cc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205271:(.text+0x56d16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460247:(.text+0x56d5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_126setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205300:(.text+0x56d90): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_127setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205251:(.text+0x56df4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_126setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205324:(.text+0x56e32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_127setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205254:(.text+0x56e9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460414:(.text+0x56f02): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x56f7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x56f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_127setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205280:(.text+0x56fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x56fc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_124getFactorMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205177:(.text+0x5700a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x57040): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_125getFactorMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205145:(.text+0x5704a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x57076): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x57080): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_125getFactorMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205139:(.text+0x57092): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205139:(.text+0x570b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_124getFactorMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205211:(.text+0x570f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205211:(.text+0x570fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205211:(.text+0x57100): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5711c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x57124): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x57154): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x57170): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5717c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x57194): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_123setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205061:(.text+0x571c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_122setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205112:(.text+0x57214): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205090:(.text+0x57260): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5731e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x57330): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_111setFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204041:(.text+0x5735c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204031:(.text+0x57366): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204080:(.text+0x573ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x57432): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x57464): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_111setFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204058:(.text+0x574b6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204054:(.text+0x57532): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204080:(.text+0x5758a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x5759c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_95setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202640:(.text+0x575a2): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202640:(.text+0x575ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202651:(.text+0x575c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202678:(.text+0x5760a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202680:(.text+0x57612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202680:(.text+0x57618): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202680:(.text+0x57620): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202689:(.text+0x5764c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_94setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202731:(.text+0x57682): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_95setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202666:(.text+0x576ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202667:(.text+0x57726): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202660:(.text+0x57760): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202663:(.text+0x57772): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_94setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202731:(.text+0x577a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x577b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x577c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_91setGAMGSmooths': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202470:(.text+0x5780e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5781e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_90setGAMGSmooths': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202510:(.text+0x578a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x578b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_91setGAMGSmooths': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202461:(.text+0x578de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202461:(.text+0x578e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202464:(.text+0x5796c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202468:(.text+0x579b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202490:(.text+0x579e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x57a3c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_88setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202398:(.text+0x57ab6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_89setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202363:(.text+0x57b10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_88setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202398:(.text+0x57b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_89setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202352:(.text+0x57b66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202352:(.text+0x57b6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202352:(.text+0x57b76): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x57b8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x57b92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_88setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202408:(.text+0x57b98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202408:(.text+0x57ba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_89setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202356:(.text+0x57bb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x57bec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_87setGAMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202213:(.text+0x57c22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202243:(.text+0x57c8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202252:(.text+0x57cb2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202252:(.text+0x57cc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_86setGAMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202282:(.text+0x57cd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202282:(.text+0x57ce2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x57d28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x57d3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_87setGAMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202230:(.text+0x57d84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202230:(.text+0x57d94): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202226:(.text+0x57df4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x57e3c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_85setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202091:(.text+0x57e6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202129:(.text+0x57ec6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x57f3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_84setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202184:(.text+0x57f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202184:(.text+0x57fac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_85setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202111:(.text+0x57fbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x57fee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x5803a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x58042): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5804a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_85setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202140:(.text+0x58060): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_73setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200931:(.text+0x58068): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200931:(.text+0x5806e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200931:(.text+0x58074): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200931:(.text+0x5807c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x580ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_72setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201000:(.text+0x58124): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_73setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200965:(.text+0x58190): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_72setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201000:(.text+0x581a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201024:(.text+0x581b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201024:(.text+0x581c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_73setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200954:(.text+0x581f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5820c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x58266): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x58276): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_67setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200606:(.text+0x58298): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x582d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_67setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200646:(.text+0x58318): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_66setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200685:(.text+0x5834a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x583a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_66setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200685:(.text+0x5841c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_67setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200632:(.text+0x58478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5848a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x5849a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:770:(.text+0x584ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197382:(.text+0x5851a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197382:(.text+0x58522): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197382:(.text+0x5852a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x58540): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x58548): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x5854e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x58554): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x5855c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5858c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197306:(.text+0x58604): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197336:(.text+0x58674): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197336:(.text+0x58688): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197336:(.text+0x58694): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197327:(.text+0x586a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197401:(.text+0x586d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197331:(.text+0x586f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x5874c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5875c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5877e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197494:(.text+0x587b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197533:(.text+0x587fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x58830): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197481:(.text+0x5889c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197477:(.text+0x58916): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198592:(.text+0x58972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198602:(.text+0x58984): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198632:(.text+0x58a00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198641:(.text+0x58a08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198641:(.text+0x58a10): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x58a28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x58a30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_30setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198698:(.text+0x58a5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x58a68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x58a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_30setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198671:(.text+0x58a84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198612:(.text+0x58aa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x58b30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_30setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198698:(.text+0x58b42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198619:(.text+0x58b74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x58b88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198641:(.text+0x58b9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_27setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198366:(.text+0x58bb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198404:(.text+0x58c1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x58caa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_27setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198380:(.text+0x58cd6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198389:(.text+0x58d46): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198389:(.text+0x58d5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198393:(.text+0x58d8e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198393:(.text+0x58da0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_25getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198245:(.text+0x58ddc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x58dee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_25getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198251:(.text+0x58e02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_24getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198282:(.text+0x58e28): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198322:(.text+0x58e76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x58e88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_25getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198257:(.text+0x58eb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198257:(.text+0x58eee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x58ef6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x58f0a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_24getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198345:(.text+0x58fb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198345:(.text+0x58fc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198345:(.text+0x58ff4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198345:(.text+0x58ffe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x590c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197922:(.text+0x590ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5917c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197895:(.text+0x591a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197907:(.text+0x591e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197903:(.text+0x59232): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197903:(.text+0x59244): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x592f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197707:(.text+0x59322): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x593b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x593d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197694:(.text+0x59414): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197687:(.text+0x59466): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197690:(.text+0x59478): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197236:(.text+0x5952a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x59556): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225021:(.text+0x595e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225021:(.text+0x5960a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x59648): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225070:(.text+0x5969a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x596ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_146setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225127:(.text+0x59782): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225127:(.text+0x59794): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225044:(.text+0x597c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225044:(.text+0x597ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5988e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216354:(.text+0x598ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x59948): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216329:(.text+0x5996e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216341:(.text+0x599ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216337:(.text+0x599fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216337:(.text+0x59a10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x59ac2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_139setGMRESRestart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224564:(.text+0x59aee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224539:(.text+0x59b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_138setGMRESRestart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224593:(.text+0x59ba2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_139setGMRESRestart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224547:(.text+0x59be0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224551:(.text+0x59c32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224551:(.text+0x59c44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_131buildSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223905:(.text+0x59cf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223870:(.text+0x59d22): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223915:(.text+0x59db0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x59dd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x59e14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_131buildSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223876:(.text+0x59e66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223895:(.text+0x59e78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x59f2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_131buildSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223885:(.text+0x59f56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220241:(.text+0x59fe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5a00a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220270:(.text+0x5a048): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_68setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220298:(.text+0x5a09a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220299:(.text+0x5a0ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220250:(.text+0x5a170): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461973:(.text+0x5a1ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_68setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220313:(.text+0x5a1d0): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220250:(.text+0x5a1ee): undefined reference to `PySet_Contains' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220253:(.text+0x5a204): undefined reference to `PyLong_FromVoidPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_68setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220299:(.text+0x5a230): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220257:(.text+0x5a25c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220257:(.text+0x5a266): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5a2ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5a2b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x5a2d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x5a2da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_65monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220019:(.text+0x5a2ec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5a386): undefined reference to `PySet_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5a394): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_65monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220024:(.text+0x5a39a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220025:(.text+0x5a3a4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220025:(.text+0x5a3ae): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220025:(.text+0x5a3b6): undefined reference to `PyFrozenSet_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220024:(.text+0x5a3c4): undefined reference to `PyFrozenSet_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_64monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220076:(.text+0x5a3d6): undefined reference to `PySet_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220076:(.text+0x5a3de): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_65monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220024:(.text+0x5a3ee): undefined reference to `PySet_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218723:(.text+0x5a468): undefined reference to `PyFrozenSet_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218758:(.text+0x5a47e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x5a494): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5a4a2): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_48setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218879:(.text+0x5a536): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x5a562): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5a5cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218785:(.text+0x5a5dc): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218785:(.text+0x5a5f4): undefined reference to `PySet_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x5a62e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_48setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218969:(.text+0x5a63c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5a680): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218758:(.text+0x5a688): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x5a69a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_48setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218932:(.text+0x5a6b0): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218941:(.text+0x5a6ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5a720): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_48setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218865:(.text+0x5a73c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5a74e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218731:(.text+0x5a7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218731:(.text+0x5a848): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218736:(.text+0x5a874): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218755:(.text+0x5a8f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218750:(.text+0x5a912): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218751:(.text+0x5a91a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x5a940): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218785:(.text+0x5a9ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_43getPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218252:(.text+0x5a9be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5aa5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_43getPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218258:(.text+0x5aa86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5ab0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5ab24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x5ab2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_38getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218059:(.text+0x5ab52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5abbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x5abd0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_39getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218032:(.text+0x5ac6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_38getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218126:(.text+0x5ac96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218126:(.text+0x5aca0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_39getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218026:(.text+0x5ad20): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218031:(.text+0x5ad68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5ad7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217662:(.text+0x5adc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5adf4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5ae1e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217718:(.text+0x5ae40): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217701:(.text+0x5ae56): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5ae68): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x5ae9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_34setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217813:(.text+0x5aef4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217727:(.text+0x5af38): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217727:(.text+0x5af3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217727:(.text+0x5af52): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5af60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x5af6c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x5af90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x5af98): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217703:(.text+0x5afac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x5afbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5afd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_34setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217754:(.text+0x5b052): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217828:(.text+0x5b07e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217828:(.text+0x5b102): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217828:(.text+0x5b11c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217828:(.text+0x5b124): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217828:(.text+0x5b14a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217678:(.text+0x5b1b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217711:(.text+0x5b1c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5b242): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217450:(.text+0x5b27a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x5b2ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217516:(.text+0x5b31e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217505:(.text+0x5b348): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_32setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217602:(.text+0x5b398): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217613:(.text+0x5b3e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217624:(.text+0x5b3ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217527:(.text+0x5b41c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5b48c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_32setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217554:(.text+0x5b4b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217554:(.text+0x5b53c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5b556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217512:(.text+0x5b55e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_32setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217628:(.text+0x5b584): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217628:(.text+0x5b5f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217628:(.text+0x5b602): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217473:(.text+0x5b69a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217486:(.text+0x5b6c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217493:(.text+0x5b722): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217527:(.text+0x5b75a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216740:(.text+0x5b772): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5b7a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5b7b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_18appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216831:(.text+0x5b85e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216819:(.text+0x5b902): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216831:(.text+0x5b97e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5b9f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5ba0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216567:(.text+0x5ba2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216567:(.text+0x5ba34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216567:(.text+0x5ba3c): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216576:(.text+0x5ba54): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216576:(.text+0x5ba66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_14setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216606:(.text+0x5ba86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5bab8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5bae0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216547:(.text+0x5bb00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216554:(.text+0x5bb1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216554:(.text+0x5bb22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216576:(.text+0x5bbf2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243907:(.text+0x5bc08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x5bc42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243967:(.text+0x5bc58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5bc72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244027:(.text+0x5bc88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5bcb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x5bd14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x5bd2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244135:(.text+0x5bd62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244179:(.text+0x5bdb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5be5c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x5bed8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x5bf52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244126:(.text+0x5bf64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5bf86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244044:(.text+0x5bf8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5bf96): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244064:(.text+0x5bfae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5bfc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244208:(.text+0x5bfe0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5c012): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243934:(.text+0x5c03a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5c05a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x5c074): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5c07c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5c14c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5c162): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243967:(.text+0x5c19c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x5c1b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243927:(.text+0x5c1cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5c1e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244057:(.text+0x5c20a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5c26e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x5c288): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244135:(.text+0x5c2bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243934:(.text+0x5c36a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243939:(.text+0x5c37c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x5c3be): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244104:(.text+0x5c3d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244208:(.text+0x5c410): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x5c43c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461385:(.text+0x5c446): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5c490): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461390:(.text+0x5c4ea): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243948:(.text+0x5c54c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243981:(.text+0x5c5b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x5c5e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x5c612): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x5c636): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x5c64c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x5c65e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0x5c668): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243707:(.text+0x5c6ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x5c6ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5c728): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243760:(.text+0x5c768): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5c770): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243810:(.text+0x5c784): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243838:(.text+0x5c790): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5c7a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5c7ec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243870:(.text+0x5c800): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243870:(.text+0x5c806): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5c8a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x5c8b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243811:(.text+0x5c8de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5c8e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243769:(.text+0x5c986): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243885:(.text+0x5c9ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243753:(.text+0x5ca00): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243885:(.text+0x5ca58): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243767:(.text+0x5cad0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243754:(.text+0x5cb2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243749:(.text+0x5cb3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5cb4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243784:(.text+0x5cb80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x5cbcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5cbd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243557:(.text+0x5cbdc): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5cbf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x5cbfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x5cc00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5cc06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5cc0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243575:(.text+0x5cc3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x5ccb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5cd26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243584:(.text+0x5cd3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243584:(.text+0x5cd46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5cd58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x5cd88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243560:(.text+0x5cda2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5cdfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5ce0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243530:(.text+0x5ce30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5ce68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_228setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243685:(.text+0x5ceb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243535:(.text+0x5cee2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_228setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243685:(.text+0x5cf3a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243535:(.text+0x5cfb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243554:(.text+0x5d00e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243549:(.text+0x5d020): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243550:(.text+0x5d030): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243584:(.text+0x5d062): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_221getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242694:(.text+0x5d0ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5d0b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5d0be): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5d0d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5d0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5d0e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_221getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242703:(.text+0x5d0e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242705:(.text+0x5d0f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242714:(.text+0x5d120): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242679:(.text+0x5d198): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_220getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242792:(.text+0x5d208): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242792:(.text+0x5d21c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242792:(.text+0x5d228): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242792:(.text+0x5d23a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_221getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242688:(.text+0x5d26a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242691:(.text+0x5d284): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5d2e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_217getCompositeSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242431:(.text+0x5d2f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242431:(.text+0x5d312): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242480:(.text+0x5d394): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242480:(.text+0x5d3a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_216getCompositeSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242514:(.text+0x5d3d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242524:(.text+0x5d3dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242558:(.text+0x5d484): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242558:(.text+0x5d4ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242558:(.text+0x5d4c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5d4ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_217getCompositeSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242454:(.text+0x5d4fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242454:(.text+0x5d504): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x5d592): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_213setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242256:(.text+0x5d5da): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242258:(.text+0x5d5f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_212setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242288:(.text+0x5d636): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5d666): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5d690): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_213setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242233:(.text+0x5d6b2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242252:(.text+0x5d6c8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242245:(.text+0x5d6da): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_212setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242324:(.text+0x5d710): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5d766): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228292:(.text+0x5d7aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228292:(.text+0x5d7b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228292:(.text+0x5d7c4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228303:(.text+0x5d7d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x5d7de): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228368:(.text+0x5d802): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228368:(.text+0x5d80a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228387:(.text+0x5d81e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x5d830): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228397:(.text+0x5d84a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5d8c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228292:(.text+0x5d8ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228314:(.text+0x5d948): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228322:(.text+0x5d980): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228313:(.text+0x5d998): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228317:(.text+0x5d9cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228318:(.text+0x5d9de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228480:(.text+0x5daa4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5dad0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5db2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228460:(.text+0x5db64): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228467:(.text+0x5db7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228519:(.text+0x5dbb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228546:(.text+0x5dbc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_204getVIInactiveSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241767:(.text+0x5dc88): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5dcb4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5dd10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_204getVIInactiveSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241813:(.text+0x5dd48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241813:(.text+0x5dd60): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241813:(.text+0x5dd94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5dda6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233676:(.text+0x5de6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233748:(.text+0x5de98): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233821:(.text+0x5def4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5df2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5df44): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233686:(.text+0x5df78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233686:(.text+0x5df8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5e076): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5e088): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5e0b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233669:(.text+0x5e0be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5e1a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233748:(.text+0x5e1b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233869:(.text+0x5e1e4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233821:(.text+0x5e1ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233627:(.text+0x5e2ec): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233640:(.text+0x5e33e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233644:(.text+0x5e350): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233644:(.text+0x5e364): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5e390): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233832:(.text+0x5e39a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseFDColoring': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:536:(.text+0x5e46e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:545:(.text+0x5e48a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_199setUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241457:(.text+0x5e52e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseFDColoring': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:552:(.text+0x5e59c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:556:(.text+0x5e5b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:557:(.text+0x5e5c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:558:(.text+0x5e5de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_199setUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241468:(.text+0x5e60a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241468:(.text+0x5e614): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241461:(.text+0x5e6b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x5e6d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_199setUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241453:(.text+0x5e712): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241438:(.text+0x5e796): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x5e80e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x5e820): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseFDColoring': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:557:(.text+0x5e834): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x5e860): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseFDColoring': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:558:(.text+0x5e86a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:550:(.text+0x5e902): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:552:(.text+0x5e942): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:556:(.text+0x5e99e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x5ea14): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:483:(.text+0x5ea92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5eaf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5eb06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241254:(.text+0x5eb16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:489:(.text+0x5eb4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:489:(.text+0x5eb52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:489:(.text+0x5eb5a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:490:(.text+0x5eb72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:490:(.text+0x5eb7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:491:(.text+0x5eb82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:495:(.text+0x5eb8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:495:(.text+0x5eb92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:496:(.text+0x5eba6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:502:(.text+0x5ebc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_194setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241305:(.text+0x5ebf6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241208:(.text+0x5ec20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:507:(.text+0x5ed5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x5ed86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_194setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241307:(.text+0x5edb8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241307:(.text+0x5edc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241237:(.text+0x5ede8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x5ee06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241229:(.text+0x5ee22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241208:(.text+0x5ee3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x5eee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:497:(.text+0x5ef8a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:488:(.text+0x5f006): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x5f080): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:492:(.text+0x5f092): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:492:(.text+0x5f0b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5f0bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:495:(.text+0x5f0c4): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:495:(.text+0x5f0dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x5f0ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:505:(.text+0x5f10e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:504:(.text+0x5f140): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:503:(.text+0x5f168): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:503:(.text+0x5f188): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:502:(.text+0x5f1a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:502:(.text+0x5f1aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_184getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240306:(.text+0x5f27a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x5f290): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5f2ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5f2e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_185getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240268:(.text+0x5f2fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240268:(.text+0x5f310): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_184getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240340:(.text+0x5f338): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_187setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240360:(.text+0x5f39c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240360:(.text+0x5f3b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240381:(.text+0x5f3ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5f4ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x5f528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x5f542): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x5f554): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x5f56a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_187setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240373:(.text+0x5f596): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x5f5a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x5f64a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x5f662): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_186setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240513:(.text+0x5f6a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x5f72c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x5f7a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5f7b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_186setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240487:(.text+0x5f7ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x5f7f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_186setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240491:(.text+0x5f800): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_187setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240422:(.text+0x5f898): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x5f8d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5f978): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x5f9f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_162setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239254:(.text+0x5fa6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_163setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239181:(.text+0x5fa80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239184:(.text+0x5faa2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239184:(.text+0x5faaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239184:(.text+0x5fab2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_162setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239240:(.text+0x5faca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_163setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239188:(.text+0x5fadc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239188:(.text+0x5fafc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239210:(.text+0x5fb2e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238752:(.text+0x5fb56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5fb76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5fb90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x5fb98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456089:(.text+0x5fc68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456186:(.text+0x5fc7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238766:(.text+0x5fcb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456143:(.text+0x5fcce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238767:(.text+0x5fce8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238786:(.text+0x5fcfe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456181:(.text+0x5fd26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238775:(.text+0x5fd8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5fda4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238779:(.text+0x5fdd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x5fe32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_143setMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238164:(.text+0x5fe8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238204:(.text+0x5ff04): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238184:(.text+0x5ff82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238187:(.text+0x5ffe2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238187:(.text+0x5fff6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238187:(.text+0x60006): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238191:(.text+0x6003a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238191:(.text+0x60042): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238191:(.text+0x6004a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x60062): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6006a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x60072): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6007a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_143setMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238213:(.text+0x60082): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_137setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237878:(.text+0x60096): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237878:(.text+0x600b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x600e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_137setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237918:(.text+0x60110): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237905:(.text+0x6024a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x60276): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_131setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237552:(.text+0x602a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237552:(.text+0x602b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237581:(.text+0x602d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x602f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x60312): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_131setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237592:(.text+0x6032e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237586:(.text+0x603d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237579:(.text+0x6047a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_126monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237381:(.text+0x604f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x60570): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_127monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237347:(.text+0x60582): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_126monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237381:(.text+0x605a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237381:(.text+0x605ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237398:(.text+0x605b4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_127monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237346:(.text+0x605cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_126monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237372:(.text+0x605de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_121setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236885:(.text+0x605fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x60630): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x60658): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_120setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236970:(.text+0x60678): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_121setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236940:(.text+0x60692): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236940:(.text+0x6069a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x6076a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x60780): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x607ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x607d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_120setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236984:(.text+0x607ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_121setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236933:(.text+0x60800): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236915:(.text+0x60828): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236906:(.text+0x6088c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x608a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x608da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x609aa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_109setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235821:(.text+0x60a18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235809:(.text+0x60a32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x60a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235855:(.text+0x60a5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x60a86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235876:(.text+0x60a90): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235925:(.text+0x60b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x60b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x60b98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x60c1c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x60c94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x60ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_109setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235771:(.text+0x60cba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235788:(.text+0x60ce6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235813:(.text+0x60cf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x60d88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x60dc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_109setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235794:(.text+0x60e24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235790:(.text+0x60e9a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236041:(.text+0x60f18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236024:(.text+0x60f78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235979:(.text+0x60f8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235979:(.text+0x60f9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_97getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234973:(.text+0x60fd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_96getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235001:(.text+0x60fd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235001:(.text+0x60fe0): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235010:(.text+0x60ff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x61000): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_97getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234981:(.text+0x61008): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x61010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_97getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234981:(.text+0x61018): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6102c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6104a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_97getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234975:(.text+0x6107c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_96getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235038:(.text+0x610a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x611de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6120a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_94setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234932:(.text+0x6123c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x61246): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6126c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_95setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234846:(.text+0x6128a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x612a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x612c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_95setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234787:(.text+0x61368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_94setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x6140c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x61488): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_95setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234797:(.text+0x61502): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234830:(.text+0x61514): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234806:(.text+0x61536): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234816:(.text+0x6153e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234816:(.text+0x61546): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234816:(.text+0x6155e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234811:(.text+0x61570): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x61590): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_87getObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234270:(.text+0x615c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_86getObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234302:(.text+0x615ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6160a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_87getObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234282:(.text+0x61624): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234282:(.text+0x6162c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234037:(.text+0x616fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234037:(.text+0x61712): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6174c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x61762): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6177c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234105:(.text+0x61792): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x617ba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x6181e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x61838): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x6186c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x618e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x61912): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234055:(.text+0x61996): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234060:(.text+0x619b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234065:(.text+0x619b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x619de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234055:(.text+0x61a4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234060:(.text+0x61a5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_84setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234211:(.text+0x61af8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234073:(.text+0x61b24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x61ba8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234231:(.text+0x61bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234114:(.text+0x61bca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233266:(.text+0x61bf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x61c5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x61c6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x61d0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x61d36): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x61dba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_76setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233460:(.text+0x61dd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233460:(.text+0x61ddc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233471:(.text+0x61e02): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233395:(.text+0x61e6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x61e80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x61f1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_76setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233488:(.text+0x61f48): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233460:(.text+0x61fcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233307:(.text+0x61fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233327:(.text+0x61fee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233297:(.text+0x62014): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_76setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233440:(.text+0x62080): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233313:(.text+0x62092): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232432:(.text+0x62144): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232419:(.text+0x62156): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232469:(.text+0x62182): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6218c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x62250): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6227c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232593:(.text+0x62286): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232613:(.text+0x62328): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232624:(.text+0x62354): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x623d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x623f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x623fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232437:(.text+0x62420): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232641:(.text+0x6248c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232437:(.text+0x6249e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232613:(.text+0x62518): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232480:(.text+0x62550): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232548:(.text+0x625c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232466:(.text+0x625f4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232461:(.text+0x6261e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232496:(.text+0x6266e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232169:(.text+0x626b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232171:(.text+0x626c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x626f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x62762): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_66setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232317:(.text+0x6278e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232393:(.text+0x62812): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6282c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x62834): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232233:(.text+0x6285a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_66setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232380:(.text+0x628c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x628d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x62996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_66setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232306:(.text+0x629a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232216:(.text+0x629d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232218:(.text+0x629de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232187:(.text+0x62a82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232203:(.text+0x62b22): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_66setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232380:(.text+0x62b9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x62c18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x62c2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x62c30): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_63setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232007:(.text+0x62c46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232016:(.text+0x62c68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232016:(.text+0x62c70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232016:(.text+0x62c78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461815:(.text+0x62c8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_62setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232035:(.text+0x62caa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461876:(.text+0x62cdc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461978:(.text+0x62d04): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461890:(.text+0x62d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_63setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231981:(.text+0x62d40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_62setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232051:(.text+0x62df0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_63setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231990:(.text+0x62e06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_62setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232036:(.text+0x62e42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_63setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231994:(.text+0x62e58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231994:(.text+0x62e84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x62e92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x62ea8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_56getNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231721:(.text+0x62f40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x62f5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x62f8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_57getNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231683:(.text+0x62fca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x63012): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x63044): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_55getFASSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231559:(.text+0x63096): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231579:(.text+0x63112): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6316a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x6317c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_55getFASSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231544:(.text+0x63182): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231550:(.text+0x6319a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231556:(.text+0x631a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_54getFASSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231657:(.text+0x631ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231657:(.text+0x631f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231657:(.text+0x631f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231657:(.text+0x63200): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231657:(.text+0x6322c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_55getFASSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231553:(.text+0x63262): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231579:(.text+0x632ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231394:(.text+0x63306): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x63340): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231423:(.text+0x63352): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231432:(.text+0x63380): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231415:(.text+0x63392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_52getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231464:(.text+0x633a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x633ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231397:(.text+0x633fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_52getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231510:(.text+0x63490): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231510:(.text+0x634a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231406:(.text+0x634ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231406:(.text+0x634d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x635c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_51getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231276:(.text+0x635d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231285:(.text+0x635fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231285:(.text+0x63608): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231263:(.text+0x636ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_50getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231363:(.text+0x636f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_51getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231259:(.text+0x63752): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_50getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231363:(.text+0x6378a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x637a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x637d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_49getFASCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231142:(.text+0x637e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x638ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_47getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230991:(.text+0x6393c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230991:(.text+0x6394e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231020:(.text+0x63962): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6398e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x63998): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_47getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231011:(.text+0x63a6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231018:(.text+0x63a88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_46getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231118:(.text+0x63af8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_47getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231011:(.text+0x63b0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231014:(.text+0x63b36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x63b40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_39getFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230284:(.text+0x63c28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230284:(.text+0x63c3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_38getFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230315:(.text+0x63c66): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230315:(.text+0x63c70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230371:(.text+0x63d58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230371:(.text+0x63d6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_39getFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230267:(.text+0x63d96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230267:(.text+0x63da0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x63e88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_35getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230007:(.text+0x63e9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230018:(.text+0x63ec6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230018:(.text+0x63ed0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229990:(.text+0x63f68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_34getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230096:(.text+0x63fee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_35getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229995:(.text+0x64032): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_34getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230096:(.text+0x64062): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_31getFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229694:(.text+0x640bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229732:(.text+0x64114): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229743:(.text+0x64148): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229709:(.text+0x641ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229728:(.text+0x641ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229721:(.text+0x6420a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229721:(.text+0x64210): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_30getFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229821:(.text+0x6423c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229821:(.text+0x64246): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x642f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x64320): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_23getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229226:(.text+0x64390): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229226:(.text+0x643a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_FromSize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464759:(.text+0x643d8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69891:(.text+0x643ea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x64426): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_22getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229283:(.text+0x64438): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6444c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x64472): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_22getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229318:(.text+0x644c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x644d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69892:(.text+0x64504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6453c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x64544): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_22getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229318:(.text+0x64558): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x645bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyFrozenSet_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447910:(.text+0x64604): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PySet_ContainsUnhashable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447937:(.text+0x64636): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_22getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229318:(.text+0x6468c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyFrozenSet_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447917:(.text+0x6471a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_21setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229055:(.text+0x64768): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229055:(.text+0x6477a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x647be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x647c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x647ce): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_21setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229093:(.text+0x647e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229095:(.text+0x647ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229095:(.text+0x647f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229095:(.text+0x647fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229104:(.text+0x6481e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x64842): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x64894): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x648c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x648fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_20setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229178:(.text+0x64912): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6491a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_21setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229075:(.text+0x6492c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_registerAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69825:(.text+0x6495a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69825:(.text+0x6496c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x64992): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_20setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229195:(.text+0x649b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_21setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229078:(.text+0x649f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229078:(.text+0x64a14): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x64a98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229147:(.text+0x64ac4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x64b20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_17appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228906:(.text+0x64b58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228915:(.text+0x64b70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_16appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228936:(.text+0x64ba4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x64bb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_16appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228972:(.text+0x64c7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_17appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228889:(.text+0x64ca8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x64d04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228653:(.text+0x64d3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228682:(.text+0x64d54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x64d88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228693:(.text+0x64d9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x64e3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228680:(.text+0x64e84): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_12setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228732:(.text+0x64eb6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228676:(.text+0x64f0e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228249:(.text+0x64f88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228225:(.text+0x64fe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228225:(.text+0x64ff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228225:(.text+0x65006): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228273:(.text+0x6503a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x65086): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6508e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_245setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263904:(.text+0x65096): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x650ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x650b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x650ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_244setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263946:(.text+0x650c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263946:(.text+0x650c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_245setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263926:(.text+0x650f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263917:(.text+0x65170): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x651e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x651f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x65200): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x65212): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_244setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263970:(.text+0x65242): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_245setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263919:(.text+0x6525c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x652b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x652c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_245setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263892:(.text+0x652ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6532a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x65386): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263488:(.text+0x653f8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263508:(.text+0x65476): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x654d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x654ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263473:(.text+0x654fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263486:(.text+0x6552e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263486:(.text+0x65536): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263486:(.text+0x6553e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_236setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263538:(.text+0x65556): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263538:(.text+0x6555e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263565:(.text+0x65566): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263565:(.text+0x6556e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263565:(.text+0x65576): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263479:(.text+0x6558a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263482:(.text+0x655a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x655da): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247547:(.text+0x65604): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247591:(.text+0x6571e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247547:(.text+0x6574a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247676:(.text+0x6577c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247677:(.text+0x65786): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247587:(.text+0x657ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247577:(.text+0x657ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247568:(.text+0x657e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247547:(.text+0x65802): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x658be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247875:(.text+0x6595e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247811:(.text+0x659d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247807:(.text+0x65a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x65a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x65a6c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247875:(.text+0x65a82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247833:(.text+0x65aa4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262710:(.text+0x65aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262710:(.text+0x65ab4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262720:(.text+0x65ac6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262739:(.text+0x65ae6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x65b18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262750:(.text+0x65b40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262759:(.text+0x65b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_220adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262789:(.text+0x65b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262733:(.text+0x65c2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262733:(.text+0x65c44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262737:(.text+0x65c80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x65c96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262759:(.text+0x65cc2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262294:(.text+0x65cd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262308:(.text+0x65ce6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_216setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262451:(.text+0x65d80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x65d9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x65dce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_216setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262544:(.text+0x65e10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262355:(.text+0x65e70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262329:(.text+0x65f04): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262375:(.text+0x65f84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_216setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262531:(.text+0x65fe6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x65ffc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x6600c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262314:(.text+0x6601e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_216setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262479:(.text+0x6605a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262479:(.text+0x66062): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262548:(.text+0x6607a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262500:(.text+0x66084): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262548:(.text+0x66090): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262548:(.text+0x66098): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262548:(.text+0x660a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262548:(.text+0x660a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262321:(.text+0x660bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262346:(.text+0x660da): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262326:(.text+0x6610c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x6622e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262379:(.text+0x6625a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262389:(.text+0x66290): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261745:(.text+0x6629a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x662ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x662ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261810:(.text+0x6630c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261830:(.text+0x66328): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x66344): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x66406): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x66462): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261780:(.text+0x664d4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261826:(.text+0x66552): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x665b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_210setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261982:(.text+0x665c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x665d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261830:(.text+0x6660a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x66612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x6661a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_210setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261930:(.text+0x66632): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261999:(.text+0x6663a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261999:(.text+0x66642): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261999:(.text+0x6664a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261999:(.text+0x66652): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261999:(.text+0x66666): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261772:(.text+0x66684): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261798:(.text+0x666b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261772:(.text+0x666e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261792:(.text+0x667fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261819:(.text+0x66826): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261840:(.text+0x66858): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261840:(.text+0x66862): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x66888): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_214getQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262208:(.text+0x668a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262229:(.text+0x668c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x668de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_214getQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262274:(.text+0x66a12): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262021:(.text+0x66a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262021:(.text+0x66a9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x66aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262054:(.text+0x66ac2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x66aee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x66af8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x66ba2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262065:(.text+0x66bba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x66c00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x66c34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262069:(.text+0x66c90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x66d02): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x66d80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_212createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262154:(.text+0x66de0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x66df4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x66e04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x66e38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x66e40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x66e48): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x66e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x66e68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_205getCostIntegral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260985:(.text+0x66e70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260987:(.text+0x66e78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_204getCostIntegral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261013:(.text+0x66e80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261025:(.text+0x66e94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261045:(.text+0x66eb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x66ee4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x66f0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x67028): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_179setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259760:(.text+0x67054): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x67086): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x67090): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x670b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259857:(.text+0x670d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x670f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6710c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x671c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x67268): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x672e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6735e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259899:(.text+0x67370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259857:(.text+0x67376): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259916:(.text+0x6738c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_179setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259717:(.text+0x673ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259722:(.text+0x673b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259722:(.text+0x673be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259755:(.text+0x673d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259725:(.text+0x673f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259730:(.text+0x67422): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259823:(.text+0x67448): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_179setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259741:(.text+0x67468): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259741:(.text+0x67484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x67536): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259398:(.text+0x6754c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x67588): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6759e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259434:(.text+0x675ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x675d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_174setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259497:(.text+0x675ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x67686): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x676a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x676d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_174setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259498:(.text+0x67766): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x677de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259401:(.text+0x677f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259406:(.text+0x67804): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x67830): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6783a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_174setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259605:(.text+0x678d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x67962): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259430:(.text+0x679da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259425:(.text+0x679ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259426:(.text+0x67a00): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259445:(.text+0x67a2c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259445:(.text+0x67a36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x67ace): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x67b0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x67b6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_164monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258368:(.text+0x67bdc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x67c5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x67cba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_164monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258379:(.text+0x67cce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258379:(.text+0x67cde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x67d12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x67d1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_149setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257084:(.text+0x67d22): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x67d3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x67d42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x67d4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_148setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257126:(.text+0x67d52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257136:(.text+0x67d5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x67d6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_149setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257106:(.text+0x67d8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x67dbe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x67de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_149setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257073:(.text+0x67f02): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257081:(.text+0x67f2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x67f60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x67f6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x67f90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x67fae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x67fca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_149setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257076:(.text+0x67fe6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x680a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_145setMaxSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256866:(.text+0x68142): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256875:(.text+0x681bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x68238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6824a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x68250): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_141setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256653:(.text+0x68266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x68288): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_141setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256664:(.text+0x68290): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256682:(.text+0x68298): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x682aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x682ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_141setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256702:(.text+0x682fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_140setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256722:(.text+0x68324): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x68344): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_141setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256667:(.text+0x68360): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_140setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256732:(.text+0x68412): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_141setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256680:(.text+0x68428): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x68464): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_133setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256280:(.text+0x6847a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x684a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_133setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256309:(.text+0x684b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x684ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x68564): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_133setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256300:(.text+0x6857e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_132setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256349:(.text+0x685b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_133setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256303:(.text+0x685ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256307:(.text+0x68636): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x68668): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_125setStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255882:(.text+0x686ba): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255931:(.text+0x68736): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255896:(.text+0x6878e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255902:(.text+0x687a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255902:(.text+0x687a6): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_124setStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255951:(.text+0x687be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255951:(.text+0x687c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_125setStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255905:(.text+0x6880e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255905:(.text+0x68816): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255905:(.text+0x6881c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255905:(.text+0x68824): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255909:(.text+0x68850): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x68886): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_106getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255037:(.text+0x688f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_107getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254996:(.text+0x6892a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254989:(.text+0x68964): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254990:(.text+0x68976): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_106getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255062:(.text+0x689a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_107getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254989:(.text+0x689b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_106getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255062:(.text+0x689cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x68a12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_105getSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254890:(.text+0x68a22): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x68a92): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x68abe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_104getSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254964:(.text+0x68b42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x68b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_97getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254360:(.text+0x68b64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_96getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254393:(.text+0x68b8a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254445:(.text+0x68bf6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x68c08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x68ca4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_97getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254366:(.text+0x68cd0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_96getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254468:(.text+0x68d54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x68d6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_96getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254468:(.text+0x68d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x68d9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_88getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253944:(.text+0x68e08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253948:(.text+0x68e1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x68eb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x68ee0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_89getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253922:(.text+0x68eea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253916:(.text+0x68f8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_88getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254018:(.text+0x68fb6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254018:(.text+0x68fc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6903a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_88getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253960:(.text+0x69082): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253790:(.text+0x690b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x6910a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253802:(.text+0x69184): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253802:(.text+0x691de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x691f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253796:(.text+0x69234): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253796:(.text+0x6923c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_86getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x69244): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x69258): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x69260): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x69266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253795:(.text+0x6926e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_86getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x69286): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x692ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253057:(.text+0x692f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253127:(.text+0x6935c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253134:(.text+0x69380): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253155:(.text+0x69392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253155:(.text+0x6939e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253156:(.text+0x693b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x693f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6940c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_80setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253312:(.text+0x69452): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253312:(.text+0x69462): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253166:(.text+0x694c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_80setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253253:(.text+0x6950c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253267:(.text+0x6953e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253096:(.text+0x69594): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253151:(.text+0x6960e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253079:(.text+0x69668): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253155:(.text+0x6967a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x696be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x696c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253156:(.text+0x696ce): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x696e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x696ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x696f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_80setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253228:(.text+0x696f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253349:(.text+0x69710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253349:(.text+0x69744): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253093:(.text+0x6977a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253100:(.text+0x697e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253101:(.text+0x6980a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253102:(.text+0x6981c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253102:(.text+0x69828): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253108:(.text+0x6983a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253120:(.text+0x69880): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253124:(.text+0x69896): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_80setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253312:(.text+0x698dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x698ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252841:(.text+0x69972): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252866:(.text+0x6999e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252866:(.text+0x699a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252987:(.text+0x69a24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x69a6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252876:(.text+0x69a9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x69af0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x69b6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252862:(.text+0x69bc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252862:(.text+0x69bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252864:(.text+0x69bdc): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x69bf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x69bfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253018:(.text+0x69c44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x69c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x69c52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x69c5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252866:(.text+0x69c86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253035:(.text+0x69cbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252833:(.text+0x69d28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252808:(.text+0x69d60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252813:(.text+0x69d9a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252853:(.text+0x69dac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252808:(.text+0x69dda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x69dec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252953:(.text+0x69e02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252821:(.text+0x69e48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252822:(.text+0x69e58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253018:(.text+0x69ec6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x69ef2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x69f78): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_76getIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252733:(.text+0x69f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x69fa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x69ff8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6a040): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_77getIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252663:(.text+0x6a052): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_76getIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252759:(.text+0x6a0fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252720:(.text+0x6a12a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_75getIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252531:(.text+0x6a1d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x6a1dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x6a1e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_74getIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252576:(.text+0x6a212): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x6a280): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6a292): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_74getIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252630:(.text+0x6a370): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252630:(.text+0x6a39c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251583:(.text+0x6a434): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251583:(.text+0x6a44e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251585:(.text+0x6a456): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251629:(.text+0x6a47c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x6a4e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6a4fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251664:(.text+0x6a5aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6a5d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x6a5e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6a680): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6a6ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_66setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251806:(.text+0x6a730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6a74a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6a752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251654:(.text+0x6a778): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_66setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251823:(.text+0x6a7e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251596:(.text+0x6a7f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251596:(.text+0x6a892): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251596:(.text+0x6a8be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251610:(.text+0x6a950): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251615:(.text+0x6a96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251616:(.text+0x6a970): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6a984): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251643:(.text+0x6a9aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251255:(.text+0x6aa16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251271:(.text+0x6aa28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x6aae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x6aaf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_64setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251499:(.text+0x6ab24): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251499:(.text+0x6ab2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6ac16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_64setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251464:(.text+0x6ac28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6ac54): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6ac5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x6ad46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251277:(.text+0x6ad58): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251354:(.text+0x6ad84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6ad8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251292:(.text+0x6ae76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251286:(.text+0x6ae88): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251342:(.text+0x6aeb4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251353:(.text+0x6aebe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_64setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251465:(.text+0x6afa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6afb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_64setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251530:(.text+0x6afe4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251530:(.text+0x6afee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6b0b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x6b0de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251074:(.text+0x6b1a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251074:(.text+0x6b1a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6b1ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6b1e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251014:(.text+0x6b24c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x6b25e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6b31a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250999:(.text+0x6b362): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6b394): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251011:(.text+0x6b4d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_62setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251196:(.text+0x6b4ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251036:(.text+0x6b506): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251036:(.text+0x6b510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251036:(.text+0x6b518): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251025:(.text+0x6b556): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251025:(.text+0x6b560): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6b5e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_60getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250899:(.text+0x6b630): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250899:(.text+0x6b642): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250918:(.text+0x6b672): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250931:(.text+0x6b68c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6b6d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6b71a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_61getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250861:(.text+0x6b738): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250855:(.text+0x6b7a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250854:(.text+0x6b7d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250866:(.text+0x6b8a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250866:(.text+0x6b8a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6b8b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_59getRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250733:(.text+0x6b8de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_58getRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250805:(.text+0x6b94c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x6b95e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_58getRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250828:(.text+0x6ba68): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250828:(.text+0x6ba94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250734:(.text+0x6baf0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249776:(.text+0x6bb28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249776:(.text+0x6bb40): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249831:(.text+0x6bb74): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249831:(.text+0x6bb86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_48setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250005:(.text+0x6bc24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250049:(.text+0x6bc82): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249834:(.text+0x6bd12): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6bd42): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6bd72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6bd7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249800:(.text+0x6bd9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x6bde0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249855:(.text+0x6be0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x6be50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249859:(.text+0x6be90): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249860:(.text+0x6bea6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x6bec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_48setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249932:(.text+0x6bf04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250053:(.text+0x6bf20): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250005:(.text+0x6bf32): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250053:(.text+0x6bf44): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249792:(.text+0x6bf78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249849:(.text+0x6bfd6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249818:(.text+0x6c066): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249828:(.text+0x6c096): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_48setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249971:(.text+0x6c0c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6c0d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6c0f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249485:(.text+0x6c134): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249500:(.text+0x6c162): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249570:(.text+0x6c1a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_46setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249670:(.text+0x6c1e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6c1fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x6c216): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_46setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249702:(.text+0x6c258): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6c274): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x6c286): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x6c298): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6c2f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6c322): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6c3ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x6c3fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6c404): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6c40c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249545:(.text+0x6c416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249570:(.text+0x6c48e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6c4a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_46setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249739:(.text+0x6c4c4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249739:(.text+0x6c4d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249517:(.text+0x6c59e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249559:(.text+0x6c5ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249525:(.text+0x6c656): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249532:(.text+0x6c67c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_39appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249126:(.text+0x6c6fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x6c70e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6c7c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_38appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249217:(.text+0x6c7ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_39appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249153:(.text+0x6c878): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_38appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249232:(.text+0x6c89e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6c91e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6c930): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_35setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248962:(.text+0x6c9e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_34setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248983:(.text+0x6ca10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_35setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248933:(.text+0x6ca8a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_34setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249019:(.text+0x6caf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_35setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248936:(.text+0x6cb18): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248936:(.text+0x6cb2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248962:(.text+0x6cb7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_17setARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248036:(.text+0x6cb90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248085:(.text+0x6cc2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6cc8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_17setARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248051:(.text+0x6ccd8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248063:(.text+0x6cd04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6cd90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6cdb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6ce36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_15setRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247948:(.text+0x6ce48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247924:(.text+0x6cf12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247930:(.text+0x6cf24): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247937:(.text+0x6cf50): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247937:(.text+0x6cf5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x6d020): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247727:(.text+0x6d04c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_11clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247701:(.text+0x6d0d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247701:(.text+0x6d0ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247700:(.text+0x6d0f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247700:(.text+0x6d118): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247478:(.text+0x6d184): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x6d196): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247480:(.text+0x6d200): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247528:(.text+0x6d222): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279435:(.text+0x6d26a): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279464:(.text+0x6d294): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6d29c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6d2ae): undefined reference to `PyNumber_Multiply' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6d2c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279484:(.text+0x6d30e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6d31e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6d33c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_168setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279526:(.text+0x6d356): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6d38e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279450:(.text+0x6d3aa): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279462:(.text+0x6d3cc): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_168setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279541:(.text+0x6d414): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279458:(.text+0x6d434): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6d47e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267207:(.text+0x6d4a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267207:(.text+0x6d4b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x6d4b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267240:(.text+0x6d4e2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267283:(.text+0x6d4f2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x6d526): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x6d532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267262:(.text+0x6d55c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267222:(.text+0x6d574): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267222:(.text+0x6d57a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x6d58c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6d598): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267253:(.text+0x6d5d0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x6d5f2): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267228:(.text+0x6d63a): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267237:(.text+0x6d658): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6d6a2): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6d6ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267236:(.text+0x6d6e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267236:(.text+0x6d6ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267236:(.text+0x6d6f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267355:(.text+0x6d722): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267404: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267434:(.text+0x6d7cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267446:(.text+0x6d7f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x6d802): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267378:(.text+0x6d8ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267378:(.text+0x6d8fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6d928): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6d932): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_161getBRGNDampingVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278958:(.text+0x6da1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278958:(.text+0x6da2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_160getBRGNDampingVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279030:(.text+0x6da58): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6da62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278440:(.text+0x6db0e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278465:(.text+0x6db40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6db82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_152setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278575:(.text+0x6db98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6db9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6dbca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_152setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278586:(.text+0x6dbd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278440:(.text+0x6dc4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6dcd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278415:(.text+0x6dcec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x6dd22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x6dd2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278461:(.text+0x6dd64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278461:(.text+0x6dd6a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6dd7c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6dd92): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_152setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278601:(.text+0x6de16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278601:(.text+0x6de28): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278601:(.text+0x6de54): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278601:(.text+0x6de5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278413:(.text+0x6df20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278454:(.text+0x6df4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_152setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278601:(.text+0x6df9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278420:(.text+0x6dfee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x6e020): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278453:(.text+0x6e032): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6e14c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_150setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278311:(.text+0x6e15e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278332:(.text+0x6e18a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6e194): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6e256): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6e282): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6e2d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_151setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278215:(.text+0x6e324): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278242:(.text+0x6e356): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_150setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278358:(.text+0x6e368): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_151setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278203:(.text+0x6e482): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278208:(.text+0x6e494): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278216:(.text+0x6e4c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278217:(.text+0x6e4ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x6e5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6e5b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6e5e4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6e5ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_147getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277988:(.text+0x6e6ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_146getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278016:(.text+0x6e6dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x6e708): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6e712): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_146getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278062:(.text+0x6e7d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x6e804): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_135setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277342:(.text+0x6e888): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277344:(.text+0x6e8a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277353:(.text+0x6e8aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_134setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277373:(.text+0x6e8d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277373:(.text+0x6e93c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277373:(.text+0x6e94e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6ea0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_135setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277353:(.text+0x6ea1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_133getVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277197:(.text+0x6ea4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_132getVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277224:(.text+0x6ea54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6eb16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6eb42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_132getVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277283:(.text+0x6eb9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277283:(.text+0x6ebd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6ebee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x6ec22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6ec34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6ecfc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6ed28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_130getLMVMH0KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277171:(.text+0x6ed9e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6edb4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_130getLMVMH0KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277171:(.text+0x6edc6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6ede2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_129getLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276995:(.text+0x6edf8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_128getLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277039:(.text+0x6ee30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6ee82): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6eea4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_129getLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277001:(.text+0x6eeb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_128getLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277073:(.text+0x6eee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277073:(.text+0x6eef0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_124getGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276836:(.text+0x6ef92): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_125getGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276804:(.text+0x6efbe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6efc8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_124getGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276870:(.text+0x6f040): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276870:(.text+0x6f07e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_121getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276589:(.text+0x6f0ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6f12c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_121getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276595:(.text+0x6f182): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_120getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276667:(.text+0x6f1aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_121getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276594:(.text+0x6f1bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_119solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276480:(.text+0x6f250): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276497:(.text+0x6f27c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276507:(.text+0x6f2c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x6f370): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_119solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276487:(.text+0x6f39c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276472:(.text+0x6f420): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276473:(.text+0x6f43a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276473:(.text+0x6f442): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276477:(.text+0x6f468): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_114cancelMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276040:(.text+0x6f4d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6f4e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_114cancelMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276057:(.text+0x6f582): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276031:(.text+0x6f5ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6f632): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_107setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275503:(.text+0x6f64c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275503:(.text+0x6f654): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275512:(.text+0x6f67a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456285:(.text+0x6f6e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456285:(.text+0x6f6f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_107setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275497:(.text+0x6f790): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6f7bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_107setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275486:(.text+0x6f818): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x6f850): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_107setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275490:(.text+0x6f868): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x6f89c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x6f8ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x6f974): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6f9a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275334:(.text+0x6f9fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x6fa34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275345:(.text+0x6fa4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275357:(.text+0x6fa80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275370:(.text+0x6fa92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x6fb5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x6fb88): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x6fc0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_103setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275179:(.text+0x6fc26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275184:(.text+0x6fc2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x6fc54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_103setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275189:(.text+0x6fcc0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275192:(.text+0x6fcd2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275321:(.text+0x6fd54): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_103setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275208:(.text+0x6fd86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275203:(.text+0x6fdbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275282:(.text+0x6fdd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6fdd8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_103setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275223:(.text+0x6fe04): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275223:(.text+0x6fe0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x6fe86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_94setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274787:(.text+0x6ff0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274711:(.text+0x6ff24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_94setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274766:(.text+0x6ff5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274766:(.text+0x6ff62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274720:(.text+0x6ff9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274720:(.text+0x6ffa2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274720:(.text+0x6ffb4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6ffca): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274724:(.text+0x7000a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_91setMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274498:(.text+0x70042): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x700b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_91setMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274547:(.text+0x700e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_90setMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274577:(.text+0x70110): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_91setMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274524:(.text+0x70160): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274518:(.text+0x701aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274521:(.text+0x701b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x701e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x70232): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272559:(.text+0x7026a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x702f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272629:(.text+0x70320): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_64setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272687:(.text+0x7034a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x7039a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x703e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x703f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x70436): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272612:(.text+0x704a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x704d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272577:(.text+0x70556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272587:(.text+0x70570): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272619:(.text+0x70578): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7059e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7060a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_64setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272764:(.text+0x7061c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x706b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272596:(.text+0x706e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_64setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272688:(.text+0x706ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272621:(.text+0x7078a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_63setJacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272262:(.text+0x707b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272262:(.text+0x707c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272347:(.text+0x70840): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x70878): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x708ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_62setJacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272522:(.text+0x7091c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x70946): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_63setJacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272340:(.text+0x70996): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x709e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x709ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x70a1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x70a88): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x70ab4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x70b40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_63setJacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272369:(.text+0x70b66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272293:(.text+0x70be6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272301:(.text+0x70bf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272314:(.text+0x70ca8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272321:(.text+0x70cd4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272326:(.text+0x70cde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x70d80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272538:(.text+0x70dac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271839:(.text+0x70e30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271864:(.text+0x70e4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271864:(.text+0x70e52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271920:(.text+0x70e78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x70ee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271993:(.text+0x70ef6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271842:(.text+0x70f70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271948:(.text+0x70fa8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271814:(.text+0x7101c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7104c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271860:(.text+0x71074): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271842:(.text+0x710c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271864:(.text+0x7110c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x71118): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272008:(.text+0x71144): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271831:(.text+0x711b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271864:(.text+0x711de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271806:(.text+0x711e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272008:(.text+0x71288): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272008:(.text+0x712b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271826:(.text+0x71338): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271852:(.text+0x71352): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271853:(.text+0x7135a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271882:(.text+0x71380): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x713ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271524:(.text+0x713fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x71478): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271702:(.text+0x714b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271734:(.text+0x71524): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x71554): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271575:(.text+0x7157c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271524:(.text+0x715ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271689:(.text+0x71614): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x71620): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x7164c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x716ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271549:(.text+0x716e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271551:(.text+0x716f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271750:(.text+0x717a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271749:(.text+0x717b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x717e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271471:(.text+0x717ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271493:(.text+0x718d2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271510:(.text+0x71924): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271511:(.text+0x71936): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271516:(.text+0x7194a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271521:(.text+0x71976): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271521:(.text+0x71980): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_53setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270997:(.text+0x71a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271049:(.text+0x71a70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271078:(.text+0x71abc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_52setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271157:(.text+0x71ae8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271231:(.text+0x71b74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x71b9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_52setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271172:(.text+0x71c1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x71c2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x71cde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_53setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271071:(.text+0x71d0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x71d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_53setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271078:(.text+0x71dbc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271002:(.text+0x71e3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271010:(.text+0x71e4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271023:(.text+0x71f00): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271030:(.text+0x71f2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_52setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271246:(.text+0x71fb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271246:(.text+0x71fde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_50getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270871:(.text+0x7205e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270883:(.text+0x72070): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x72120): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x7214c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x721b6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_51getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270831:(.text+0x721c8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_50getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270949:(.text+0x72200): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_51getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270830:(.text+0x72218): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270830:(.text+0x7224e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_50getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270949:(.text+0x72260): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270528:(.text+0x72326): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270554:(.text+0x72352): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270635:(.text+0x723bc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x723ce): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x72406): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x7241e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x72454): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_48setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270788:(.text+0x72466): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7252c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x72558): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270575:(.text+0x725b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x725ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x72604): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x72638): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270558:(.text+0x7264a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_48setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270803:(.text+0x72712): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270561:(.text+0x7273e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270572:(.text+0x727c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270579:(.text+0x727e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270587:(.text+0x72824): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270603:(.text+0x72876): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270603:(.text+0x72888): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270299:(.text+0x72938): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x72964): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_46setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270431:(.text+0x729ce): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270459:(.text+0x729e0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x72a18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_46setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270480:(.text+0x72a30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x72a66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x72a78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270320:(.text+0x72b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270320:(.text+0x72b6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x72b96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x72ba0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270370:(.text+0x72c62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_46setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270506:(.text+0x72c8e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270317:(.text+0x72ce8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270359:(.text+0x72d20): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270312:(.text+0x72d38): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270357:(.text+0x72d6a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270312:(.text+0x72d7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270342:(.text+0x72e3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270326:(.text+0x72e6a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270359:(.text+0x72ec6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_43getObjectiveAndGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269752:(.text+0x72efe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_42getObjectiveAndGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269779:(.text+0x72f16): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269809:(.text+0x72f4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269822:(.text+0x72f5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_43getObjectiveAndGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269751:(.text+0x7303c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269752:(.text+0x7304e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_42getObjectiveAndGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269845:(.text+0x7307a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269845:(.text+0x73084): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_39getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269385:(.text+0x7311a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_38getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269430:(.text+0x73158): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269448:(.text+0x73188): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x731ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7326e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_39getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269391:(.text+0x7328c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_38getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269484:(.text+0x732b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269484:(.text+0x732c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269484:(.text+0x732de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7332a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268863:(.text+0x73364): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268879:(.text+0x73398): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268961:(.text+0x733fe): undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7346a): undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972:(.text+0x73526): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268933:(.text+0x73542): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_34setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269048:(.text+0x73566): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x73574): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_34setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269064:(.text+0x735ac): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268902:(.text+0x73604): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x73616): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268957:(.text+0x73670): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x73682): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x736d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x736de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x736e4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_34setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269122:(.text+0x73768): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268894:(.text+0x737a2): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268950:(.text+0x737fc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268899:(.text+0x7380e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268907:(.text+0x73844): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268926:(.text+0x738b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268930:(.text+0x738ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268930:(.text+0x738d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268930:(.text+0x738dc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_34setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269122:(.text+0x73902): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x73918): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972:(.text+0x73956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972:(.text+0x7395c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268620:(.text+0x73962): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268620:(.text+0x73976): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268620:(.text+0x73992): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268680:(.text+0x739d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268680:(.text+0x739d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268705:(.text+0x739de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268705:(.text+0x739e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268705:(.text+0x739ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268705:(.text+0x739fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x73a00): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x73a12): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_32setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268753:(.text+0x73a18): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x73a5c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_32setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268815:(.text+0x73a7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x73a82): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_32setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268826:(.text+0x73a98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x73acc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x73bc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268701:(.text+0x73c14): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268701:(.text+0x73c26): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x73c82): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268640:(.text+0x73c8c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x73cb8): undefined reference to `PyMem_Free' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x73cc2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_32setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0x73cd2): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0x73d12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268672:(.text+0x73d4a): undefined reference to `PyMem_Free' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268673:(.text+0x73d60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268693:(.text+0x73d9e): undefined reference to `PyMem_Malloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268692:(.text+0x73dae): undefined reference to `PyErr_NoMemory' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268652:(.text+0x73dda): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x73df6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_32setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268766:(.text+0x73e10): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0x73e4c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0x73e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0x73e66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268842:(.text+0x73e6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268677:(.text+0x73e82): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268677:(.text+0x73e88): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268677:(.text+0x73e9a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268667:(.text+0x73edc): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x73ee8): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x73fb0): undefined reference to `PyMem_Malloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_31setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268488:(.text+0x73fda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7400e): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_30setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268551:(.text+0x74020): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x74030): undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x74066): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_30setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268572:(.text+0x74078): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7410c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x74118): undefined reference to `PyMem_Malloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x74164): undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x74178): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_31setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268443:(.text+0x741d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268455:(.text+0x741e2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7420a): undefined reference to `PyNumber_InPlaceAdd' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_30setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268598:(.text+0x74258): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_31setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268481:(.text+0x74298): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_30setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268598:(.text+0x742c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268598:(.text+0x742f0): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268598:(.text+0x742fa): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268599:(.text+0x74302): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_31setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268448:(.text+0x74306): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268443:(.text+0x7434a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268457:(.text+0x74386): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268467:(.text+0x743ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268467:(.text+0x743b4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268462:(.text+0x743be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268462:(.text+0x743c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_15appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267694:(.text+0x74420): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x74470): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7448c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267732: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_15appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267721:(.text+0x7459e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267714:(.text+0x745dc): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267717:(.text+0x745fe): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x746be): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x746cc): undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267606:(.text+0x746dc): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7474a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_12setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267659:(.text+0x74754): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x74766): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267583:(.text+0x747b2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267602:(.text+0x747c8): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267595:(.text+0x747d8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_12setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267674:(.text+0x74818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267659:(.text+0x74876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267659:(.text+0x7487e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267139:(.text+0x74952): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267188:(.text+0x7497e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281738:(.text+0x749c6): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x749e2): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281714:(.text+0x74a30): undefined reference to `_PyList_Extend' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x74a52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281762:(.text+0x74a60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281713:(.text+0x74a7a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x74ad8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297217:(.text+0x74ae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297217:(.text+0x74aea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x74af2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x74afa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x74b02): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x74b24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297233:(.text+0x74b2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297235:(.text+0x74b48): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297218:(.text+0x74b56): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_214setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297270:(.text+0x74b74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297295:(.text+0x74b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297309:(.text+0x74b84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x74b90): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x74bc4): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x74c12): undefined reference to `_PyList_Extend' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297244:(.text+0x74c3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x74c7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x74c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x74c96): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_214setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297282:(.text+0x74ca2): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x74d08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x74d30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297195:(.text+0x74e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297198:(.text+0x74e76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_214setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297341:(.text+0x74ea2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297296:(.text+0x74eac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297361:(.text+0x74f6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296934:(.text+0x74f9a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x74ff6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297002:(.text+0x7502e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297004:(.text+0x75046): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297076:(.text+0x7507a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7508c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x75152): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296984:(.text+0x7517e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x751da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297128:(.text+0x75212): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7522a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7525e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297049:(.text+0x75270): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296965:(.text+0x75350): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296965:(.text+0x75362): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7538e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297108:(.text+0x75398): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x75444): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297128:(.text+0x75460): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7548c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283621:(.text+0x75496): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283623:(.text+0x75508): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283671:(.text+0x7554e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296375:(.text+0x75572): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x755b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x755e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296441:(.text+0x75610): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_208setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296506:(.text+0x7565e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296527:(.text+0x756a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296527:(.text+0x756b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296549:(.text+0x756e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x75750): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x7577c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296393:(.text+0x75800): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296403:(.text+0x7581a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296410:(.text+0x75822): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x75848): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296398:(.text+0x758b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296403:(.text+0x758c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296406:(.text+0x7595e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296398:(.text+0x7598a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296422:(.text+0x759e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x75a1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x75a36): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_207getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296237:(.text+0x75a6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x75a7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_206getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296328:(.text+0x75b42): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296338:(.text+0x75b6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x75bca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_207getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296254:(.text+0x75c02): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296254:(.text+0x75c1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296250:(.text+0x75c4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296250:(.text+0x75c60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x75d2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_197getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295475:(.text+0x75d56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x75dda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x75df4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x75dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x75e22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_196getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295564:(.text+0x75e8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295564:(.text+0x75ea0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295564:(.text+0x75f3c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x75f68): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_187removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294691:(.text+0x75ffe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294693:(.text+0x76018): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294702:(.text+0x76020): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x76046): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x760b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x760c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_187removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294673:(.text+0x7615e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294676:(.text+0x7618a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x76254): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7625e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_3destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342734:(.text+0x76290): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342733:(.text+0x762e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x76308): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x76322): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_185createLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294567:(.text+0x7637a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294576:(.text+0x7638c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294561:(.text+0x76450): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294554:(.text+0x7647c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_184createLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294618:(.text+0x76504): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7651e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x76526): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_183hasLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294379:(.text+0x7654c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294419:(.text+0x765b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294419:(.text+0x765ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x76664): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x76690): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_183hasLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294402:(.text+0x76746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294402:(.text+0x7674e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_182hasLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294480:(.text+0x76774): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x76786): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x767f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_175getPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293965:(.text+0x76804): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x768e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_171getSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293754:(.text+0x76914): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x769a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_171getSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293755:(.text+0x769ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293756:(.text+0x769c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_170getSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293828:(.text+0x769e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x76a54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x76a66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x76b00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_167getGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293541:(.text+0x76b2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_162getLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293364:(.text+0x76be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293364:(.text+0x76bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293396:(.text+0x76c10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_163getLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293344:(.text+0x76c22): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293338:(.text+0x76c8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_162getLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293410:(.text+0x76ca0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x76d5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x76da4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_159getSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293135:(.text+0x76dd6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x76e2e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_155getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292894:(.text+0x76ea6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292905:(.text+0x76f00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292914:(.text+0x76f12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_154getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292957:(.text+0x76f56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292957:(.text+0x76f5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x76f66): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_154getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292969:(.text+0x76f7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x76f84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x76f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x76f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x76fb0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_155getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292879:(.text+0x76fe6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292888:(.text+0x77082): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292888:(.text+0x770a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_154getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293003:(.text+0x770bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293003:(.text+0x770c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293003:(.text+0x770da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_155getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292892:(.text+0x7710a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x77138): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292605:(.text+0x77152): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x77190): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x771b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292673:(.text+0x77202): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292731:(.text+0x7724a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x7727c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292818:(.text+0x772d4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292754:(.text+0x7734c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292787:(.text+0x773a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292623:(.text+0x773b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292677:(.text+0x773fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292677:(.text+0x77404): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292740:(.text+0x7740c): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292843:(.text+0x77422): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292843:(.text+0x7742a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292843:(.text+0x77430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292773:(.text+0x77438): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292623:(.text+0x77456): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x7748c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292666:(.text+0x77528): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292843:(.text+0x7754e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292843:(.text+0x77562): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7756e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292641:(.text+0x77580): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292652:(.text+0x775b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292764:(.text+0x775de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x775f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_151adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292446:(.text+0x77636): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292465:(.text+0x77658): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292476:(.text+0x776a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x776f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_150adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292538:(.text+0x77722): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7777a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_151adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292463:(.text+0x777f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292459:(.text+0x7784c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292459:(.text+0x7785e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x778a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_150adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292584:(.text+0x778aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292584:(.text+0x778b2): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292585:(.text+0x778c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x778d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x778d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_150adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292584:(.text+0x778de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292584:(.text+0x778fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_151adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292485:(.text+0x77932): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_147setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292277:(.text+0x779ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_146setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292306:(.text+0x779f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292316:(.text+0x77a08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x77a14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x77a26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_147setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292263:(.text+0x77a56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_146setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292330:(.text+0x77a84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_147setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292257:(.text+0x77a9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x77adc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_147setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292264:(.text+0x77afe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291511:(.text+0x77b4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291544:(.text+0x77b96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_138coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291608:(.text+0x77bc8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x77c20): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x77c98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x77cf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x77d04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_138coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291678:(.text+0x77d48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x77d50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x77d58): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_138coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291636:(.text+0x77d6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291527:(.text+0x77d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291532:(.text+0x77d7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291532:(.text+0x77d84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291541:(.text+0x77da2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_138coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291641:(.text+0x77dd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x77e74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291536:(.text+0x77e9a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291540:(.text+0x77eae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x77eba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x77ecc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291566:(.text+0x77efc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291324:(.text+0x77f2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291357:(.text+0x77f44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_136refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291421:(.text+0x77f82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x77fa4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291379:(.text+0x77ff4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7803c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291370:(.text+0x7806e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20894:(.text+0x780c6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291353:(.text+0x7813e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x78198): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x781aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/include/python3.11/object.h:537:(.text+0x781ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x781f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x781fe): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_136refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291421:(.text+0x78214): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x7821c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x78222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291440:(.text+0x7822a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291349:(.text+0x78248): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x7827e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7831a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_135convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291187:(.text+0x78340): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291196:(.text+0x78354): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291196:(.text+0x78360): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_134convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291229:(.text+0x78372): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291241:(.text+0x783a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x783d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_134convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291277:(.text+0x783ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x78428): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7844a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_134convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291201:(.text+0x7849a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291229:(.text+0x784e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_135convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291170:(.text+0x78514): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291174:(.text+0x7856c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_133createRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291045:(.text+0x785e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291056:(.text+0x7863e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291060:(.text+0x78650): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291070:(.text+0x78694): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291070:(.text+0x7869c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291070:(.text+0x786a4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x786ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x786c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_133createRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291030:(.text+0x786c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291031:(.text+0x786d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291050:(.text+0x786ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291060:(.text+0x78724): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_132createRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291127:(.text+0x787c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x787e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x787fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_131createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290885:(.text+0x78806): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290885:(.text+0x78818): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x78848): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x78876): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_131createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290925:(.text+0x78890): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_130createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290971:(.text+0x788ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_131createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290939:(.text+0x788f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290905:(.text+0x78940): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290929:(.text+0x78988): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_130createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290996:(.text+0x789ba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290996:(.text+0x78a12): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_129createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290732:(.text+0x78a8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290772:(.text+0x78ae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290772:(.text+0x78af6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_128createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290819:(.text+0x78b3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290819:(.text+0x78b42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290831:(.text+0x78b4a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290841:(.text+0x78b60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290841:(.text+0x78b68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290841:(.text+0x78b6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x78b76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x78b94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_129createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290786:(.text+0x78bca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290752:(.text+0x78c66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290755:(.text+0x78c8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_128createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x78ca0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x78cac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x78cbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x78cee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x78d1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x78d36): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x78d74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_129createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290786:(.text+0x78d96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x78de6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_127createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290639:(.text+0x78e2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290645:(.text+0x78e60): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290655:(.text+0x78eb8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290645:(.text+0x78f30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290624:(.text+0x78f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290624:(.text+0x78f9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_126createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290712:(.text+0x78fe0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x78fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x78ff0): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x79006): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_127createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290655:(.text+0x7900e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_125createMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290512:(.text+0x79014): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7901c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_124createMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290544:(.text+0x7903a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_125createMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290524:(.text+0x79070): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_124createMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290581:(.text+0x7910c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290581:(.text+0x79132): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290581:(.text+0x79146): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x79152): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_123setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290386:(.text+0x79164): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290397:(.text+0x79194): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x791c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_123setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290424:(.text+0x791dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290435:(.text+0x7921a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_122setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290465:(.text+0x7923c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7928c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_123setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290413:(.text+0x792d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_122setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290492:(.text+0x79306): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_123setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290412:(.text+0x7935e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404949:(.text+0x793d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404958:(.text+0x79430): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x79442): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x79486): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x7948e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x79496): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x794ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x794b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404923:(.text+0x794ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404977:(.text+0x794c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_suboffsets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423339:(.text+0x794e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x79516): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404831:(.text+0x795b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0x795d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x795ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3644:(.text+0x795f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404832:(.text+0x7960a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7963a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404859:(.text+0x79668): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0x79682): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x796c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404806:(.text+0x796e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404810:(.text+0x79732): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7977a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x797ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_shape': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423329:(.text+0x79804): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404718:(.text+0x7987c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404745:(.text+0x798d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_shape': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423331:(.text+0x798e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7992c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404721:(.text+0x79934): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404721:(.text+0x7993c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x79952): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x7995a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x79960): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x79968): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x79986): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x799bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x79a58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x79a7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_113getCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289828:(.text+0x79a92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289828:(.text+0x79a9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_112getCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289900:(.text+0x79ab0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x79ae0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x79b0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x79b28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_108getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289663:(.text+0x79b66): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_109getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289631:(.text+0x79b88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x79bd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_108getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289697:(.text+0x79c20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289697:(.text+0x79c52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_104getCoordinateSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289448:(.text+0x79ca8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x79d20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_104getCoordinateSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289494:(.text+0x79d7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_105getCoordinateSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289421:(.text+0x79d8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x79dd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289299:(.text+0x79dd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x79de0): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289303:(.text+0x79df6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x79dfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289335:(.text+0x79e04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x79e0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289346:(.text+0x79e2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x79e60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289305:(.text+0x79efc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x79f22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x79f36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289344:(.text+0x79f42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x79f54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289346:(.text+0x79f84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289396:(.text+0x79fb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x79fcc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x7a00a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289396:(.text+0x7a02c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289396:(.text+0x7a07c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x7a0c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_101getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289201:(.text+0x7a0f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x7a14c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_101getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289207:(.text+0x7a1c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_100getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289279:(.text+0x7a21e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289279:(.text+0x7a230): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288628:(.text+0x7a274): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7a27c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288639:(.text+0x7a284): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7a29a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7a2a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7a2a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7a2b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288666:(.text+0x7a2ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_92restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288700:(.text+0x7a304): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288672:(.text+0x7a39c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288651:(.text+0x7a3c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288651:(.text+0x7a3d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x7a3e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_92restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288700:(.text+0x7a3f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288709:(.text+0x7a422): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288655:(.text+0x7a44e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7a468): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7a4a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_90getLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288562:(.text+0x7a4c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7a51c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_91getLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288536:(.text+0x7a554): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_90getLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288608:(.text+0x7a5c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_89restoreGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288416:(.text+0x7a5f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7a620): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_89restoreGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288456:(.text+0x7a66e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7a6b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x7a6c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7a6f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x7a77c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x7a87a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x7a882): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_87getGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288330:(.text+0x7a896): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288330:(.text+0x7a8a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7a8d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_86getGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288396:(.text+0x7a954): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288396:(.text+0x7a95a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_85createLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288229:(.text+0x7a986): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7a990): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7aa08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_83createGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288144:(.text+0x7aaf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x7ab1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ab54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_82createGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288209:(.text+0x7abc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288209:(.text+0x7abf8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_81setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288014:(.text+0x7ac20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ac6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_81setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288054:(.text+0x7acb8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288063:(.text+0x7acc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7acf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_81setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288028:(.text+0x7ad60): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288041:(.text+0x7ad8c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288037:(.text+0x7ae10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7ae2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_80setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288105:(.text+0x7ae32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7ae58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7aec4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_73getDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287631:(.text+0x7aed6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x7afbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7affa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7b01a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7b02c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_55setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286621:(.text+0x7b05a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286630:(.text+0x7b07a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_54setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286660:(.text+0x7b09a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7b0ac): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_55setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286602:(.text+0x7b0de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286615:(.text+0x7b0f0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_54setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286674:(.text+0x7b10c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_55setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286604:(.text+0x7b138): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286604:(.text+0x7b142): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7b2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_47getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285795:(.text+0x7b36a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7b382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_46getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285849:(.text+0x7b3c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_47getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285802:(.text+0x7b462): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7b488): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7b496): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_35setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285130:(.text+0x7b4bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7b4ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_35setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285142:(.text+0x7b4fc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7b530): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_35setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285136:(.text+0x7b53a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285136:(.text+0x7b546): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_34setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285184:(.text+0x7b58a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284959:(.text+0x7b5b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284959:(.text+0x7b5be): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284959:(.text+0x7b5e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7b5f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7b622): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285014:(.text+0x7b656): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_32viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285111:(.text+0x7b660): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285018:(.text+0x7b66c): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_32viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285095:(.text+0x7b6ae): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285028:(.text+0x7b6f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285028:(.text+0x7b6f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284999:(.text+0x7b6fe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7b70c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7b714): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x7b71c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7b722): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284986:(.text+0x7b750): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284986:(.text+0x7b76c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_32viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285110:(.text+0x7b7ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285110:(.text+0x7b7d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285110:(.text+0x7b7de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285110: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284978:(.text+0x7b7ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284983:(.text+0x7b800): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285008:(.text+0x7b812): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285018:(.text+0x7b818): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x7b844): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_32viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285110:(.text+0x7b84e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284991:(.text+0x7b880): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284996:(.text+0x7b8b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284996:(.text+0x7b8ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284996:(.text+0x7b8c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284996:(.text+0x7b8ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284996:(.text+0x7b8d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_29appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284770:(.text+0x7b8fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284770:(.text+0x7b910): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7b926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_29appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284810:(.text+0x7b984): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284819:(.text+0x7b9a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284819:(.text+0x7b9b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7b9e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x7ba24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7bb06): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7bb32): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_29appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284819:(.text+0x7bb40): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_25setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284557:(.text+0x7bb66): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284557:(.text+0x7bb74): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7bba6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_25setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284597:(.text+0x7bbdc): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284606:(.text+0x7bbe6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284606:(.text+0x7bbf2): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_24setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284648:(.text+0x7bc36): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7bc58): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7bc66): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_25setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284571:(.text+0x7bc8c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284577:(.text+0x7bc9a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284584: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_25setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284584:(.text+0x7bccc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_24setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284663:(.text+0x7bd00): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_25setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284577:(.text+0x7bd0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284577:(.text+0x7bd16): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_24setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284638:(.text+0x7bd5a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7bd80): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_23setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284445:(.text+0x7bd8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284445:(.text+0x7bdb0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7bdbe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7bdec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_23setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284485:(.text+0x7be20): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284494:(.text+0x7be2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284494:(.text+0x7be36): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_22setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284536:(.text+0x7be78): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_23setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284466:(.text+0x7bea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284479:(.text+0x7beb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284479:(.text+0x7beb6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_22setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284514:(.text+0x7bec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284514:(.text+0x7becc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284514:(.text+0x7bed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284538:(.text+0x7beda): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284246:(.text+0x7bfac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7bfc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284246:(.text+0x7bfca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284246:(.text+0x7bfd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7bfda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284275: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7bff2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7c004): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7c018): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284284:(.text+0x7c01e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284295:(.text+0x7c04a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284295:(.text+0x7c054): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7c086): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284272:(.text+0x7c0c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284280:(.text+0x7c0ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_18setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284315:(.text+0x7c0d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284315:(.text+0x7c0de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284315:(.text+0x7c0e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284315:(.text+0x7c0ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284266:(.text+0x7c112): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284269:(.text+0x7c11a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284266:(.text+0x7c122): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284269:(.text+0x7c134): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_18setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284325:(.text+0x7c154): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284273:(.text+0x7c16c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284273:(.text+0x7c18e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283946:(.text+0x7c1d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283956:(.text+0x7c1da): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283975:(.text+0x7c200): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7c212): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283984:(.text+0x7c23c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283986:(.text+0x7c254): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283978:(.text+0x7c280): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284037:(.text+0x7c2be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7c2ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283966:(.text+0x7c392): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283972:(.text+0x7c3be): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7c41a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283883:(.text+0x7c452): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283888:(.text+0x7c46a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_11clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283850:(.text+0x7c49e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7c4b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283885:(.text+0x7c578): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283885:(.text+0x7c5a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x7c630): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283926:(.text+0x7c656): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x7c6d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x7c6e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7c812): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283736:(.text+0x7c842): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283720:(.text+0x7c8de): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283714:(.text+0x7c90c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7c91e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283715:(.text+0x7c93c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283716:(.text+0x7c948): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283719:(.text+0x7c95a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346766:(.text+0x7c9c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346785:(.text+0x7c9f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x7ca06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346804:(.text+0x7ca1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346804:(.text+0x7ca26): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7ca2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346745:(.text+0x7ca40): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x7ca76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ca8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346711:(.text+0x7cb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346711:(.text+0x7cb76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346785:(.text+0x7cba6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329609:(.text+0x7cc84): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329620:(.text+0x7ccb2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329620:(.text+0x7ccc4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329650:(.text+0x7cce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7cd0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7cd20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7cd3e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329585:(.text+0x7cd50): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329650:(.text+0x7cdaa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329591:(.text+0x7cdd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329594:(.text+0x7cdee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329662:(.text+0x7ce1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329662:(.text+0x7ce22): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7ce34): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7ce48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ce9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329350:(.text+0x7cf88): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7cf94): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x7cfee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329392:(.text+0x7d01e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x7d0b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329295:(.text+0x7d0dc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329237:(.text+0x7d0ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329197:(.text+0x7d10c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7d13a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329226:(.text+0x7d14c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329228:(.text+0x7d16e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x7d180): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x7d188): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329204:(.text+0x7d1d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329212:(.text+0x7d1f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329203:(.text+0x7d214): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7d240): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329277:(.text+0x7d248): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329207:(.text+0x7d25a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329208:(.text+0x7d26e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7d2be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_3apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329078:(.text+0x7d3ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329095:(.text+0x7d41a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_2apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329162:(.text+0x7d4a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x7d4ca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7d4dc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7d4fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7d508): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_14setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298869:(.text+0x7d51a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7d558): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_15setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298845:(.text+0x7d57e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298845:(.text+0x7d594): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298844:(.text+0x7d5d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298844:(.text+0x7d5de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298563:(.text+0x7d5f0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298573:(.text+0x7d5fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7d64a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x7d6e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7d710): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298590:(.text+0x7d752): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298586:(.text+0x7d7c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298586:(.text+0x7d7d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298586:(.text+0x7d7da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298654:(.text+0x7d800): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x7d8a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x7d8b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7d8c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7d914): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x7d91c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298436:(.text+0x7d9be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298445:(.text+0x7d9ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7da96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298346:(.text+0x7da9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298346:(.text+0x7daa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7dad4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298396:(.text+0x7db42): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298396:(.text+0x7db54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352361:(.text+0x7dc10): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352400:(.text+0x7dc58): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352412:(.text+0x7dc6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7dcb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352348:(.text+0x7dce4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352348:(.text+0x7dd0e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352427:(.text+0x7dd30): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352341:(.text+0x7dd46): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352344:(.text+0x7dd58): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352412:(.text+0x7dd8e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352184:(.text+0x7dde4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352249:(.text+0x7de28): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352268:(.text+0x7de2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20027:(.text+0x7de42): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x7de50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7de5c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352228:(.text+0x7de80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7de88): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352188:(.text+0x7de9c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x7deae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7dec8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352194:(.text+0x7df58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352203:(.text+0x7df6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352203:(.text+0x7df96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352194:(.text+0x7dfa0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7e082): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352106:(.text+0x7e0b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352154:(.text+0x7e0e0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352154:(.text+0x7e0ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7e1b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_69getNonEmptyStratumValuesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346609:(.text+0x7e1e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346609:(.text+0x7e20e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7e218): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x7e2c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7e2ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_67convertToSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346505:(.text+0x7e33e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7e378): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_67convertToSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346499:(.text+0x7e398): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346499:(.text+0x7e3a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_66convertToSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346583:(.text+0x7e3ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346583:(.text+0x7e3ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346583:(.text+0x7e3fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7e504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7e516): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_65gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346402:(.text+0x7e542): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346406:(.text+0x7e54c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346396:(.text+0x7e5f0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346406:(.text+0x7e638): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_64gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346473:(.text+0x7e64e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_65gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346385:(.text+0x7e694): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_64gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346473:(.text+0x7e6c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7e6ee): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_63distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346231:(.text+0x7e710): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346231:(.text+0x7e726): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7e738): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7e76e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_62distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346305:(.text+0x7e7c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_63distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346285:(.text+0x7e808): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346285:(.text+0x7e80e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x7e822): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_63distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346246:(.text+0x7e830): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346251:(.text+0x7e83c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346258:(.text+0x7e860): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346258:(.text+0x7e868): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346258:(.text+0x7e87c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346275:(.text+0x7e88e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_62distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346342:(.text+0x7e8a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_63distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346257:(.text+0x7e8fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7e93a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_61permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346100:(.text+0x7e96a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7e9d8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x7ea40): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x7ea48): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_60permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346211:(.text+0x7eafc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_61permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346126:(.text+0x7eb5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7eb9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7eba6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345767:(.text+0x7ebfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ec04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ec18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ec20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7ec36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345787:(.text+0x7ec66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345787:(.text+0x7ec76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7ecb0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x7ecba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345752:(.text+0x7ece4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345758:(.text+0x7ecf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345764:(.text+0x7ed00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_54hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345809:(.text+0x7ed18): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345855:(.text+0x7ed3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345856:(.text+0x7ed42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345761:(.text+0x7ed78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345765:(.text+0x7ed9e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345765:(.text+0x7edbc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_53hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345651:(.text+0x7eeae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_52hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345692:(.text+0x7eeda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345673:(.text+0x7ef5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345719:(.text+0x7ef78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_53hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345622:(.text+0x7ef80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345625:(.text+0x7efa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7f012): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7f024): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_45clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345281:(.text+0x7f0c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345290:(.text+0x7f0ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_44clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345310:(.text+0x7f170): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345334:(.text+0x7f18a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345334:(.text+0x7f192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_45clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345264:(.text+0x7f1b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7f224): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7f236): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7f2ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x7f2b8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_41getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345024:(.text+0x7f2fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_40getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345056:(.text+0x7f330): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_41getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345002:(.text+0x7f3a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345002:(.text+0x7f3ac): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_40getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345093:(.text+0x7f3d2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345093:(.text+0x7f482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7f49c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_41getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345024:(.text+0x7f4b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344702:(.text+0x7f4c4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x7f4e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344744:(.text+0x7f554): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344751:(.text+0x7f562): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344751:(.text+0x7f56a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x7f59e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7f5c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344722:(.text+0x7f5f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344736:(.text+0x7f606): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_36hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344773:(.text+0x7f60e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344819:(.text+0x7f622): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344725:(.text+0x7f650): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344725:(.text+0x7f662): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_36hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344792:(.text+0x7f692): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344729:(.text+0x7f6ac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344729:(.text+0x7f6b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7f6ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7f6e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_32getValueIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344487:(.text+0x7f722): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344499:(.text+0x7f732): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_33getValueIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344467:(.text+0x7f750): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_32getValueIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344524:(.text+0x7f7d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344524:(.text+0x7f7e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344524:(.text+0x7f814): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344524:(.text+0x7f81e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_24addStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344084:(.text+0x7f906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x7f918): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_25addStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344030:(.text+0x7f944): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344030:(.text+0x7f94e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7fa36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_25addStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344064:(.text+0x7fa48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_21setDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343769:(.text+0x7fa74): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343769:(.text+0x7fa7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343789:(.text+0x7fb66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343803:(.text+0x7fb78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_20setDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343862:(.text+0x7fba4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343862:(.text+0x7fbae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7fc4c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7fc56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_8duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343154:(.text+0x7fc9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x7fcce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_9duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343128:(.text+0x7fd20): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_8duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343191:(.text+0x7fd4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342951:(.text+0x7fdce): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342950:(.text+0x7fde4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x7fdf6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342994:(.text+0x7fe56): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342996:(.text+0x7fe64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342982:(.text+0x7fe6c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343067:(.text+0x7fec4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x7fee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343003:(.text+0x7ff16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343003:(.text+0x7ff2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342979:(.text+0x7ff34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x7ff48): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342955:(.text+0x7ff74): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342963:(.text+0x7ff86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342966:(.text+0x7ff92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342966:(.text+0x7ffa4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343102:(.text+0x7ffd0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343102:(.text+0x7ffde): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343055:(.text+0x7fff2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x80030): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342963:(.text+0x80040): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8005e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342976:(.text+0x800a4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342976:(.text+0x800ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscBuffer_Release': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:88:(.text+0x800f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_releasebuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28652:(.text+0x80126): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscBuffer_Release': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:88:(.text+0x80168): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_releasebuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23292:(.text+0x80192): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403710:(.text+0x80224): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403722:(.text+0x8023a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403737:(.text+0x8024c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x802ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403762:(.text+0x802bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x802c4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x80306): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x8032a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x80342): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403802:(.text+0x80376): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8038c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403920:(.text+0x80394): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x803a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403948:(.text+0x803d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403948:(.text+0x803e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403948:(.text+0x803f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x80404): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403785:(.text+0x80432): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x80440): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x80454): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403874:(.text+0x80494): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403865:(.text+0x804a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403875:(.text+0x804c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403882:(.text+0x80510): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403883:(.text+0x8051a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x80560): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403684:(.text+0x80592): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403939:(.text+0x805dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x80608): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403881:(.text+0x806a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403722:(.text+0x806c0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x806d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x806e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x80706): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403883:(.text+0x80752): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403684:(.text+0x80760): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x80768): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x807aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403796:(.text+0x807ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403833:(.text+0x8080a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x80820): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403895:(.text+0x80828): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x8083c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403895:(.text+0x8086c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403895:(.text+0x8087e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403948:(.text+0x8088a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8089c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryviewslice_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408666:(.text+0x808c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408666:(.text+0x808d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408684:(.text+0x808ea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403330:(.text+0x80928): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403330:(.text+0x80938): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403346:(.text+0x80956): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x809a2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403512:(.text+0x809ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x809f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x80a24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403560:(.text+0x80a6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0x80a9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_copying': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411716:(.text+0x80b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411935:(.text+0x80b52): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403601:(.text+0x80b68): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403600:(.text+0x80b7a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403610:(.text+0x80b98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403487:(.text+0x80be4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_copying': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411716:(.text+0x80bf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice_with_gil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411749:(.text+0x80bfa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411749:(.text+0x80c3c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411814:(.text+0x80c5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x80c9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x80cb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403371:(.text+0x80cba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x80cce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x80cfe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403498:(.text+0x80d10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403498:(.text+0x80d1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403563:(.text+0x80d2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `assert_direct_dimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406678:(.text+0x80d5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_acquirebuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28525:(.text+0x80d68): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28541:(.text+0x80d7c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscBuffer_FillInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:60:(.text+0x80dba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:67:(.text+0x80dca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x80de8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscBuffer_FillInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:78:(.text+0x80e32): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x80e3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscBuffer_FillInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:42:(.text+0x80e82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_acquirebuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23165:(.text+0x80eb4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23190:(.text+0x80ef6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscBuffer_FillInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:47:(.text+0x80f20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:78:(.text+0x80fb2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_acquirebuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23181:(.text+0x80fc8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23225:(.text+0x80fda): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x8103c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8104a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x81052): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401547:(.text+0x81094): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x810b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401603:(.text+0x810d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x81104): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8111a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x81122): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401616:(.text+0x81136): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x81162): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_MemviewEnum_1__reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401479:(.text+0x81174): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401479:(.text+0x81180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x81192): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401649:(.text+0x811c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401593:(.text+0x811ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x811e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x81222): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401662:(.text+0x81232): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x81252): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_MemviewEnum_1__reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401479:(.text+0x812ae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401479:(.text+0x812b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401686:(.text+0x81330): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8135e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401649:(.text+0x8144a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8145c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401662:(.text+0x81468): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8147e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401519:(.text+0x81490): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401519:(.text+0x8149a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406178:(.text+0x814aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406213:(.text+0x814c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x814fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x81522): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x81542): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406305:(.text+0x81556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_IS_TYPE': /usr/include/python3.11/object.h:150:(.text+0x815e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x81606): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406322:(.text+0x81652): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406324:(.text+0x81668): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8169e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406526:(.text+0x816b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406536:(.text+0x816ba): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406578:(.text+0x816cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406587:(.text+0x816dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406587:(.text+0x816e4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x81708): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x8170e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x81716): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0x8172a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8174e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x81762): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8179e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406335:(.text+0x817b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x817e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x817f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x81842): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406625:(.text+0x8187a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406313:(.text+0x818ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406370:(.text+0x8191e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x81946): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x81994): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406461:(.text+0x819de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x819ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x81a16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406292:(.text+0x81abe): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406582:(.text+0x81b10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406582:(.text+0x81b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406582:(.text+0x81b36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x81b62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x81b6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406459:(.text+0x81c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406459:(.text+0x81c5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406525:(.text+0x81ccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406587:(.text+0x81cde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x81d0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406184:(.text+0x81d14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_22getVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360400:(.text+0x81df0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360412:(.text+0x81e02): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_23getVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360380:(.text+0x81e2e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360380:(.text+0x81e38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x81efa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_19setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360110:(.text+0x81f26): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360138:(.text+0x81f82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360149:(.text+0x81fba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_18setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360169:(.text+0x81fd2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_19setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360114:(.text+0x82006): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360120:(.text+0x82018): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360127:(.text+0x820de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8210a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x82166): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_17setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360026:(.text+0x8219e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360028:(.text+0x821b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_16setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360057:(.text+0x821ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x821fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x822c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_17setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360015:(.text+0x822f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_10getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359757:(.text+0x82370): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359780:(.text+0x8238a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_11getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359737:(.text+0x82392): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x823b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_10getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359794:(.text+0x8241e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359794:(.text+0x82430): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x824c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x824f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359563:(.text+0x8254c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359382:(.text+0x82584): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8259c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359458:(.text+0x825ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359458:(.text+0x825e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359428:(.text+0x8269e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x826ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359411:(.text+0x8270e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359422:(.text+0x82716): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359412:(.text+0x82732): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359412:(.text+0x82748): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359403:(.text+0x8275a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359407:(.text+0x8278c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359437:(.text+0x827c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x827da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8289e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_60viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350905:(.text+0x828ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_61viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350828:(.text+0x8290e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350834:(.text+0x82916): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350848:(.text+0x82932): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350841:(.text+0x8294e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_60viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350920:(.text+0x8297c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_61viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350840:(.text+0x829ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_60viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350905:(.text+0x829e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x829f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_31removePointAtIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348773:(.text+0x82abe): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348773:(.text+0x82aca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x82af0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_31removePointAtIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348738:(.text+0x82b14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_27addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348587:(.text+0x82ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348589:(.text+0x82caa): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348589:(.text+0x82cbc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348598:(.text+0x82cd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348598:(.text+0x82cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348598:(.text+0x82ce4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348569:(.text+0x82d36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348575:(.text+0x82d4c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348583:(.text+0x82d58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_26addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348618:(.text+0x82d6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348642:(.text+0x82d7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348642:(.text+0x82d86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_27addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348572:(.text+0x82da2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348576:(.text+0x82dec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x82e18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_23vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348360:(.text+0x82e5c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348360:(.text+0x82e64): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348389:(.text+0x82e80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x82e9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_23vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348400:(.text+0x82eca): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x82f18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x82f34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x82f46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_22vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348467:(.text+0x83008): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_23vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348383:(.text+0x83034): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x83078): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x83080): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_21restoreField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348214:(.text+0x8309c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348214:(.text+0x830b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348225:(.text+0x830c4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x830f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_21restoreField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348263:(.text+0x83132): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348263:(.text+0x83144): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348248:(.text+0x83206): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348241:(.text+0x83232): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348237:(.text+0x83276): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348237:(.text+0x8327e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348237:(.text+0x8329a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x832b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x832c2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_19getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347941:(.text+0x832f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x83330): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x83342): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_18getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348063:(.text+0x833d8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x833e0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_18getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348103:(.text+0x8341e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348153:(.text+0x83438): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348153:(.text+0x83444): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348166:(.text+0x8348e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x834c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x834d2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x834fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_18getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348140:(.text+0x83506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_19getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347956:(.text+0x8350e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347956:(.text+0x83516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x835da): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8365a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x83668): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8367e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_9destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347321:(.text+0x8369e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347332:(.text+0x836c2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_8destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347363:(.text+0x836fe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_9destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347297:(.text+0x8376c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347303:(.text+0x8377e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347310:(.text+0x837a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347310:(.text+0x837aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347310:(.text+0x837b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347310:(.text+0x837be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347303:(.text+0x837f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347306:(.text+0x83808): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x83832): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_8destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347375:(.text+0x8383a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347375:(.text+0x83842): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x83858): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x83862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347332: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_7createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347144:(.text+0x838a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x838b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x838c8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_7createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347173:(.text+0x838f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347173:(.text+0x83902): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347173:(.text+0x8390a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347182:(.text+0x8391e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_6createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347213:(.text+0x83952): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347225:(.text+0x8395c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347237:(.text+0x83988): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8399e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x839a4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x839b6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_6createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347262:(.text+0x83a20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347262:(.text+0x83a4c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347262:(.text+0x83acc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_7createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347160:(.text+0x83ae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347160:(.text+0x83aee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x83b12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_5destroyGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347026:(.text+0x83b7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x83b8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x83c24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_4destroyGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347098:(.text+0x83c40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x83c6c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x83c76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_5destroyGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347020:(.text+0x83d18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347020:(.text+0x83d34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_4destroyGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347098:(.text+0x83d60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x83d6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x83dee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_3createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346889:(.text+0x83e28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x83e54): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_2createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346918:(.text+0x83e5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_3createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346861:(.text+0x83ef0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346867:(.text+0x83f14): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_2createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346976:(.text+0x83f2e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346976:(.text+0x83f36): undefined reference to `PyNumber_Subtract' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346976:(.text+0x83f4c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346976:(.text+0x83fd4): undefined reference to `PyNumber_InPlaceSubtract' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_3createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346874:(.text+0x83ffc): undefined reference to `PyNumber_InPlaceSubtract' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346874:(.text+0x8401e): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342436:(.text+0x84072): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342436:(.text+0x84080): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8408a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342449:(.text+0x84090): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8409c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342504:(.text+0x84112): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8412c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x841b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_42setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342610:(.text+0x841c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342641:(.text+0x841d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x841dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x841e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342513: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x84226): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x8423e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x84266): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x842a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x842ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x842b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x84354): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_42setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342645:(.text+0x8437e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x84460): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_42setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342610:(.text+0x84488): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342610:(.text+0x8448e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342472:(.text+0x8449c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342478:(.text+0x844bc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8450c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x84520): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342498:(.text+0x84528): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342628:(.text+0x84556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342513:(.text+0x8455e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342513: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x84692): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x846a0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_40setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342377:(.text+0x846d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342410:(.text+0x846e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x846e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x846f0): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x847d4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_40setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342397:(.text+0x84800): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x84818): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x84820): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8486c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x84874): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_40setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342414:(.text+0x8488a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_41setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342231:(.text+0x8491a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342264:(.text+0x84930): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342231:(.text+0x84938): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_40setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342377:(.text+0x849a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_41setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342250:(.text+0x849f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x84a1e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x84a28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_39setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341983:(.text+0x84a9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x84ae2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x84bb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_38setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342144:(.text+0x84bd8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x84c00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x84c22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x84c4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x84c66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x84c86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x84ca4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x84ce2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_38setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342164:(.text+0x84d08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342177:(.text+0x84d20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342133:(.text+0x84dba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_39setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341993:(.text+0x84de6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342006:(.text+0x84ec0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342032:(.text+0x84f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x84f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x84f60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342047:(.text+0x84f88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x84fde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341787:(.text+0x84fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x84ff2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341805:(.text+0x85044): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341805:(.text+0x8504c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8509c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x850ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x850ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_36setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341900:(.text+0x850d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341900:(.text+0x850d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341814:(.text+0x8513e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8516a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341787:(.text+0x8518a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x85192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_36setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341879:(.text+0x852a8): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341948:(.text+0x852e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341798:(.text+0x8534e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341798:(.text+0x85356): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341765:(.text+0x8535e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341768:(.text+0x85366): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341768:(.text+0x8536e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341768: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341784:(.text+0x85434): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341799:(.text+0x85460): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8550c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8552c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_35setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341572:(.text+0x8555a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341574:(.text+0x85562): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341646:(.text+0x8559c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x855b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341678:(.text+0x85602): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x85612): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x85624): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x856b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x856d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341711:(.text+0x85746): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x85756): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8579a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x857a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341646:(.text+0x857b6): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341715:(.text+0x857c0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341715:(.text+0x857d2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_35setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341522:(.text+0x85808): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341527:(.text+0x85818): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341565:(.text+0x8585c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341565:(.text+0x85862): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341535:(.text+0x85878): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341535:(.text+0x85882): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x85894): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x858ca): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341678:(.text+0x858da): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_35setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341551:(.text+0x8591e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341551:(.text+0x85924): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341551:(.text+0x8593a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341551:(.text+0x85944): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x85956): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341698:(.text+0x8598c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341698:(.text+0x8599c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341271:(.text+0x859e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341283:(.text+0x859e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x859fc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341321:(.text+0x85a06): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x85a18): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x85a4e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341339:(.text+0x85a5e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341399:(.text+0x85aa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341413:(.text+0x85aa8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x85abe): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x85ac8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x85ada): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341445:(.text+0x85b10): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341445:(.text+0x85b20): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341348:(.text+0x85b64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341348:(.text+0x85b6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x85b80): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x85b8a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x85b9c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x85bdc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341400:(.text+0x85bf6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341400:(.text+0x85c00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x85c2c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x85c36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341299:(.text+0x85c90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x85cb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341482:(.text+0x85cde): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341482:(.text+0x85ce8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341482:(.text+0x85d0a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341482:(.text+0x85d14): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x85dac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341400:(.text+0x85dc0): undefined reference to `PyDict_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341400:(.text+0x85dcc): undefined reference to `PyDict_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x85dd8): undefined reference to `PyDict_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341445:(.text+0x85de4): undefined reference to `PyDict_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341307:(.text+0x85df0): undefined reference to `PyDict_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341313:(.text+0x85e0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341318:(.text+0x85e38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341318:(.text+0x85e42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x85e62): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x85e7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341465:(.text+0x85ea8): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341038:(.text+0x85ec2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341038:(.text+0x85ed4): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341038:(.text+0x85eee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341052:(.text+0x85f00): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341088:(.text+0x85f1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x85f2c): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x85f46): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341166:(.text+0x85fb4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x85fe0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x85ffe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341201:(.text+0x86006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x86044): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341115:(.text+0x86070): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341115:(.text+0x8607a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341167:(.text+0x86108): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x86126): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x8612e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341056:(.text+0x8618c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341066:(.text+0x861a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341098:(.text+0x861ac): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341153:(.text+0x861b6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341153:(.text+0x861bc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x861c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341201:(.text+0x8620a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341249:(.text+0x86222): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341061:(.text+0x8623a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341066:(.text+0x86244): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341084:(.text+0x8624a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341069:(.text+0x862b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341167:(.text+0x862de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x86370): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x863a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341232:(.text+0x863b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340858:(.text+0x864a0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_28setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340947:(.text+0x864cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340947:(.text+0x864d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x86502): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x8650c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x865c2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_28setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340920:(.text+0x865ee): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x865f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_28setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340934:(.text+0x86624): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8662e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x866e4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_28setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341016:(.text+0x86710): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340968:(.text+0x8671a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340833:(.text+0x86746): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340828:(.text+0x86750): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x867f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340841:(.text+0x86822): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340852:(.text+0x86866): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x868ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340572:(.text+0x868ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340572:(.text+0x868fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340623:(.text+0x869b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_26setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340735:(.text+0x86a32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340779:(.text+0x86a62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340649:(.text+0x86aa0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x86ae8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x86b0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x86b64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x86bf0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_26setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340783:(.text+0x86c0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340783:(.text+0x86c38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340783:(.text+0x86c42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x86ce0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x86d0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340614:(.text+0x86d50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x86da4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_26setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340766:(.text+0x86dd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340649:(.text+0x86de8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x86ed0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_24setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340481:(.text+0x86efc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x86f06): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x86f32): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_24setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340502:(.text+0x86f3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340389:(.text+0x86fee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8701a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x87024): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x87050): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x8705a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_24setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340454:(.text+0x870ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8710a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_24setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340502:(.text+0x87136): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340502:(.text+0x87140): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340400:(.text+0x871b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340375:(.text+0x87236): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340381:(.text+0x87266): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340386:(.text+0x872a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_24setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340533:(.text+0x872ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338606:(.text+0x8730e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338656:(.text+0x87368): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_10setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338720:(.text+0x873f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x87410): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x8743c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x87446): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338683:(.text+0x874d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x874ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x87518): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_10setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338721:(.text+0x87522): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338813:(.text+0x875ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338624:(.text+0x875ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x875f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_10setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338721:(.text+0x87600): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338634:(.text+0x8768c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338634:(.text+0x876a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338634:(.text+0x876d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338637:(.text+0x876de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338642:(.text+0x87752): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x877d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338800:(.text+0x87804): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x87840): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x87888): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x878aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_8setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338476:(.text+0x87902): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8798e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x879aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_9setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338450:(.text+0x879d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338450:(.text+0x879e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x87a6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x87a88): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x87ab4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_8setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338580:(.text+0x87abe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_9setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338396:(.text+0x87b8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338434:(.text+0x87bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338434:(.text+0x87bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_8setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338502:(.text+0x87c2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_9setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338409:(.text+0x87c58): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338410:(.text+0x87c62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x87cbe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x87cd4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x87cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_8setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338567:(.text+0x87cf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_9setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338450:(.text+0x87d16): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337910:(.text+0x87d28): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337910:(.text+0x87d3a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338005:(.text+0x87d96): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338027:(.text+0x87dc2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x87e06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337958:(.text+0x87e5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338039:(.text+0x87e8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338039:(.text+0x87e9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337939:(.text+0x87f68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x87f84): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_17getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337617:(.text+0x87fb0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_16getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337669:(.text+0x87fba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x88046): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x88062): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_16getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337709:(.text+0x8808e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337718:(.text+0x88098): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x88124): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_LGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22698:(.text+0x88140): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_16getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337754:(.text+0x8816c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337754:(.text+0x88176): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x88202): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8821e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_17getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337619:(.text+0x8824a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337618:(.text+0x88254): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_16getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337754:(.text+0x882e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x882fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_16getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337754:(.text+0x88328): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x88332): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_17getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337625:(.text+0x883be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336258:(.text+0x883da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x88406): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x88410): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8849c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x884b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x884e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336302:(.text+0x884ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336298:(.text+0x8857a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336288:(.text+0x88596): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336282:(.text+0x885c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336258:(.text+0x885cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_51setCoordinateDMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334080:(.text+0x8866a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x88696): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_51setCoordinateDMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334100:(.text+0x886da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_50setCoordinateDMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334142:(.text+0x8872e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x88760): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_51setCoordinateDMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334065:(.text+0x88772): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8883c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x88858): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_39getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333063:(.text+0x88884): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333063:(.text+0x8888e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62455:(.text+0x88902): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62483:(.text+0x88984): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x889b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62403:(.text+0x889f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62403:(.text+0x88a38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x88a5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_39getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333069:(.text+0x88ab2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x88b50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_38getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333170:(.text+0x88b7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x88bc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62405:(.text+0x88c14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62481:(.text+0x88c46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x88c58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_39getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333075:(.text+0x88d34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x88d60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_27getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332364:(.text+0x88da4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332425:(.text+0x88df8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x88e2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332439:(.text+0x88e3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446788:(.text+0x88f18): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332464:(.text+0x88f44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x88f88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x88fdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332483:(.text+0x8900e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332485:(.text+0x89020): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x890fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x89128): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8916a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x891be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_27getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332369:(.text+0x891f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x89202): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332437:(.text+0x892dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x89308): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8934a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x8939e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332475:(.text+0x893d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x893e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x894bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x894e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_25getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332132:(.text+0x8952a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332202:(.text+0x8957e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332212:(.text+0x895b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332214:(.text+0x895c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446757:(.text+0x896a2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446788:(.text+0x896b2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x896f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x896fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x8970e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332248:(.text+0x8973a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x89742): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x89768): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x89772): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x89784): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x897d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446780:(.text+0x89800): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x89878): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x89888): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x898c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332290:(.text+0x898e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332290:(.text+0x898ea): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x898fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332294:(.text+0x89916): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446757:(.text+0x89944): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446788:(.text+0x89956): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446788:(.text+0x89968): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332220:(.text+0x89a32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x89a86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332339:(.text+0x89ab2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_25getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332139:(.text+0x89abc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x89b38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x89bba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_25getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332134:(.text+0x89bea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332216:(.text+0x89c28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x89c70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332252:(.text+0x89c92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332212:(.text+0x89cec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332252:(.text+0x89d78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x89d94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332248:(.text+0x89dc0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x89dca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332162:(.text+0x89e68): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332282:(.text+0x89e94): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332290:(.text+0x89ed8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332140:(.text+0x89f2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_3setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330805:(.text+0x89f5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x89f70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_3setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330820:(.text+0x8a04c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_2setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330874:(.text+0x8a078): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_3setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330828:(.text+0x8a0bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330832:(.text+0x8a110): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8a142): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_281topologyLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328166:(.text+0x8a154): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x8a230): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_281topologyLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328220:(.text+0x8a25c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328193:(.text+0x8a2a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_280topologyLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328277:(.text+0x8a2f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_281topologyLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328189:(.text+0x8a326): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328189:(.text+0x8a338): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_252metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326322:(.text+0x8a412): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x8a43e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x8a482): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_253metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326300:(.text+0x8a4d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8a508): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_252metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326347:(.text+0x8a51a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326372:(.text+0x8a600): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326372:(.text+0x8a622): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x8a64e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x8a658): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8a714): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_253metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326266:(.text+0x8a720): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326270:(.text+0x8a73e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_252metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326372:(.text+0x8a768): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_253metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326275:(.text+0x8a794): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8a7e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326109:(.text+0x8a800): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326109:(.text+0x8a81c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8a82e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_250metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326200:(.text+0x8a912): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326166:(.text+0x8a934): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_250metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326199:(.text+0x8a960): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326199:(.text+0x8a96a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326145:(.text+0x8aa26): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x8aa32): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326156:(.text+0x8aa50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_250metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326225:(.text+0x8aa7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x8aaa6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326121:(.text+0x8aaf2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8ab12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8ab2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8ab40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_250metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326225:(.text+0x8ac24): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x8ac46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_249metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325954:(.text+0x8ac72): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325966:(.text+0x8ac7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x8ad38): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8ad44): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_249metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326007:(.text+0x8ad62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326018:(.text+0x8ad8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8adb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x8ae04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x8ae24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x8ae40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x8ae52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x8af36): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8af58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_249metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325978:(.text+0x8af84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325979:(.text+0x8af8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325986:(.text+0x8b04a): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325987:(.text+0x8b056): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325991:(.text+0x8b074): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_248metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326077:(.text+0x8b09e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x8b0ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_247metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325832:(.text+0x8b116): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_246metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325896:(.text+0x8b136): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x8b152): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x8b164): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_246metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325908:(.text+0x8b248): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x8b26a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x8b296): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x8b2a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_247metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325836:(.text+0x8b35c): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325842:(.text+0x8b368): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325850:(.text+0x8b386): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x8b3b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_247metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325841:(.text+0x8b3dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325845:(.text+0x8b428): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325846:(.text+0x8b448): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_246metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325934:(.text+0x8b464): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x8b476): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8b55a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8b57c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x8b5a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_171permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322188:(.text+0x8b5b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322178:(.text+0x8b66e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_170permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322213:(.text+0x8b67a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8b698): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_170permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322218:(.text+0x8b6c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_171permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322157:(.text+0x8b6ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_170permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322266:(.text+0x8b73a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8b75a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_171permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322161:(.text+0x8b776): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322161:(.text+0x8b788): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_169getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322023:(.text+0x8b86c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_168getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322064:(.text+0x8b88e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322076:(.text+0x8b8ba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322088:(.text+0x8b8c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_169getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322001:(.text+0x8b980): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_168getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322113:(.text+0x8b98c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322113:(.text+0x8b9aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_169getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321997:(.text+0x8b9d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_168getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322113:(.text+0x8ba00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322114:(.text+0x8ba4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8ba6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321570:(.text+0x8ba88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321570:(.text+0x8ba9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8bb7e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321616:(.text+0x8bba0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8bbcc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8bbd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321600:(.text+0x8bcd0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8bcfc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8bd4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x8bd6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321596:(.text+0x8bd90): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8bda2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x8bdc2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x8bdd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x8bdec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_146createCoarsePointIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320083:(.text+0x8be0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320095:(.text+0x8be24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8be38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_147createCoarsePointIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320063:(.text+0x8be3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320063:(.text+0x8be50): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8be68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8be7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_140uninterpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319590:(.text+0x8bf72): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x8bf94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_141uninterpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319571:(.text+0x8bfc0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319571:(.text+0x8bfca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_138interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319507:(.text+0x8c0c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8c0f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c142): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_139interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319482:(.text+0x8c160): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x8c184): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_138interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319540:(.text+0x8c196): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319541:(.text+0x8c1b6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319541:(.text+0x8c1c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_133distributionSetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319154:(.text+0x8c1e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319154:(.text+0x8c202): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c218): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c22c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c232): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c244): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_133distributionSetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319194:(.text+0x8c25c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319194:(.text+0x8c26e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319177:(.text+0x8c36c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_132distributionSetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319246:(.text+0x8c398): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319282:(.text+0x8c3a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319267:(.text+0x8c3ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_133distributionSetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319181:(.text+0x8c3d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8c4a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c4b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c4e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_117getPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318139:(.text+0x8c50e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_116getPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318211:(.text+0x8c556): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318211:(.text+0x8c56c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8c57e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317598:(.text+0x8c5b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x8c5ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_108setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317672:(.text+0x8c604): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317672:(.text+0x8c60a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317683:(.text+0x8c61e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317642:(.text+0x8c62c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317642:(.text+0x8c63e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c682): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317631:(.text+0x8c696): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317633:(.text+0x8c69e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8c6ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_108setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317662:(.text+0x8c770): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317603:(.text+0x8c79c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317608:(.text+0x8c7a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317617:(.text+0x8c7d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317617:(.text+0x8c7dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317616:(.text+0x8c8a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x8c8bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317642:(.text+0x8c8e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317064:(.text+0x8c912): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x8c95a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8c970): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317105:(.text+0x8c982): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8c9b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x8c9f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317172:(.text+0x8ca08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8ca0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x8ca22): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317179:(.text+0x8ca30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8ca42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x8ca86): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317187:(.text+0x8ca9a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317196:(.text+0x8caa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317208:(.text+0x8caee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317270:(.text+0x8cb74): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8cba0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317116:(.text+0x8cbaa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8cbd6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x8cbe0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317068:(.text+0x8ccaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317076:(.text+0x8ccc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317083:(.text+0x8ccea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8cd16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8cd5e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x8cd74): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317071:(.text+0x8cd86): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8cdbc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317076:(.text+0x8cdf6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317077:(.text+0x8ce0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317077:(.text+0x8ce12): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8ce26): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317210:(.text+0x8ce34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317084:(.text+0x8ce46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8ce8a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317196:(.text+0x8ce9e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317196:(.text+0x8cea6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8cef2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8cf78): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_101setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316966:(.text+0x8cfa4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316975:(.text+0x8cfae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_100setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317005:(.text+0x8cfda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316996:(.text+0x8cfe4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317005:(.text+0x8d0ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317032:(.text+0x8d0c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_101setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316946:(.text+0x8d0ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8d118): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_99setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316800:(.text+0x8d160): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316800:(.text+0x8d176): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8d188): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8d1be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_99setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316849:(.text+0x8d1f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316849:(.text+0x8d20e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316849:(.text+0x8d214): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8d228): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_98setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316879:(.text+0x8d236): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316891:(.text+0x8d248): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8d28c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_99setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316815:(.text+0x8d2a0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316815:(.text+0x8d2a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_98setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316879:(.text+0x8d2f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8d37a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316595:(.text+0x8d3a6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316595:(.text+0x8d3b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316595:(.text+0x8d3dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316608:(.text+0x8d3e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x8d4b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_96generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316702:(.text+0x8d4c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x8d4f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_96generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316745:(.text+0x8d51c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x8d564): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8d57a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316677:(.text+0x8d58c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316648:(.text+0x8d5c2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x8d5fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8d612): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8d618): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_96generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316721:(.text+0x8d62c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316780:(.text+0x8d63a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316780:(.text+0x8d64c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316618:(.text+0x8d690): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316630:(.text+0x8d6a4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316655:(.text+0x8d6ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x8d6f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8d77e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_96generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316745:(.text+0x8d7aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316623:(.text+0x8d7b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8d7e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8d7ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8d8b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8d8ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x8d8f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8d920): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_69createPointNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313779:(.text+0x8d968): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313779:(.text+0x8d97e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8d990): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_69createPointNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313773:(.text+0x8d9c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_68createPointNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313836:(.text+0x8da00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8da16): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8da1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_68createPointNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313836:(.text+0x8da30): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313836:(.text+0x8da3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x8da50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_66getVertexNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313713:(.text+0x8da94): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x8daa8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x8dab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8dafc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_66getVertexNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313747:(.text+0x8db82): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x8dbae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_65getCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313571:(.text+0x8dbb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_64getCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313603:(.text+0x8dbe4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313615:(.text+0x8dbee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313649:(.text+0x8dcb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8dcce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_64getCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313649:(.text+0x8dcf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8dd24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_46getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312460:(.text+0x8dd6c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x8dd82): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_47getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312408:(.text+0x8dd94): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8ddca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_46getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312474:(.text+0x8de04): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312474:(.text+0x8de1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_47getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312401:(.text+0x8de20): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_46getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312474:(.text+0x8de34): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312474:(.text+0x8de42): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312474:(.text+0x8de54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309918:(.text+0x8de98): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309917:(.text+0x8deac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309904:(.text+0x8deb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8df00): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_18createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310009:(.text+0x8df64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x8df80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_18createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310038:(.text+0x8dfac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310038:(.text+0x8dfb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x8e064): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x8e086): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309927:(.text+0x8e0b2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309932:(.text+0x8e0bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309927:(.text+0x8e17e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x8e1aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8e1b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_18createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310038:(.text+0x8e1e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309927:(.text+0x8e1ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309951:(.text+0x8e290): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309951:(.text+0x8e2bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8e2f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x8e31e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309725:(.text+0x8e386): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8e3ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309776:(.text+0x8e3e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_16createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309861:(.text+0x8e4aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309787:(.text+0x8e4d6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309763:(.text+0x8e4e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8e50c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x8e516): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_16createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309885:(.text+0x8e5cc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x8e5f8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x8e602): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_16createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309841:(.text+0x8e62e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309841:(.text+0x8e638): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309771:(.text+0x8e6ee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x8e71a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8e724): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x8e750): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x8e75a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x8e810): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309515:(.text+0x8e83c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309516:(.text+0x8e846): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8e872): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309552:(.text+0x8e87c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x8e922): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_14createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309643:(.text+0x8e94e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0x8e992): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309579:(.text+0x8e9e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8ea18): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x8ea2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x8eb16): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_14createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309615:(.text+0x8eb42): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309643:(.text+0x8eb4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309530:(.text+0x8eb78): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309563:(.text+0x8eb82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309533:(.text+0x8ec28): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309539:(.text+0x8ec54): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309549:(.text+0x8ec98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8ecec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x8ed1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309294:(.text+0x8ed30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309347:(.text+0x8edfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_12createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309397:(.text+0x8ee16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x8ee42): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x8ee4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309371:(.text+0x8eed8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309371:(.text+0x8eef4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8ef20): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8ef2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309317:(.text+0x8efb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309354:(.text+0x8efd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_12createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309482:(.text+0x8effe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x8f008): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x8f0b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_12createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309437:(.text+0x8f0d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309355:(.text+0x8f104): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309355:(.text+0x8f10e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309337:(.text+0x8f1d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8f1f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x8f21e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x8f228): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309153:(.text+0x8f306): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_10createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309202:(.text+0x8f328): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309212:(.text+0x8f354): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309222:(.text+0x8f35e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8f400): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x8f41c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x8f448): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x8f452): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_10createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309275:(.text+0x8f4c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309118:(.text+0x8f548): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309162:(.text+0x8f578): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_10createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309241:(.text+0x8f5b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309131:(.text+0x8f5fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8f61e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309147:(.text+0x8f676): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309177:(.text+0x8f714): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308855:(.text+0x8f740): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8f784): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x8f7d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_8createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309020:(.text+0x8f80a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309020:(.text+0x8f81c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308920:(.text+0x8f8f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x8f924): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308890:(.text+0x8f968): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8f9bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308936:(.text+0x8f9ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x8fa00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x8fadc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_8createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309020:(.text+0x8fb08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308907:(.text+0x8fb4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308928:(.text+0x8fba0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308927:(.text+0x8fbd2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308927:(.text+0x8fbe4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308901:(.text+0x8fcc0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x8fcec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x8fd30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x8fd84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307593:(.text+0x8fdb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20027:(.text+0x8fdc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307583:(.text+0x8fea4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307528:(.text+0x8fed0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307537:(.text+0x8ff14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307532:(.text+0x8ff68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307562:(.text+0x8ff9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x8ffac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x90076): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x90092): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x900be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x900c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_66getScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305505:(.text+0x90166): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305505:(.text+0x90192): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x90226): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_64getAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305343:(.text+0x90258): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x9026a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_64getAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305377:(.text+0x90346): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_59createNaturalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304904:(.text+0x90372): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_58createNaturalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304948:(.text+0x903b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9040a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_59createNaturalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304910:(.text+0x9043c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_58createNaturalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304973:(.text+0x9044e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9052a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_29setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302724:(.text+0x90556): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9059a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_28setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302751:(.text+0x905ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_29setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302702:(.text+0x90620): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302705:(.text+0x90632): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301392:(.text+0x9070e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9073a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301412:(.text+0x9077e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301377:(.text+0x907d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_8setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301432:(.text+0x90804): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301432:(.text+0x90816): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_13pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98019:(.text+0x908f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x9091e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x90962): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_12pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98098:(.text+0x909b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98110:(.text+0x909e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x909fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_13pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98042:(.text+0x90ac4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98045:(.text+0x90ae0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x90b0c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x90b16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_9setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97892:(.text+0x90ba2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97894:(.text+0x90bbe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_8setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97922:(.text+0x90bea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97923:(.text+0x90bf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_9setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97874:(.text+0x90c92): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97877:(.text+0x90cbe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97881:(.text+0x90d02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_25setActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83242:(.text+0x90d56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x90d88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x90d9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_25setActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83256:(.text+0x90e64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83268:(.text+0x90e80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_24setActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83346:(.text+0x90eac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_25setActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83262:(.text+0x90eb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83269:(.text+0x90f2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82878:(.text+0x90f6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x90f9a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82918:(.text+0x90ff6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x91060): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_20setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82990:(.text+0x91072): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82956:(.text+0x9108c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82992:(.text+0x910b0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82992:(.text+0x910ba): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82898:(.text+0x910f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82905:(.text+0x91144): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82905:(.text+0x91160): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9120e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_event_args2objs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19862:(.text+0x91224): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19852:(.text+0x91236): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19883:(.text+0x9126c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19937:(.text+0x91282): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19937:(.text+0x91294): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_8begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82349:(.text+0x912c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_9begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82306:(.text+0x91306): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x91344): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9134c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_8begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82335:(.text+0x91396): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82335:(.text+0x913b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x913de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_8begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82335:(.text+0x913e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_event_args2objs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19937:(.text+0x91486): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_8begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82346:(.text+0x914b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x91546): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_13setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81543:(.text+0x91578): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9158a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9163c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_13setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81534:(.text+0x916be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81537:(.text+0x916ee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81541:(.text+0x9172c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x91774): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_25setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80494:(.text+0x91796): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x917f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x91864): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_24setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80572:(.text+0x918e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_25setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80514:(.text+0x91916): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_24setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80584:(.text+0x91952): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9199a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80122:(.text+0x919bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x91a14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x91ab2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x91ade): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_20setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80226:(.text+0x91b22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x91b76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80149:(.text+0x91ba8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80149:(.text+0x91bba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17873:(.text+0x91ca4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x91cc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x91cf2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17673:(.text+0x91cfc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17714:(.text+0x91db0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x91ddc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x91e20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x91e74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x91ea6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x91eb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x91f94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x91fc0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17778:(.text+0x92004): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x92058): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x9208a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17866:(.text+0x9209c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17748:(.text+0x92186): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x921a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17829:(.text+0x921d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17829:(.text+0x921de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x9226c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x922d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_41insertString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73436:(.text+0x92346): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73445:(.text+0x92368): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73422:(.text+0x9240e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73423:(.text+0x92434): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73419:(.text+0x92494): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_40insertString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73487:(.text+0x924be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x924e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x92506): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9255c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_17clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71615:(.text+0x925b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_16clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71679:(.text+0x925e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_14destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71554:(.text+0x92624): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x92678): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_15destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71528:(.text+0x926aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71528:(.text+0x926bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x92786): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x927a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71440:(.text+0x927ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x927d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59835:(.text+0x92864): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59869:(.text+0x92880): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60052:(.text+0x928ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60052:(.text+0x928b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x9292a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x929ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x929dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x92a1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60013:(.text+0x92a62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60029:(.text+0x92a84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60074:(.text+0x92ade): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x92b8c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x92bb8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x92bc2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x92bee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59890:(.text+0x92bf8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x92c8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60084:(.text+0x92ca8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59595:(.text+0x92cd4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59605:(.text+0x92cde): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59644:(.text+0x92d6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x92d86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59657:(.text+0x92db2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x92dbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x92e48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x92e64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x92e90): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59676:(.text+0x92e9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x92f26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447084:(.text+0x92f42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x92f6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x92f78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59605:(.text+0x93004): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59757:(.text+0x93020): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9304c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x93056): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59648:(.text+0x930e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59607:(.text+0x930fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9312a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x93134): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419513:(.text+0x931d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_4__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59206:(.text+0x931fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59230:(.text+0x93242): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x93296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_4__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59195:(.text+0x932c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59219:(.text+0x932da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_3__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59082:(.text+0x933a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x933c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_2__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59146:(.text+0x933ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59146:(.text+0x933f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14_Vec_LocalForm_2__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29818:(.text+0x93482): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9349e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_3__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29770:(.text+0x934ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29770:(.text+0x934d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_21EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78466:(.text+0x93560): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78480:(.text+0x9357c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_20EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79096:(.text+0x935a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79096:(.text+0x935b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_21EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78534:(.text+0x9363e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78510:(.text+0x9365a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x93686): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x93690): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_21EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78491:(.text+0x9371c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78495:(.text+0x93738): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78518:(.text+0x93764): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_20EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79100:(.text+0x9376e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_21EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78502:(.text+0x9381a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78506:(.text+0x9383c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_1decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78547:(.text+0x93868): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78547:(.text+0x93872): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78596:(.text+0x93926): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78979:(.text+0x93952): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x93996): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79021:(.text+0x939ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79033:(.text+0x93a1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x93a2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x93b3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x93b80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x93b88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_1decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78567:(.text+0x93bda): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78570:(.text+0x93c06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x93c10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79008:(.text+0x93c6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x93c82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79021:(.text+0x93c9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x93ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x93cc4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x93cd6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x93ce8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x93d44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getpair': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16821:(.text+0x93d70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x93db4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getpair': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16922:(.text+0x93e08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16951:(.text+0x93e3a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16981:(.text+0x93e4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x93f16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getpair': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17014:(.text+0x93f32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16991:(.text+0x93f5e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16911:(.text+0x93f68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_25hasName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72077:(.text+0x94016): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72086:(.text+0x94038): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_24hasName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72119:(.text+0x94064): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72128:(.text+0x9406e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72180:(.text+0x94130): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0x94152): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9417e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_25hasName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72064:(.text+0x94188): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_24hasName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72180:(.text+0x9423c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x94268): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451324:(.text+0x942ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_lambda_funcdef_8petsc4py_5PETSc_lambda': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12165:(.text+0x94300): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_memoryviewslice_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408918:(.text+0x94332): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x94344): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x943f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_memoryviewslice___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408877:(.text+0x94478): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408862:(.text+0x944a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_memoryview_3__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405992:(.text+0x944e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_memoryview_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406019:(.text+0x9452e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406033:(.text+0x94550): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x945aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_memoryview_1__reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405944:(.text+0x94648): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x94674): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_array_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401118:(.text+0x946b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401134:(.text+0x9470c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9473e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_array_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401118:(.text+0x94750): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x94838): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_array___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401062:(.text+0x94864): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x9486e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0x9489a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x948a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc__pop_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398166:(.text+0x9495a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x94986): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x94990): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13_pop_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399333:(.text+0x949bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399334:(.text+0x949c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399147:(.text+0x94a7c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399165:(.text+0x94aa8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399174:(.text+0x94ab2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399213:(.text+0x94ade): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399217:(.text+0x94ae8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399175:(.text+0x94b8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399244:(.text+0x94bba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399201:(.text+0x94bfe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399215:(.text+0x94c52): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399228:(.text+0x94c84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399022:(.text+0x94c96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399088:(.text+0x94d72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x94d9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399028:(.text+0x94de2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x94e36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399054:(.text+0x94e68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399054:(.text+0x94e7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6_PyObj___getattr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367019:(.text+0x94f66): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_getattro_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422075:(.text+0x94f92): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422075:(.text+0x94f9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422077:(.text+0x94fc8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422078:(.text+0x94fd2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_25restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360495:(.text+0x9507e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360497:(.text+0x95086): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360499:(.text+0x950a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_24restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360528:(.text+0x950bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_25restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360511:(.text+0x950e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360472:(.text+0x95112): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360480:(.text+0x95156): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360480:(.text+0x95166): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x95180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_24restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360550:(.text+0x951a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_25restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360484:(.text+0x951b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x952a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x952c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_45getLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358652:(.text+0x952ee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358652:(.text+0x952f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_41getLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358451:(.text+0x95386): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x953ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_40getLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358515:(.text+0x95460): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358516:(.text+0x95482): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x95528): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9554e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_36getLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358316:(.text+0x955ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_37getLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358260:(.text+0x955d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x95606): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9562e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357136:(.text+0x95688): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x956ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357107:(.text+0x956ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357136:(.text+0x95716): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357112:(.text+0x95720): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357119:(.text+0x957ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x957c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_7view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356713:(.text+0x957f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x957fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x958aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_7view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356757:(.text+0x958cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_6view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356808:(.text+0x958f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x95902): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_7view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356763:(.text+0x95990): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356761:(.text+0x959ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356743:(.text+0x959fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_3setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356508:(.text+0x95a6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356508:(.text+0x95ad6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356508:(.text+0x95ae8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_2setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356546:(.text+0x95b22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_55setPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355877:(.text+0x95b70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355917:(.text+0x95bc6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355919:(.text+0x95bde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355900:(.text+0x95c9a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355900:(.text+0x95cbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_54setPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355963:(.text+0x95ce8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_55setPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355919:(.text+0x95cf2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x95da6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_51getPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355699:(.text+0x95dd2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355693:(.text+0x95e16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_50getPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355746:(.text+0x95e6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_31getSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354574:(.text+0x95e9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354574:(.text+0x95eae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_30getSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354633:(.text+0x95f9a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354634:(.text+0x95fc6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_31getSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354586:(.text+0x95fd0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_10setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353575:(.text+0x95ffc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x96006): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_10setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353589:(.text+0x960ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353407:(.text+0x960d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353457:(.text+0x9611c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x96170): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353451:(.text+0x961a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353453:(.text+0x961b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353433:(.text+0x962c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353437:(.text+0x96306): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353437:(.text+0x9630e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9635c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x96388): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x96392): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_2setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353167:(.text+0x963ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353167:(.text+0x96404): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_17reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352660:(.text+0x9641e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x96426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_16reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352690:(.text+0x96442): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x96454): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_17reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352672:(.text+0x96466): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352666:(.text+0x964b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352665:(.text+0x964cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_16reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352704:(.text+0x964f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_17reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352665:(.text+0x96502): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x96576): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_14setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352641:(.text+0x965f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_13setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352538:(.text+0x96628): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x96666): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_13setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352540:(.text+0x966ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x966d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x9672a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352006:(.text+0x967e4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352008:(.text+0x967f0): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352008:(.text+0x967fa): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352022:(.text+0x96830): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9685c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352012:(.text+0x968a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351987:(.text+0x968ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351987:(.text+0x968f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351992:(.text+0x96914): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_65sortRestoreAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351009:(.text+0x96980): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351015:(.text+0x969ac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x969b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_65sortRestoreAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351008:(.text+0x969e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351009:(.text+0x969ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_62sortGetAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350982:(.text+0x96a98): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_63sortGetAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350952:(.text+0x96aa0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x96abc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x96ad6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_63sortGetAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350946:(.text+0x96b00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_62sortGetAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350984:(.text+0x96b2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x96b70): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_47getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349501:(.text+0x96b80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_46getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349540:(.text+0x96b9a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349551:(.text+0x96bc0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349554:(.text+0x96bd2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_47getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349503:(.text+0x96cba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349503:(.text+0x96cdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x96d08): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x96d12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x96db4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_45setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349392:(.text+0x96dd0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349392:(.text+0x96dfc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x96e06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x96e92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_45setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349446:(.text+0x96eae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349412:(.text+0x96eda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349412:(.text+0x96ee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_44setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349478:(.text+0x96f70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_45setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349419:(.text+0x96f8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x96fb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x96fc2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_43collectViewDestroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349335:(.text+0x97070): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9709c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_42collectViewDestroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349373:(.text+0x970a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_43collectViewDestroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349334:(.text+0x970d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349334:(.text+0x970dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_41collectViewCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349272:(.text+0x97188): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349271:(.text+0x97190): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_40collectViewCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349310:(.text+0x971ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_41collectViewCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349271:(.text+0x971c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_29removePoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348665:(.text+0x971f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_28removePoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348702:(.text+0x9721c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_29removePoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348667:(.text+0x97260): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348667:(.text+0x97270): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348666:(.text+0x9728a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_28removePoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348705:(.text+0x972b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_29removePoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348666:(.text+0x972c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_24addPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348530:(.text+0x973ac): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x973d8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x973e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9740e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_13finalizeFieldRegister': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347485:(.text+0x97418): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347478:(.text+0x974c2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_11initializeFieldRegister': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347410:(.text+0x974ca): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347414:(.text+0x974e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x97500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9752a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_11initializeFieldRegister': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347416:(.text+0x97556): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_10initializeFieldRegister': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347454:(.text+0x9759a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347454:(.text+0x975aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_51destroyIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345539:(.text+0x975c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_50destroyIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345569:(.text+0x975ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x975fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_46computeIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345383:(.text+0x976e6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97712): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9771c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_47computeIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345359:(.text+0x97748): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345359:(.text+0x97752): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x977fe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97806): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97822): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_29addStrataIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344303:(.text+0x9783c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_28addStrataIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344335:(.text+0x97866): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_29addStrataIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344317:(.text+0x97892): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344297:(.text+0x978d6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344307:(.text+0x978e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344283:(.text+0x97900): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344286:(.text+0x97926): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x97938): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97a22): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_11reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343216:(.text+0x97a4e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343217:(.text+0x97a58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x97a84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_10reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343255:(.text+0x97a8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342851:(.text+0x97b3a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342852:(.text+0x97b42): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342816:(.text+0x97b5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97b78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342847:(.text+0x97ba2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342906:(.text+0x97bce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97c12): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342822:(.text+0x97c22): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342822:(.text+0x97c3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342851:(.text+0x97c62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x97c74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97d5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97d7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_23setLocalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340274:(.text+0x97daa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340266:(.text+0x97db4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340257:(.text+0x97e76): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x97e98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_22setLocalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340320:(.text+0x97ec4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_23setLocalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340261:(.text+0x97ece): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x97f82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_19setLocalToGlobalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339762:(.text+0x97fae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_18setLocalToGlobalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339805:(.text+0x97ff2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_19setLocalToGlobalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339743:(.text+0x98046): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339742:(.text+0x98078): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339745:(.text+0x9808a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_15setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339228:(.text+0x98140): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x981a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_15setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339282:(.text+0x9821a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339242:(.text+0x9823c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_14setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339314:(.text+0x982e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_15setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339255:(.text+0x98308): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_7setLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338268:(.text+0x98368): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338297:(.text+0x98392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x983c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_7setLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338308:(.text+0x983e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x98442): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_7setLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338288:(.text+0x984a0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338291:(.text+0x984a8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338291:(.text+0x984c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_6setLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338354:(.text+0x984de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_7setLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338295:(.text+0x98508): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x98534): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_5setGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338163:(.text+0x98578): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338163:(.text+0x98588): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338192:(.text+0x985a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x985c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_5setGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338201:(.text+0x985da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338186:(.text+0x986b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x986e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_5setGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338190:(.text+0x98724): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_3setMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338058:(.text+0x98778): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338087:(.text+0x987aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x987bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_3setMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338081:(.text+0x988ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_2setMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338144:(.text+0x9890e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338144:(.text+0x98916): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x98968): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x98994): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_67get1dCoordinatecArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335295:(.text+0x9899e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_66get1dCoordinatecArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335325:(.text+0x989fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335338:(.text+0x98a10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_67get1dCoordinatecArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335303:(.text+0x98a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x98a34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x98a52): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x98a64): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x98a76): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_66get1dCoordinatecArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335321:(.text+0x98ac0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335321:(.text+0x98adc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_65getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335184:(.text+0x98b08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x98b12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_65getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335238:(.text+0x98b86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_64getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335260:(.text+0x98c08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x98c38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x98c76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_65getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335228:(.text+0x98cbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335204:(.text+0x98ce0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335211:(.text+0x98d3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x98dd8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60268:(.text+0x98e04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x98e48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_34getStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332919:(.text+0x98e9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332862:(.text+0x98ece): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329865:(.text+0x98ee0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329911:(.text+0x98fbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_18view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329967:(.text+0x98fe8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9902c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329915:(.text+0x99080): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_18view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329981:(.text+0x990b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329890:(.text+0x990c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x991a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_17setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329808:(.text+0x991cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_16setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329846:(.text+0x99210): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x99264): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x99296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329735:(.text+0x992a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329720:(.text+0x99384): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x993b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329724:(.text+0x993f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_273labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327686:(.text+0x99448): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327715:(.text+0x9947a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9948c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_273labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327720:(.text+0x99568): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327706:(.text+0x99594): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_272labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327772:(.text+0x995d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9962c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_271coordinatesView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327581:(.text+0x9965e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327591:(.text+0x99670): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x9974c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_271coordinatesView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327615:(.text+0x99778): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327604:(.text+0x997bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327608:(.text+0x99810): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x99842): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x99854): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_268topologyView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327559:(.text+0x99930): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x9995c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_269topologyView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327520:(.text+0x999a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_268topologyView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327562:(.text+0x999f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_269topologyView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327503:(.text+0x99a26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327503:(.text+0x99a38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x99b14): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_245metricGetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325748:(.text+0x99b40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x99b84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_243metricSetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325642:(.text+0x99bd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325676:(.text+0x99c0a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325676:(.text+0x99c1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325662:(.text+0x99cf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325662:(.text+0x99d24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_242metricSetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325723:(.text+0x99d68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x99dbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_241metricGetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325564:(.text+0x99dee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325564:(.text+0x99e00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x99eec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_241metricGetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325576:(.text+0x99f0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_239metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325474:(.text+0x99f3a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325464:(.text+0x99f44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x99fe6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_239metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325504:(.text+0x9a002): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325513:(.text+0x9a02e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325513:(.text+0x9a038): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_238metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325545:(.text+0x9a0d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_239metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325491:(.text+0x9a102): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9a146): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x9a19a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9a1cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9a1de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_235metricSetNormalizationOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325286:(.text+0x9a290): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9a312): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9a342): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_235metricSetNormalizationOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325326:(.text+0x9a380): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325301:(.text+0x9a3c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325320:(.text+0x9a3ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_234metricSetNormalizationOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325367:(.text+0x9a444): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x9a4e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_232metricGetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325250:(.text+0x9a50e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9a552): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_232metricGetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325267:(.text+0x9a5a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325240:(.text+0x9a5d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_233metricGetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325220:(.text+0x9a5ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9a6c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_231metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325150:(.text+0x9a6f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325128:(.text+0x9a736): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325131:(.text+0x9a78a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_230metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325189:(.text+0x9a7bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_231metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325135:(.text+0x9a7ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9a8aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_229metricGetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325036:(.text+0x9a8d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_228metricGetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325089:(.text+0x9a91a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_227metricSetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324930:(.text+0x9a96e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324962:(.text+0x9a9a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324964:(.text+0x9a9b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324964:(.text+0x9aa8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324964:(.text+0x9aaba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9aafe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_227metricSetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324957:(.text+0x9ab52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9ab84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_225metricGetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324852:(.text+0x9ab96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_224metricGetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324884:(.text+0x9aca4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_223metricSetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324752:(.text+0x9ace8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x9acf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x9ad42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9ad6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9ad78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_223metricSetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324801:(.text+0x9add4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324786:(.text+0x9adea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324767:(.text+0x9ae06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324767:(.text+0x9ae0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324772:(.text+0x9ae2c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324775:(.text+0x9ae3e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324775:(.text+0x9ae50): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324779:(.text+0x9ae9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324779:(.text+0x9aeb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9aee2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9aeec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9af78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9af94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_221metricGetMinimumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324680:(.text+0x9afc0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324680:(.text+0x9afca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_219metricSetMinimumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324574:(.text+0x9b056): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324603:(.text+0x9b072): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_218metricSetMinimumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324641:(.text+0x9b09e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324641:(.text+0x9b0a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_219metricSetMinimumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324608:(.text+0x9b154): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324594:(.text+0x9b176): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324594:(.text+0x9b1a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324597:(.text+0x9b1ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_217metricGetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324496:(.text+0x9b26e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324500:(.text+0x9b290): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_216metricGetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324538:(.text+0x9b2bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_217metricGetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324508:(.text+0x9b2c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324508:(.text+0x9b38a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324406:(.text+0x9b3b6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324396:(.text+0x9b3c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x9b3ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x9b3f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324436:(.text+0x9b476): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x9b4dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x9b550): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9b572): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324419:(.text+0x9b618): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_214metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324477:(.text+0x9b63e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9b69e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324445:(.text+0x9b6c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_213metricGetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324322:(.text+0x9b6f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x9b71e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_213metricGetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324324:(.text+0x9b778): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_212metricGetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324377:(.text+0x9b7be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9b7da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_211metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324218:(.text+0x9b806): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324218:(.text+0x9b810): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324232:(.text+0x9b884): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_210metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324285:(.text+0x9b906): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_211metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324252:(.text+0x9b936): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x9b974): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x9b9bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9b9de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9ba38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_211metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324245:(.text+0x9bad6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9bb02): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_209metricNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324131:(.text+0x9bb48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324143:(.text+0x9bb9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9bbce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9bbe0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x9bcbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_206metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324098:(.text+0x9bce8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9bd2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_207metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324080:(.text+0x9bd7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x9bdb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x9bdc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_207metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324051:(.text+0x9be88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324054:(.text+0x9bea4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_206metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324112:(.text+0x9bed0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324112:(.text+0x9beda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x9bf78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_207metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324080:(.text+0x9bfa4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x9bff8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_205metricNoMovement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323956:(.text+0x9c026): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9c05e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_205metricNoMovement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323950:(.text+0x9c090): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9c0a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_202metricSetNoMovement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323923:(.text+0x9c180): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9c1ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_203metricSetNoMovement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323886:(.text+0x9c1f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x9c246): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x9c278): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x9c28a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x9c380): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9c390): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9c442): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_201metricNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323761:(.text+0x9c454): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_200metricNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323789:(.text+0x9c464): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323798:(.text+0x9c46e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_201metricNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323763:(.text+0x9c4ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9c518): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_200metricNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323825:(.text+0x9c522): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_199metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323689:(.text+0x9c5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9c626): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_199metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323697:(.text+0x9c652): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323697:(.text+0x9c65c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323706:(.text+0x9c688): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x9c692): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_199metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323678:(.text+0x9c73a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9c766): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_199metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323684:(.text+0x9c820): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9c852): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x9c864): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_197metricNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323582:(.text+0x9c918): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_196metricNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323638:(.text+0x9c99a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323639:(.text+0x9c9ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323470:(.text+0x9ca08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_194metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323537:(.text+0x9ca50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9ca72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323510:(.text+0x9cacc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x9cb8c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9cc2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x9cc5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323497:(.text+0x9ccac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323497:(.text+0x9ccb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9ccbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x9ccd0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323519:(.text+0x9cd08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_193metricRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323387:(.text+0x9cd42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_192metricRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323424:(.text+0x9cd50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9cd72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_193metricRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323389:(.text+0x9cdde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9ce0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_193metricRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323395:(.text+0x9ce4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x9cea2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x9ced4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_190metricSetRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323362:(.text+0x9cee6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x9cff4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_191metricSetRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323317:(.text+0x9d038): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x9d040): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_191metricSetRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323306:(.text+0x9d092): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_190metricSetRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323364:(.text+0x9d0be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323364:(.text+0x9d0c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_191metricSetRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323310:(.text+0x9d124): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9d13a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x9d156): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x9d15e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x9d17c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_189metricIsIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323196:(.text+0x9d18e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323196:(.text+0x9d1a0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323208:(.text+0x9d1fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9d228): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_189metricIsIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323202:(.text+0x9d26c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323265:(.text+0x9d2c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x9d2f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323125:(.text+0x9d304): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323145:(.text+0x9d3e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x9d40c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x9d452): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323122:(.text+0x9d4a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x9d4d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323119:(.text+0x9d4ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9d5b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x9d5d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323145:(.text+0x9d5fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_185metricIsUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323009:(.text+0x9d606): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9d688): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_184metricIsUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323077:(.text+0x9d70c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_185metricIsUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323021:(.text+0x9d73c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x9d79a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_183metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322943:(.text+0x9d7ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9d7f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_183metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322947:(.text+0x9d828): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322949:(.text+0x9d844): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x9d8c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9d944): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_183metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322932:(.text+0x9d974): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x9d9d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x9d9e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9da28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9da60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_181metricSetFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322846:(.text+0x9da7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9daf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x9db7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_172reorderGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322327:(.text+0x9dbac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9dc0a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9dc1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_172reorderGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322354:(.text+0x9dc60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322327:(.text+0x9dc98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_163getRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321688:(.text+0x9dcb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321700:(.text+0x9dd30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_162getRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321756:(.text+0x9ddb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321757:(.text+0x9dde4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9de42): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9de54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_159createClosureIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321491:(.text+0x9de98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_158createClosureIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321548:(.text+0x9ded0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_159createClosureIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321501:(.text+0x9deec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321470:(.text+0x9df96): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9dfc2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9dfcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_159createClosureIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321489:(.text+0x9dff8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9e002): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x9e07e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_137isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319395:(.text+0x9e100): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_136isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319457:(.text+0x9e130): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_129distributeGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318946:(.text+0x9e16e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_128distributeGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318987:(.text+0x9e1b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_129distributeGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318958:(.text+0x9e1d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318952:(.text+0x9e232): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9e2d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_126isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318900:(.text+0x9e2fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9e340): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_127isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318865:(.text+0x9e394): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_126isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318927:(.text+0x9e3c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318928:(.text+0x9e3d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_125isDistributed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318777:(.text+0x9e4b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318777:(.text+0x9e4e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318841:(.text+0x9e524): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9e578): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_115setPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318066:(.text+0x9e5aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318068:(.text+0x9e5bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318051:(.text+0x9e698): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_114setPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318114:(.text+0x9e6c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_115setPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318055:(.text+0x9e708): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_111getAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317705:(.text+0x9e75c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_110getAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317746:(.text+0x9e78e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9e7a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_110getAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317773:(.text+0x9e856): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_105labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317318:(.text+0x9e8bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317351:(.text+0x9e930): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_104labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317390:(.text+0x9e952): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_105labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317330:(.text+0x9e9f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_104labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317393:(.text+0x9ea1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9ea7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x9eaa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9ead6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9eafe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9eb58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_60stratify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313475:(.text+0x9ebc0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9ebec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9ebf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_61stratify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313451:(.text+0x9ec22): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313451:(.text+0x9ec2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_58symmetrize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313412:(.text+0x9ecc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_59symmetrize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313394:(.text+0x9ecdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9ed08): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9ed12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_79getElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306114:(.text+0x9ed9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306118:(.text+0x9edba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453436:(.text+0x9ede6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_79getElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306126:(.text+0x9edf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_78getElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306182:(.text+0x9ee7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9ee98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306126:(.text+0x9eec4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_75getInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305915:(.text+0x9eece): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305920:(.text+0x9ef7c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305920:(.text+0x9efa8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_74getInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305966:(.text+0x9efb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9efde): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_74getInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305956:(.text+0x9efe8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9f0aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9f0c0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9f0d2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_26getStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302646:(.text+0x9f108): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302663:(.text+0x9f11e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9f130): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302607:(.text+0x9f15c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_12setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298818:(.text+0x9f1a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9f1e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_13setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298781:(.text+0x9f1e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298204:(.text+0x9f260): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298215:(.text+0x9f276): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298204:(.text+0x9f288): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298254:(.text+0x9f2be): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298254:(.text+0x9f2d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9f2e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x9f312): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298252:(.text+0x9f358): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298264:(.text+0x9f396): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298264:(.text+0x9f39e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298254:(.text+0x9f3fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298323:(.text+0x9f426): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298234:(.text+0x9f478): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298264:(.text+0x9f4a6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_177setPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294051:(.text+0x9f4de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9f510): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x9f522): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_177setPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294071:(.text+0x9f5fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294074:(.text+0x9f62a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9f6ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_173setSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293848:(.text+0x9f6ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293877:(.text+0x9f6fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293862:(.text+0x9f7c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293874:(.text+0x9f7e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293868:(.text+0x9f810): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293871:(.text+0x9f81a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9f8b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_165setGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293430:(.text+0x9f8e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x9f99e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x9f9d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_165setGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293450:(.text+0x9f9e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293457:(.text+0x9fabe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293484:(.text+0x9faea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_160setLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293299:(.text+0x9fba4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_161setLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293281:(.text+0x9fbd6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293241:(.text+0x9fbe8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293254:(.text+0x9fcc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9fcf0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_157setSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293068:(.text+0x9fdaa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293078:(.text+0x9fddc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x9fdee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_157setSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293051:(.text+0x9feca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x9fef6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_121localizeCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290329:(.text+0x9ffb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_120localizeCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290367:(.text+0x9ffe2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290367:(.text+0x9fff4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_115projectCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289960:(.text+0xa00a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289941:(.text+0xa0128): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289940:(.text+0xa0158): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa0196): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_115projectCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289947:(.text+0xa01de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa0200): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_111setCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289746:(.text+0xa025a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289771:(.text+0xa02f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289731:(.text+0xa0324): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289737:(.text+0xa0368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_110setCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289803:(.text+0xa03bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_111setCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289744:(.text+0xa03ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289744:(.text+0xa0400): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_107setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289554:(.text+0xa04ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_106setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289586:(.text+0xa04e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_107setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289568:(.text+0xa0512): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289568:(.text+0xa051c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289537:(.text+0xa05a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_106setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289600:(.text+0xa05c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_107setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289541:(.text+0xa05f0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289541:(.text+0xa05fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_77copyDisc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287822:(.text+0xa066e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287866:(.text+0xa06f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287876:(.text+0xa0720): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287842:(.text+0xa075c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287845:(.text+0xa07a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa07c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_77copyDisc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287849:(.text+0xa081e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa08bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_75copyDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287757:(.text+0xa08e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287731:(.text+0xa095e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287740:(.text+0xa09c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_74copyDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287803:(.text+0xa09ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287803:(.text+0xa0a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa0a52): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa0a64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_71clearDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287562:(.text+0xa0b04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287561:(.text+0xa0b66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa0bb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa0bdc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_69createDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287498:(.text+0xa0c52): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa0cb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_67copyFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287426:(.text+0xa0cde): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287428:(.text+0xa0cf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287442:(.text+0xa0d46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa0d58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_66copyFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287474:(.text+0xa0df8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa0e5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_65clearFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287329:(.text+0xa0e92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa0eae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa0eda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa0ee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_64clearFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287369:(.text+0xa0f58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xa0fda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287222:(.text+0xa100a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_62addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287276:(.text+0xa1046): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287236:(.text+0xa108e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa10b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287226:(.text+0xa110a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa11a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287191:(.text+0xa11d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287204:(.text+0xa1218): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa126c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_42getBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285560:(.text+0xa129e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa12b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa137a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_42getBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285599:(.text+0xa1396): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_43getBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285513:(.text+0xa13c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285513:(.text+0xa13cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_30setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284926:(.text+0xa1458): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa1474): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa14a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa14aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xa1548): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa1574): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_5load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283542:(.text+0xa15b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283556:(.text+0xa160c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283522:(.text+0xa163e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283536:(.text+0xa1650): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa172c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283375:(.text+0xa1758): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xa17ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283410:(.text+0xa181e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283410:(.text+0xa1830): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283483:(.text+0xa190c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283390:(.text+0xa1938): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281582:(.text+0xa19cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281620:(.text+0xa19fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281620:(.text+0xa1a10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281630:(.text+0xa1ac0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa1b42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281595:(.text+0xa1b72): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281600:(.text+0xa1bae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xa1bf6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0xa1c18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_159setBRGNDictionaryMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278887:(.text+0xa1c70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278861:(.text+0xa1ce4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa1d66): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_158setBRGNDictionaryMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278933:(.text+0xa1d96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa1dd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xa1e1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_140getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277631:(.text+0xa1e3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa1e94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277602:(.text+0xa1f32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_127setLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276890:(.text+0xa1f5e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa1fa2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xa1ff6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa2028): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_127setLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276904:(.text+0xa203a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa212c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_123setGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276727:(.text+0xa21cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276727:(.text+0xa21d8): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276731:(.text+0xa227e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276731:(.text+0xa2286): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276731:(.text+0xa228c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276710:(.text+0xa22b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276710:(.text+0xa22c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_109getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275575:(.text+0xa237c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa2386): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa23dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa23f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_109getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275581:(.text+0xa2424): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275581:(.text+0xa242e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_55setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271268:(.text+0xa24ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271280:(.text+0xa24d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271333:(.text+0xa2502): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_54setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271378:(.text+0xa250c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa25aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_55setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271327:(.text+0xa25d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271332:(.text+0xa261a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271293:(.text+0xa266e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271293:(.text+0xa26a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271321:(.text+0xa26b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271329:(.text+0xa2772): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271308:(.text+0xa27c2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271331:(.text+0xa27d2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xa282a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa285a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_29setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268355:(.text+0xa2882): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268357:(.text+0xa289c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268369:(.text+0xa28d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268369:(.text+0xa28e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268329:(.text+0xa2906): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268335:(.text+0xa2952): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268338:(.text+0xa2970): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268338:(.text+0xa297a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa298c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_29setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268342:(.text+0xa29b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267970:(.text+0xa2a18): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_20setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268000:(.text+0xa2a44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa2a88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_20setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268014:(.text+0xa2adc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267975:(.text+0xa2b0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa2b20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_18setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267951:(.text+0xa2bea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267912:(.text+0xa2c06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266996:(.text+0xa2c32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267007:(.text+0xa2c3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa2cb0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267056:(.text+0xa2d32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267017:(.text+0xa2d62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267036:(.text+0xa2da0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267044:(.text+0xa2de8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267022:(.text+0xa2e0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_247getThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263989:(.text+0xa2e64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa2ef0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa2f0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_247getThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263995:(.text+0xa2f38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263995:(.text+0xa2f42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_228adjointReset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263041:(.text+0xa2fce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa2fea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa3016): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa3020): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa30ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_226adjointStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262978:(.text+0xa30c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa30f4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa30fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_227adjointStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262953:(.text+0xa318a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa31a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa31d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_224adjointSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262926:(.text+0xa31dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262929:(.text+0xa3268): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_225adjointSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262890:(.text+0xa3284): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_223adjointSetUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262826:(.text+0xa32b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_222adjointSetUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262852:(.text+0xa32ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa3346): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_222adjointSetUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262866:(.text+0xa3362): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_203removeTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260918:(.text+0xa338e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa3398): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_203removeTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260924:(.text+0xa341a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xa348e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa34be): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_201setSaveTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260861:(.text+0xa351c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260861:(.text+0xa352e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_200setSaveTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260899:(.text+0xa355a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_193solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260349:(.text+0xa35be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa35da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_193solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260364:(.text+0xa362a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260346:(.text+0xa369e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260340:(.text+0xa36ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_192solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260406:(.text+0xa372c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_193solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260347:(.text+0xa373e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa376a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa37ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa37ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_191rollBack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260263:(.text+0xa383a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_189restartStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260198:(.text+0xa38ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa38de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_189restartStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260200:(.text+0xa393c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa394e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_189restartStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260199:(.text+0xa397a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa39de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa39fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_186step': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260175:(.text+0xa3a4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa3abe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa3aee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_184reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260112:(.text+0xa3b4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260112:(.text+0xa3b5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa3b8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa3bee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_183setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260011:(.text+0xa3c0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_182setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260049:(.text+0xa3c5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452708:(.text+0xa3cce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa3cfe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_158getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257963:(.text+0xa3d5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257980:(.text+0xa3d6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257953:(.text+0xa3d9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa3dfe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa3e1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_110setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255277:(.text+0xa3e6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_111setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255249:(.text+0xa3ede): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255228:(.text+0xa3f0e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255232:(.text+0xa3f6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255232:(.text+0xa3f7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa3faa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_108getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255116:(.text+0xa400e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0xa402a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xa4096): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_108getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255134:(.text+0xa40c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa4112): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0xa4166): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xa4198): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xa41aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_91setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254069:(.text+0xa4286): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa42b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xa4302): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_91setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254055:(.text+0xa4356): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254082:(.text+0xa4388): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254063:(.text+0xa439a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_41setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249256:(.text+0xa4476): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249264:(.text+0xa44a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249258:(.text+0xa44f4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_40setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249296:(.text+0xa4522): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_33getEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248826:(.text+0xa455a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248832:(.text+0xa458c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_32getEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248867:(.text+0xa459e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa4668): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_33getEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248838:(.text+0xa4684): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xa46b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa46ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_29getProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248643:(.text+0xa4766): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_28getProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248705:(.text+0xa4788): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248678:(.text+0xa47b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_29getProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248649:(.text+0xa47be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247441:(.text+0xa4880): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_5load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247423:(.text+0xa48a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247383:(.text+0xa48ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247384:(.text+0xa48d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247396:(.text+0xa4996): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xa49b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_5load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247423:(.text+0xa49e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247231:(.text+0xa49ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa4aba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247350:(.text+0xa4bb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247257:(.text+0xa4be0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247291:(.text+0xa4c32): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_225setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242899:(.text+0xa4c42): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa4c72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_225setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242939:(.text+0xa4cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_224setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242971:(.text+0xa4cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242971:(.text+0xa4cf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa4d02): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_225setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242953:(.text+0xa4d26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242943:(.text+0xa4d68): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242943:(.text+0xa4d6e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242941:(.text+0xa4d80): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242922:(.text+0xa4d9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242922:(.text+0xa4db4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa4e46): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_201getUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241543:(.text+0xa4ebe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa4fb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0xa4fe4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5036): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5046): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_197getUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241332:(.text+0xa5076): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_189getUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240532:(.text+0xa50d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa50f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa50fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_189getUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240536:(.text+0xa5106): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa512a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa516c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5172): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5184): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_189getUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240538:(.text+0xa51a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240538:(.text+0xa51b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa524a): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_183setKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240201:(.text+0xa52bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240211:(.text+0xa52e8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240211:(.text+0xa52f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240177:(.text+0xa531e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240177:(.text+0xa5328): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_182setKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240243:(.text+0xa53bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_183setKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240184:(.text+0xa53d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa5404): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa540e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_179setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239998:(.text+0xa54cc): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239996:(.text+0xa556a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239977:(.text+0xa559a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239981:(.text+0xa55ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239981:(.text+0xa55f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239981:(.text+0xa55fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239981:(.text+0xa560c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_161getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239074:(.text+0xa5642): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_160getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239115:(.text+0xa567a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239115:(.text+0xa5688): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_161getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239086:(.text+0xa56aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa56ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239143:(.text+0xa576e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_159setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238951:(.text+0xa579e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xa57da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa5822): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5844): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_159setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239000:(.text+0xa589c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238974:(.text+0xa592a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa593a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_159setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238978:(.text+0xa5996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa59ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa59b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa59bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_156getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238905:(.text+0xa5a14): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238915:(.text+0xa5a2a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_157getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238870:(.text+0xa5aa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238869:(.text+0xa5aa6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_156getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238932:(.text+0xa5ab8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238932:(.text+0xa5aca): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_153solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238588:(.text+0xa5b2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xa5b48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_152solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238694:(.text+0xa5b74): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238708:(.text+0xa5b7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5c08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5c24): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_153solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238635:(.text+0xa5c50): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238619:(.text+0xa5c5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238601:(.text+0xa5ce4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238596:(.text+0xa5d00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_152solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238673:(.text+0xa5d2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa5d36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_152solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238673:(.text+0xa5da8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_153solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238616:(.text+0xa5e2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238639:(.text+0xa5e5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa5e94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5edc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5efe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_150reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238557:(.text+0xa5f54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa5ff0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_149setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238456:(.text+0xa601c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_107getNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235678:(.text+0xa60d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa6106): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa6118): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_99computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235058:(.text+0xa61c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235111:(.text+0xa6248): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235117:(.text+0xa6278): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_98computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235184:(.text+0xa62b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa62fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_99computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235082:(.text+0xa631e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235107:(.text+0xa6376): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_98computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235187:(.text+0xa6400): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_99computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235077:(.text+0xa641c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235090:(.text+0xa6448): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235091:(.text+0xa6452): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_65getNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232073:(.text+0xa64ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451986:(.text+0xa651a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa656a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_65getNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232075:(.text+0xa6598): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa65d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_61setNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231862:(.text+0xa6602): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231862:(.text+0xa6614): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231876:(.text+0xa66fc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231896:(.text+0xa6728): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231906:(.text+0xa6732): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231882:(.text+0xa675e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231885:(.text+0xa6768): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_59hasNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231775:(.text+0xa681c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231779:(.text+0xa6848): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_58hasNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231816:(.text+0xa6852): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_59hasNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231787:(.text+0xa687e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231787:(.text+0xa6888): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_58hasNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231844:(.text+0xa693c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_27setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229461:(.text+0xa6968): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xa6972): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa699e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa69a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa6a22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_27setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229481:(.text+0xa6aa4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa6ad4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_27setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229488:(.text+0xa6b10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa6b58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_25getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229338:(.text+0xa6b7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_24getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229392:(.text+0xa6bd2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229390:(.text+0xa6c60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229441:(.text+0xa6c70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_25getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229344:(.text+0xa6ccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229344:(.text+0xa6ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229344:(.text+0xa6ce8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229344:(.text+0xa6cf2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xa6d4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/include/python3.11/object.h:537:(.text+0xa6d60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xa6dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_25getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229350:(.text+0xa6ddc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa6dee): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_19setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228996:(.text+0xa6e00): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa6e62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_19setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228998:(.text+0xa6e7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_18setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229036:(.text+0xa6eaa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229036:(.text+0xa6eb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa6f60): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xa6f8c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa6f96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228127:(.text+0xa6fc2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228127:(.text+0xa6fcc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228097:(.text+0xa705e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228131:(.text+0xa707a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228200:(.text+0xa70a6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228200:(.text+0xa70b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_136computeExtremeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224448:(.text+0xa717c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224478:(.text+0xa71a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224480:(.text+0xa71b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224476:(.text+0xa729a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xa72ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa7338): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_122getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223051:(.text+0xa7350): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa737a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_123getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223022:(.text+0xa738a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223022:(.text+0xa7392): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa7398): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa73c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_123getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223016:(.text+0xa73f2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_122getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223078:(.text+0xa742c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223079:(.text+0xa7440): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xa74b6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa74fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7530): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7538): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_121setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222927:(.text+0xa7558): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xa7588): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_121setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222907:(.text+0xa75e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222910:(.text+0xa75ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222910:(.text+0xa75f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222910:(.text+0xa75fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa7618): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_120setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222991:(.text+0xa7626): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222991:(.text+0xa7642): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_121setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222914:(.text+0xa7664): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222914:(.text+0xa7670): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xa7678): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa7680): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa7688): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_118getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222868:(.text+0xa779c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa77f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa783a): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7852): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_99setUpOnBlocks': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221714:(.text+0xa787c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221714:(.text+0xa788c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221713:(.text+0xa7894): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa789a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_98setUpOnBlocks': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221752:(.text+0xa78c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa78f4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa792e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7942): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_96reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221689:(.text+0xa79b8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_94setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221612:(.text+0xa7a00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7a32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7a3a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7a5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_95setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221587:(.text+0xa7a8a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_91getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221361:(.text+0xa7ae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221361:(.text+0xa7aee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa7af6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_91getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221365:(.text+0xa7afe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_90getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221402:(.text+0xa7b1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa7b28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_91getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221373:(.text+0xa7b44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7b66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7b72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7b7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7b82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7b8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221366: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_89setInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221238:(.text+0xa7c42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221252:(.text+0xa7cc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa7cf4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_89setInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221287:(.text+0xa7d30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221258:(.text+0xa7d78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221258:(.text+0xa7d9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_88setInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221342:(.text+0xa7df2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_87getInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221151:(.text+0xa7e7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221157:(.text+0xa7e98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa7ec4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_87getInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221163:(.text+0xa7ece): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221157:(.text+0xa7f4c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221060:(.text+0xa7fe6): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xa8002): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xa8014): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa803a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221077:(.text+0xa80ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_84setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221107:(.text+0xa80e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221048:(.text+0xa8124): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221051:(.text+0xa8134): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221051:(.text+0xa8140): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221051:(.text+0xa8148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_84setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221132:(.text+0xa8176): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221132:(.text+0xa817e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221132: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221055:(.text+0xa81b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xa81c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa81e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa81e6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_83getComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220941:(.text+0xa81f8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220945:(.text+0xa8220): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_82getComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220982:(.text+0xa8238): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0xa8244): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa8250): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_83getComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220953:(.text+0xa8266): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xa8278): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa8286): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa82e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_82getComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221009:(.text+0xa82f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221009:(.text+0xa82fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221009: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_80setComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220908:(.text+0xa83b0): undefined reference to `PyLong_FromUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa83d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa83fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa8408): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_81setComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220852:(.text+0xa84a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220841:(.text+0xa84c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa84ee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa84f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_79getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220731:(.text+0xa8582): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xa859e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_78getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220772:(.text+0xa85ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0xa85d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_79getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220737:(.text+0xa865e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa867a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_78getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220800:(.text+0xa86a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220800:(.text+0xa86b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_77setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220652:(.text+0xa873a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_76setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220709:(.text+0xa8756): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa8782): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa878c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_77setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220628:(.text+0xa8816): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220642:(.text+0xa8832): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220631:(.text+0xa885e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220631:(.text+0xa8868): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa88f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_77setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220657:(.text+0xa890e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xa893a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_75getNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220525:(.text+0xa8944): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_74getNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220572:(.text+0xa89ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220589:(.text+0xa8a10): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_75getNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220533:(.text+0xa8a3c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220533:(.text+0xa8a46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa8ae4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_71getPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220338:(.text+0xa8b00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_70getPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220383:(.text+0xa8b2c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220383:(.text+0xa8b36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa8bc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa8bdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_41setPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218185:(.text+0xa8c08): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218187:(.text+0xa8c12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218162:(.text+0xa8c9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218191:(.text+0xa8cb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218170:(.text+0xa8ce4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218170:(.text+0xa8cee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa8d78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa8d94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217862:(.text+0xa8dc0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217850:(.text+0xa8dca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217894:(.text+0xa8e54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217913:(.text+0xa8e70): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa8e9c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa8ea6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217914:(.text+0xa8f22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217867:(.text+0xa8f5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa8fce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217875:(.text+0xa8ffe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217913:(.text+0xa9026): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_36setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217958:(.text+0xa9046): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217879:(.text+0xa9096): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217890:(.text+0xa90ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217924:(.text+0xa9112): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_31setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217327:(.text+0xa9128): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xa916e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_30setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217428:(.text+0xa91a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_31setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217367:(.text+0xa921a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217361:(.text+0xa924a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217347:(.text+0xa9272): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217361:(.text+0xa9292): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_30setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217431:(.text+0xa92e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_31setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217354:(.text+0xa931a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217376:(.text+0xa935e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_29setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217222:(.text+0xa9374): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa93b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_29setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217262:(.text+0xa93ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_28setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217294:(.text+0xa941c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_29setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217236:(.text+0xa9464): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_28setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217308:(.text+0xa94ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217308:(.text+0xa9510): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_29setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217249:(.text+0xa9518): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217249:(.text+0xa9540): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa9552): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_29setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217276:(.text+0xa956e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xa95f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_27getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217111:(.text+0xa962a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xa964a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_27getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217105:(.text+0xa96ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa9728): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa979a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0xa97ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_27getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217111:(.text+0xa97f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_21setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216870:(.text+0xa9812): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa9862): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_21setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216872:(.text+0xa989a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216871:(.text+0xa98de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215955:(.text+0xa98f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215989:(.text+0xa993a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xa9974): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216001:(.text+0xa99e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216015:(.text+0xa9a16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa9a3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215979:(.text+0xa9a5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216074:(.text+0xa9aae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215981:(.text+0xa9ae6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215985:(.text+0xa9b2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216037:(.text+0xa9b40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa9b94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa9bb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_271setDeflationCoarseMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215382:(.text+0xa9bdc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215386:(.text+0xa9be6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215362:(.text+0xa9c8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215365:(.text+0xa9cb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_270setDeflationCoarseMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215428:(.text+0xa9cdc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215428:(.text+0xa9ce6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215266:(.text+0xa9d96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa9dc2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_268setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215309:(.text+0xa9e10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215257:(.text+0xa9e64): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215281:(.text+0xa9e90): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215279:(.text+0xa9e9a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215260:(.text+0xa9ec8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa9eda): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215291:(.text+0xa9f68): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xa9fb4): undefined reference to `PyLong_FromVoidPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_213setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211214:(.text+0xaa052): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211175:(.text+0xaa074): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211204:(.text+0xaa0a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211204:(.text+0xaa0aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211214:(.text+0xaa180): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_207setBDDCNeumannBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210675:(.text+0xaa1a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaa1ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaa1d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xaa278): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_207setBDDCNeumannBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210695:(.text+0xaa294): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210719:(.text+0xaa2c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210695:(.text+0xaa2ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210702:(.text+0xaa33c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xaa3be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaa3ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_205setBDDCNeumannBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210610:(.text+0xaa42c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210624:(.text+0xaa474): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210584:(.text+0xaa496): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210593:(.text+0xaa4ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaa58e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_203setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210465:(.text+0xaa5ba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210494:(.text+0xaa5e4): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaa5f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_203setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210503:(.text+0xaa624): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_202setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210537:(.text+0xaa664): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_203setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210519:(.text+0xaa67a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210519:(.text+0xaa690): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210479:(.text+0xaa6a4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_202setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210551:(.text+0xaa73c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210551:(.text+0xaa744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210551:(.text+0xaa74c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210551:(.text+0xaa754): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_203setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210507:(.text+0xaa75c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210492:(.text+0xaa764): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210492:(.text+0xaa78a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_201setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210360:(.text+0xaa7dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210389:(.text+0xaa7f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaa810): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaa828): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_201setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210398:(.text+0xaa834): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_200setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210443:(.text+0xaa886): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_201setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210414:(.text+0xaa88c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210414:(.text+0xaa89c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaa8ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_201setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210383:(.text+0xaa936): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_200setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210446:(.text+0xaa94a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210446:(.text+0xaa956): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210446:(.text+0xaa95a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210446:(.text+0xaa964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaa9be): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_195setBDDCPrimalVerticesLocalIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210073:(.text+0xaaa6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210075:(.text+0xaaa76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210075:(.text+0xaaa7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xaaa92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_195setBDDCPrimalVerticesLocalIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210057:(.text+0xaaaf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210051:(.text+0xaab1e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210054:(.text+0xaab28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_194setBDDCPrimalVerticesLocalIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210117:(.text+0xaab6a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210117:(.text+0xaab74): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_195setBDDCPrimalVerticesLocalIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210058:(.text+0xaaba8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210058:(.text+0xaabb0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210058:(.text+0xaabb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_193setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209926:(.text+0xaabf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209936:(.text+0xaabfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209926:(.text+0xaac04): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209937:(.text+0xaac18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaac3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaac54): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_193setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209980:(.text+0xaaccc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209940:(.text+0xaace8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209970:(.text+0xaad14): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209970:(.text+0xaad1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xaad64): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_192setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210012:(.text+0xaad74): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_193setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209953:(.text+0xaadb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209953:(.text+0xaadb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209953:(.text+0xaadbe): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaadd0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaade2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452090:(.text+0xaae50): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaae76): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaaea2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_149getMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207028:(.text+0xaaeac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_148getMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207091:(.text+0xaaef2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_149getMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207034:(.text+0xaaf02): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaaf4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_115setFactorSetUpSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204248:(.text+0xaaf52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204248:(.text+0xaaf58): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_114setFactorSetUpSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204274:(.text+0xaaf6a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_115setFactorSetUpSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204256:(.text+0xaaf82): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xaaffa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_115setFactorSetUpSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204249:(.text+0xab020): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_109setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203936:(.text+0xab04c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203926:(.text+0xab056): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xab09c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_109setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203964:(.text+0xab0ac): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xab0f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_108setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204009:(.text+0xab0fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_109setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203980:(.text+0xab102): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203980:(.text+0xab114): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203940:(.text+0xab12c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203960:(.text+0xab156): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203953:(.text+0xab1ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203953:(.text+0xab218): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xab220): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_103setHYPRESetBetaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203131:(.text+0xab29c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203132:(.text+0xab2c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xab2d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_103setHYPRESetBetaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203125:(.text+0xab324): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203127:(.text+0xab340): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xab36c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_103setHYPRESetBetaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203141:(.text+0xab376): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_102setHYPRESetBetaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203200:(.text+0xab400): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203200:(.text+0xab41c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_103setHYPRESetBetaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203107:(.text+0xab448): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203111:(.text+0xab452): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203005:(.text+0xab4de): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xab4ee): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203016:(.text+0xab532): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203016:(.text+0xab538): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203020:(.text+0xab54c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_100setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203048:(.text+0xab556): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203059:(.text+0xab568): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203030:(.text+0xab56e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203030:(.text+0xab580): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203010:(.text+0xab5c2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_100setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203062:(.text+0xab62e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203003:(.text+0xab65c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203003:(.text+0xab664): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203003:(.text+0xab66c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203003:(.text+0xab680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xab688): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_99setHYPREDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202871:(.text+0xab6c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202871:(.text+0xab6d4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xab6fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xab710): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_99setHYPREDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202915:(.text+0xab75a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202915:(.text+0xab7f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202894:(.text+0xab81c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202894:(.text+0xab824): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202898:(.text+0xab878): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202898:(.text+0xab894): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202925:(.text+0xab8c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_97setHYPREDiscreteCurl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202766:(.text+0xab8ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202806:(.text+0xab954): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202810:(.text+0xab970): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202820:(.text+0xab99c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202820:(.text+0xab9a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202789:(.text+0xaba32): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202789:(.text+0xaba42): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202793:(.text+0xaba86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202793:(.text+0xaba8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202793:(.text+0xabaa0): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202793:(.text+0xabaaa): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xababc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xabac2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_97setHYPREDiscreteCurl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202820:(.text+0xabad4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_57setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199914:(.text+0xabae6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xabb30): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_57setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199968:(.text+0xabbc0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199929:(.text+0xabbec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199935:(.text+0xabbf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199934:(.text+0xabc22): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199934:(.text+0xabc2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xabce0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_55getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199791:(.text+0xabd0c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xabd16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xabd42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0xabd4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xabde0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_54getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199894:(.text+0xabdfc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xabe28): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xabe32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xabebe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xabeda): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xabf06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xabf10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_42setUpOnBlocks': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199173:(.text+0xabf9c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199185:(.text+0xabfac): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xabff0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_43setUpOnBlocks': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199149:(.text+0xabff6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199149:(.text+0xac00a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199149:(.text+0xac014): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xac026): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xac02c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_42setUpOnBlocks': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199187:(.text+0xac03e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_41reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199080:(.text+0xac06c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199084:(.text+0xac086): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199092:(.text+0xac0b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xac0bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_40reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199124:(.text+0xac140): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199085:(.text+0xac15c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_38setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199047:(.text+0xac188): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199047:(.text+0xac192): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_39setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199023:(.text+0xac1f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xac280): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xac2aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452404:(.text+0xac2b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xac2e0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xac2ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_37getFailedReasonRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198942:(.text+0xac390): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_35getFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198843:(.text+0xac3b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_34getFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198875:(.text+0xac3dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198884:(.text+0xac3e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_35getFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198849:(.text+0xac472): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_34getFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198911:(.text+0xac486): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198884:(.text+0xac4b2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198884:(.text+0xac4bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_29getUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198517:(.text+0xac54a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xac56a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xac596): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_29getUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198511:(.text+0xac5a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_23setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198069:(.text+0xac644): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198112:(.text+0xac670): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198143:(.text+0xac6b4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198143:(.text+0xac6c0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0xac6e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xac72c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_23setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198126:(.text+0xac744): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0xac776): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_23setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0xac788): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0xac830): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_22setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198226:(.text+0xac85c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_23setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0xac8a0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198134:(.text+0xac8ac): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198104:(.text+0xac8d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198099:(.text+0xac918): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198109:(.text+0xac930): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0xac962): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198122:(.text+0xac974): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xac9f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_20setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198050:(.text+0xaca6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197086:(.text+0xacaac): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197136:(.text+0xacadc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xacb38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197130:(.text+0xacb60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xacba8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197107:(.text+0xacc12): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197205:(.text+0xacc46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197111:(.text+0xacc76): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197116:(.text+0xacc9e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197116:(.text+0xacca6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197116:(.text+0xaccd0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_19apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196669:(.text+0xacce2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196669:(.text+0xacd0e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_18apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196741:(.text+0xacd9a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196752:(.text+0xacdaa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_19apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196723:(.text+0xacdb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196683:(.text+0xacde6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196684:(.text+0xacdf0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196713:(.text+0xace0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196696:(.text+0xaceba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xacee6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196593:(.text+0xacf2e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196593:(.text+0xacf36): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xacf56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196608:(.text+0xacf96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_16setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196636:(.text+0xacfa4): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196587:(.text+0xad06a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xad074): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196591:(.text+0xad0ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xad0da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xad166): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196507:(.text+0xad194): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196507:(.text+0xad1a6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_14setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196545:(.text+0xad1e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196506:(.text+0xad1fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xad242): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xad25c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_23test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195702:(.text+0xad2a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xad2ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0xad2d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_23test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195712:(.text+0xad2de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xad308): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xad314): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_23test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195672:(.text+0xad31a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195678:(.text+0xad32c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195702:(.text+0xad356): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195678:(.text+0xad36a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195681:(.text+0xad37c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195681:(.text+0xad392): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xad3a4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_22test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195768:(.text+0xad3b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195768:(.text+0xad3c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_23test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195712:(.text+0xad430): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xad486): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_21remove': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195597:(.text+0xad4da): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195607:(.text+0xad506): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195573:(.text+0xad54e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195579:(.text+0xad556): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195597:(.text+0xad576): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xad5bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_20remove': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195639:(.text+0xad5ca): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_17getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195311:(.text+0xad668): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xad6a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xad6b2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_16getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195409:(.text+0xad6ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xad718): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xad7a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0xad7b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_16getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195411:(.text+0xad7c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xad814): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_17getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195323:(.text+0xad826): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195317:(.text+0xad880): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195316:(.text+0xad89a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_16getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195465:(.text+0xad8e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_15hasConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195224:(.text+0xad94a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195224:(.text+0xad952): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195224:(.text+0xad95a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xad962): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xad9aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_15hasConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195236:(.text+0xad9b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195236:(.text+0xad9c8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xad9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_15hasConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195230:(.text+0xada1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195230:(.text+0xada20): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195230:(.text+0xada32): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_14hasConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195292:(.text+0xada5c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195293:(.text+0xada76): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_15hasConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195236:(.text+0xada88): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_11createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194854:(.text+0xada9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194854:(.text+0xadab0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xadabc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xadad4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_10createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194936:(.text+0xadb44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_11createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194908:(.text+0xadb98): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194874:(.text+0xadbc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_10createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194970:(.text+0xadc4e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_11createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194881:(.text+0xadc68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194881:(.text+0xadc6e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194881:(.text+0xadc82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xadca6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194407:(.text+0xadd0e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194424:(.text+0xadd20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194420:(.text+0xaddb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194490:(.text+0xadde0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194395:(.text+0xade2c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194398:(.text+0xade34): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194395:(.text+0xade54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194493:(.text+0xade94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194493:(.text+0xadea2): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194400:(.text+0xadecc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194404:(.text+0xadee0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194434:(.text+0xadf18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192926:(.text+0xadf26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_454__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193005:(.text+0xadf86): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193008:(.text+0xadfa0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193014:(.text+0xadfcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193011:(.text+0xadfe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192981:(.text+0xae000): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192981:(.text+0xae008): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xae014): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xae03a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xae050): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192970:(.text+0xae060): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192972:(.text+0xae066): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192972:(.text+0xae070): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192972:(.text+0xae07c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xae0b0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xae0c2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_454__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193002:(.text+0xae0f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193036:(.text+0xae104): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192956:(.text+0xae146): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192956:(.text+0xae162): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xae168): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192950:(.text+0xae188): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192951:(.text+0xae19a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_453setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191839:(.text+0xae1e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191839:(.text+0xae1f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191839:(.text+0xae1fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xae232): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_453setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191879:(.text+0xae25e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191879:(.text+0xae264): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191883:(.text+0xae276): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191854:(.text+0xae2da): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191862:(.text+0xae328): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_452setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191925:(.text+0xae376): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_453setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191866:(.text+0xae3a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xae3dc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xae3f2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_451getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191722:(.text+0xae41e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xae482): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20894:(.text+0xae4cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_450getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191768:(.text+0xae4de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xae52a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xae532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_451getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191722:(.text+0xae560): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191722:(.text+0xae570): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xae594): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xae5ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xae60a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xae61c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xae64c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xae68e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xae6c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_386setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187102:(.text+0xae718): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xae732): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_387setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187044:(.text+0xae75e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187044:(.text+0xae768): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xae7e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_386setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187116:(.text+0xae7fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_387setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187057:(.text+0xae82a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187057:(.text+0xae834): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xae8c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_385restoreISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186963:(.text+0xae8f4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186979:(.text+0xae966): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_384restoreISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187011:(.text+0xaea26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_385restoreISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186952:(.text+0xaea40): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_378setUnfactored': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186682:(.text+0xaeab6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_379setUnfactored': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186658:(.text+0xaeb1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186658:(.text+0xaeb2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xaeb4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_375factorSymbolicICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186471:(.text+0xaebe2): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_374factorSymbolicICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186509:(.text+0xaebf0): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaec42): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaec72): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_375factorSymbolicICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186443:(.text+0xaecfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186436:(.text+0xaed34): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186460:(.text+0xaed46): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186460:(.text+0xaed4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186445:(.text+0xaed9a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186449:(.text+0xaedac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186449:(.text+0xaedc8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_371factorNumericCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186154:(.text+0xaedf8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186165:(.text+0xaee0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186154:(.text+0xaee14): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186166:(.text+0xaee26): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaee34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_370factorNumericCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186264:(.text+0xaee70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186264:(.text+0xaee84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaef10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_371factorNumericCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186181:(.text+0xaef54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186202:(.text+0xaef74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186202:(.text+0xaefb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186178:(.text+0xaefe6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186187:(.text+0xaf00e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186223:(.text+0xaf05c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_369factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186066:(.text+0xaf0a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186069:(.text+0xaf0b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_368factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186136:(.text+0xaf0dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0xaf12a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_369factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186081:(.text+0xaf15c): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaf182): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_369factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186042:(.text+0xaf19e): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186050:(.text+0xaf1bc): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186057:(.text+0xaf1d6): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186062:(.text+0xaf218): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186063:(.text+0xaf2a8): undefined reference to `PyUnicode_Join' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186063:(.text+0xaf2b4): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xaf302): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaf30a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_361factorNumericLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185544:(.text+0xaf328): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_360factorNumericLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185582:(.text+0xaf336): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185595:(.text+0xaf356): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_361factorNumericLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185509:(.text+0xaf46a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185504:(.text+0xaf476): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185509:(.text+0xaf47e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185509:(.text+0xaf4bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185517:(.text+0xaf4c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185517: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_351boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184779:(.text+0xaf53a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xaf544): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_351boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184779:(.text+0xaf54c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184783:(.text+0xaf56e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_350boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184820:(.text+0xaf57a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184820:(.text+0xaf586): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0xaf58e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xaf59a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaf5ca): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaf5dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_351boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184785:(.text+0xaf61e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaf720): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaf750): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_329setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182562:(.text+0xaf770): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_328setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182621:(.text+0xaf78c): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_329setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182576:(.text+0xaf7aa): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182566:(.text+0xaf81e): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182546:(.text+0xaf8ae): undefined reference to `PyUnicode_Join' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182546:(.text+0xaf8ba): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_291setNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179489:(.text+0xaf8f6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xaf90a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xaf944): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xaf99c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_291setNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179543:(.text+0xaf9b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xafa54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xafa5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_290setNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179575:(.text+0xafa64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179575:(.text+0xafa6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179575:(.text+0xafa76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179516: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xafb36): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xafb40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xafb46): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xafb4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_287setTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179326:(.text+0xafb6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179326:(.text+0xafb7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_286setTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179358:(.text+0xafb98): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_287setTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179340:(.text+0xafbbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179306:(.text+0xafbf2): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179306:(.text+0xafc02): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179328:(.text+0xafc2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179309:(.text+0xafc56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179313:(.text+0xafcc4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179313:(.text+0xafccc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xafcde): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xafd52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_283setNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179123:(.text+0xafd7e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179137:(.text+0xafdd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179137:(.text+0xafde2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179117:(.text+0xafe22): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179106:(.text+0xafe5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179106:(.text+0xafe70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179125:(.text+0xafeae): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179110:(.text+0xafebe): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xafee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_279diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178748:(.text+0xaff16): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178748:(.text+0xaff1c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178760:(.text+0xaff2e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178791:(.text+0xaff5e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178792:(.text+0xaffc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178811:(.text+0xaffda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xb0006): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0010): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_279diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178812:(.text+0xb0088): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178812:(.text+0xb00a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178765:(.text+0xb00d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178765:(.text+0xb00da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_278diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178897:(.text+0xb014c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_279diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178783:(.text+0xb01ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178777:(.text+0xb01fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178788:(.text+0xb023a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178822:(.text+0xb0282): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb02a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_259isAssembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177117:(.text+0xb02fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_258isAssembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177173:(.text+0xb0396): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_259isAssembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177117:(.text+0xb03c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb042a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0436): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_251retrieveValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176685:(.text+0xb045c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_250retrieveValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176723:(.text+0xb04a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176684:(.text+0xb04be): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb04d4): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_249storeValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176628:(.text+0xb0510): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb0580): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_248storeValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176660:(.text+0xb058e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176660:(.text+0xb059a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_175zeroEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170167:(.text+0xb05d4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb063a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_175zeroEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170168:(.text+0xb0642): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170169:(.text+0xb064a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_174zeroEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170207:(.text+0xb0690): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170207:(.text+0xb0698): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170207: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170168:(.text+0xb06b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_173isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170076:(.text+0xb06cc): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb06da): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_173isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170082:(.text+0xb0794): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170082:(.text+0xb079e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb07a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb07ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_172isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170144:(.text+0xb07b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170144: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_172isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170145:(.text+0xb07d8): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_173isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170088:(.text+0xb07f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb0816): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb0820): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_171isHermitianKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169971:(.text+0xb0832): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb085a): undefined reference to `PyUnicode_Join' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0xb08e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb08f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_171isHermitianKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169971:(.text+0xb0962): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb098c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb0994): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0xb09a2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_167isSymmetricKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169712:(.text+0xb09f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb0ac6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0af2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_167isSymmetricKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169718:(.text+0xb0b54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb0b70): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xb0ba4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169724:(.text+0xb0bb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0c20): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0c28): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0c36): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_161equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169303:(.text+0xb0c46): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169303:(.text+0xb0c58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_160equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169346:(.text+0xb0c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_161equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169277:(.text+0xb0ce2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169307:(.text+0xb0d0e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_160equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169373:(.text+0xb0d7e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169373:(.text+0xb0d92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_161equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169290:(.text+0xb0da2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169290:(.text+0xb0da6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169290:(.text+0xb0db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb0de2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_161equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169317:(.text+0xb0df6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_149setTransposePrecursor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168260:(.text+0xb0e30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0e42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb0e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_149setTransposePrecursor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168251:(.text+0xb0f02): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168273:(.text+0xb0f32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168258:(.text+0xb0fa4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb1012): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb104a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_107setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165433:(.text+0xb109a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165433:(.text+0xb10ac): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_106setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165471:(.text+0xb10da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb114e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb1160): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb1164): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_78createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162255:(.text+0xb11b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162255:(.text+0xb11b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162264:(.text+0xb11c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0xb11d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0xb11d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_79createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162227:(.text+0xb1200): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb1212): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_79createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162193:(.text+0xb1238): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162207:(.text+0xb124a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162217:(.text+0xb1256): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162196:(.text+0xb128c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162196:(.text+0xb1292): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb12aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_78createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162289:(.text+0xb12ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_79createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162200:(.text+0xb12ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162200:(.text+0xb12fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162200:(.text+0xb1302): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb1314): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb132e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_79createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162227:(.text+0xb1336): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_77createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162048:(.text+0xb1352): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162067:(.text+0xb1370): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb137c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb1394): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb139a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb13ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_77createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162078:(.text+0xb13c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162082:(.text+0xb13da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162072:(.text+0xb1486): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162058:(.text+0xb14ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162061:(.text+0xb14b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_76createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162154:(.text+0xb14ec): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162154:(.text+0xb14f4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb1550): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_75createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161903:(.text+0xb1572): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161913:(.text+0xb158c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb15c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_75createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161943:(.text+0xb15f6): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161943:(.text+0xb1602): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_74createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161995:(.text+0xb1660): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_75createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161957:(.text+0xb166c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161957:(.text+0xb1676): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161923:(.text+0xb16e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161926:(.text+0xb1708): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb1720): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb1792): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_73createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161768:(.text+0xb17c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161768:(.text+0xb17da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_72createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161850:(.text+0xb1868): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0xb1880): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_73createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161791:(.text+0xb1940): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_72createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161884:(.text+0xb1970): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb19ba): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb19c2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_73createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161822:(.text+0xb19e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_32view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157678:(.text+0xb1a6a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb1a76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb1a84): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_33view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157629:(.text+0xb1abe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157631:(.text+0xb1ad0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157645:(.text+0xb1b1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157636:(.text+0xb1b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157614:(.text+0xb1b78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb1b90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_35setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152592:(.text+0xb1c3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152602:(.text+0xb1c56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb1d08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb1d34): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_35setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152615:(.text+0xb1db8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152619:(.text+0xb1df4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152619:(.text+0xb1e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xb1e84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_14reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151489:(.text+0xb1e96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb1f0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_15reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151453:(.text+0xb1f38): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_13setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151389:(.text+0xb1f64): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151391:(.text+0xb1f6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb1f92): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb1f9c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb2004): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_13setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151390:(.text+0xb203a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150916:(.text+0xb206a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150966:(.text+0xb20b2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150966:(.text+0xb20ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb20e4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb210c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb2112): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150937:(.text+0xb21a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150940:(.text+0xb21b0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150967:(.text+0xb21b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150964:(.text+0xb21ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb21f6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150946:(.text+0xb226e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb22fc): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb23ba): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_23toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149841:(.text+0xb23dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb2408): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_23toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149801:(.text+0xb2412): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb24f6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_22toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149919:(.text+0xb2518): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149919:(.text+0xb2544): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149919:(.text+0xb254e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb2642): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb264e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb265a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_21toAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149678:(.text+0xb2690): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_20toAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149721:(.text+0xb26bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xb2700): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_21toAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149660:(.text+0xb2782): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149668:(.text+0xb278a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149678:(.text+0xb27a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149657:(.text+0xb2806): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_20toAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149766:(.text+0xb2832): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149766:(.text+0xb289e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb290a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_21toAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149688:(.text+0xb2922): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xb2942): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149413:(.text+0xb2954): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_14setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149453:(.text+0xb2a1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148771:(.text+0xb2a46): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148821:(.text+0xb2a9c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xb2ae6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148817:(.text+0xb2b18): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148817:(.text+0xb2b2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148797:(.text+0xb2c32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148801:(.text+0xb2c5e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb2cb4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb2cfe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_47setDualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148279:(.text+0xb2d30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_46setDualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148307:(.text+0xb2d42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_47setDualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148262:(.text+0xb2e4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb2e76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_42setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148113:(.text+0xb2ecc): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb2f16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_43setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148089:(.text+0xb2f48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb2f5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_40setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148064:(.text+0xb3062): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148025:(.text+0xb308e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb30e4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_39setBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147957:(.text+0xb312e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147969:(.text+0xb3160): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147969:(.text+0xb3172): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb327c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_33setFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147575:(.text+0xb32a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147613:(.text+0xb331e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147629:(.text+0xb338a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147589:(.text+0xb339e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147595:(.text+0xb33ba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147619:(.text+0xb33cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_31setQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147470:(.text+0xb34d0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb34ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_31setQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147500:(.text+0xb3534): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147504:(.text+0xb3556): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147486:(.text+0xb35d0): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147504:(.text+0xb35dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147504:(.text+0xb35f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147480:(.text+0xb3610): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147483:(.text+0xb3616): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_30setQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147556:(.text+0xb3642): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147556:(.text+0xb364c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb3698): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145592:(.text+0xb36d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb376a): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xb3806): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0xb380e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145613:(.text+0xb3822): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145616:(.text+0xb3832): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145622:(.text+0xb38d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145622:(.text+0xb38e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145622:(.text+0xb38e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145674:(.text+0xb3912): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144544:(.text+0xb391c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144594:(.text+0xb3970): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb39ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb3a36): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144604:(.text+0xb3a3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0xb3a62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144584:(.text+0xb3aae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144663:(.text+0xb3ade): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144570:(.text+0xb3b08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144574:(.text+0xb3b20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144574:(.text+0xb3b26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_313setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142902:(.text+0xb3b7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142912:(.text+0xb3b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142902:(.text+0xb3b9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb3bd2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_313setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142940:(.text+0xb3be4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142956:(.text+0xb3c54): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142916:(.text+0xb3c6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142946:(.text+0xb3ca0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_312setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142988:(.text+0xb3d14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_313setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142929:(.text+0xb3d2a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142929:(.text+0xb3d42): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142929:(.text+0xb3d48): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb3d5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_309getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142492:(.text+0xb3db2): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_308getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142546:(.text+0xb3dbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142555:(.text+0xb3de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142579:(.text+0xb3e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb3f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_309getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142493:(.text+0xb3f98): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142494:(.text+0xb3faa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142494:(.text+0xb3fc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb3fc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_308getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142600:(.text+0xb3fd2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb4024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb403a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_308getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142635:(.text+0xb4046): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142635:(.text+0xb405c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142621:(.text+0xb406c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb4074): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/object.h:601:(.text+0xb4090): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_277assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140328:(.text+0xb40d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4118): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_274assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140302:(.text+0xb41f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_275assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140273:(.text+0xb41fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb420e): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_274assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140305:(.text+0xb4276): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140305:(.text+0xb4280): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_265setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139673:(.text+0xb42e0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4306): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb431c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_265setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139684:(.text+0xb4330): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139686:(.text+0xb4344): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139688:(.text+0xb4354): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_264setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139716:(.text+0xb435c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_265setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139664:(.text+0xb43c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139664:(.text+0xb43f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139664:(.text+0xb43fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139667:(.text+0xb4416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139667:(.text+0xb441c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_264setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139730:(.text+0xb4448): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139730:(.text+0xb4452): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb4494): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb449a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb44a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb44a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_254getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139069:(.text+0xb4554): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_255getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139049:(.text+0xb4598): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139009:(.text+0xb4672): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139012:(.text+0xb467a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139017:(.text+0xb468e): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139017:(.text+0xb46a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xb46f6): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_254getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139067:(.text+0xb4700): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_255getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139004:(.text+0xb4760): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139049:(.text+0xb4786): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xb479c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_225swap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136994:(.text+0xb47b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb47c4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb47d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb47dc): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_224swap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137066:(.text+0xb4840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_225swap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137048:(.text+0xb4872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb487a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_225swap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137014:(.text+0xb4896): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137009:(.text+0xb489c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137038:(.text+0xb48c8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137014:(.text+0xb48d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb4914): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_224swap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137080:(.text+0xb491a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137080:(.text+0xb4920): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137080:(.text+0xb4928): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_212zeroEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136385:(.text+0xb49d2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb49da): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4a10): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_213zeroEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136361:(.text+0xb4a30): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136361:(.text+0xb4a44): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136361:(.text+0xb4a50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_212zeroEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136399:(.text+0xb4a7c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136399:(.text+0xb4a86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4b54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4b5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_208setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136167:(.text+0xb4b9e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb4bb0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_209setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136134:(.text+0xb4bda): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4bec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_209setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136098:(.text+0xb4c08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136103:(.text+0xb4c2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136114:(.text+0xb4c34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb4c46): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb4c4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_208setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136193:(.text+0xb4c76): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_209setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136099:(.text+0xb4c88): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_207conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136011:(.text+0xb4cfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb4d02): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4d44): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4d56): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_207conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136017:(.text+0xb4d80): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136017:(.text+0xb4d92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb4dae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_206conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136055:(.text+0xb4dd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_207conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136016:(.text+0xb4dda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136016:(.text+0xb4dec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_205abs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135948:(.text+0xb4df4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_204abs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135978:(.text+0xb4e1c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135990:(.text+0xb4e2e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_205abs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135953:(.text+0xb4ea0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb4ea8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_203sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135885:(.text+0xb4eea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb4efc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_202sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135927:(.text+0xb4f26): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4f38): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb4f54): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_203sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135891:(.text+0xb4f7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135891:(.text+0xb4f80): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135891:(.text+0xb4f92): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135890:(.text+0xb4f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_202sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135929:(.text+0xb4fc2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_203sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135890:(.text+0xb4fd4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5046): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb504e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_201log': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135828:(.text+0xb5090): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb50a2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_201log': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135827:(.text+0xb50cc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_199exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135759:(.text+0xb50de): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135763:(.text+0xb50fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_198exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135800:(.text+0xb5120): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_199exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135771:(.text+0xb5126): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5138): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5140): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_199exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135765:(.text+0xb5168): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135765:(.text+0xb517a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb51ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_197reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135700:(.text+0xb51f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5236): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5248): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_197reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135702:(.text+0xb5272): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135702:(.text+0xb5284): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_196reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135740:(.text+0xb52a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_197reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135701:(.text+0xb52c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135701:(.text+0xb52cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_181mtDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134661:(.text+0xb52de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134672:(.text+0xb52e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb530e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_180mtDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134753:(.text+0xb5320): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb5542): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_178mtDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134630:(.text+0xb5562): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134643:(.text+0xb556e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134643:(.text+0xb557a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb55de): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_179mtDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134593:(.text+0xb5602): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb56da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb56e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_179mtDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134562:(.text+0xb56f0): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134570:(.text+0xb570a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134570:(.text+0xb5718): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134574:(.text+0xb5744): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_179mtDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134602:(.text+0xb574e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb5784): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb578c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_177mtDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134479:(.text+0xb57d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134470:(.text+0xb5836): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134470:(.text+0xb5846): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134446:(.text+0xb58b8): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134440:(.text+0xb58d8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134452:(.text+0xb58e4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134452:(.text+0xb58f0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134447:(.text+0xb5954): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134451:(.text+0xb5978): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5a50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5a58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5a66): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_175mDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134347:(.text+0xb5a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134349:(.text+0xb5a8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134308:(.text+0xb5aba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134316:(.text+0xb5ac4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134323:(.text+0xb5afa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134316:(.text+0xb5b02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134329:(.text+0xb5b4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134325:(.text+0xb5bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134328:(.text+0xb5bbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_173mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134180:(.text+0xb5be6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_172mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134261:(.text+0xb5c24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134261:(.text+0xb5c2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_173mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134233:(.text+0xb5c6a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5c76): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5c92): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5ca8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_173mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134224:(.text+0xb5cba): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xb5cd0): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5ce0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_173mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134185:(.text+0xb5cf6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134193:(.text+0xb5d06): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134196:(.text+0xb5d1c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134196:(.text+0xb5d2c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134193:(.text+0xb5d42): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134193:(.text+0xb5d52): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134201:(.text+0xb5dd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134202:(.text+0xb5df0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134205:(.text+0xb5e02): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_171mDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134046:(.text+0xb5e2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134046:(.text+0xb5e34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134058:(.text+0xb5e3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134046:(.text+0xb5e46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb5e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134086: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_170mDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134138:(.text+0xb5e66): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134151:(.text+0xb5e78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_171mDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134110:(.text+0xb5e94): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xb5ec6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5ece): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb5ee0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_171mDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134101:(.text+0xb5efe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134073:(.text+0xb5f6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134083:(.text+0xb5fcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134070:(.text+0xb5ffc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134082:(.text+0xb6042): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_167tDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133802:(.text+0xb6050): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb607a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb609a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_167tDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133856:(.text+0xb6142): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133822:(.text+0xb6164): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133846:(.text+0xb6190): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133846:(.text+0xb619a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xb627e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0xb62a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb62cc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb62d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_161dotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133473:(.text+0xb63ba): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133452:(.text+0xb63dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_160dotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133525:(.text+0xb6408): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133525:(.text+0xb6412): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb64f6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_157equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133211:(.text+0xb6518): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_156equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133254:(.text+0xb6544): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133254:(.text+0xb654e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb6632): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_156equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133281:(.text+0xb6654): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_157equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133198:(.text+0xb6680): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133198:(.text+0xb668a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_147restoreCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132395:(.text+0xb676e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_146restoreCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132433:(.text+0xb6790): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132394:(.text+0xb67bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_143getCLQueueHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132038:(.text+0xb67c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_142getCLQueueHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132106:(.text+0xb68aa): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb68cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132050:(.text+0xb68f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_141getCLContextHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131951:(.text+0xb6902): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_140getCLContextHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132019:(.text+0xb69e6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb6a08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131963:(.text+0xb6a34): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_139getOffloadMask': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131873:(.text+0xb6a3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_138getOffloadMask': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131932:(.text+0xb6b22): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb6b44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131885:(.text+0xb6b70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_135getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131338:(.text+0xb6b7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_134getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131504:(.text+0xb6c5e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131586:(.text+0xb6c80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_135getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131393:(.text+0xb6cac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131393:(.text+0xb6cb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_134getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131557:(.text+0xb6d9a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecHIPGetArray': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:971:(.text+0xb6dbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:971:(.text+0xb6de8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xb6df2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xb6eca): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_134getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131438:(.text+0xb6eec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_135getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131363:(.text+0xb6f18): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131364:(.text+0xb6f22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_131getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130803:(.text+0xb6ffe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb7020): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130903:(.text+0xb704c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130903:(.text+0xb7056): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb7132): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xb7154): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_131getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130849:(.text+0xb7180): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130849:(.text+0xb718a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130940:(.text+0xb7266): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xb7288): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xb72b4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xb72be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_131getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130829:(.text+0xb739a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130858:(.text+0xb73bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCUDAGetArrayWrite': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:982:(.text+0xb73e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:982:(.text+0xb73f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_129boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130728:(.text+0xb74ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb74f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_129boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130722:(.text+0xb751c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130722:(.text+0xb7526): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb7602): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_89setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128365:(.text+0xb7624): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb7650): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_88setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128403:(.text+0xb765a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb773c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_69__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125426:(.text+0xb775e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125386:(.text+0xb778a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb7794): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_68__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125481:(.text+0xb7874): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_69__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125401:(.text+0xb7896): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125401:(.text+0xb78c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb78cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_41view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120674:(.text+0xb79ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120639:(.text+0xb79ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb79fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb7a04): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb7ae4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_40view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120743:(.text+0xb7b06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_41view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120650:(.text+0xb7b32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120654:(.text+0xb7b3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_39__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120543:(.text+0xb7c1c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb7c3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_39__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120534:(.text+0xb7c6a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120534:(.text+0xb7c74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb7d54): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xb7d76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_38__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120604:(.text+0xb7da2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120604:(.text+0xb7dac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_18reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115556:(.text+0xb7e8c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_19reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115517:(.text+0xb7eae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_17setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115455:(.text+0xb7eda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_16setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115479:(.text+0xb7ee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb7fc4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb7fe6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb8012): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb801c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114864:(.text+0xb80fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114864:(.text+0xb811e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb814a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xb8154): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114835:(.text+0xb8230): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb8252): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114862:(.text+0xb827e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114839:(.text+0xb8288): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb8368): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_15createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111831:(.text+0xb838a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_14createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111882:(.text+0xb83b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0xb83c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb84a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_14createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111907:(.text+0xb84c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_15createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111818:(.text+0xb84ee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111818:(.text+0xb84f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xb85d8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb85fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111392:(.text+0xb8626): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_8view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111436:(.text+0xb8630): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111366:(.text+0xb870a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111367:(.text+0xb872c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111371:(.text+0xb8758): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111371:(.text+0xb8762): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_6setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111322:(.text+0xb8842): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_7setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111283:(.text+0xb8864): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xb8890): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_63equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107793:(.text+0xb889a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb897a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_63equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107813:(.text+0xb899c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107837:(.text+0xb89c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_62equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107904:(.text+0xb89d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_61isIdentity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107706:(.text+0xb8ab2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107710:(.text+0xb8ad4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb8b00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0xb8b0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_57isPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107546:(.text+0xb8bea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xb8c0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb8c38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0xb8c42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_53isSorted': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107386:(.text+0xb8d22): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xb8d44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xb8d70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb8d7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_53isSorted': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107398:(.text+0xb8e5a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104665:(.text+0xb8e7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104687:(.text+0xb8ea8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104704:(.text+0xb8eb2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104714:(.text+0xb8f8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb8fb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104675:(.text+0xb8fdc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104675:(.text+0xb8fe6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_9__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104564:(.text+0xb90c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_8__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104594:(.text+0xb90e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb9114): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_8__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104617:(.text+0xb911e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xb91fe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_8__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104634:(.text+0xb9220): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104634:(.text+0xb924c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104634:(.text+0xb9256): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_26synchronize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103518:(.text+0xb9332): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb9354): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_27synchronize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103483:(.text+0xb9380): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103483:(.text+0xb938a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xb946a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb948c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_19idle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102648:(.text+0xb94b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102648:(.text+0xb94c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xb959e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_15setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102498:(.text+0xb95c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_14setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102536:(.text+0xb95ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102536:(.text+0xb95f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_11getDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102132:(.text+0xb96d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102131:(.text+0xb96f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102137:(.text+0xb9724): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb972e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xb980c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451362:(.text+0xb982e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22070:(.text+0xb985a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb9864): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22099:(.text+0xb9940): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22101:(.text+0xb9962): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22102:(.text+0xb998e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0xb9998): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101834:(.text+0xb9a78): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_7getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101771:(.text+0xb9a9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xb9ac6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xb9ad0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb9bac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22074:(.text+0xb9bce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22088:(.text+0xb9bfa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb9c04): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_7getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101777:(.text+0xb9ce4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_13getDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101098:(.text+0xb9d06): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101102:(.text+0xb9d32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101104:(.text+0xb9d3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21706:(.text+0xb9e1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_12getDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101140:(.text+0xb9e40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xb9e6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447084:(.text+0xb9e76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21748:(.text+0xb9f56): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21751:(.text+0xb9f78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xb9fa4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xb9fae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xba08e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21734:(.text+0xba0b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xba0dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xba0e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xba1c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xba1e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_12getDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101130:(.text+0xba214): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xba21e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100994:(.text+0xba2fe): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100994:(.text+0xba320): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0xba34c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0xba356): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100973:(.text+0xba432): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xba454): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100969:(.text+0xba480): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100969:(.text+0xba48a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xba56a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_9configure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100887:(.text+0xba58c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_8configure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100925:(.text+0xba5b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100925:(.text+0xba5c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14staticproperty___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100230:(.text+0xba6a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xba6c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xba6f0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xba6fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14staticproperty_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100195:(.text+0xba7dc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100147:(.text+0xba7fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xba82a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xba834): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xba914): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xba936): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xba962): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14staticproperty___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100230:(.text+0xba96c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xbaa4c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14staticproperty_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100180:(.text+0xbaa6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100180:(.text+0xbaa9a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14staticproperty_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100206:(.text+0xbaaa4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_21getSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99273:(.text+0xbab84): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_20getSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99335:(.text+0xbaba6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99308:(.text+0xbabd2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_21getSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99279:(.text+0xbabdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_14setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99074:(.text+0xbacbc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99035:(.text+0xbacde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_15popGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98151:(.text+0xbad0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_14popGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98175:(.text+0xbad14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xbadf4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbae16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbae42): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbae4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbaf2c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbaf4e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_5popTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97710:(.text+0xbaf7a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97710:(.text+0xbaf84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_3pushTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97647:(.text+0xbb064): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xbb086): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_3pushTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97646:(.text+0xbb0b2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97646:(.text+0xbb0bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_80clearDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97387:(.text+0xbb19c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_73getFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96542:(.text+0xbb1be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96546:(.text+0xbb1ea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96548:(.text+0xbb1f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_72getFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96583:(.text+0xbb2d4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96554:(.text+0xbb2f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_68flush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96407:(.text+0xbb322): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbb32c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_61popASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95954:(.text+0xbb40c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_60popASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95992:(.text+0xbb42e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbb45a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbb464): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbb544): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbb566): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_59pushASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95893:(.text+0xbb592): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xbb59c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_57popASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95830:(.text+0xbb67c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbb69e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_57popASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95829:(.text+0xbb6ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95829:(.text+0xbb6d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_54pushASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95805:(.text+0xbb7b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_45DRAW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95184:(.text+0xbb7d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xbb802): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xbb80c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_45DRAW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95228:(.text+0xbb8ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95232:(.text+0xbb90e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xbb93a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_44DRAW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95318:(.text+0xbb944): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_45DRAW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95208:(.text+0xbba24): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95210:(.text+0xbba46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_43BINARY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95030:(.text+0xbba72): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95030:(.text+0xbba7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0xbbb5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_43BINARY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95074:(.text+0xbbb7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95030:(.text+0xbbbaa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xbbbb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_43BINARY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95060:(.text+0xbbc94): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95051:(.text+0xbbcb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95059:(.text+0xbbce2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95059:(.text+0xbbcec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_40ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94941:(.text+0xbbdcc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94960:(.text+0xbbdee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94984:(.text+0xbbe1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xbbe24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_41ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94901:(.text+0xbbf04): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_40ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95009:(.text+0xbbf26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xbbf52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_40ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95009:(.text+0xbbf5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xbc038): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_41ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94890:(.text+0xbc05a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94917:(.text+0xbc086): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_39STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94699:(.text+0xbc090): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbc170): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbc192): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_39STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94745:(.text+0xbc1be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94747:(.text+0xbc1c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94729:(.text+0xbc2a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94729:(.text+0xbc2c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94724:(.text+0xbc2f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94725:(.text+0xbc2fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_37STDOUT': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94600:(.text+0xbc3de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbc400): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbc42c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_37STDOUT': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94589:(.text+0xbc436): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94566:(.text+0xbc512): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94575:(.text+0xbc534): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94566:(.text+0xbc560): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94566:(.text+0xbc56a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_31popFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94203:(.text+0xbc646): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xbc668): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_31popFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94202:(.text+0xbc694): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94202:(.text+0xbc69e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_27getFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94013:(.text+0xbc780): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_26getFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94076:(.text+0xbc7a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_27getFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94020:(.text+0xbc7ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94020:(.text+0xbc7d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbc8b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbc8d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91540:(.text+0xbc904): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91553:(.text+0xbc90e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbc9f8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_fortran': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413184:(.text+0xbca1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_7fortran___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90374:(.text+0xbca46): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90374:(.text+0xbca50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_45incRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88237:(.text+0xbcb38): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbcb5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_45incRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88230:(.text+0xbcb86): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88231:(.text+0xbcb90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_35getClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87589:(.text+0xbcc66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbcd3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_25setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87050:(.text+0xbce12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbcee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_13view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86428:(.text+0xbcfbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86437: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xbd9e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_16barrier': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85130:(.text+0xbda10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_17barrier': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85057:(.text+0xbda1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_15getRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84945:(.text+0xbdaf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbdb1e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbdb28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_14getRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85033:(.text+0xbdbdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_12getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84878:(.text+0xbdcb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0xbdd88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscLogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457862:(.text+0xbde5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_23getActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83179:(.text+0xbdf34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82815: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xbe2d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbe37e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xbe386): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82251:(.text+0xbe38e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xbe3f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xbe40c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82251:(.text+0xbe442): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xbe44a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82239:(.text+0xbe452): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_3__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82046:(.text+0xbe4cc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_2__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82074:(.text+0xbe4de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82091:(.text+0xbe4f0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogClass_id': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420499:(.text+0xbe564): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_10getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81483:(.text+0xbe594): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbe642): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_8deactivate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81412:(.text+0xbe65c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81412:(.text+0xbe664): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbe684): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbe696): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_8deactivate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81426:(.text+0xbe716): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81387:(.text+0xbe728): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6activate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81349:(.text+0xbe754): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbe764): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbe792): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbe7ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_7activate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81324:(.text+0xbe81a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81324:(.text+0xbe822): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_4name_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81285:(.text+0xbe834): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xbe85a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xbe868): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_4name_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81287:(.text+0xbe87c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_2id___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80807:(.text+0xbe998): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_id': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420286:(.text+0xbe9ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbe9e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xbe9f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_22getVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80476:(.text+0xbeaea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_19getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80035:(.text+0xbeb0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80039:(.text+0xbeb38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_18getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80076:(.text+0xbeb42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbec58): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_16deactivate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80014:(.text+0xbec86): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbec8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbecb2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbecc4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_17deactivate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79978:(.text+0xbece8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79977:(.text+0xbecfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbed02): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_17deactivate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79977:(.text+0xbed2e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79977:(.text+0xbed38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_14activate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79939:(.text+0xbed6e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_15activate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79915:(.text+0xbedda): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79915:(.text+0xbede2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79914:(.text+0xbedf4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_14activate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79953:(.text+0xbee14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xbeefa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0xbef28): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0xbef30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_11pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79602:(.text+0xbef54): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbef66): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbef8a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbef9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbefa4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_11pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79604:(.text+0xbefd0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79604:(.text+0xbefda): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79603:(.text+0xbf010): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf07c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf084): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf096): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_9push': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79541:(.text+0xbf0b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xbf194): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_22isActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79211:(.text+0xbf1a8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0xbf1b4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf212): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_23isActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79176:(.text+0xbf23e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_22isActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79239:(.text+0xbf282): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_18getCPUTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78420:(.text+0xbf2de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78430:(.text+0xbf2e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_19getCPUTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78391:(.text+0xbf304): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf334): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xbf396): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbf39e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_17getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78292:(.text+0xbf3c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78304:(.text+0xbf404): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf434): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_16getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78360:(.text+0xbf46e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78360:(.text+0xbf47c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xbf4dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14getFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78256:(.text+0xbf4e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf52a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf532): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_15getFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78211:(.text+0xbf560): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14getFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78273:(.text+0xbf576): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78273:(.text+0xbf57e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78246:(.text+0xbf5a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_13addFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78122:(.text+0xbf5f4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf606): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_13addFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78133:(.text+0xbf638): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscLogFlops': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsclog.h:417:(.text+0xbf6a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbf7c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_11logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77981:(.text+0xbf7ea): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xbf802): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xbf808): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbf81a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_11logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78021:(.text+0xbf862): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_10logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78074:(.text+0xbf94a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78074:(.text+0xbf952): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_11logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78004:(.text+0xbf980): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78008:(.text+0xbf992): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77842:(.text+0xbfa08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77881:(.text+0xbfa5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77881:(.text+0xbfa64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xbfa8e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77891:(.text+0xbfaa0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77846:(.text+0xbfabe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0xbfad0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbfaf0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_8view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77924:(.text+0xbfb22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbfb4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77860:(.text+0xbfb6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77881:(.text+0xbfb74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77855:(.text+0xbfb96): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbfba8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_8view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77962:(.text+0xbfbb4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77962:(.text+0xbfbc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77861:(.text+0xbfc26): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_7begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77708:(.text+0xbfc4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77708:(.text+0xbfc68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbfc8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_7begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77754:(.text+0xbfccc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77754:(.text+0xbfce2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xbfd18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_6begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77809:(.text+0xbfd40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_7begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77763:(.text+0xbfd52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_6begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77783:(.text+0xbfd76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77796:(.text+0xbfd7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xbfd84): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_6begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77796:(.text+0xbfd96): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xbfd9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbfda4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_6begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77782:(.text+0xbfdb6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xbfe2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xbfe40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xbff38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81870:(.text+0xc001e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447397:(.text+0xc0030): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447397:(.text+0xc0034): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc003c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0xc011a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0xc0122): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc014c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xc015e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_3Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77213:(.text+0xc017c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0xc01aa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xc01d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_3Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77225:(.text+0xc01fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77225:(.text+0xc0204): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77275:(.text+0xc0222): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0xc0234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xc023c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xc024e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0xc025a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77277:(.text+0xc026c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xc029e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_3Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77221:(.text+0xc02c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc02ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0xc0302): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81871:(.text+0xc0326): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77366:(.text+0xc039a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc03b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc03b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0xc03ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0xc03d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0xc03d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0xc03ea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xc0452): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xc0468): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xc047a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc0496): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscLogClassFindId': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:78:(.text+0xc04e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc0624): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscLogStageFindId': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:53:(.text+0xc0722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:53:(.text+0xc072a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:55:(.text+0xc073e): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:55:(.text+0xc074e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80895:(.text+0xc0780): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xc07fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77177:(.text+0xc0802): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc082e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc0838): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xc08b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77042:(.text+0xc099a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80841:(.text+0xc0a02): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc0b00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80945:(.text+0xc0b08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80945:(.text+0xc0b1c): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77177:(.text+0xc0b2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80917:(.text+0xc0b5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc0bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc0be0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77177:(.text+0xc0c0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xc0c16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xc0c8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_33hasExternalPackage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76720:(.text+0xc0d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76733:(.text+0xc0dd2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_32hasExternalPackage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76762:(.text+0xc0e08): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76792:(.text+0xc0e34): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0xc0e3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_33hasExternalPackage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76714:(.text+0xc0f36): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76714:(.text+0xc0f44): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc0f52): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_32hasExternalPackage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76792:(.text+0xc0f5e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xc0f9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76550:(.text+0xc0fc8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc0fd2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc10ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447398:(.text+0xc10d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xc10de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xc10f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscCitationsRegister': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscsys.h:2225:(.text+0xc1182): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscStrlen': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:109:(.text+0xc118e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscCitationsRegister': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscsys.h:2225:(.text+0xc119a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc11d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc11fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xc1244): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc12ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0xc12d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0xc12f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_30registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76601:(.text+0xc135e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76541:(.text+0xc136a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76544:(.text+0xc1376): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_30registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76620:(.text+0xc13ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_citation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76856:(.text+0xc13d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_set_citation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76925:(.text+0xc1420): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76548:(.text+0xc14a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76548:(.text+0xc14ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76548:(.text+0xc14ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76597:(.text+0xc154c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76570:(.text+0xc1558): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscCitationsRegister': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscsys.h:2225:(.text+0xc1564): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc159a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc15c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76302:(.text+0xc160e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76358:(.text+0xc1694): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76341:(.text+0xc169c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc16bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_28infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76464:(.text+0xc1736): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc1742): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_28infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76476:(.text+0xc174e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76367:(.text+0xc1784): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc17b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_28infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76500:(.text+0xc17f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76318:(.text+0xc187e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76313:(.text+0xc1886): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76352:(.text+0xc18a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76318:(.text+0xc1920): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76321:(.text+0xc192c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc1938): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76337:(.text+0xc196e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76332:(.text+0xc199a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc19e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc1a68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc1a70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_27popSignalHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76232:(.text+0xc1a90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xc1b04): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xc1b10): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_25popErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76170:(.text+0xc1b1c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc1b52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_25popErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76170:(.text+0xc1b7e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_24popErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76208:(.text+0xc1bc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc1c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc1c54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_23pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75851:(.text+0xc1c74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_22pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75920:(.text+0xc1ce8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75920:(.text+0xc1cf4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75930:(.text+0xc1d00): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75978:(.text+0xc1d36): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76017:(.text+0xc1d62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76103:(.text+0xc1daa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc1e30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_23pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75825:(.text+0xc1e38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75831:(.text+0xc1e58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75834:(.text+0xc1ecc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75834:(.text+0xc1ed8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75834:(.text+0xc1ee4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc1f1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc1f46): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_22pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76065:(.text+0xc1f8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xc2014): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc201c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_21sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75737:(.text+0xc203c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc20b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_20sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75778:(.text+0xc20bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc20c8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450977:(.text+0xc20fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_20sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75768:(.text+0xc212a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0xc2172): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xc21f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xc2200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_21sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75714:(.text+0xc2220): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75719:(.text+0xc2294): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75723:(.text+0xc22a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75723:(.text+0xc22ac): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xc22e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_17syncFlush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75329:(.text+0xc230e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_16syncFlush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75404:(.text+0xc2356): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0xc23dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xc23e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc2404): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_17syncFlush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75345:(.text+0xc2478): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75350:(.text+0xc2484): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75358:(.text+0xc2490): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75359:(.text+0xc24c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xc24f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75358:(.text+0xc253a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc25c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75147:(.text+0xc25c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447397:(.text+0xc25e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75195:(.text+0xc265c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75208:(.text+0xc2668): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75208:(.text+0xc2674): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xc26aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xc26d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75241:(.text+0xc271e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xc27a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xc27ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75286:(.text+0xc27cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc2840): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc284c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc2858): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_15syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75102:(.text+0xc288e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75303:(.text+0xc28ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc2902): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc2988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xc2990): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc29b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75110:(.text+0xc2a24): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447399:(.text+0xc2a30): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447401:(.text+0xc2a3c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75284:(.text+0xc2a72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447770:(.text+0xc2a9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75263:(.text+0xc2ae6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75181:(.text+0xc2b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75275:(.text+0xc2b74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75286:(.text+0xc2b94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_13Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74830:(.text+0xc2c08): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74837:(.text+0xc2c14): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74837:(.text+0xc2c20): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc2c56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74903:(.text+0xc2c82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19110:(.text+0xc2cca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc2d50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xc2d58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc2d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc2dec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19111:(.text+0xc2df8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xc2e04): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19113:(.text+0xc2e3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19157:(.text+0xc2e66): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75031:(.text+0xc2eaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc2f2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc2f34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc2f52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xc2fc6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc2fd2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc2fde): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc3014): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75059:(.text+0xc3040): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_13Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74836:(.text+0xc3088): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74984:(.text+0xc310e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74984:(.text+0xc3116): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75031:(.text+0xc3136): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc3214): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74903:(.text+0xc3238): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xc3270): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc3282): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc3286): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc328e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_11setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74684:(.text+0xc32d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74684:(.text+0xc32de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xc32ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc332c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc3334): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_11setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74724:(.text+0xc335e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74733:(.text+0xc3370): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_10setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74754:(.text+0xc3390): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74765:(.text+0xc33a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74765:(.text+0xc33ac): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74796:(.text+0xc33be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74754:(.text+0xc340c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_11setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74704:(.text+0xc3438): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74707:(.text+0xc3442): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0xc3478): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_11setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74711:(.text+0xc3504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xc350c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc3514): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc351c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_10setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74774:(.text+0xc352e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74774:(.text+0xc3534): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xc353c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc354e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74774:(.text+0xc356e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_11setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74733:(.text+0xc3576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_9getDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74602:(.text+0xc363a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74601:(.text+0xc3670): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_22prefixPop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72004:(.text+0xc36a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc36ca): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc36d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_23prefixPop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71979:(.text+0xc36fc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71980:(.text+0xc3708): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71980:(.text+0xc3714): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc3736): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71732:(.text+0xc37be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71748:(.text+0xc37ce): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71748:(.text+0xc37d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc382e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc3838): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71749:(.text+0xc386e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_18view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71817:(.text+0xc3930): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71817:(.text+0xc3940): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71723:(.text+0xc394e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71723:(.text+0xc395a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71728:(.text+0xc39a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70431:(.text+0xc39f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc39f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc3a22): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc3a2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70460:(.text+0xc3a52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70554:(.text+0xc3ae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xc3b8e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70589:(.text+0xc3b9a): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc3ba6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70600:(.text+0xc3bc8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc3bf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xc3bfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70641:(.text+0xc3c26): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70643:(.text+0xc3c30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc3c7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc3c80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc3cb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70435:(.text+0xc3d66): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70441:(.text+0xc3d72): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70454:(.text+0xc3d7e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc3df0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xc3e1c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc3e26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc3ea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc3eb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0xc3eb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70687:(.text+0xc3f62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70639:(.text+0xc3f6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70477:(.text+0xc3f7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70443:(.text+0xc3fec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc4018): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70643:(.text+0xc4022): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70593:(.text+0xc40a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70593:(.text+0xc40ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70595:(.text+0xc40b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70593:(.text+0xc4168): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70469:(.text+0xc4178): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70577:(.text+0xc4188): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70623:(.text+0xc4196): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70623:(.text+0xc41a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_5__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70359:(.text+0xc424e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70359:(.text+0xc4256): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70359:(.text+0xc4260): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xc4266): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0xc4292): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_4__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70381:(.text+0xc429c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70381:(.text+0xc437a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70381:(.text+0xc4386): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc4436): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc4446): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc4456): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc4464): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc4470): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc451c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc4524): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0xc452e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xc4534): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_3__nonzero__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70210:(.text+0xc4560): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70224:(.text+0xc456a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70239:(.text+0xc4648): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69998:(.text+0xc4654): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450970:(.text+0xc4734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450973:(.text+0xc473c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70047:(.text+0xc4744): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70106: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70047:(.text+0xc4928): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70170:(.text+0xc4954): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70028:(.text+0xc4a04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0xc4a14): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xc4aa2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc4ab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70033:(.text+0xc4af0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xc4b02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc4bb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70021:(.text+0xc4be4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451068:(.text+0xc4c94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70065:(.text+0xc4ca4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63038:(.text+0xc4d32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63048:(.text+0xc4d46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63061:(.text+0xc4d80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63061:(.text+0xc4d92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446893:(.text+0xc4e4c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_7__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63005:(.text+0xc4eee): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63061:(.text+0xc4f1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63061:(.text+0xc4f26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_9__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59327:(.text+0xc4f3a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc4f4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_9__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59332:(.text+0xc4fec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_5__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29849:(.text+0xc4ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29849:(.text+0xc4ffa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc5026): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14_Vec_LocalForm_4__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29910:(.text+0xc5030): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_5__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29863:(.text+0xc5062): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29854:(.text+0xc5068): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29854:(.text+0xc5086): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_10__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29023:(.text+0xc5146): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29023:(.text+0xc5156): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_11__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28978:(.text+0xc5166): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28978:(.text+0xc5174): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418985:(.text+0xc5180): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28097:(.text+0xc522c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28099:(.text+0xc5234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28099:(.text+0xc523e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28099:(.text+0xc5244): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28083:(.text+0xc5270): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xc527a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418991:(.text+0xc5358): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418991:(.text+0xc5364): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28059:(.text+0xc53e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc543e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28064:(.text+0xc5462): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28072:(.text+0xc5474): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28076:(.text+0xc548a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc549a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28208:(.text+0xc54a4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc54d0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28077:(.text+0xc54ea): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418845:(.text+0xc55a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418845:(.text+0xc55b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xc55de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418855:(.text+0xc55ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22728:(.text+0xc55fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xc5692): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418851:(.text+0xc56d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22732:(.text+0xc56fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22737:(.text+0xc5710): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22751:(.text+0xc5718): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc5720): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc5738): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22851: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc57f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc__push_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398111:(.text+0xc584e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_push_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399276:(.text+0xc5872): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc5884): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc589a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_push_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399269:(.text+0xc58aa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399270:(.text+0xc58b4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc__push_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398098:(.text+0xc58e0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398134:(.text+0xc58fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc59b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc59c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_117getBuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129853:(.text+0xc59ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129860:(.text+0xc59fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129860:(.text+0xc5a0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26470:(.text+0xc5aa2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_116getBuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129932:(.text+0xc5ae8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_117getBuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129826:(.text+0xc5b0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129834:(.text+0xc5b20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xc5b28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xc5b30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xc5b48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129826: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_117getBuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129830:(.text+0xc5bf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129835:(.text+0xc5c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129860:(.text+0xc5c56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_189sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135306:(.text+0xc5d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_188sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135341:(.text+0xc5d44): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135341:(.text+0xc5d56): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc5d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc5d9c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc5da8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_189sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135306:(.text+0xc5dbe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_188sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135351:(.text+0xc5e0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xc5e38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc5eea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc5ef2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_17getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99099:(.text+0xc5f38): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99098:(.text+0xc5f4a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_16getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99161:(.text+0xc5f7a): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc5f9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_25getInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99493:(.text+0xc5fe4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_24getInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99537:(.text+0xc6022): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc60aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc60bc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc60c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc60c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_24getInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99585:(.text+0xc60f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_25getInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99499:(.text+0xc6126): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0xc6138): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0xc613c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0xc6144): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc6188): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_24getInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99558:(.text+0xc6192): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc61a0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xc61b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_283strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140605:(.text+0xc6228): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc625e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc6266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_283strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140632:(.text+0xc6270): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140634:(.text+0xc6282): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140634:(.text+0xc628c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140643:(.text+0xc629e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_282strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140665:(.text+0xc62b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0xc62f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0xc62fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_282strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140694:(.text+0xc6310): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xc633e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_283strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140615:(.text+0xc6364): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_282strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140665:(.text+0xc6384): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_283strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140617:(.text+0xc63a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140621:(.text+0xc63f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140621:(.text+0xc6404): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140643:(.text+0xc6444): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133544:(.text+0xc6458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133554:(.text+0xc6460): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133573:(.text+0xc6486): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc64ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133582:(.text+0xc64c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133584:(.text+0xc64d4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133584:(.text+0xc64da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_162dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133655:(.text+0xc64e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133588:(.text+0xc64f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_162dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133655:(.text+0xc6618): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc6626): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_162dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133627:(.text+0xc6634): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133571:(.text+0xc6640): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc667e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_165tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133673:(.text+0xc66aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xc66b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_165tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133727:(.text+0xc678c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133693:(.text+0xc67b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133694:(.text+0xc67be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133717:(.text+0xc67d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_164tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133756:(.text+0xc687a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_165tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133700:(.text+0xc6888): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133700:(.text+0xc6896): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133700:(.text+0xc68a2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133727:(.text+0xc68e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_169tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133917:(.text+0xc690c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133917:(.text+0xc6916): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xc69ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_169tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133943:(.text+0xc6a14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133951:(.text+0xc6a1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133961:(.text+0xc6a2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_168tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134000:(.text+0xc6acc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_169tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133944:(.text+0xc6ada): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133944:(.text+0xc6ae8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133944:(.text+0xc6af4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133971:(.text+0xc6b32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_159dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133300:(.text+0xc6b5e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xc6b68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_159dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133314:(.text+0xc6c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133334:(.text+0xc6c6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133344:(.text+0xc6c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133348:(.text+0xc6c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_158dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133411:(.text+0xc6d08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_159dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133327:(.text+0xc6d34): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_251getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138779:(.text+0xc6e2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_250getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138801:(.text+0xc6e48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138820:(.text+0xc6e66): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138847:(.text+0xc6eb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138847:(.text+0xc6ec0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_251getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138756:(.text+0xc6f04): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_250getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138801:(.text+0xc6f16): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_251getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138753:(.text+0xc6f52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_71getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305690:(.text+0xc6fdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305690:(.text+0xc6fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305690:(.text+0xc6fee): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc7000): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_71getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305696:(.text+0xc7016): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xc702c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_70getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305744:(.text+0xc7048): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305755:(.text+0xc706c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305758:(.text+0xc707e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xc7090): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc70c6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_70getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305765:(.text+0xc70d0): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305759:(.text+0xc7132): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305784:(.text+0xc7148): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0xc7180): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_70getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305761:(.text+0xc7188): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_71getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305696:(.text+0xc720a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305696:(.text+0xc7212): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305696:(.text+0xc7224): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xc724a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_70getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305755:(.text+0xc725c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc726e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc7316): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_78getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201811:(.text+0xc7346): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201828:(.text+0xc7426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc7436): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0xc743e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc7462): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_78getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201826:(.text+0xc7474): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc74ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_78getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201826:(.text+0xc74ce): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201826:(.text+0xc74e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc74fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc7518): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xc756e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc7576): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_78getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201826:(.text+0xc7588): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc7596): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_79getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201767:(.text+0xc75e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc76f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc7722): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90845:(.text+0xc77ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90850:(.text+0xc77f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0xc7818): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xc782a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90990:(.text+0xc784c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90992:(.text+0xc7866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91025:(.text+0xc7870): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91025:(.text+0xc7882): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90859:(.text+0xc789c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90850:(.text+0xc78ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90858:(.text+0xc78f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90947:(.text+0xc7934): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90947:(.text+0xc793c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90947:(.text+0xc794e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90947:(.text+0xc795c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc79a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_event_args2objs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19829:(.text+0xc7a48): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19883:(.text+0xc7acc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82402:(.text+0xc7b0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_11end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82382:(.text+0xc7b58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0xc7b72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc7b9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc7c32): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc7c4c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82402:(.text+0xc7c56): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0xc7e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xc7e7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0xc7e8c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/listobject.h:46:(.text+0xc7e90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc7e98): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206169:(.text+0xc7ec2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206169:(.text+0xc7ed4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206169:(.text+0xc7ef4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206152:(.text+0xc7f26): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206176:(.text+0xc7f68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0xc7f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206180:(.text+0xc7fa4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206189:(.text+0xc7fd4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206189:(.text+0xc7fe4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc801a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206212:(.text+0xc8022): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206244:(.text+0xc80aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc80ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc80d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc8106): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc8120): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xc815e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc818a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc8198): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_135getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206057:(.text+0xc81a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206057:(.text+0xc81b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206057:(.text+0xc81c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206146:(.text+0xc81d2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206176:(.text+0xc81d8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206180:(.text+0xc81ea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc820e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206176:(.text+0xc8228): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206176:(.text+0xc8234): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xc824a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_133getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205842:(.text+0xc82be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205923:(.text+0xc82dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205886:(.text+0xc82fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205956:(.text+0xc83bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc8404): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc8436): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc847a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0xc8496): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0xc84a4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205967:(.text+0xc84ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205967:(.text+0xc84cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205976:(.text+0xc84dc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc8500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205996:(.text+0xc850e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xc851c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc854e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205905:(.text+0xc856c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206002:(.text+0xc8574): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205987:(.text+0xc859e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc8668): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_133getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205843:(.text+0xc86d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205933:(.text+0xc86f0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205967:(.text+0xc86fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc870e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205963:(.text+0xc8740): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xc8756): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_133getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205850:(.text+0xc8792): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0xc8852): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc885e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc8880): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_71sortGetIsValid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351404:(.text+0xc889c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351403:(.text+0xc88b8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_70sortGetIsValid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351468:(.text+0xc88d4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351410:(.text+0xc891e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_Mat_Stencil_1i___set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38932:(.text+0xc89b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xc89d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc8a24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc8a2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xc8a42): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xc8a4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xc8a7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_12_Mat_Stencil_j': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419292:(.text+0xc8b46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_Mat_Stencil_1j___set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38994:(.text+0xc8b6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xc8b98): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xc8bb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xc8bd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc8bea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xc8c0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xc8c2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xc8c4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xc8d7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc8e48): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc8e54): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc8e76): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0xc8e92): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xc8eae): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xc8eca): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_Mat_Stencil_1c___set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39097:(.text+0xc8f14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc8faa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0xc8fce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xc901a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc9022): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc9038): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc9040): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xc9074): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xc913c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xc9162): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc918e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0xc91a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xc91c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xc91e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc9200): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc9220): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0xc9240): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0xc9370): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xc943e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_117getBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290039:(.text+0xc944a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_116getBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290092:(.text+0xc946c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xc9488): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_116getBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290114:(.text+0xc94a4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xc94c0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290127: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xc950a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc95a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_116getBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290160:(.text+0xc95c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc9610): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc9618): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xc962e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc9636): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0xc966a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290135: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_117getBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290040:(.text+0xc9732): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xc9758): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_116getBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290139:(.text+0xc9784): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290139:(.text+0xc979e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290047:(.text+0xc97bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc97d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc97f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_119getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290179:(.text+0xc9816): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290183:(.text+0xc9836): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xc9966): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc9a34): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xc9a40): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xc9a62): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc9a7e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xc9a9a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_119getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290185:(.text+0xc9ab6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290185: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc9b00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_119getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290191:(.text+0xc9b96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_118getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290279:(.text+0xc9bba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_26getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83583:(.text+0xc9c06): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83616:(.text+0xc9c0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xc9c24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xc9c2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_26getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83617:(.text+0xc9c60): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83628: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_PetscEventPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450744:(.text+0xc9d28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450746:(.text+0xc9d4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450749:(.text+0xc9d7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc9d94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_PetscEventPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450753:(.text+0xc9db2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc9dcc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_26getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83661:(.text+0xc9dec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xc9e0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_26getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83655:(.text+0xc9e2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83617:(.text+0xc9f5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xc9fb0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xca034): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xca072): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca0bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_27getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83572:(.text+0xca0d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83581:(.text+0xca0fc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83552:(.text+0xca180): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83556:(.text+0xca1be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_114getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255463:(.text+0xca20c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xca226): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca24c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_114getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255473:(.text+0xca2d0): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255463:(.text+0xca30e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xca358): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_194normalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135650:(.text+0xca372): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_195normalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135621:(.text+0xca398): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xca41c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_195normalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135620:(.text+0xca45a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_119getSolveTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255596:(.text+0xca4a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xca4be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_118getSolveTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255637:(.text+0xca4e4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_119getSolveTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255602:(.text+0xca568): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_118getSolveTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255664:(.text+0xca5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255608:(.text+0xca5f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_115getResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222601:(.text+0xca60a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca694): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca6a2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_115getResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222607:(.text+0xca6b8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222607:(.text+0xca6c6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222607:(.text+0xca6d4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xca6e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xca6ec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca7f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca7fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca802): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_131getMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256199:(.text+0xca82e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256199:(.text+0xca838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xca848): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xca850): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_117getPrevTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255509:(.text+0xca8da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xca948): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_116getPrevTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255577:(.text+0xca9d2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xcab12): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_170getFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239652:(.text+0xcab44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xcabde): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_123getTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255799:(.text+0xcad1c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xcad4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_123getTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255806:(.text+0xcae18): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255807:(.text+0xcae44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_242getTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263816:(.text+0xcae8a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263825:(.text+0xcae92): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xcaeae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_243getTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263796:(.text+0xcaeca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcaedc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_243getTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263789:(.text+0xcaf04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xcaf34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xcaf50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_242getTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263852:(.text+0xcaf62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb04c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_19getValueReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99186:(.text+0xcb078): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_18getValueReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99231:(.text+0xcb0bc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99248:(.text+0xcb0c4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_19getValueReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99191:(.text+0xcb0e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_18getValueReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99221:(.text+0xcb0fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99192:(.text+0xcb10e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xcb136): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xcb164): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_19getNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353983:(.text+0xcb180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb192): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_35getSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354765:(.text+0xcb276): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354769:(.text+0xcb2a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb2e8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb2f0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb30c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_35getSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354771:(.text+0xcb328): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354771:(.text+0xcb33a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcb362): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_35getSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354776:(.text+0xcb392): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_34getSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354797:(.text+0xcb3ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_35getSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354777:(.text+0xcb3c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcb4aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_22getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354220:(.text+0xcb4d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_23getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354173:(.text+0xcb51c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354173:(.text+0xcb524): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_13getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353608:(.text+0xcb540): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353612:(.text+0xcb55c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_12getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353640:(.text+0xcb56e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_13getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353620:(.text+0xcb596): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb5c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_13getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353614:(.text+0xcb5e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353614:(.text+0xcb5f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xcb6de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb70a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_27getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357694:(.text+0xcb750): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357694:(.text+0xcb758): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcb774): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_26getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357747:(.text+0xcb790): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357747:(.text+0xcb7a2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357720:(.text+0xcb7ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_19getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357275:(.text+0xcb7fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357281:(.text+0xcb816): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_18getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357307:(.text+0xcb828): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xcb912): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_17getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357197:(.text+0xcb93e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_16getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357229:(.text+0xcb984): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xcb98c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_17getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357209:(.text+0xcb9a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb9c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcb9d6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_17getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357203:(.text+0xcb9fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcba2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_16getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357256:(.text+0xcba4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357257:(.text+0xcba5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcbb46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_93getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274616:(.text+0xcbb72): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_92getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274678:(.text+0xcbbb8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_93getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274621:(.text+0xcbbc0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_92getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274651:(.text+0xcbbdc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274622:(.text+0xcbbf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_145getRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292150:(.text+0xcbc0a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292156:(.text+0xcbc32): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292162:(.text+0xcbc62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcbc7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcbc90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xcbd7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_70getStorageSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155231:(.text+0xcbda6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcbdec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcbdf4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_71getStorageSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155196:(.text+0xcbe10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155196:(.text+0xcbe2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcbe3e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_70getStorageSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155258:(.text+0xcbe66): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155231:(.text+0xcbe96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155202:(.text+0xcbeb2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xcbec4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcbfae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_122getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166311:(.text+0xcbfda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_139getKSPIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256566:(.text+0xcc020): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256566:(.text+0xcc028): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xcc044): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_138getKSPIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256607:(.text+0xcc060): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xcc072): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc09a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_139getKSPIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256571:(.text+0xcc0ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256572:(.text+0xcc0e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcc0f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_21getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299098:(.text+0xcc1e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc20e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_21getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299091:(.text+0xcc254): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcc25c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcc278): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_20getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299154:(.text+0xcc294): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xcc2a6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_21getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299098:(.text+0xcc2ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xcc2fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_140getStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238118:(.text+0xcc31a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xcc32c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_140getStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238118:(.text+0xcc416): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_25getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299302:(.text+0xcc442): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xcc488): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xcc490): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_25getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299314:(.text+0xcc4ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc4c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc4da): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_25getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299308:(.text+0xcc506): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcc536): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_24getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299370:(.text+0xcc552): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_25getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299313:(.text+0xcc564): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_7getTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97773:(.text+0xcc64e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcc67a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_7getTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97778:(.text+0xcc6c0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xcc6c8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_7getTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97779:(.text+0xcc6e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xcc700): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_431getDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189921:(.text+0xcc712): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_430getDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189962:(.text+0xcc73e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_431getDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189933:(.text+0xcc76e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc78a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc79c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_17getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145336:(.text+0xcc886): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xcc8b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc8f8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcc900): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_17getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145338:(.text+0xcc91c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcc93c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcc94e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_16getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145401:(.text+0xcc97a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_17getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145344:(.text+0xcc9aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_19getCoordinateDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298999:(.text+0xcc9c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xcc9d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_18getCoordinateDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299040:(.text+0xccaf2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_19getCoordinateDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299011:(.text+0xccb04): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299011:(.text+0xccb10): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xccb34): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_17getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151515:(.text+0xccb42): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_16getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151552:(.text+0xccb52): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xccb6e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_17getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151523:(.text+0xccb7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xccbc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_17getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151517:(.text+0xccbca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151517:(.text+0xccbd0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xccbfc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xccc06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_16getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151552:(.text+0xccc52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151552:(.text+0xccc5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_152getMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207254:(.text+0xcccb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207263:(.text+0xcccba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xccd06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_153getMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207228:(.text+0xccd28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207228:(.text+0xccd34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207228:(.text+0xccd3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xccd9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_12getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145174:(.text+0xcce1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_13getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145145:(.text+0xcce36): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_12getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145174:(.text+0xccf1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_13getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145145:(.text+0xccf22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_19getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146767:(.text+0xccf36): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146767:(.text+0xccf46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146779:(.text+0xccf9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xccfb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_19getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146773:(.text+0xccffc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcd028): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_18getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146818:(.text+0xcd032): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146818:(.text+0xcd03a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146835:(.text+0xcd042): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_27getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299389:(.text+0xcd092): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299395:(.text+0xcd0c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_26getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299430:(.text+0xcd0d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_27getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299395:(.text+0xcd148): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcd178): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_26getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299457:(.text+0xcd1a8): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_27getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299400:(.text+0xcd1b6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299401:(.text+0xcd1e6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xcd21a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_135getMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256404:(.text+0xcd25e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcd26c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_135getMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256398:(.text+0xcd2a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256398:(.text+0xcd2c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_134getMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256443:(.text+0xcd2f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_17getSpatialDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146692:(.text+0xcd3be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcd3ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_17getSpatialDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146686:(.text+0xcd422): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcd430): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_16getSpatialDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146748:(.text+0xcd45c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146721:(.text+0xcd490): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xcd4d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_15getDeviceId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101262:(.text+0xcd4e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101270:(.text+0xcd51c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcd538): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_15getDeviceId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101264:(.text+0xcd56c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xcd62a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_12getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359855:(.text+0xcd656): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcd6a0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcd6a8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_13getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359820:(.text+0xcd6c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcd6fa): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_12getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359865:(.text+0xcd70c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359882:(.text+0xcd726): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xcd73c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359826:(.text+0xcd768): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_31getNumValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344380:(.text+0xcd7da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcd806): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_31getNumValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344374:(.text+0xcd826): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344374:(.text+0xcd844): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcd856): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_30getNumValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344419:(.text+0xcd872): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344436:(.text+0xcd87c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344436:(.text+0xcd88e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344409:(.text+0xcd8b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344380:(.text+0xcd8c4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_97getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128701:(.text+0xcd8f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128703:(.text+0xcd902): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_96getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128738:(.text+0xcd916): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_97getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128703:(.text+0xcd97e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128709:(.text+0xcda1a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_148getCoarsenLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292381:(.text+0xcda6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_149getCoarsenLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292361:(.text+0xcda9a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcdac8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcdad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_149getCoarsenLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292355:(.text+0xcdaf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xcdb56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_57getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286693:(.text+0xcdb9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xcdbb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcdc1e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_137getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277428:(.text+0xcdd4e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcdd88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcdee0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcdeee): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_41getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106834:(.text+0xcdefc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106833:(.text+0xcdf1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcdf2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcdf36): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_40getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106896:(.text+0xcdf54): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_20getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112212:(.text+0xcdfec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_21getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112183:(.text+0xce018): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce026): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xce09e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_20getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112239:(.text+0xce0c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112212:(.text+0xce0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112183:(.text+0xce0f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_71getDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313868:(.text+0xce164): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xce1e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_99getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128784:(.text+0xce26c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_98getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128825:(.text+0xce29c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce2f6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce300): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_98getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128825:(.text+0xce398): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_42getTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355263:(.text+0xce3f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xce41a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_43getTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355234:(.text+0xce428): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce462): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_42getTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355263:(.text+0xce500): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_147getSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256964:(.text+0xce52c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce59c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xce60c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_146getSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257015:(.text+0xce624): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xce648): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_146getSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257005:(.text+0xce65a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce722): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_79getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287933:(.text+0xce74e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_78getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287968:(.text+0xce7be): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xce82e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_17getSpatialDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298924:(.text+0xce84a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce86e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xce884): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_15getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146593:(.text+0xce94c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_14getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146634:(.text+0xce978): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_15getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146598:(.text+0xce9ec): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_14getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146661:(.text+0xcea5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146634:(.text+0xcea76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146605:(.text+0xcea9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_19getEntriesPerElement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331850:(.text+0xceab0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331855:(.text+0xceb78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_18getEntriesPerElement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331901:(.text+0xceba4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_5getNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336585:(.text+0xcec14): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcec80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcec98): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_5getNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336591:(.text+0xcecb8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336591:(.text+0xcecce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_18getDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343723:(.text+0xced96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_19getDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343694:(.text+0xcedc2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343688:(.text+0xcee2e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_18getDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343723:(.text+0xcee9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343694:(.text+0xceeb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xceeda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_61getPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356189:(.text+0xceef0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_60getPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356234:(.text+0xcefb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xcefe4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xcf074): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_15getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359906:(.text+0xcf0c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359907:(.text+0xcf0f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcf102): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_14getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359970:(.text+0xcf13c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359942:(.text+0xcf152): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_15getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359913:(.text+0xcf16a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_97getMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274809:(.text+0xcf192): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_96getMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274850:(.text+0xcf1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274850:(.text+0xcf1c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_97getMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274821:(.text+0xcf1dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274815:(.text+0xcf23a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274815:(.text+0xcf246): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcf258): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_219getCompositeNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242578:(.text+0xcf2ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_218getCompositeNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242619:(.text+0xcf316): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcf382): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_218getCompositeNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242646:(.text+0xcf3ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xcf40a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_219getCompositeNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242590:(.text+0xcf42e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xcf444): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_137getSNESIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256485:(.text+0xcf50c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcf538): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xcf5a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_143getStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256777:(.text+0xcf610): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcf62c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_143getStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256771:(.text+0xcf650): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256771:(.text+0xcf666): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_173getLinearSolveIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239675:(.text+0xcf72e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xcf75a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_173getLinearSolveIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239677:(.text+0xcf7cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_172getLinearSolveIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239712:(.text+0xcf838): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239683:(.text+0xcf854): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xcf878): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_223getNASMNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242816:(.text+0xcf88e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcf956): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_223getNASMNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242823:(.text+0xcf982): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_145getMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238282:(.text+0xcf9f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcfa5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_145getMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238282:(.text+0xcfa7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcfa9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcfab4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_17getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284171:(.text+0xcfb7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcfba8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcfc18): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xcfc84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xcfca0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_164getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239314:(.text+0xcfcc4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xcfcda): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_165getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239284:(.text+0xcfda2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239285:(.text+0xcfdce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xcfe3a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_21getCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284364:(.text+0xcfea6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xcfec2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_20getCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284426:(.text+0xcfee6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284426:(.text+0xcfefc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xcffc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_135getFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237797:(.text+0xcfff0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_134getFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237859:(.text+0xd005c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_179getNumLabels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294160:(.text+0xd00c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_178getNumLabels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294197:(.text+0xd00e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_179getNumLabels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294168:(.text+0xd0108): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd011e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_179getNumLabels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294168:(.text+0xd01e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_139getMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237990:(.text+0xd0212): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd027e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd02ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_138getMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238058:(.text+0xd0306): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd032a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_138getMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238031:(.text+0xd0340): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_147getKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238368:(.text+0xd0408): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238368:(.text+0xd0434): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_21getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331937:(.text+0xd04c0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd0514): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd053c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd054e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_21getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331943:(.text+0xd0588): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd059e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd05b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_20getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332006:(.text+0xd05de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331978:(.text+0xd0600): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331949:(.text+0xd0612): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_173getNumEvents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259296:(.text+0xd0628): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259308:(.text+0xd068a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd0696): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd06a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_172getNumEvents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259364:(.text+0xd0738): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259337:(.text+0xd0764): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_126getStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256035:(.text+0xd07c2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd0810): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_127getStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256000:(.text+0xd0846): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd085c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd0968): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_111getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222408:(.text+0xd0994): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_110getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222470:(.text+0xd09f2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_105getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129095:(.text+0xd0a40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_104getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129136:(.text+0xd0a76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd0a8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129107:(.text+0xd0b98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xd0bc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd0c1e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_19getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112090:(.text+0xd0c6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_18getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112135:(.text+0xd0ca2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112152:(.text+0xd0cb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd0dda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_44getFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230972:(.text+0xd0e0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_42getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106956:(.text+0xd0e9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd0edc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd0ee8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_43getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106921:(.text+0xd0f10): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106921:(.text+0xd0f22): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_42getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106983:(.text+0xd0f68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_43getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106926:(.text+0xd0f7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106927:(.text+0xd0fa2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_69getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155103:(.text+0xd0fb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_68getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155144:(.text+0xd0fee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_69getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155115:(.text+0xd1016): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd1036): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_69getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155109:(.text+0xd1068): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155109:(.text+0xd1074): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155109:(.text+0xd1086): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_68getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155171:(.text+0xd10cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155144:(.text+0xd10ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_46getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107155:(.text+0xd124e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_47getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107126:(.text+0xd125c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_49getASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95450:(.text+0xd1288): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd1296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd136a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_49getASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95461:(.text+0xd1396): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd13f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_73getConstrainedStorageSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155289:(.text+0xd1440): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd1476): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_73getConstrainedStorageSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155283:(.text+0xd148c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_56stateGet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88917:(.text+0xd156e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_57stateGet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88897:(.text+0xd15a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd15d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd1624): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_57stateGet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88896:(.text+0xd1652): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xd1694): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd16aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_65getTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89350:(.text+0xd16bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_64getTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89387:(.text+0xd16d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_65getTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89358:(.text+0xd16fe): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd1710): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd1720): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd17bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_139getObjectiveValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277503:(.text+0xd17fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277509:(.text+0xd181e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xd1856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_139getObjectiveValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277515:(.text+0xd1862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_138getObjectiveValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277554:(.text+0xd18f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277571:(.text+0xd1910): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd1924): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_133getMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237684:(.text+0xd195c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237684:(.text+0xd1968): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd197c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_133getMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237688:(.text+0xd1988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_132getMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237745:(.text+0xd1992): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd19e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_133getMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237690:(.text+0xd1a1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd1a4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_132getMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237745:(.text+0xd1a9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscScatter_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362359:(.text+0xd1ac8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd1b0a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscScatter_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362421:(.text+0xd1b20): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362414:(.text+0xd1b32): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362421:(.text+0xd1b46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd1b70): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd1b82): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscScatter_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362414:(.text+0xd1b92): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscLGMap_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361955:(.text+0xd1c2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd1c6c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscLGMap_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361955:(.text+0xd1c90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xd1cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xd1cd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscViewer_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361209:(.text+0xd1d68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361209:(.text+0xd1d82): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMatPartitioning_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362818:(.text+0xd1d96): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd1dd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMatPartitioning_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362880:(.text+0xd1ddc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362880:(.text+0xd1df0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362873:(.text+0xd1dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362873:(.text+0xd1e06): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362873:(.text+0xd1e5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscAO_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363736:(.text+0xd1e90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd1ec0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscAO_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363791:(.text+0xd1f12): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd1f40): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscRandom_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361307:(.text+0xd1f82): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361325:(.text+0xd1f98): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xd1faa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscRandom_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361369:(.text+0xd1fbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361362:(.text+0xd1fec): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361362:(.text+0xd1ffe): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd200e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscFE_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364416:(.text+0xd20aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364409:(.text+0xd20e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd210c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscFE_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364409:(.text+0xd2144): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364409:(.text+0xd2150): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSpace_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364875:(.text+0xd21e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd21fe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd2212): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd224c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSNES_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363277:(.text+0xd2258): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363295:(.text+0xd226c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xd2278): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360611:(.text+0xd2282): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSNES_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363339:(.text+0xd22dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363332:(.text+0xd231a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362665:(.text+0xd234a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd2402): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscQuad_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364507:(.text+0xd243c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364525:(.text+0xd2448): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364569:(.text+0xd2474): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd2486): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd24ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd24e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscQuad_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364562:(.text+0xd2502): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364562:(.text+0xd2510): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSection_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362512:(.text+0xd2526): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362574:(.text+0xd255e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362574:(.text+0xd2582): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362567:(.text+0xd25a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd25c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd25d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd25e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDMLabel_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364678:(.text+0xd2624): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xd2640): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364066:(.text+0xd2724): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd2750): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd27c0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd2830): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscKSP_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363179:(.text+0xd285e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363179:(.text+0xd2874): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd2942): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDeviceContext_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361658:(.text+0xd296e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_33getCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103846:(.text+0xd29de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd2a4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd2a7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_33getCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103852:(.text+0xd2a92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_17duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102566:(.text+0xd2c04): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_16duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102596:(.text+0xd2c18): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_17duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102567:(.text+0xd2c28): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102567:(.text+0xd2c38): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPartitioner_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364256:(.text+0xd2cba): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364263:(.text+0xd2cd0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd2cf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPC_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363033:(.text+0xd2d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363026:(.text+0xd2d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363026:(.text+0xd2da2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363026:(.text+0xd2dae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363026:(.text+0xd2dba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd2de6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPC_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363026:(.text+0xd2df4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTAO_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363601:(.text+0xd2e3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd2ebc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscIS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361765:(.text+0xd2f2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xd2f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd2f4e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd2fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd2fbc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDualSpace_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364966:(.text+0xd300a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364984:(.text+0xd301a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xd302c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd30a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDualSpace_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365021:(.text+0xd30cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSF_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362108:(.text+0xd3168): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362108:(.text+0xd31c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363430:(.text+0xd31e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363448:(.text+0xd31fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd323a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363485:(.text+0xd3250): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363485:(.text+0xd3268): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd3280): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xd32ac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363485:(.text+0xd32d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscVec_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362224:(.text+0xd32e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0xd32fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscVec_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362261:(.text+0xd335e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362268:(.text+0xd336a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd337c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21144:(.text+0xd3414): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd3440): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0xd34ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360977:(.text+0xd34fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360977:(.text+0xd3516): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd3544): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360977:(.text+0xd3566): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0xd357c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360977:(.text+0xd3690): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0xd3754): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd3766): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_439restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190794:(.text+0xd37c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0xd37d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_438restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190825:(.text+0xd3814): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190835:(.text+0xd3826): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190835:(.text+0xd3832): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xd3876): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xd3884): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_438restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190864:(.text+0xd38da): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd38ee): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xd3956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_439restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190757:(.text+0xd3994): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190778:(.text+0xd399e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xd39ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd39d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_439restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190766:(.text+0xd3a26): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190754:(.text+0xd3a94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190767:(.text+0xd3af6): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_31getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302798:(.text+0xd3bba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_30getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302835:(.text+0xd3bcc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd3c26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd3c36): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_31getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302800:(.text+0xd3c7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd3c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd3c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd3cdc): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_30getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302835:(.text+0xd3cea): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301516:(.text+0xd3d40): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301516:(.text+0xd3d54): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd3dbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_11getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301480:(.text+0xd3dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd3e04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301543:(.text+0xd3e30): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301543:(.text+0xd3e3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_37getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349059:(.text+0xd3e8c): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_36getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349102:(.text+0xd3efa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd3fcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd3fda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd3fe8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_37getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349065:(.text+0xd4014): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349065:(.text+0xd4022): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xd40da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_35getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348970:(.text+0xd4176): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348970:(.text+0xd4184): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348976:(.text+0xd41b0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd41bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd41e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xd4232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_34getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349003:(.text+0xd423e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xd4250): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xd427e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd42aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd42f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_35getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348975:(.text+0xd4324): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xd434a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd4372): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_34getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349013:(.text+0xd43f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd4408): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_34getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349003:(.text+0xd4434): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xd4452): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348982:(.text+0xd4468): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_34getStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303078:(.text+0xd44da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xd44f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd450a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56815:(.text+0xd4566): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90686:(.text+0xd4718): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_GetComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85480:(.text+0xd4734): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_1garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90618:(.text+0xd493e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_GetComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85494:(.text+0xd496a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xd49f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90774:(.text+0xd4a18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_1garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90603:(.text+0xd4a26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90695:(.text+0xd4a56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_GetComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85494:(.text+0xd4ac8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85494:(.text+0xd4ade): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_1garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90608:(.text+0xd4b88): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd4d32): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd4d68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd502a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_51setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286137:(.text+0xd5068): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xd5098): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_51setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286144:(.text+0xd5158): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286149:(.text+0xd516e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286189:(.text+0xd519c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286192:(.text+0xd51ae): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286149:(.text+0xd51be): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286149:(.text+0xd51ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286156:(.text+0xd51f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286149:(.text+0xd5224): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd528a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd529c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_51setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286174:(.text+0xd52e0): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286157:(.text+0xd52f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286164:(.text+0xd5324): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_50setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286238:(.text+0xd533a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd5358): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd539a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xd53d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286344:(.text+0xd5402): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286344:(.text+0xd540e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286344:(.text+0xd5420): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286397:(.text+0xd5450): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xd5474): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd5480): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd548c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286398:(.text+0xd54a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd54ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0xd54de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xd54e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xd54fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xd5516): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_52getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286535:(.text+0xd55be): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xd55d2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286425:(.text+0xd560a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0xd5616): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xd562a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_52getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286462:(.text+0xd5636): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0xd56a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd56ae): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd56fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd571c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286397:(.text+0xd5748): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd5788): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd57a2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_52getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286560:(.text+0xd589a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xd5910): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xd591a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xd5926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xd5930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xd5942): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_52getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286560:(.text+0xd596c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286560:(.text+0xd5980): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd598c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286394:(.text+0xd5a58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286409:(.text+0xd5a88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd5ab6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd5ad0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd5b0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xd5b4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_15getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337452:(.text+0xd5b80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337458:(.text+0xd5ba8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22587:(.text+0xd5c24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_14getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337567:(.text+0xd5cbe): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xd5ccc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0xd5d04): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0xd5d46): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd5d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_14getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337593:(.text+0xd5d78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_15getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337464:(.text+0xd5d9a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd5df4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_15getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337458:(.text+0xd5e2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337458:(.text+0xd5e42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd5e76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_14getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337567:(.text+0xd5e7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337593:(.text+0xd5e9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337593:(.text+0xd5ee4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337593:(.text+0xd5f16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337557:(.text+0xd5f3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_13getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337297:(.text+0xd6004): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337369:(.text+0xd604c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xd608e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0xd609a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd60a8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0xd60ba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xd60f0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337406:(.text+0xd60fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337406:(.text+0xd6114): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337406:(.text+0xd6120): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd6138): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xd6172): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0xd6184): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xd62b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd6320): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xd6378): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337396:(.text+0xd6396): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xd63f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_13getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337303:(.text+0xd6402): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337303:(.text+0xd6414): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_39getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87756:(.text+0xd6434): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87756:(.text+0xd6440): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87760:(.text+0xd6458): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_38getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87790:(.text+0xd6464): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd647c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd64c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd64dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd6530): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_38getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87823:(.text+0xd6542): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_39getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87767:(.text+0xd6562): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd65b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_142getSolutionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277741:(.text+0xd65e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xd662c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xd6650): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd6688): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd66a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_143getSolutionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277683:(.text+0xd66b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xd66ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xd6704): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_142getSolutionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277757:(.text+0xd67f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277751:(.text+0xd6822): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd686c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_14getDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353721:(.text+0xd6890): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353735:(.text+0xd68c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_15getDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353698:(.text+0xd68e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353698:(.text+0xd68f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd692e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd6944): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_14getDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353731:(.text+0xd6a36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_15getDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353698:(.text+0xd6a62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_440getNestSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190954:(.text+0xd6aac): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd6ad0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_441getNestSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190931:(.text+0xd6b08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd6b24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd6b36): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_440getNestSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190966:(.text+0xd6b6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190993:(.text+0xd6b84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0xd6c76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_101getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275058:(.text+0xd6ca2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_100getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275103:(.text+0xd6cec): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xd6d10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_101getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275070:(.text+0xd6d48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd6d64): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd6d76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_100getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275142:(.text+0xd6dae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_101getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275069:(.text+0xd6dc4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275070:(.text+0xd6eb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd6ee2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd6f2c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd6f50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd6f88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd6fa4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd6fb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_190min': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135479:(.text+0xd6fee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_191min': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135393:(.text+0xd7004): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_193max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135498:(.text+0xd7104): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xd714c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_193max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135510:(.text+0xd719a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135510:(.text+0xd71a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd71b4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd71c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_192max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135563:(.text+0xd71fc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135590:(.text+0xd7208): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_193max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135509:(.text+0xd7220): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135504:(.text+0xd722c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135504:(.text+0xd7244): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_192max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135561:(.text+0xd727e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xd7290): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_107getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129194:(.text+0xd73c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_106getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129239:(.text+0xd742c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd7486): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_106getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129237:(.text+0xd74aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_107getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129182:(.text+0xd74dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd74f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd7500): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_106getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129237:(.text+0xd7512): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_83getOffsetRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155940:(.text+0xd7546): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155940:(.text+0xd755c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd7568): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_82getOffsetRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155985:(.text+0xd7580): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155975:(.text+0xd758c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd75a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_83getOffsetRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155952:(.text+0xd75f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd7608): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd76ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd76c4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd76d6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd76ec): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0xd7756): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_131getOwnershipRangeColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166661:(.text+0xd7786): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd77da): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xd77e6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_130getOwnershipRangeColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166745:(.text+0xd787e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_131getOwnershipRangeColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166672:(.text+0xd789c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166667:(.text+0xd78a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd78d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd78e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_130getOwnershipRangeColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166718:(.text+0xd7930): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd7946): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xd796c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0xd7982): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166673:(.text+0xd798e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_117getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165891:(.text+0xd799a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_116getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165926:(.text+0xd79dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd7a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xd7a1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd7a50): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd7a5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd7a6e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd7a8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_116getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165975:(.text+0xd7aaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165946:(.text+0xd7b8a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd7e4e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_127getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166445:(.text+0xd7e84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd7f7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_126getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166490:(.text+0xd7fa6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_56getBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345919:(.text+0xd8046): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_57getBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345886:(.text+0xd80b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd80d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd80f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd8106): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_56getBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345958:(.text+0xd8132): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_57getBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345885:(.text+0xd813c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0xd821e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_23getChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310252:(.text+0xd824a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310264:(.text+0xd82ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_22getChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310336:(.text+0xd835c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_23getChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310258:(.text+0xd8374): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd8394): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd83aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd83d6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd83e0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd84c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xd84ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd853a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd8552): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xd8560): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_124getBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166414:(.text+0xd857c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_125getBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166335:(.text+0xd85ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd85d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_124getBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166385:(.text+0xd85de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd8610): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xd8634): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_124getBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166385:(.text+0xd864a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd873e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd876a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd87e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd87fc): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_28getChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152312:(.text+0xd880c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd8852): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152269:(.text+0xd88aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd88ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_91getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110029:(.text+0xd88e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd8964): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd8988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_91getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110034:(.text+0xd89d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd8a40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd8a6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xd8aea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_119getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165998:(.text+0xd8afe): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_118getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166039:(.text+0xd8b0e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd8b54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd8bac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_118getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166051:(.text+0xd8bd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166078:(.text+0xd8be6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd8c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_119getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165994:(.text+0xd8c8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0xd8cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd8d58): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xd8d6a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0xd8db0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd8e00): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd8e92): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_72sortGetSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351533:(.text+0xd8f0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0xd8f16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xd8f22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xd8f2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd8f70): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd8f78): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd8fa4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_72sortGetSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351582:(.text+0xd8fe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_73sortGetSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351498:(.text+0xd8ff0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd8ffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_73sortGetSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351492:(.text+0xd9056): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0xd9064): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd909a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd90a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd90b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd9100): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xd912c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd91a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xd91ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_72sortGetSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351523:(.text+0xd91ca): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xd9210): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_39migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349148:(.text+0xd9268): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xd928c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xd92a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xd9322): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xd9346): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xd9396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_39migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349163:(.text+0xd93fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xd942a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13083:(.text+0xd94a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd94b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_39migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349173:(.text+0xd94c8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349178:(.text+0xd950e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_89getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109906:(.text+0xd9566): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_88getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109950:(.text+0xd958a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109959:(.text+0xd95a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_89getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109914:(.text+0xd9620): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd9644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd9694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd96fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_88getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109969:(.text+0xd9728): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xd97a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_88getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109971:(.text+0xd97b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd97c6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_145getMinRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319959:(.text+0xd980c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_144getMinRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320011:(.text+0xd9864): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xd9888): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_144getMinRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320015:(.text+0xd989e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_145getMinRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319965:(.text+0xd991e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_144getMinRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320011:(.text+0xd9942): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320013:(.text+0xd9992): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320013:(.text+0xd99fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_45getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107002:(.text+0xd9a26): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_44getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107070:(.text+0xd9aa0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0xd9ab4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_45getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107014:(.text+0xd9ac4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_44getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107095:(.text+0xd9b0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_45getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107008:(.text+0xd9b62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd9b86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd9b9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_44getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107068:(.text+0xd9c1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_45getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107014:(.text+0xd9c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_101getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128877:(.text+0xd9c90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128882:(.text+0xd9d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xd9d66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xd9e36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_100getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128937:(.text+0xd9e62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_24getTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147113:(.text+0xd9ef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xd9f12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xd9f1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xd9f46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xd9fb2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xd9fc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xda03e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_25getTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147079:(.text+0xda07c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xda0ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_24getTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147144:(.text+0xda0f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147144:(.text+0xda1b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_47getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218579:(.text+0xda1d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218585:(.text+0xda1fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_46getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218638:(.text+0xda214): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218638:(.text+0xda230): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xda27c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_47getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218591:(.text+0xda2ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xda2f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xda368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_47getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218585:(.text+0xda3b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xda3e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xda42e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15023:(.text+0xda4fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0xda52c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15054:(.text+0xda55c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15055:(.text+0xda56a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0xda5c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15093:(.text+0xda5e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0xda61c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15041:(.text+0xda632): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14762:(.text+0xda63e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0xda654): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0xda684): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14839:(.text+0xda6cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xda6e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0xda750): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_15app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282915:(.text+0xda77c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282955:(.text+0xda814): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282964:(.text+0xda82e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282947:(.text+0xda83a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xda864): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_14app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283050:(.text+0xda8d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283062:(.text+0xda8ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_15app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282949:(.text+0xda96a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xdaa12): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdaa9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_17petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283158:(.text+0xdab08): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_16petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283205:(.text+0xdab92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283244:(.text+0xdaba0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283256:(.text+0xdabb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xdabda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xdac0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_17petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283136:(.text+0xdac5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283135:(.text+0xdacb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xdacc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xdacdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283224:(.text+0xdad0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xdad2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62939:(.text+0xdad6a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62943:(.text+0xdad88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62943:(.text+0xdad98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xdadc4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62942:(.text+0xdae00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdae4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62945:(.text+0xdae70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62982:(.text+0xdaee0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_5__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62889:(.text+0xdaf88): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xdb014): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_102getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235474:(.text+0xdb07e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235512:(.text+0xdb108): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xdb116): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_102getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235528:(.text+0xdb12c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235512:(.text+0xdb150): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdb182): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xdb1d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_103getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235441:(.text+0xdb22e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235441:(.text+0xdb23a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xdb254): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xdb286): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_102getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235506:(.text+0xdb2a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdb2e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_102getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235510:(.text+0xdb300): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdb310): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_102getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235506:(.text+0xdb33c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_11_Vec_buffer___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419020:(.text+0xdb378): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29528:(.text+0xdb3c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xdb3ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29566:(.text+0xdb45a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdb502): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xdb58e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdb5f8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29619:(.text+0xdb682): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29577:(.text+0xdb690): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29540:(.text+0xdb6a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29602:(.text+0xdb6ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xdb6fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdb74e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29554:(.text+0xdb7a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29586:(.text+0xdb7b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xdb7ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_10_IS_buffer___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418880:(.text+0xdb800): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418880:(.text+0xdb81e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24071:(.text+0xdb85c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24083:(.text+0xdb87a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xdb88a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xdb8b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24111:(.text+0xdb8f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xdb940): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24144:(.text+0xdb964): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24095:(.text+0xdb9d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdba7c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24162:(.text+0xdbb08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24162:(.text+0xdbb72): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdbbfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xdbc0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdbc20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24129:(.text+0xdbc44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdbc76): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xdbcc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xdbd22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDM_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363957:(.text+0xdbd2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363913:(.text+0xdbd48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xdbd7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDM_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363950:(.text+0xdbd98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363935:(.text+0xdbdd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xdbdf4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0xdbe04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0xdbe30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDM_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363950:(.text+0xdbe6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xdbeba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_67sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351066:(.text+0xdbede): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdbf4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_67sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351115:(.text+0xdbf92): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xdbfc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351241:(.text+0xdc02e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xdc14a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xdc162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xdc172): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xdc234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xdc26e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xdc27c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351241:(.text+0xdc2cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0xdc2f4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351214:(.text+0xdc300): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xdc318): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xdc330): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_67sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351080:(.text+0xdc346): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351241:(.text+0xdc36c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdc376): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xdc388): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xdc3ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xdc3c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdc3dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_67sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351086:(.text+0xdc440): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351093:(.text+0xdc46c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351093:(.text+0xdc480): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xdc4ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdc4ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xdc532): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xdc564): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_67sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351089:(.text+0xdc5ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xdc6ea): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351153:(.text+0xdc702): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xdc712): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_253getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264441:(.text+0xdc7d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_252getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264480:(.text+0xdc80e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xdc81c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0xdc86e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_253getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264453:(.text+0xdc896): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdc8a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdc8ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_253getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264447:(.text+0xdc8d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264447:(.text+0xdc8e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xdc90e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xdc918): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_252getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264499:(.text+0xdc92a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xdc950): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xdc968): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_252getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264501:(.text+0xdc97e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdc9e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_252getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264505:(.text+0xdca0e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xdca22): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_253getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264453:(.text+0xdca4e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xdca8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xdcad4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_88getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274450:(.text+0xdcb06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdcb6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdcc8a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xdcca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xdccb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xdcd74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_376getInertia': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186604:(.text+0xdcdae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xdcdbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdce0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_377getInertia': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186546:(.text+0xdce36): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186546:(.text+0xdce42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdce5a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdce72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_376getInertia': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186633:(.text+0xdce88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdceae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdceb8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdceca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdcef0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_376getInertia': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186602:(.text+0xdcf08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdcf1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_376getInertia': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186598:(.text+0xdcf82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186552:(.text+0xdcfae): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286961:(.text+0xdcfc2): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286972:(.text+0xdcfee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287001:(.text+0xdd050): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xdd07c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21144:(.text+0xdd0fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21186:(.text+0xdd11c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdd14e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xdd1c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xdd1d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdd2ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_60getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0xdd2f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0xdd304): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286995:(.text+0xdd378): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xdd3c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286984:(.text+0xdd3f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_60getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0xdd4de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xdd4f0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xdd5a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xdd5d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xdd5e8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xdd5f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xdd5fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287010:(.text+0xdd62e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_123distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318608:(.text+0xdd69c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318619:(.text+0xdd6aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xdd6b8): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_123distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318652:(.text+0xdd700): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318654:(.text+0xdd70c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xdd750): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xdd766): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_122distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318717:(.text+0xdd7a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0xdd7d0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdd7e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xdd800): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xdd81c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xdd83c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xdd85c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xdd8b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xdd8c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xdd968): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xdd97a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_122distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318752:(.text+0xdd9b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318752:(.text+0xdd9ca): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xdd9d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_123distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318633:(.text+0xdd9e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318634:(.text+0xdd9f6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_121distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318422:(.text+0xddab0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xddadc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_120distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318532:(.text+0xddbc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318541:(.text+0xddbd8): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xddc88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xddcbe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xddcd0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xddcd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xddce4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_120distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318588:(.text+0xddd16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_121distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318452:(.text+0xddd84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xddd92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xddda0): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_120distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318588:(.text+0xddde8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318588:(.text+0xdddf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318588:(.text+0xdde38): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318588:(.text+0xdde4e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xdde8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393553:(.text+0xddeb8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393553:(.text+0xddece): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xddee8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xddf04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393584:(.text+0xddf24): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xddf44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422577:(.text+0xddf9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0xddfb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176338:(.text+0xde050): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xde062): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176384:(.text+0xde09c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176409:(.text+0xde0b2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176409:(.text+0xde0c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176410:(.text+0xde0cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0xde0de): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176489:(.text+0xde196): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xde1c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xde280): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xde31e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xde358): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xde364): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xde38c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176356:(.text+0xde39e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0xde3de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xde3ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xde3f4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xde40a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176405:(.text+0xde422): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xde454): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xde482): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176592:(.text+0xde498): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176596:(.text+0xde598): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xde5a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xde5b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xde5f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xde606): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176376:(.text+0xde640): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176377:(.text+0xde64c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176397:(.text+0xde65e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176535:(.text+0xde728): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xde754): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176596:(.text+0xde7a0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176596:(.text+0xde7ac): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176381:(.text+0xde7d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176364:(.text+0xde80c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176370:(.text+0xde828): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176371:(.text+0xde83a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xde872): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xde888): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xde97a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xde9a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xde9f2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xde9fe): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13082:(.text+0xdea22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360274:(.text+0xdea5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xdea7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xdea8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360230:(.text+0xdeac4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360240:(.text+0xdeada): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xdebcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360240:(.text+0xdebf8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360282:(.text+0xdec46): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_20setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360325:(.text+0xdec52): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360253:(.text+0xdec90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360243:(.text+0xdecce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360248:(.text+0xdece8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360248:(.text+0xdecf2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360259:(.text+0xded28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360259:(.text+0xded3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333717:(.text+0xdee18): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdee44): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdee90): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdee9c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdeec0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_46setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333804:(.text+0xdeefc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333816:(.text+0xdef18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333743:(.text+0xdef2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdef62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333706:(.text+0xdef78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_46setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333818:(.text+0xdf06a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333780:(.text+0xdf096): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333792:(.text+0xdf0e2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333792:(.text+0xdf0ee): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdf112): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333653:(.text+0xdf14e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333664:(.text+0xdf16a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333665:(.text+0xdf17c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333728:(.text+0xdf1b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333664:(.text+0xdf1ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333703:(.text+0xdf2bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_46setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333804:(.text+0xdf2e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdf334): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdf340): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdf364): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdf3a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdf3bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_46setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333794:(.text+0xdf3ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333743:(.text+0xdf406): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333743:(.text+0xdf41c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdf50e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdf53a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_52setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304586:(.text+0xdf586): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304586:(.text+0xdf592): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304598:(.text+0xdf5b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdf5f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304495:(.text+0xdf60e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304488:(.text+0xdf620): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdf658): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304516:(.text+0xdf66e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_52setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304564:(.text+0xdf760): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304574:(.text+0xdf78c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xdf7d8): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304431:(.text+0xdf7e4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304446:(.text+0xdf808): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304506:(.text+0xdf844): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304446:(.text+0xdf860): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304450:(.text+0xdf872): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304461:(.text+0xdf8aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304462:(.text+0xdf8c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdf9b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdf9de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdfa2a): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdfa36): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdfa5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304457:(.text+0xdfa96): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304525:(.text+0xdfab2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333409:(.text+0xdfac4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xdfafc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333430:(.text+0xdfb12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdfc04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_44setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333590:(.text+0xdfc30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333529:(.text+0xdfc7c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdfc88): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333499:(.text+0xdfcac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xdfce8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333518:(.text+0xdfd04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333520:(.text+0xdfd16): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdfd4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_44setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333554:(.text+0xdfd64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdfe56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333435:(.text+0xdfe82): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333450:(.text+0xdfece): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333459:(.text+0xdfeda): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333450:(.text+0xdfefe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333445:(.text+0xdff3a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333466:(.text+0xdff56): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333467:(.text+0xdff68): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333478:(.text+0xdffa0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333483:(.text+0xdffb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe00a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe00d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333460:(.text+0xe0120): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333461:(.text+0xe012c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333529:(.text+0xe0150): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333837:(.text+0xe018c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333856:(.text+0xe01a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333859:(.text+0xe01ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333931:(.text+0xe01f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe0208): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xe02fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe0326): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0xe0372): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe037e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333946:(.text+0xe03a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333862:(.text+0xe03de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_48setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333982:(.text+0xe03fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333982:(.text+0xe040c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334032:(.text+0xe0444): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe045a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333878:(.text+0xe054c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333887:(.text+0xe0578): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333883:(.text+0xe05c4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333873:(.text+0xe05d0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333894:(.text+0xe05f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333905:(.text+0xe0630): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333907:(.text+0xe064c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333912:(.text+0xe065e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333917:(.text+0xe0696): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe06ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe077a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333957:(.text+0xe07f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xe083c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386454:(.text+0xe08e4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0xe090e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386454:(.text+0xe091a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386481:(.text+0xe0926): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386456:(.text+0xe093e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389496:(.text+0xe0988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0xe0a7e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389518:(.text+0xe0ab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389518:(.text+0xe0ac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382998:(.text+0xe0afc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0xe0bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0xe0bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0xe0be6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383018:(.text+0xe0bf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379798:(.text+0xe0c68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xe0c72): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0xe0c7c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379820:(.text+0xe0cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379820:(.text+0xe0d98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe0daa): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369013:(.text+0xe0f0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_145getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277811:(.text+0xe0f52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_144getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277878:(.text+0xe0f68): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277858:(.text+0xe0f84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277869:(.text+0xe0f90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe0f9e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe0fcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe0fda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe0fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe0ff2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe1020): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_144getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277946:(.text+0xe104c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_145getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277817:(.text+0xe105a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_144getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277965:(.text+0xe1102): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe1136): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe1188): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_145getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277811:(.text+0xe119a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277811:(.text+0xe11a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277811:(.text+0xe11bc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe1252): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe127e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_144getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277914:(.text+0xe12ca): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277924:(.text+0xe12d6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xe12fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379863:(.text+0xe133a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379875:(.text+0xe1352): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xe135c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379959:(.text+0xe13bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379968:(.text+0xe13d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380084:(.text+0xe14ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380075:(.text+0xe1524): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xe158e): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xe159c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389621:(.text+0xe15c4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389630:(.text+0xe15d2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389657:(.text+0xe15fa): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389675:(.text+0xe1608): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389702:(.text+0xe1644): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389720:(.text+0xe1690): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422493:(.text+0xe169e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389779:(.text+0xe16cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0xe16f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0xe1720): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0xe1734): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe1768): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389702:(.text+0xe1778): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe1782): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_131distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319033:(.text+0xe17b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319033:(.text+0xe17c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319044:(.text+0xe17d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319062:(.text+0xe17de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1810): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_131distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319071:(.text+0xe181c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319082:(.text+0xe1852): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xe18a2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xe18b4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xe18c8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe18f8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_131distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319054:(.text+0xe191e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319053:(.text+0xe193c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319056:(.text+0xe1954): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe1974): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_131distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319060:(.text+0xe19c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe19e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_25setRankOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116143:(.text+0xe1a9c): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116152:(.text+0xe1aae): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe1af4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xe1b44): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe1bd6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe1c4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe1c5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_25setRankOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116152:(.text+0xe1c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_257setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214524:(.text+0xe1c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1cb4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1cbc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_257setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214562:(.text+0xe1ce8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214573:(.text+0xe1d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe1d34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe1d40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xe1d9a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xe1da8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_257setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214544:(.text+0xe1dde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214544:(.text+0xe1dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214558:(.text+0xe1df6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe1eb2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe1ece): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_19setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248162:(.text+0xe1ede): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248162:(.text+0xe1f04): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1f1c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1f2c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_19setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248200:(.text+0xe1f52): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248202:(.text+0xe1f6a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248211:(.text+0xe1f7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xe1f9c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe1fd8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_18setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248255:(.text+0xe20c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248255:(.text+0xe20ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_19setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248189:(.text+0xe20da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248189:(.text+0xe20e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_18setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248231:(.text+0xe2114): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe2122): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_349bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184667:(.text+0xe214c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184705:(.text+0xe21bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184709:(.text+0xe21e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xe2214): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe2220): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_349bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184694:(.text+0xe2370): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_43setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358572:(.text+0xe242c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358574:(.text+0xe2448): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358583:(.text+0xe2458): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xe247e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe2496): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_42setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358613:(.text+0xe24a6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xe24cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xe24e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_42setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358603:(.text+0xe24f4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_43setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358548:(.text+0xe2516): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358557:(.text+0xe2552): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130604:(.text+0xe263c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130604:(.text+0xe2648): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe2654): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe2662): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe268e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130644:(.text+0xe269c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130653:(.text+0xe26c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xe2736): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xe275a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130624:(.text+0xe278e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130624:(.text+0xe279a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe28ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239400:(.text+0xe2916): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe2970): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe29e2): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239374:(.text+0xe29f0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239380:(.text+0xe2a18): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239380:(.text+0xe2a26): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239383:(.text+0xe2a4e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe2a5c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_166setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239454:(.text+0xe2a84): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239387:(.text+0xe2a92): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe2ad4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_53setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355765:(.text+0xe2b08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe2b1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_53setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355794:(.text+0xe2b2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe2b42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe2b62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_53setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355805:(.text+0xe2b76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xe2bb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_52setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355844:(.text+0xe2be8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe2c46): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_53setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355779:(.text+0xe2c52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355785:(.text+0xe2c84): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355785:(.text+0xe2c90): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355788:(.text+0xe2cac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355788: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_53setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355792:(.text+0xe2cf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_52setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355834:(.text+0xe2d24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe2d42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_47setLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358733:(.text+0xe2d66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358733:(.text+0xe2d86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe2dce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_47setLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358773:(.text+0xe2df4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358782:(.text+0xe2e12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe2e48): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_46setLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358802:(.text+0xe2ea4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358826:(.text+0xe2f44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_47setLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358760:(.text+0xe2f82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe2fb2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_381fixISLocalEmpty': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186744:(.text+0xe300a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186738:(.text+0xe3178): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186738:(.text+0xe3190): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_380fixISLocalEmpty': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186808:(.text+0xe31b2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_381fixISLocalEmpty': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186742:(.text+0xe31cc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186742:(.text+0xe31de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186742:(.text+0xe31ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_380fixISLocalEmpty': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186784:(.text+0xe31fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186784:(.text+0xe3208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe3214): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_39setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358335:(.text+0xe3266): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe327c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xe3310): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_38setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358404:(.text+0xe3386): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_39setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358355:(.text+0xe33b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358358:(.text+0xe33d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358358:(.text+0xe33e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358358:(.text+0xe33fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_38setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358414:(.text+0xe3418): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201867:(.text+0xe34d0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201896:(.text+0xe34e4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe34f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe34fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3508): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201905:(.text+0xe351c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201907:(.text+0xe353a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_80setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201946:(.text+0xe3598): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0xe35d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201881:(.text+0xe3606): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201890:(.text+0xe365e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe37cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_198getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260805:(.text+0xe37e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe3806): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_198getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260809:(.text+0xe3820): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260811:(.text+0xe3832): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0xe3840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_199getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260728:(.text+0xe3850): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260728:(.text+0xe385c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260728:(.text+0xe3868): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe38ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_199getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260722:(.text+0xe38d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_198getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260803:(.text+0xe3964): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe39da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe3a08): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe3a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe3a38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe3a50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe3a6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe3b24): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xe3b38): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_102getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254820:(.text+0xe3b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254822:(.text+0xe3b50): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254823:(.text+0xe3b5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254824:(.text+0xe3b70): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0xe3b8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xe3bf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_102getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254826:(.text+0xe3c5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254866:(.text+0xe3ca6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe3cca): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xe3cd8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xe3cfe): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_102getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254866:(.text+0xe3d0c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3d32): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3d40): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe3d66): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe3d74): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_103getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254740:(.text+0xe3d9a): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254739:(.text+0xe3da8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_102getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254866:(.text+0xe3dcc): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe3dda): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe3e28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169823:(.text+0xe3e60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169834:(.text+0xe3e78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe3e8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe3ea2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_168isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169919:(.text+0xe3f3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169919:(.text+0xe3f46): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169878:(.text+0xe3f74): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe3f86): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169838:(.text+0xe3fca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_168isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169946:(.text+0xe3ffc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169848:(.text+0xe4080): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169853:(.text+0xe40a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169853:(.text+0xe40ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169853:(.text+0xe40cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe40e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_165isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169570:(.text+0xe4112): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169570:(.text+0xe411e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:142: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xe4208): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_165isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169625:(.text+0xe4226): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0xe424a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe426a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe428e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_164isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169693:(.text+0xe42b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_165isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169591:(.text+0xe42fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169595:(.text+0xe4328): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169596:(.text+0xe4336): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169600:(.text+0xe436a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe4390): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_33setSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354662:(.text+0xe43d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe43f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe442c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_33setSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354690:(.text+0xe4438): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354692:(.text+0xe444a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0xe4588): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0xe4590): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xe45e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0xe45f0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe4614): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_32setSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354731:(.text+0xe4626): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xe4764): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_178constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322789:(.text+0xe4804): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0xe4832): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_179constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322727:(.text+0xe4860): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xe48a8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe48ba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_179constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322718:(.text+0xe48e4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322672:(.text+0xe48f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_178constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322826:(.text+0xe4940): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322826:(.text+0xe494c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe4964): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_178constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322809:(.text+0xe497a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322809:(.text+0xe4986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_179constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322688:(.text+0xe4992): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322701:(.text+0xe49a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322702:(.text+0xe49d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322693:(.text+0xe49e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xe4a72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xe4a9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386569:(.text+0xe4ab8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386578:(.text+0xe4acc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386596:(.text+0xe4ae8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386596:(.text+0xe4af2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422410:(.text+0xe4b44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386644:(.text+0xe4b60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xe4b86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe4bee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386676:(.text+0xe4c2e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386676:(.text+0xe4c36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386676:(.text+0xe4c6e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe4c7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386676:(.text+0xe4ca2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386676:(.text+0xe4cd2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_121getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166101:(.text+0xe4d24): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe4d50): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe4dbc): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe4e56): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_121getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166103:(.text+0xe4ee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_120getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166174:(.text+0xe4f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe4f80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xe4fa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0xe4fcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/object.h:601:(.text+0xe508a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0xe50a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe50c2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe5156): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe516a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe5172): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108876:(.text+0xe51a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_76renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108953:(.text+0xe51ec): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108974:(.text+0xe5216): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108892:(.text+0xe5232): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_76renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108998:(.text+0xe52cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108882:(.text+0xe5338): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe5376): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108858:(.text+0xe53a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe5510): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_410getMumpsRinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188811:(.text+0xe553c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe5548): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_411getMumpsRinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188717:(.text+0xe55d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188721:(.text+0xe5604): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188721:(.text+0xe560e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188721:(.text+0xe5620): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe5636): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_413getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188830:(.text+0xe5672): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe567e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_413getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188859:(.text+0xe5696): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe56a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_413getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188870:(.text+0xe56d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188870:(.text+0xe56ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_412getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188901:(.text+0xe571a): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188920:(.text+0xe5728): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe5762): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe576a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_412getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188930:(.text+0xe5776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe5794): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_413getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188844:(.text+0xe57a6): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188850:(.text+0xe57fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_412getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188920:(.text+0xe583a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_413getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188857:(.text+0xe584e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188857:(.text+0xe5866): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe5882): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_405getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188286:(.text+0xe58a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe58ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe5912): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_405getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188324:(.text+0xe5920): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188326:(.text+0xe5932): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188326:(.text+0xe593e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe59e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_405getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188307:(.text+0xe5a10): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188313:(.text+0xe5ab0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe5ae6): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe5bd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe5bf4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe5c02): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_34getInteriorDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358229:(.text+0xe5c20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358229:(.text+0xe5c2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe5c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_35getInteriorDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358142:(.text+0xe5c88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358149:(.text+0xe5cea): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358149:(.text+0xe5cfc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe5d2e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_35getInteriorDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358171:(.text+0xe5d3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_37getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152697:(.text+0xe5d52): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152697:(.text+0xe5d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152708:(.text+0xe5d70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152726:(.text+0xe5d7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe5d92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_37getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152735:(.text+0xe5db4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152737:(.text+0xe5dca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_36getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152779:(.text+0xe5f20): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_37getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152724:(.text+0xe5f4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe5fec): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_79getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314397:(.text+0xe6022): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xe6114): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_78getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314436:(.text+0xe6130): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xe613e): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_79getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314371:(.text+0xe615c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xe6168): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xe6174): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xe61c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_79getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314380:(.text+0xe6226): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_78getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314437:(.text+0xe6238): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_79getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314384:(.text+0xe626a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314384:(.text+0xe6276): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xe628e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xe629a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_78getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314436:(.text+0xe62ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe62b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe62ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xe62f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_17getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343546:(.text+0xe6306): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343595:(.text+0xe653a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_75getOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155393:(.text+0xe657c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe6588): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe6592): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_75getOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155402:(.text+0xe65be): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_74getOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155446:(.text+0xe6610): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_75getOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155384:(.text+0xe66a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155398:(.text+0xe66b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_74getOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155435:(.text+0xe66d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe67d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe67e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_45getCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312300:(.text+0xe6812): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312300:(.text+0xe6820): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312287:(.text+0xe69a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xe69b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_45getCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312309:(.text+0xe69de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_49getConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153555:(.text+0xe69ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_48getConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153626:(.text+0xe6b70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_49getConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153575:(.text+0xe6b7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153578:(.text+0xe6baa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe6bb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe6d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_408getMumpsInfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188658:(.text+0xe6d4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_409getMumpsInfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188572:(.text+0xe6d78): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188578:(.text+0xe6d86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe6e56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_401getMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188015:(.text+0xe6e9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe6ed0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_400getMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188086:(.text+0xe6f40): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188105:(.text+0xe6f4e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe6fb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_401getMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188035:(.text+0xe701a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188038:(.text+0xe704a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188042:(.text+0xe7072): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe70ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_25getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151995:(.text+0xe70cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152024:(.text+0xe7104): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152024:(.text+0xe710c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe7132): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_24getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152066:(.text+0xe718a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152068:(.text+0xe71a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe71d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_24getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152104:(.text+0xe71ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152104:(.text+0xe7200): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_25getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152010:(.text+0xe721e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152015:(.text+0xe726a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152018:(.text+0xe7274): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152022:(.text+0xe72be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe7306): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_407getMumpsInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188422:(.text+0xe7338): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188462:(.text+0xe73a8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188471:(.text+0xe73b6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe7420): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_407getMumpsInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188443:(.text+0xe7482): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188442:(.text+0xe74b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188445:(.text+0xe74da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188449:(.text+0xe7522): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188449:(.text+0xe7534): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314231:(.text+0xe756c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xe7574): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314242:(.text+0xe759a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314271:(.text+0xe75f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314280:(.text+0xe7608): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xe763c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_76getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314311:(.text+0xe7652): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe7668): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe7686): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_76getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314310:(.text+0xe76d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xe76dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451511:(.text+0xe7726): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314246:(.text+0xe776e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xe77a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe7810): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_76getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314311:(.text+0xe781e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314310:(.text+0xe7888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_69computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272880:(.text+0xe78ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe791a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe7942): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_68computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272953:(.text+0xe798a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe799c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_69computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272884:(.text+0xe79d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272884:(.text+0xe79dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272904:(.text+0xe7a02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe7a5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe7a70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe7aa4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_68computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272953:(.text+0xe7aba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_69computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272897:(.text+0xe7ad0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272897:(.text+0xe7aee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_93computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234650:(.text+0xe7b3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234640:(.text+0xe7b44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe7b8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_92computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234723:(.text+0xe7bd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_93computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234694:(.text+0xe7c08): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234660:(.text+0xe7c78): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234663:(.text+0xe7c86): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_92computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234751:(.text+0xe7cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe7d52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_249maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138601:(.text+0xe7d82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138630:(.text+0xe7daa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138641:(.text+0xe7df2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138641:(.text+0xe7e04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe7e3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe7e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe7e6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_249maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138621:(.text+0xe7ec2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138624:(.text+0xe7ed8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe7f0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_248maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138694:(.text+0xe7f22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138711:(.text+0xe7f38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138684:(.text+0xe7f56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe7fa2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe7fac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180812:(.text+0xe7ff6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe803e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180855:(.text+0xe8070): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe80e0): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_310increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180910:(.text+0xe80ee): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xe8158): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180827:(.text+0xe81ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xe81ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180859:(.text+0xe8212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe825a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xe826c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xe82a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe82ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xe82d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180824:(.text+0xe832a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180832:(.text+0xe8340): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180837:(.text+0xe8374): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180837:(.text+0xe838a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xe83a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_310increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180889:(.text+0xe83be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_57getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219483:(.text+0xe840a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219483:(.text+0xe8414): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_56getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219544:(.text+0xe84c8): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe84da): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_57getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219489:(.text+0xe8520): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_56getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219561:(.text+0xe856e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe8600): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe8678): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe8684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_23getFieldIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299227:(.text+0xe8692): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299227:(.text+0xe869e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe86aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299217: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_23getFieldIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299217:(.text+0xe86f2): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299193:(.text+0xe870a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299196:(.text+0xe872e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_22getFieldIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299283:(.text+0xe8768): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299283:(.text+0xe8776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xe87d2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe87e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_187normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135142:(.text+0xe884a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe8856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_186normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135223:(.text+0xe88ea): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135233:(.text+0xe88fc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459317:(.text+0xe8942): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_187normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135133:(.text+0xe8990): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135124:(.text+0xe8a22): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xe8a9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0xe8aa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xe8ab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459425:(.text+0xe8ac0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe8acc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135235: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe8b16): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe8b30): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe8b54): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe8b90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xe8b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_187normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135139:(.text+0xe8bfe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135139:(.text+0xe8c0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459436:(.text+0xe8c7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_187normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135164:(.text+0xe8c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459436:(.text+0xe8caa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182022:(.text+0xe8cf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe8d1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182035:(.text+0xe8d4c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182037:(.text+0xe8d58): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459271:(.text+0xe8d7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe8db4): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182044:(.text+0xe8dc0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459430:(.text+0xe8e1c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe8e60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_320norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182135:(.text+0xe8e84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459277:(.text+0xe8eb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182004:(.text+0xe8ece): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_320norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182133:(.text+0xe8ef0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182161:(.text+0xe8f02): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182018:(.text+0xe8f2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459425:(.text+0xe8f6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe900c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459436:(.text+0xe905a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182015:(.text+0xe907c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182019:(.text+0xe90ba): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182019:(.text+0xe90c8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xe90fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182044:(.text+0xe9134): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xe9140): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459436:(.text+0xe915a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_183norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134784:(.text+0xe9166): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe91dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_183norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134832:(.text+0xe9208): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459267:(.text+0xe921a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_182norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134898:(.text+0xe924a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459317:(.text+0xe92ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459430:(.text+0xe92c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_183norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134808:(.text+0xe92ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe9318): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xe958c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xe959a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xe95a6): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89084:(.text+0xe9624): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xe9632): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0xe963e): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xe96f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xe9700): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xe970c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89124:(.text+0xe9718): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0xe9724): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89153:(.text+0xe9766): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xe9792): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_60incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89176:(.text+0xe979e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xe97b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xe97dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89108:(.text+0xe981c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0xe98a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0xe98ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xe98e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89103:(.text+0xe98f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xe99f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xe9a04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_60incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89176:(.text+0xe9a16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xe9a2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xe9a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89153:(.text+0xe9a4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_57getLocationDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334472:(.text+0xe9a5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334472:(.text+0xe9a68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334510: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_57getLocationDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334512:(.text+0xe9ad8): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334512:(.text+0xe9ae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe9b34): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe9b5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe9c72): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_57getLocationDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334521:(.text+0xe9c86): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xe9c9a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_55getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334336:(.text+0xe9caa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe9ce4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_55getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334376:(.text+0xe9d20): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334385:(.text+0xe9d32): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334385:(.text+0xe9d44): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_54getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334416:(.text+0xe9d54): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe9d94): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe9dd0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_55getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334356:(.text+0xe9e1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe9eaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xe9eb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_281invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178916:(.text+0xe9eca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178916:(.text+0xe9ed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xe9ef2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe9f1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178982:(.text+0xe9f2c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14151:(.text+0xe9f52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_281invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178921:(.text+0xea0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179063:(.text+0xea0f2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_281invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178928:(.text+0xea11c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14207:(.text+0xea204): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14207:(.text+0xea218): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179063:(.text+0xea22c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179063:(.text+0xea23c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179012:(.text+0xea276): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179016:(.text+0xea2b2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xea2c4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xea2d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xea2e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xea326): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179063:(.text+0xea362): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xea3b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178928:(.text+0xea43c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_39getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344838:(.text+0xea448): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344848:(.text+0xea45c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344838:(.text+0xea468): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_39getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344867:(.text+0xea484): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xea4b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_39getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344876:(.text+0xea4be): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344887:(.text+0xea4e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344872:(.text+0xea672): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_38getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344909:(.text+0xea684): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xea6ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_39getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344865:(.text+0xea74a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xea768): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xea824): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_68sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351352:(.text+0xea8d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xea8e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xea8f8): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_69sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351276:(.text+0xea910): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351281:(.text+0xea91a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351295:(.text+0xea926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_68sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351332:(.text+0xea93e): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351379:(.text+0xea950): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_69sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351281:(.text+0xea984): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351284:(.text+0xea99e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_68sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351352:(.text+0xeaa00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_69sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351288:(.text+0xeaa0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351288:(.text+0xeaa1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351288:(.text+0xeaa28): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xeaa6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112744:(.text+0xeaaa4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112793:(.text+0xeaad0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112793:(.text+0xeaade): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112793:(.text+0xeaaea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112812:(.text+0xeab10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112812:(.text+0xeab18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112821:(.text+0xeab30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xeab50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xeabae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112848:(.text+0xeabce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112848:(.text+0xeabd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xeac1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xeac7e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0xeacb6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0xeacd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112876:(.text+0xead02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112882:(.text+0xead0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112919:(.text+0xead38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112888:(.text+0xead46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xeadcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xeadfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112919:(.text+0xeae8c): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0xeaec4): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xeaee0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xeaf10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_29getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112943:(.text+0xeaf1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_28getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113007:(.text+0xeaf46): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113019:(.text+0xeaf54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xeafda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xeb00a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xeb09a): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xeb0d2): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xeb0ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_28getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113081:(.text+0xeb11e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0xeb128): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_28getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113085:(.text+0xeb154): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446558:(.text+0xeb162): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xeb1e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xeb218): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_29getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112945:(.text+0xeb2a8): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_28getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113145:(.text+0xeb2e0): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xeb2fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xeb32c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xeb336): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_29getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112951:(.text+0xeb362): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xeb370): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13949:(.text+0xeb3f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_101getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254637:(.text+0xeb426): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254631:(.text+0xeb4b6): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_100getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254714:(.text+0xeb4ee): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_101getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254636:(.text+0xeb50a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254637:(.text+0xeb53a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204307:(.text+0xeb544): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204307:(.text+0xeb570): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204321:(.text+0xeb57e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xeb604): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xeb634): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204387:(.text+0xeb6c4): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xeb6fc): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204379:(.text+0xeb718): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xeb748): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xeb752): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_116setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xeb77e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xeb78c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204372:(.text+0xeb812): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_116setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204572:(.text+0xeb842): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204336:(.text+0xeb8d2): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204336:(.text+0xeb90a): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xeb926): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204357:(.text+0xeb956): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204357:(.text+0xeb960): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204347:(.text+0xeb98c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204372:(.text+0xeb99a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xeba20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383123:(.text+0xeba50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383186:(.text+0xebae0): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xebb18): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383234:(.text+0xebb34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xebb64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383261:(.text+0xebb6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xebb9a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0xebba8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0xebc2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0xebc5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xebcee): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0xebd26): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0xebd42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0xebd72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0xebd7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0xebda8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383294:(.text+0xebdb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xebe3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_195getLabelSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295325:(.text+0xebe6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xebefc): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xebf34): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_195getLabelSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295302:(.text+0xebf50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295314:(.text+0xebf80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295314:(.text+0xebf8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_194getLabelSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295415:(.text+0xebfb6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295416:(.text+0xebfc4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295388:(.text+0xec04a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_195getLabelSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295336:(.text+0xec07a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393714:(.text+0xec10a): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393723:(.text+0xec142): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCreateDefaultLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:605:(.text+0xec15e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:608:(.text+0xec18e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:608:(.text+0xec198): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:610:(.text+0xec1c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCreateDefaultKSP': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:594:(.text+0xec1d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393803:(.text+0xec258): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xec288): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCreateDefaultKSP': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:596:(.text+0xec318): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xec350): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCreateDefaultKSP': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:595:(.text+0xec36c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCreateDefaultLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:606:(.text+0xec39c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:606:(.text+0xec3a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xec3d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393732:(.text+0xec3e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCreateDefaultLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:609:(.text+0xec464): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:608:(.text+0xec494): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoCreateDefaultKSP': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:594:(.text+0xec522): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141062:(.text+0xec55a): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141062:(.text+0xec576): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xec5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xec5b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141105:(.text+0xec5dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141105:(.text+0xec5ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xec670): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_288strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141174:(.text+0xec6a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141143:(.text+0xec730): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xec768): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_288strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141197:(.text+0xec784): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xec7b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0xec7be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xec7ea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xec7f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141077:(.text+0xec87c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xec8ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xec93a): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_288strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141174:(.text+0xec972): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xec98e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xec9be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xec9c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141075:(.text+0xec9f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xeca02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xeca88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xecab8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xecb48): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xecb80): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xecb9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459424:(.text+0xecbcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141114:(.text+0xecbd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219247:(.text+0xecc02): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219259:(.text+0xecc10): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219306:(.text+0xecc96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219385:(.text+0xeccc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0xecd56): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyArray_FLAGS': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1574:(.text+0xecd8e): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0xecdaa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219436:(.text+0xecdda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219436:(.text+0xecde4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xece10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219315:(.text+0xece1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xecea4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219264:(.text+0xeced4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0xecf64): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14919:(.text+0xecf9c): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219463:(.text+0xecfb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219436:(.text+0xecfe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219436:(.text+0xecff2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xed01e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219399:(.text+0xed02c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0xed0b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xed0e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219287:(.text+0xed172): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169392:(.text+0xed1aa): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169404:(.text+0xed1c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xed1f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169435:(.text+0xed200): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_162isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169494:(.text+0xed22c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169455:(.text+0xed23a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169465:(.text+0xed2c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xed2f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169409:(.text+0xed380): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169455:(.text+0xed3b8): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xed3d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_162isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169550:(.text+0xed404): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169550:(.text+0xed40e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169417:(.text+0xed43a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169417:(.text+0xed448): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169428:(.text+0xed4ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169422:(.text+0xed4fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0xed58e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25050:(.text+0xed5c6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xed5e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xed612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xed61c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xed648): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25050:(.text+0xed656): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xed6dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xed70c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0xed79c): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0xed7d4): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xed7f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_12__imul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119464:(.text+0xed820): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_13__imul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119445:(.text+0xed82a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119445:(.text+0xed856): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25386:(.text+0xed864): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25431:(.text+0xed8e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xed918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_rmul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25657:(.text+0xed9a6): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_22__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119920:(.text+0xed9de): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119876:(.text+0xed9fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119876:(.text+0xeda2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0xeda34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xeda60): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xeda6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_22__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119877:(.text+0xedaf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xedb24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_221shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136799:(.text+0xedbb4): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xedbec): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_221shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136810:(.text+0xedc08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0xedc38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xedc42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xedc6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_221shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136784:(.text+0xedc7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136790:(.text+0xedd02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xedd32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xeddc2): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xeddfa): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xede16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xede46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_325shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182332:(.text+0xede50): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182341:(.text+0xede7c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182341:(.text+0xede8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xedf10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_324shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182385:(.text+0xedf40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_325shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182319:(.text+0xedfd0): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xee008): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_325shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182341:(.text+0xee024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xee054): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xee05e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xee08a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xee098): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xee11e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_215set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136444:(.text+0xee14e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xee1de): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_215set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136445:(.text+0xee216): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xee232): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xee262): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xee26c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_219scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136658:(.text+0xee298): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136658:(.text+0xee2a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136707:(.text+0xee32c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_218scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136737:(.text+0xee35c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136751:(.text+0xee3ec): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_219scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136681:(.text+0xee424): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xee440): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_219scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136685:(.text+0xee470): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136685:(.text+0xee47a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xee4a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xee4b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xee53a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_323scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182220:(.text+0xee56a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182201:(.text+0xee5fa): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_322scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182249:(.text+0xee632): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182273:(.text+0xee64e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_323scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182203:(.text+0xee67e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182203:(.text+0xee688): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182207:(.text+0xee6b4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182207:(.text+0xee6c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25178:(.text+0xee748): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xee778): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xee808): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xee840): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25259:(.text+0xee85c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25189:(.text+0xee88c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25189:(.text+0xee896): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xee8c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0xee8d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25259:(.text+0xee956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xee986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_16__itruediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119611:(.text+0xeea16): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_div': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25461:(.text+0xeea4e): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25486:(.text+0xeea6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25480:(.text+0xeea9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25481:(.text+0xeeaa4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25480:(.text+0xeead0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25485:(.text+0xeeade): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_27__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120054:(.text+0xeeb62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xeeb92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_26__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120076:(.text+0xeec20): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xeec58): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_26__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120086:(.text+0xeec74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xeeca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xeecae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_26__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120111:(.text+0xeecda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120087:(.text+0xeece8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_rdiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25733:(.text+0xeed6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xeed9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xeee2e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_119logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236799:(.text+0xeee66): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236801:(.text+0xeee82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xeeeb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xeeebc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xeeee8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0xeeef6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xeef7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xeefaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_119logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236794:(.text+0xef038): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_118logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236832:(.text+0xef070): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236866:(.text+0xef08c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xef0bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xef0c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_119logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236765:(.text+0xef0f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236770:(.text+0xef100): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236778:(.text+0xef186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236783:(.text+0xef1b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xef246): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369068:(.text+0xef27e): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xef29a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369116:(.text+0xef2ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369116:(.text+0xef2d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369152:(.text+0xef300): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369161:(.text+0xef30e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369260:(.text+0xef394): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369296:(.text+0xef3c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369404:(.text+0xef454): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369458:(.text+0xef48c): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xef4a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369476:(.text+0xef4d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369485:(.text+0xef4e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0xef50e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xef51c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xef5a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369539:(.text+0xef5d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_49getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312494:(.text+0xef662): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xef69a): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xef6b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_49getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312543:(.text+0xef6e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312543:(.text+0xef6f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_48getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312589:(.text+0xef71c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312589:(.text+0xef72a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xef7b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_49getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312515:(.text+0xef7e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xef870): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_49getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312521:(.text+0xef8a8): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312521:(.text+0xef8c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xef8f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xef8fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310489:(.text+0xef92a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xef938): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310538:(.text+0xef9be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_26getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310584:(.text+0xef9ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xefa7e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_26getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310564:(.text+0xefab6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310509:(.text+0xefad2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310512:(.text+0xefb02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_26getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310604:(.text+0xefb0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xefb38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_26getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310584:(.text+0xefb46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_263setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214860:(.text+0xefbcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xefbfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0xefc8c): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_262setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214940:(.text+0xefcc4): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214952:(.text+0xefce0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_263setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214880:(.text+0xefd10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214886:(.text+0xefd1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_262setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214954:(.text+0xefd46): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214954:(.text+0xefd54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_263setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214887:(.text+0xefdd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214887:(.text+0xefe08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xefe96): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xefece): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140770:(.text+0xefeea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140779:(.text+0xeff1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_284strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140804:(.text+0xeff24): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xeff50): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xeff5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xeffe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_284strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140871:(.text+0xf0012): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xf00a2): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_284strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140844:(.text+0xf00da): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140804:(.text+0xf00f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140757:(.text+0xf0126): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140757:(.text+0xf0130): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf015c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0xf016a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf01ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140930:(.text+0xf021e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xf02ae): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140910:(.text+0xf02e6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf0302): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_286strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141031:(.text+0xf0332): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140938:(.text+0xf033c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140910:(.text+0xf0368): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140913:(.text+0xf0376): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140890:(.text+0xf03fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf042a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387348:(.text+0xf04ba): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xf04f2): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387370:(.text+0xf050e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387235:(.text+0xf053e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xf0548): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0xf0574): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xf0582): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf0606): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xf0636): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf06c6): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387259:(.text+0xf06fe): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387313:(.text+0xf071a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387398:(.text+0xf074a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387398:(.text+0xf0754): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387313:(.text+0xf0780): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387313:(.text+0xf078e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387313:(.text+0xf0812): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0xf0842): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_155getPointGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321121:(.text+0xf0896): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321159:(.text+0xf0910): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_154getPointGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321205:(.text+0xf0958): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_155getPointGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321155:(.text+0xf0a00): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_154getPointGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321254:(.text+0xf0a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321254:(.text+0xf0a36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321255:(.text+0xf0a42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321205:(.text+0xf0a5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf0aa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xf0b92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_75getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314087:(.text+0xf0bca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314087:(.text+0xf0bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf0c12): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_74getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314173:(.text+0xf0c8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xf0cd4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_74getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314161:(.text+0xf0d7c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_75getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314110:(.text+0xf0da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314110:(.text+0xf0db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314110:(.text+0xf0dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf0dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_74getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314185:(.text+0xf0e20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf0f0e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf0f46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_151getPointLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320833:(.text+0xf0f52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320844:(.text+0xf0f8e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_150getPointLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320913:(.text+0xf1008): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf1050): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf10f8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf1122): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf112e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf113a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf1152): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_151getPointLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320822:(.text+0xf119c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320822: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_73getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313983:(.text+0xf128a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_72getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314017:(.text+0xf12c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314029:(.text+0xf12ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xf130a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_72getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314041:(.text+0xf1384): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_73getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313963:(.text+0xf13cc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf1474): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf149e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_73getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313970:(.text+0xf14aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313970:(.text+0xf14b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313970:(.text+0xf14ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313992:(.text+0xf1518): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14319: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0xf1606): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf163e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf164a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_78setIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109121:(.text+0xf1878): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109121:(.text+0xf1884): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf1892): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_20createGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105366:(.text+0xf19d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105376:(.text+0xf1a02): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_21createGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105290:(.text+0xf1a2c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105245:(.text+0xf1b12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105263:(.text+0xf1bde): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111567:(.text+0xf1c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf1c5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111620:(.text+0xf1c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111620:(.text+0xf1ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0xf1d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111629: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111593:(.text+0xf1ee6): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111583:(.text+0xf1f12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111588:(.text+0xf1f46): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111599:(.text+0xf1f68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111599:(.text+0xf1f72): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111595:(.text+0xf1f9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xf1fac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf202e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_303setMPIGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142117:(.text+0xf205e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf20c6): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xf20f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_303setMPIGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142092:(.text+0xf2126): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142104:(.text+0xf2148): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142104:(.text+0xf2152): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_302setMPIGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142158:(.text+0xf217e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142185:(.text+0xf218c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf220e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xf223e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176061:(.text+0xf227a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176147:(.text+0xf22c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176147:(.text+0xf22da): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0xf22f0): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176157:(.text+0xf23a4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176122:(.text+0xf23c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_244zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176246:(.text+0xf23ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176275:(.text+0xf2408): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176304:(.text+0xf2458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176304:(.text+0xf2468): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf2480): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176093:(.text+0xf248a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176096:(.text+0xf24a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf24fa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176144:(.text+0xf253c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176121:(.text+0xf2548): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176146:(.text+0xf259e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176088:(.text+0xf25f2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176088:(.text+0xf25fe): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176113:(.text+0xf2622): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176114:(.text+0xf2630): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176088:(.text+0xf2654): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176093:(.text+0xf2662): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176133:(.text+0xf2698): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176101:(.text+0xf26fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176118:(.text+0xf2728): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176108:(.text+0xf2754): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175798:(.text+0xf27c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175798:(.text+0xf27de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175812:(.text+0xf27f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xf2802): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf2820): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175858:(.text+0xf282c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175883:(.text+0xf285c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175884: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xf289c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_242zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175992:(.text+0xf2902): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176037:(.text+0xf2920): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175894:(.text+0xf2938): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_242zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175983:(.text+0xf298e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf29aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_242zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176024:(.text+0xf29ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf2a9a): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175881:(.text+0xf2adc): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175818:(.text+0xf2b02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xf2b20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf2b2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xf2b56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_242zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175933:(.text+0xf2b64): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175883:(.text+0xf2be6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175825:(.text+0xf2c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xf2d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xf2d32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175894:(.text+0xf2d5e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_241zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175535:(.text+0xf2d6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_240zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175720:(.text+0xf2f2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175749:(.text+0xf2f3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175761:(.text+0xf2f66): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175751:(.text+0xf2f74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_241zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175562:(.text+0xf3134): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175562:(.text+0xf3142): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175588:(.text+0xf316e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175609:(.text+0xf317c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175592:(.text+0xf3264): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175581:(.text+0xf3286): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175582:(.text+0xf3296): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175607:(.text+0xf32a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175608:(.text+0xf32b6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_240zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175729:(.text+0xf32f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175729:(.text+0xf32fe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_239zeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175287:(.text+0xf332c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175272:(.text+0xf333e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175286:(.text+0xf334e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_238zeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175466:(.text+0xf344a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf3472): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_238zeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175488:(.text+0xf3516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_239zeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175307:(.text+0xf3574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175307:(.text+0xf3580): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175358:(.text+0xf368a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf36b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xf36c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_239zeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175329:(.text+0xf3804): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175318:(.text+0xf3830): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175319:(.text+0xf383e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282534:(.text+0xf397c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282610:(.text+0xf39a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282619:(.text+0xf39b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xf3a2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282690:(.text+0xf3a4c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0xf3a5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0xf3a6c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282793:(.text+0xf3a7c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282556:(.text+0xf3ab6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282556:(.text+0xf3ac4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282555:(.text+0xf3af2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282532:(.text+0xf3b04): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282529:(.text+0xf3b14): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282539:(.text+0xf3c10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282807:(.text+0xf3c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282510:(.text+0xf3cdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282507:(.text+0xf3d3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282507:(.text+0xf3d46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282749:(.text+0xf3e42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_9createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282130:(.text+0xf3e6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282130:(.text+0xf3e7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0xf3fcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xf3ff8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_8createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282322:(.text+0xf4006): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf4152): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf417e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf418c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xf42d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_9createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282153:(.text+0xf4302): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282158:(.text+0xf4310): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281781:(.text+0xf4460): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281831:(.text+0xf448c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf449a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281921:(.text+0xf4548): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xf4574): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281858:(.text+0xf4648): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf466e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282012:(.text+0xf46a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf46ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282035:(.text+0xf46c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282035:(.text+0xf46d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf4746): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282072:(.text+0xf475c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281841:(.text+0xf47a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281972:(.text+0xf484a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281809:(.text+0xf4854): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xf48a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281804:(.text+0xf48c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281842:(.text+0xf48ee): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281828:(.text+0xf492e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281828:(.text+0xf494c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_27addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344176:(.text+0xf4aa8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344147:(.text+0xf4b40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344148:(.text+0xf4b4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_26addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344243:(.text+0xf4b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_27addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344147:(.text+0xf4bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344150:(.text+0xf4bc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf4bf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_26addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344243:(.text+0xf4c02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0xf4c68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0xf4c7c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0xf4c88): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_143coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291924:(.text+0xf4d9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xf4dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf4ddc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf4e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0xf4e5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292022:(.text+0xf4eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292054:(.text+0xf4f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292076:(.text+0xf4f1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292078:(.text+0xf4f44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0xf4f9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf4fda): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xf5034): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xf5082): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292076:(.text+0xf511c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292045:(.text+0xf519e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128:(.text+0xf51e0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_143coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291939:(.text+0xf522a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291958:(.text+0xf5240): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xf52a8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128:(.text+0xf52ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf532a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292054:(.text+0xf5344): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128:(.text+0xf5350): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128:(.text+0xf535c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xf542c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xf54a8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf54b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf54be): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xf54d0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf551c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xf55dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291796:(.text+0xf55ec): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf5602): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0xf5652): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291855:(.text+0xf567e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xf576e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291902:(.text+0xf57aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf57c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xf57d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf57e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291887:(.text+0xf57f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291850:(.text+0xf584c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf5862): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xf5880): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xf5898): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291902:(.text+0xf5926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf5932): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_141refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291724:(.text+0xf5966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xf598a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xf59a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_141refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291725:(.text+0xf5b1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xf5b4a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xf5b58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5c5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322543:(.text+0xf5c8a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13949:(.text+0xf5d7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf5db8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xf5dd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322637:(.text+0xf5dde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf5df6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322580:(.text+0xf5e04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0xf5e5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322508:(.text+0xf5e70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf5e8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf5ea6): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322517:(.text+0xf5f34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322517:(.text+0xf5f40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xf5f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322653:(.text+0xf5f98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0xf5fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf604a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322620:(.text+0xf60a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf60b4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf60c0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322521:(.text+0xf60e4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322521:(.text+0xf60f2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xf6116): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf6124): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf6170): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf61a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_23setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268033:(.text+0xf61e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268062:(.text+0xf61f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268071:(.text+0xf622e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268082:(.text+0xf6252): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_22setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268124:(.text+0xf62b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_23setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268047:(.text+0xf62d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268048:(.text+0xf62dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_22setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268102:(.text+0xf630c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268102:(.text+0xf6318): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268126: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_23setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268056:(.text+0xf636c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf6386): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_23setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268060:(.text+0xf63a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268060:(.text+0xf63be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf63d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf63e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_23setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268082:(.text+0xf6416): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_241setTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263701:(.text+0xf645e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6474): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_241setTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263712:(.text+0xf64ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263721:(.text+0xf64c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf64ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf6514): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_241setTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263695:(.text+0xf65de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf6634): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf6648): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf6654): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf6678): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_241setTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263721:(.text+0xf6686): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_59logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219580:(.text+0xf66aa): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xf66b8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_59logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219620:(.text+0xf6706): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219629:(.text+0xf673c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `KSPLogResidualHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/kspimpl.h:211:(.text+0xf6778): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/kspimpl.h:211:(.text+0xf678a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_59logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219595:(.text+0xf67c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219614:(.text+0xf67e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219603:(.text+0xf6848): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219607:(.text+0xf6866): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219607:(.text+0xf6872): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf68a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf68ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_169setFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239482:(.text+0xf6902): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf691c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6936): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6954): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_169setFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239512:(.text+0xf696a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239512:(.text+0xf6978): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf69ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xf69f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_169setFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239492:(.text+0xf6a0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_168setFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239541:(.text+0xf6a44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239565:(.text+0xf6a5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_169setFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239495:(.text+0xf6a84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239495:(.text+0xf6aaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_157setBRGNSmoothL1Epsilon': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278735:(.text+0xf6b68): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6b9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_157setBRGNSmoothL1Epsilon': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278773:(.text+0xf6bce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278784:(.text+0xf6bfc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278784:(.text+0xf6c04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf6c30): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_156setBRGNSmoothL1Epsilon': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278828:(.text+0xf6cd6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf6d68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf6d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf6da2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xf6dd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0xf6dec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_121setTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255712:(.text+0xf6df4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6e28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_121setTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255721:(.text+0xf6e36): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255717:(.text+0xf6ef8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_120setTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255752:(.text+0xf6f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255752:(.text+0xf6f20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_121setTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255710:(.text+0xf6fb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf6fde): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_327chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182424:(.text+0xf714a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182427:(.text+0xf71d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182427:(.text+0xf71e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf71f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_326chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182483:(.text+0xf71fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf7248): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf7254): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_326chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182473:(.text+0xf7260): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf726c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf7276): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_327chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182453:(.text+0xf728c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_113setTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255310:(.text+0xf72a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf72d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7302): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_113setTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255350:(.text+0xf7318): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255344:(.text+0xf73d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255333:(.text+0xf7446): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf74ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf74ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xf74cc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_153chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132926:(.text+0xf7578): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132909:(.text+0xf76a8): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf773a): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf77ca): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_165setRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321824:(.text+0xf781a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf7824): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf7830): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_164setRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321854:(.text+0xf7848): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf7860): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf786c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_165setRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321798:(.text+0xf7902): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321798:(.text+0xf7910): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321798:(.text+0xf791c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321802: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf7998): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf79c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_223chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136882:(.text+0xf79d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136882:(.text+0xf79fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136911:(.text+0xf7a06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136922:(.text+0xf7a5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_222chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136951:(.text+0xf7b30): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_223chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136905:(.text+0xf7b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136909:(.text+0xf7bde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xf7c0a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7ca4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf7d26): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_129setMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256101:(.text+0xf7d68): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_128setMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256174:(.text+0xf7db2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_129setMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256101:(.text+0xf7dc8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256108:(.text+0xf7e30): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf7e52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_155setBRGNRegularizerWeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278623:(.text+0xf7eb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xf7ecc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf7ed8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7ee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_155setBRGNRegularizerWeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278637:(.text+0xf7fb2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_154setBRGNRegularizerWeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278717:(.text+0xf802c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_155setBRGNRegularizerWeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278643:(.text+0xf8038): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278646:(.text+0xf8042): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278646:(.text+0xf8054): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278650:(.text+0xf80a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278650:(.text+0xf80ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf80b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf8160): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf8170): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_249setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264114:(.text+0xf8186): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_248setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264155:(.text+0xf81ec): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_249setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264090:(.text+0xf8226): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264110:(.text+0xf8246): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf82d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_248setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264155:(.text+0xf82e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_249setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264103:(.text+0xf82f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264103:(.text+0xf831c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf832a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSRollBack_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391185:(.text+0xf83b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391207:(.text+0xf8406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0xf843a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSRollBack_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391238:(.text+0xf8460): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf8480): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf8492): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xf84c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xf84da): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf8500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf8530): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xf8556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf855e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xf8574): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0xf857c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf8584): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0xf858e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0xf85a0): undefined reference to `PyDict_DelItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf85ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xf85ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSRollBack_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391279:(.text+0xf8602): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xf86be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0xf86ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSRollBack_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391234:(.text+0xf86e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf8706): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_15_DMDA_Vec_array_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58904:(.text+0xf8732): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf8764): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf8796): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xf8806): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_15_DMDA_Vec_array_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58990:(.text+0xf884e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58991:(.text+0xf8868): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58944:(.text+0xf88a8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf88f2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf8908): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xf8974): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xf8996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336754:(.text+0xf89d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf89e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf89ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0xf8a78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0xf8a96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SET_SIZE': /usr/include/python3.11/object.h:174:(.text+0xf8aa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336795:(.text+0xf8aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336797:(.text+0xf8aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336797: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf8ad2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336858:(.text+0xf8af4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336858:(.text+0xf8afe): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf8b10): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336800:(.text+0xf8b70): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xf8b94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xf8ba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xf8bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf8c36): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf8c50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf8c92): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xf8d02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf8d4a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336858:(.text+0xf8d64): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336764:(.text+0xf8da4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf8dee): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xf8e04): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336840:(.text+0xf8e70): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_113setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222489:(.text+0xf8e92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222518:(.text+0xf8ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf8edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf8ee6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_112setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222568:(.text+0xf8f76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf8f96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xf8fa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_113setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222503:(.text+0xf8fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222509:(.text+0xf8fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222509: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_113setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222523:(.text+0xf8fd2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `KSPSetResidualNorm': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:347:(.text+0xf8ff4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:347:(.text+0xf8ffe): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:347:(.text+0xf9010): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_113setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222512:(.text+0xf9072): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222516:(.text+0xf9096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222516:(.text+0xf90a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_112setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222558:(.text+0xf90b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264188:(.text+0xf9138): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264188:(.text+0xf9152): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264297:(.text+0xf9196): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264320:(.text+0xf9208): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf9250): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf9266): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf92a8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264269:(.text+0xf92f2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264269:(.text+0xf9308): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264320:(.text+0xf9332): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf9340): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264260:(.text+0xf938e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0xf93a8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xf93cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264241:(.text+0xf940c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf941c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf9426): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264383:(.text+0xf94ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264383:(.text+0xf94d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264212:(.text+0xf94e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264212:(.text+0xf94f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264237:(.text+0xf94fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264254:(.text+0xf9508): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf9542): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264331:(.text+0xf9552): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264333:(.text+0xf9560): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264355:(.text+0xf956e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264212:(.text+0xf95be): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264232:(.text+0xf95e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264222:(.text+0xf9632): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264238:(.text+0xf963c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264238:(.text+0xf964e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264238:(.text+0xf9668): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264253:(.text+0xf9696): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xf96ca): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380891:(.text+0xf9764): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xf97e6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf9828): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf9872): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xf9888): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379505:(.text+0xf98f0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380870:(.text+0xf9912): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf9972): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380917:(.text+0xf998c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380919:(.text+0xf9998): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380919:(.text+0xf99a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380919: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380793:(.text+0xf9a6e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf9ae4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xf9af0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_37getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303136:(.text+0xf9afa): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xf9b0c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_36getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303182:(.text+0xf9b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xf9b62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_36getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303202:(.text+0xf9b6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303236:(.text+0xf9c12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xf9c22): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xf9c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_36getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303256:(.text+0xf9c68): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xf9cde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9d24): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9d3a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf9d7c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xf9dc6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf9ddc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9e56): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xf9ebc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xf9ec8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xf9ed2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0xf9ee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_36getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303236:(.text+0xf9f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9f82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9f8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303252: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf9fbe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf9fe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf9fee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfa010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.11/object.h:601:(.text+0xfa01c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_37getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303148:(.text+0xfa078): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xfa0d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xfa0ea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xfa10e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303398:(.text+0xfa120): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303398:(.text+0xfa130): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303412:(.text+0xfa178): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xfa182): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xfa194): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xfa1aa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xfa1fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_copy_object_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448838:(.text+0xfa28a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303509:(.text+0xfa344): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303510:(.text+0xfa34c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfa358): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xfa36e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xfa378): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfa3a4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfa3b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xfa412): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303408:(.text+0xfa420): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfa466): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0xfa47a): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xfa4b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303448:(.text+0xfa554): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xfa56e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.11/object.h:601:(.text+0xfa5c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0xfa5ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303468:(.text+0xfa5d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xfa690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa74a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa752): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa75e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa774): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa77e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa7aa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa7b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xfa818): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xfa826): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276149:(.text+0xfa86c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276156:(.text+0xfa880): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa8bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276174:(.text+0xfa95a): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276099:(.text+0xfa974): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_116monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276428:(.text+0xfa9ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276182:(.text+0xfa9d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfa9de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276146:(.text+0xfab1a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xfab84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xfab90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfabc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xfabda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_116monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276414:(.text+0xfabec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276124:(.text+0xfac18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xfac26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xface6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114066:(.text+0xfad5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458373:(.text+0xfad72): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114088:(.text+0xfad94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114088:(.text+0xfada8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114120:(.text+0xfadd0): undefined reference to `PyDict_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114120:(.text+0xfadda): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0xfae2e): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0xfae4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0xfae54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0xfae5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfae66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14794:(.text+0xfae74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfae8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114025:(.text+0xfaecc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfaf08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xfaf1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfaf68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xfaf9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113992:(.text+0xfb010): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114179:(.text+0xfb03c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfb15e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113993:(.text+0xfb1a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0xfb1ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfb1f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114179:(.text+0xfb214): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfb220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113998:(.text+0xfb230): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113998:(.text+0xfb23c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113998:(.text+0xfb248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xfb2b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xfb2ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_37applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113722:(.text+0xfb354): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458373:(.text+0xfb406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113849:(.text+0xfb434): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113881:(.text+0xfb462): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14712:(.text+0xfb4d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfb51a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113914:(.text+0xfb534): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_37applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113786:(.text+0xfb574): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458419:(.text+0xfb5be): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458532:(.text+0xfb5d4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458379:(.text+0xfb62e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_37applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113746:(.text+0xfb666): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113749:(.text+0xfb694): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113770:(.text+0xfb6a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xfb6ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113849:(.text+0xfb6b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113940: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13564:(.text+0xfb6ec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14832:(.text+0xfb76a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113901:(.text+0xfb792): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfb79e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113828:(.text+0xfb7a8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xfb7ba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfb7ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113940:(.text+0xfb89e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfb8b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_37applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113759:(.text+0xfb8bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113759:(.text+0xfb8cc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xfb8e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0xfb930): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xfb95c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0xfba8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0xfba9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbac2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbad4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbb14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbb20): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbb36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbb4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbb7e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbbaa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbbc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_190setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240974:(.text+0xfbbee): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240974:(.text+0xfbbf8): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0xfbc84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_190setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240920:(.text+0xfbcd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240840:(.text+0xfbce4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240948:(.text+0xfbcf6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfbdb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfbdde): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_190setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240893:(.text+0xfbf10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240988:(.text+0xfbf1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240907:(.text+0xfbf44): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240907:(.text+0xfbf56): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240935:(.text+0xfbf96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240935:(.text+0xfbfa2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xfbfb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_190setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240949:(.text+0xfbfd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240703:(.text+0xfc000): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240710:(.text+0xfc02c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240711:(.text+0xfc042): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240722:(.text+0xfc070): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240722:(.text+0xfc07a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240759:(.text+0xfc106): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240692:(.text+0xfc15a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240693:(.text+0xfc166): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0xfc178): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xfc234): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfc260): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194599:(.text+0xfc392): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194585:(.text+0xfc39e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194599:(.text+0xfc3c6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xfc3d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xfc418): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xfc424): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194718:(.text+0xfc43a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfc452): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfc482): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194765:(.text+0xfc4ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194776:(.text+0xfc4c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xfc4f2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xfc4fc): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfc588): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0xfc5dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0xfc5e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfc5fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfc694): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/include/python3.11/object.h:537:(.text+0xfc706): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xfc786): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfc7c8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194614:(.text+0xfc812): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194649:(.text+0xfc828): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0xfc890): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194609:(.text+0xfc8b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194649:(.text+0xfc8cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194631:(.text+0xfc90c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194614:(.text+0xfc918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194698:(.text+0xfc926): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194698:(.text+0xfc930): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194649:(.text+0xfc98e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194650:(.text+0xfc99a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194650:(.text+0xfc9a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194624:(.text+0xfc9b2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194618:(.text+0xfc9d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194619:(.text+0xfc9e0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfc9f2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xfca9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xfcaa8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_75projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351644:(.text+0xfcab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351654:(.text+0xfcb36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351656:(.text+0xfcb48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351656:(.text+0xfcb54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351665:(.text+0xfcb64): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xfcb84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfcbc4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351776:(.text+0xfcc5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351830:(.text+0xfcce0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0xfcd22): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351779:(.text+0xfcd6c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351779:(.text+0xfcd82): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfcdea): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0xfce0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351878:(.text+0xfce6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351878:(.text+0xfce86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfce92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0xfce9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351718:(.text+0xfcf68): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_75projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351620:(.text+0xfcfde): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351625:(.text+0xfcfea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351650:(.text+0xfcff4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xfd006): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351752:(.text+0xfd050): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351878:(.text+0xfd05c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351878:(.text+0xfd068): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_75projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351638:(.text+0xfd10c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351638:(.text+0xfd11c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351676:(.text+0xfd132): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351808:(.text+0xfd15e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_311setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142668:(.text+0xfd1f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142697:(.text+0xfd27a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfd2bc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142835:(.text+0xfd306): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfd31c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142853:(.text+0xfd384): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142849:(.text+0xfd3a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfd406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142833:(.text+0xfd420): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142881:(.text+0xfd42c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142881:(.text+0xfd438): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142881:(.text+0xfd508): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_311setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142672:(.text+0xfd584): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142680:(.text+0xfd590): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142683:(.text+0xfd59a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142683:(.text+0xfd5ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142758:(.text+0xfd5f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142758:(.text+0xfd604): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142758:(.text+0xfd610): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_311setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142680:(.text+0xfd6b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142680:(.text+0xfd6c8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142776:(.text+0xfd6de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_311setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142680:(.text+0xfd72e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142689:(.text+0xfd75a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfd7b2): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142881:(.text+0xfd7be): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142713:(.text+0xfd864): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfd8e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_209setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210820:(.text+0xfd90e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210829:(.text+0xfd928): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210829:(.text+0xfd934): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210857:(.text+0xfd940): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xfd954): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0xfd960): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0xfd9b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210882:(.text+0xfd9c4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfd9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfda00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210903:(.text+0xfda0a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfda1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210918:(.text+0xfda3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0xfda54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210923:(.text+0xfda94): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xfdab8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfdb0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210949:(.text+0xfdb56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_209setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210794:(.text+0xfdbce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xfdbda): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xfdbec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_209setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210800:(.text+0xfdc88): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210803:(.text+0xfdcb4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xfdd0c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210901:(.text+0xfdd18): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210822:(.text+0xfddbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfde3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_211setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211010:(.text+0xfde68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211019:(.text+0xfde82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211019:(.text+0xfde8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211002:(.text+0xfde9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0xfdeae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0xfdeba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0xfdf0c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfdf1e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfdf4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfdf5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xfdf64): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_210setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211093:(.text+0xfdf78): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211108:(.text+0xfdf98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0xfdfae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfdfee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_210setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211123:(.text+0xfe012): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfe068): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_210setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211139:(.text+0xfe0b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0xfe128): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_211setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210984:(.text+0xfe134): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xfe146): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfe1c2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xfe236): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_211setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210997:(.text+0xfe2b2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210997:(.text+0xfe2c8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211012:(.text+0xfe30a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xfe35e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_11getData': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144998:(.text+0xfe374): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_10getData': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145085:(.text+0xfe3dc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xfe400): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13949:(.text+0xfe41a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xfe45c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_10getData': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145089:(.text+0xfe468): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0xfe474): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_10getData': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145099:(.text+0xfe47e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145087:(.text+0xfe510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145114:(.text+0xfe51c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145114:(.text+0xfe528): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_11getData': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145003:(.text+0xfe534): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144998:(.text+0xfe55c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0xfe568): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0xfe574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0xfe5a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0xfe5b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_10getData': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145087:(.text+0xfe5cc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_23getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146967:(.text+0xfe64c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_22getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147027:(.text+0xfe6a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xfe6aa): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xfe6bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_23getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146979:(.text+0xfe716): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146972:(.text+0xfe78a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_22getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147054:(.text+0xfe7cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xfe7de): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xfe7f6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_29getDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299476:(.text+0xfe838): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xfe88c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xfe8a2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xfe900): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfe93a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_29getDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299481:(.text+0xfe96c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xfe980): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xfe98c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_28getDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299538:(.text+0xfe998): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299555:(.text+0xfe9b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_29getDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299487:(.text+0xfe9bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299519: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfe9e0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299528:(.text+0xfea04): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xfea30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xfeaaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xfeab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_31getComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299586:(.text+0xfeac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_30getComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299636:(.text+0xfeaec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_30getComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299636:(.text+0xfeb7c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_31getComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299585:(.text+0xfeba0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfebaa): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_30getComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299617:(.text+0xfebbc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_31getComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299586:(.text+0xfebf0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xfec64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfece0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfecf8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xfed3a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfed8e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xfeda4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0xfee0c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183261:(.text+0xfee30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0xfee4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfee58): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183262:(.text+0xfeea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183283:(.text+0xfeeae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183283:(.text+0xfeeba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183284:(.text+0xfeec4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183294:(.text+0xfef58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183264:(.text+0xfef70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_336matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183328:(.text+0xfef84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfef90): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183234:(.text+0xfefb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183239:(.text+0xfefc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183271:(.text+0xfefd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183273:(.text+0xfeff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xff00c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183273: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183272:(.text+0xff026): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_336matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183402:(.text+0xff098): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183239:(.text+0xff0ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183271:(.text+0xff0f6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xff108): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0xff172): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0xff17e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183248:(.text+0xff1c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xff24e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xff25a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182964:(.text+0xff26a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182964:(.text+0xff276): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182977:(.text+0xff28a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182964:(.text+0xff296): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183032:(.text+0xff318): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183034:(.text+0xff32a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xff36e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_334matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183166:(.text+0xff39e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183047:(.text+0xff3cc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0xff414): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_334matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183101:(.text+0xff490): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0xff49e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183026:(.text+0xff4aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183036:(.text+0xff4b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183037:(.text+0xff4ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0xff4f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_334matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183155:(.text+0xff522): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xff550): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182982:(.text+0xff55a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182992:(.text+0xff624): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183001:(.text+0xff658): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183011:(.text+0xff688): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183011:(.text+0xff6a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xff6c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xff6e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183964:(.text+0xff72a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0xff762): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xff78c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184020:(.text+0xff7a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_342rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184154:(.text+0xff838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184035:(.text+0xff868): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xff87c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184005:(.text+0xff886): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_342rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184143:(.text+0xff9a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0xff9d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183970:(.text+0xff9e6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183975:(.text+0xff9f6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183980:(.text+0xffa06): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xffa34): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xffa44): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_342rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184154:(.text+0xffa54): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183980:(.text+0xffa64): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183983:(.text+0xffa74): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183975:(.text+0xffaa6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183993:(.text+0xffab6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184013:(.text+0xffac6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183994:(.text+0xffaee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183999:(.text+0xffb1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183999:(.text+0xffb28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0xffc5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xffca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_341ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183788:(.text+0xffcfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_340ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183822:(.text+0xffd22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0xffd32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183777: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_341ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183728:(.text+0xffe8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183733:(.text+0xfff38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_340ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183842:(.text+0xfffd4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfffe0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0xfffec): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183458:(.text+0x10000e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183458:(.text+0x100022): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183458:(.text+0x10004e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x10005a): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183508:(.text+0x10006c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x100092): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183524:(.text+0x1000ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183531:(.text+0x1000f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x100118): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183541:(.text+0x10017e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_338transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183575:(.text+0x1001b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183481:(.text+0x1001ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183530:(.text+0x100204): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183520:(.text+0x100228): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183519:(.text+0x100254): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183519:(.text+0x10032a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1003a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183494:(.text+0x1003e4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183505:(.text+0x100430): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x100472): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1004c6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1004dc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x100546): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10056a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x100584): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383880:(.text+0x1005c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1005d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383882:(.text+0x1005e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383883:(.text+0x1005ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x100680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384017:(.text+0x10068c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x100698): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1006a4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422329:(.text+0x1006cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1006d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1006e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x100712): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383876:(.text+0x100722): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383930: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383930:(.text+0x10073e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1007e2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383889:(.text+0x10083c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383889:(.text+0x100846): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x100858): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x100906): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1009b4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1009ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390434:(.text+0x100a2c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x100a4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390443:(.text+0x100a5e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x100aaa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390490:(.text+0x100ab2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390490:(.text+0x100abc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x100ac4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390571:(.text+0x100ad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x100aea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x100b44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x100b50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x100b62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390430:(.text+0x100b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390484:(.text+0x100b76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x100ba2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390490:(.text+0x100bb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390540:(.text+0x100cd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390540:(.text+0x100ce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x100d0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_119setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204592:(.text+0x100d4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204604:(.text+0x100d7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x100e0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x100ede): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_119setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204631:(.text+0x100f54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204626:(.text+0x100f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204617:(.text+0x100fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204617:(.text+0x100ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_118setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204767:(.text+0x101020): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_119setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204627:(.text+0x101036): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204632:(.text+0x10106e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x101096): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10109e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_118setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204704:(.text+0x1010a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1010f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x101100): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_99setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274939:(.text+0x10111c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274957:(.text+0x10117a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x101196): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10120c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x101280): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_99setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274921:(.text+0x1012be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1012ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224290:(.text+0x1014d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0x1014de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0x1014f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0x101514): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x101558): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x1015c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x1015d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1015f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446794:(.text+0x1016b6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1016c8): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447255:(.text+0x1016e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224352:(.text+0x1016f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446757:(.text+0x10170e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224364:(.text+0x101766): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10179e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1017b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1017f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1018a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224391:(.text+0x1018de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10190e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13624:(.text+0x101af2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13624:(.text+0x101afe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x101b10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x101b34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x101b78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x101be0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x101bf6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x101c16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224391:(.text+0x101cd6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224235:(.text+0x101ce8): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_43getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303644:(.text+0x101d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303644:(.text+0x101d10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303650:(.text+0x101d2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_42getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303710:(.text+0x101d86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x101dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x101dd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_crop_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448828:(.text+0x101e12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyTuple_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448865:(.text+0x101ecc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x101fe8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10202a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x10207e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_43getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303650:(.text+0x102094): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1020fc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x102120): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10213a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x10218e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10219a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1021a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303750: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_42getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303750:(.text+0x1021bc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyTuple_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448864:(.text+0x10224e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_42getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303765:(.text+0x10225a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303720:(.text+0x102266): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303776:(.text+0x102272): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0x10229a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1022a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303656:(.text+0x1022b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1022e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_45getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303828:(.text+0x1022f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x10230a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303904:(.text+0x1023aa): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_copy_object_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448838:(.text+0x1023fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448837:(.text+0x102408): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x10241a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x102460): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303981:(.text+0x10257c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_crop_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448827:(.text+0x1025be): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x102612): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyTuple_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448864:(.text+0x102628): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x102690): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1026b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1026ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303902:(.text+0x102722): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10272e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10273a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x102750): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1027e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1027ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_45getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303827:(.text+0x1027fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x102806): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303954:(.text+0x10282e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10283a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x102846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303834:(.text+0x102874): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x102884): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261528: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10289e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x10293e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x102992): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261633:(.text+0x10299c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1029ae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1029f4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x102b10): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261724:(.text+0x102b52): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x102ba6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_209getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261539:(.text+0x102bbc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x102c24): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261674:(.text+0x102c48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x102c62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_209getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261534:(.text+0x102cb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x102cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261640:(.text+0x102cce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261636: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261608:(.text+0x102ce4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261700:(.text+0x102d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261700:(.text+0x102d82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x102d8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/object.h:538:(.text+0x102d9a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:538:(.text+0x102dc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_209getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261540:(.text+0x102dce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261540:(.text+0x102dda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x102e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267485:(.text+0x102e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267522: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_10getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267522:(.text+0x102e32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x102ed2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267487:(.text+0x102f26): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267486:(.text+0x102f30): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x102f42): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x102f88): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x1030a4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216665:(.text+0x1030e6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216659:(.text+0x10313a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216659:(.text+0x103150): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1031b8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1031dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1031f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_171getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279561:(.text+0x10324a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279561:(.text+0x103256): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x103262): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279565: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_170getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279602:(.text+0x103278): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_171getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279573:(.text+0x10330a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279573:(.text+0x103316): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x103322): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10332e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_171getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279566:(.text+0x103356): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279567:(.text+0x103362): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279567:(.text+0x10336e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x10339c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_170getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279612:(.text+0x1033ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279629: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_170getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279629:(.text+0x1033c6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216440:(.text+0x103466): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216491:(.text+0x1034ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x1034c4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1034d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x103516): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x103634): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216452:(.text+0x103682): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_23getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357465:(.text+0x1036a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x1036ea): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1036f6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x103712): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x10371e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_23getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357477:(.text+0x10375a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357477:(.text+0x10376a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x103790): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10379c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_23getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357471:(.text+0x1037c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1037f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x103852): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x103870): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_22getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357506:(.text+0x103896): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_23getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357477:(.text+0x1038a0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1038c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_115getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165808:(.text+0x1038e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x103966): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_115getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165816:(.text+0x10398e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1039d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_114getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165872:(.text+0x103a38): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x103aac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x103b60): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_215getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242356:(.text+0x103ba2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x103bf6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_215getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242350:(.text+0x103c0c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242355:(.text+0x103c74): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x103c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x103cb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242356:(.text+0x103d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228566:(.text+0x103d12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228566:(.text+0x103d1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228566: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x103d34): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x103dc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228578:(.text+0x103dd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228578:(.text+0x103ddc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228578:(.text+0x103de8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x103e10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x103e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228571:(.text+0x103e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228571:(.text+0x103e54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x103e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_10getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228617:(.text+0x103e7e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228578:(.text+0x103f1e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_21getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248280:(.text+0x103f70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_20getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248306:(.text+0x103f7a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248325:(.text+0x103f8c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x103fe8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_21getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248280:(.text+0x10405c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104110): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248286:(.text+0x104152): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_22getRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248393:(.text+0x1041a6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x1041bc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_23getRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248373:(.text+0x104224): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x104248): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x104262): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1042b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1042c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_22getRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248412:(.text+0x1042ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248429: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_22getRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248429:(.text+0x1042e4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_23getRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248373:(.text+0x104376): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248373:(.text+0x104382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_27getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354351:(.text+0x10438e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354351:(.text+0x10439a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354355:(.text+0x1043c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_26getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354383:(.text+0x1043ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1043da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x104406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x104416): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x104430): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_27getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354357:(.text+0x1044d0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445718:(.text+0x104524): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10452e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x104540): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_27getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354363:(.text+0x10459e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x104612): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1046c6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104708): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10475c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104772): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98955:(.text+0x1047da): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1047fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282869:(.text+0x104818): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x10486c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12276:(.text+0x104878): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x104884): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282840:(.text+0x10489a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x10492c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104944): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282879:(.text+0x104950): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x104978): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x104984): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x104990): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1049bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1049cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282869:(.text+0x1049e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x104a86): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_19getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105151:(.text+0x104ada): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x104ae4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x104af6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104b54): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104bc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x104c7c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x104cbe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x104d12): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x104d28): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x104d90): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_16getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267888:(.text+0x104db4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x104dce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x104e22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_16getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267861:(.text+0x104e2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267832:(.text+0x104e3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267832: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267832:(.text+0x104e50): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x104ee2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x104eee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x104efa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x104f06): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149334:(.text+0x104f2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149373:(.text+0x104f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x104f46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149327:(.text+0x104f72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149328:(.text+0x104f82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149328: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149327:(.text+0x104f9c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10503c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_27getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284683:(.text+0x105090): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284683:(.text+0x10509a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1050ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x105126): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_27getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284689:(.text+0x1051a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_26getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284734:(.text+0x1051ea): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197580:(.text+0x1052b0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197621:(.text+0x1052f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x105326): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x10532e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197592:(.text+0x105382): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10538a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x105396): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1053ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197631:(.text+0x105416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197648:(.text+0x105422): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105474): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10548e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10549e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_103getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165214:(.text+0x1054d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_102getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165267:(.text+0x10554c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x10555a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_103getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165226:(.text+0x10559a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165226:(.text+0x1055ae): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1055d2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1055e4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_103getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165220:(.text+0x10560a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105620): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x10562c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_102getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165265:(.text+0x105642): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165282:(.text+0x105652): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x10569e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_69getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200732:(.text+0x105714): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x105756): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1057a2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1057e4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_69getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200738:(.text+0x105838): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x10584e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_68getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200800:(.text+0x105876): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200800:(.text+0x10587e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1058f6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200744:(.text+0x10591c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_25getARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248448:(.text+0x105936): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_24getARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248499:(.text+0x10597a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x105986): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10599a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x1059a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x1059b0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_25getARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248454:(.text+0x105a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105a72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_24getARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248516:(.text+0x105aa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248516:(.text+0x105ab0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x105ad8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x105ae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105afc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x105b08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_25getARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248460:(.text+0x105b36): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12276:(.text+0x105bee): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_95getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128622:(.text+0x105c14): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x105c3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_95getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128616:(.text+0x105c84): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128616:(.text+0x105c8e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105ca0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x105d38): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352451:(.text+0x105da8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x105e2e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x105e70): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352453:(.text+0x105eba): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105ed0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x105f42): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x105f72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_149getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225147:(.text+0x105fa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x105fac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12244:(.text+0x10600a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_148getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225200:(.text+0x106016): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x10602c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x106038): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x106044): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1060aa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_149getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225153:(.text+0x1060cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1060f6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_148getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225215:(.text+0x10611a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225215:(.text+0x106124): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445718:(.text+0x106136): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x10616c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1061f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_48getVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158698:(.text+0x10621e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x10625a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10626a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_48getVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158700:(.text+0x106284): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158698:(.text+0x1062b0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158715:(.text+0x10634a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158688:(.text+0x1063cc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_239getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263585:(.text+0x10640e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x106458): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_238getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263638:(.text+0x10646e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1064d6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1064f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_238getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263636:(.text+0x106560): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263653:(.text+0x10657a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_239getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263596:(.text+0x106586): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x106592): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_8getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329452:(.text+0x10665c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1066d2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_9getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329423:(.text+0x1066de): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329423:(.text+0x1066e8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329423:(.text+0x1066fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329417:(.text+0x106744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329417:(.text+0x106750): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329417:(.text+0x10675c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x106800): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x106810): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_8getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329452:(.text+0x10682a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196418:(.text+0x10687a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1068ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1069aa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1069ec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x106a40): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196455:(.text+0x106a56): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_134distributionGetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319343:(.text+0x106ac0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x106b30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_135distributionGetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319314:(.text+0x106b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x106b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x106b5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_135distributionGetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319308:(.text+0x106ba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445718:(.text+0x106c0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x106c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x106c24): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319314:(.text+0x106c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_37getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249039:(.text+0x106ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249039:(.text+0x106cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249039:(.text+0x106cba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_36getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249071:(.text+0x106ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x106cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x106cfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x106d28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12276:(.text+0x106d38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x106d52): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_37getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249045:(.text+0x106dc0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_36getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249107:(.text+0x106e14): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249107:(.text+0x106e1e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_37getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249050:(.text+0x106e30): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x106e60): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x106e6e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_37getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249051:(.text+0x106eb2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115299:(.text+0x106ece): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x106ef2): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x106f5c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x106fd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115367:(.text+0x10704a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445718:(.text+0x10705c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x107068): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x107096): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1070aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115311:(.text+0x1070d4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115311:(.text+0x1070e6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_113getFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204157:(.text+0x1070fa): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204161:(.text+0x107120): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_112getFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204189:(.text+0x107130): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12244:(.text+0x10715a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x10716c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10719a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1071fc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x107242): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1072e2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_113getFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204169:(.text+0x1072fc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_76getFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96806:(.text+0x10736a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x107396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x1073b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1073f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x107404): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x107410): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_77getFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96761:(.text+0x10745a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197793:(.text+0x107550): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x107560): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197797:(.text+0x107574): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_16getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197844:(.text+0x107590): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1075ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1076f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1076fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197805:(.text+0x107764): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_99getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165001:(.text+0x107770): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165001:(.text+0x10777c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x107790): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10780c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10786a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x107876): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1078bc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10791c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_99getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165013:(.text+0x107976): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1079bc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1079e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x1079f0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x107a02): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298701:(.text+0x107ba6): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x107c3c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x107cd0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x107d20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_14getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284123:(.text+0x107d2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284140:(.text+0x107d36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_15getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284083:(.text+0x107d4e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x107d66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x107d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x107e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_15getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228783:(.text+0x107e16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_14getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228820:(.text+0x107e22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/bytesobject.h:37: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_14getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228832:(.text+0x107e9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228830:(.text+0x107eca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x107ed8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_15getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228785:(.text+0x107f04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228785:(.text+0x107f10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_14getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228847:(.text+0x107f68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_93getHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202557:(.text+0x10803e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x108098): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1080fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_93getHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202559:(.text+0x108130): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445718:(.text+0x1081a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10825a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x10829c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1082f4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_85getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128158:(.text+0x10830a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128152:(.text+0x10837a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_84getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128197:(.text+0x1083ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1083e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1083ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_84getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128187:(.text+0x10843a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128158:(.text+0x108454): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_25getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93921:(.text+0x108460): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93921:(.text+0x10846c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93921:(.text+0x10847c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:142: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x108574): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_25getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93927:(.text+0x108586): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93927:(.text+0x108596): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93926:(.text+0x1085a6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1086a8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_36getClassName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87710:(.text+0x1086cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1086d6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x1086e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x108790): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_37getClassName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87674:(.text+0x1087a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87675:(.text+0x1087c2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1087dc): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_36getClassName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87720:(.text+0x1087f2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87737:(.text+0x10880c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x108822): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10883a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x108850): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10886a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_36getClassName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87710:(.text+0x108884): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87681:(.text+0x10889e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_17getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86618:(.text+0x1088b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1088ce): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_17getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86622:(.text+0x1088e4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_16getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86669:(.text+0x108902): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x10890e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x108920): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_17getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86630:(.text+0x108980): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86624:(.text+0x1089d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86624:(.text+0x1089f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x108a04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_16getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86686:(.text+0x108a30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_17getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86629:(.text+0x108a3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86630:(.text+0x108aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86630:(.text+0x108ad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_31getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87369:(.text+0x108adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87369:(.text+0x108ae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x108b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_31getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87381:(.text+0x108ce4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12201:(.text+0x108d56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_21getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86837:(.text+0x108e40): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_20getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86899:(.text+0x108e82): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x108ee2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x108ef8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x108f5e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x108f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x108fd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x108fe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x108ffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroEntries_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372339:(.text+0x109016): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10905c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x109106): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x109112): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10911e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x10912a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698:(.text+0x109138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10915c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10929c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroEntries_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372324:(.text+0x1092be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatConjugate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377544:(.text+0x1092c8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1092da): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10932a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10939c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x109486): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1094c8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x109528): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatConjugate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377607:(.text+0x10953e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377620:(.text+0x1095a4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377652:(.text+0x1095d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x10961c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x109628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x109642): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatConjugate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377596:(.text+0x10965c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377417: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1096a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatImagPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377484:(.text+0x10974c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377484:(.text+0x109758): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x109764): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x109770): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10977e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377493: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1097a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatImagPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377480:(.text+0x1098e2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377525:(.text+0x109904): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377525:(.text+0x10990e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377525:(.text+0x109920): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377525:(.text+0x10998c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377469:(.text+0x109a02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x109a86): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x109b04): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x109b46): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x109bcc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x109be2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x109c54): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatRealPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377398:(.text+0x109c90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x109caa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x109cea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x109cf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x109d10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377398: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatRealPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377353:(.text+0x109d78): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x109e5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x109e70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14698:(.text+0x109e80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x109e90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x109ea4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1526: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_180getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170633:(.text+0x109ed2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x10a00e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10a058): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13667:(.text+0x10a078): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13667:(.text+0x10a082): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x10a094): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14832:(.text+0x10a23a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10a278): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10a284): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10a290): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_180getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170718:(.text+0x10a29c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170764:(.text+0x10a30a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170773:(.text+0x10a320): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170737:(.text+0x10a33c): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170598:(.text+0x10a3b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10a3e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10a3ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10a3fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13684:(.text+0x10a46a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15006:(.text+0x10a4a4): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15006:(.text+0x10a4b2): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10a522): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10a54e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_180getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170811:(.text+0x10a62a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscLogStageFindName': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:111:(.text+0x10a65c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:113:(.text+0x10a674): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_13getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79682:(.text+0x10a6aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79682:(.text+0x10a6c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x10a7e8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscLogEventFindName': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:144:(.text+0x10a85c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10a910): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_13getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82450:(.text+0x10a952): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_12getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82512:(.text+0x10a9a6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10a9bc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82495:(.text+0x10aa1c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x10aa5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatHasOperation_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377724:(.text+0x10aa96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377724:(.text+0x10aa9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0x10aafa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10ab14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10ab2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x10ab4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatHasOperation_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377826:(.text+0x10ab5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377847: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10ac44): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10ac52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatHasOperation_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377725:(.text+0x10ac62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377725:(.text+0x10ac6e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_87setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274195:(.text+0x10ad6e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274195:(.text+0x10ad92): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274209:(.text+0x10ad9c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10adae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10adde): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10adec): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_86setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274341:(.text+0x10ae30): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10ae4c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_86setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274353:(.text+0x10ae70): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10aee2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x10af56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10b00a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10b04c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10b0a0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10b0b6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_87setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274240:(.text+0x10b116): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274245:(.text+0x10b158): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274260:(.text+0x10b190): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274234:(.text+0x10b198): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10b1f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10b20e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10b228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_5getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81080:(.text+0x10b248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10b254): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81084: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10b33e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10b34c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10b35c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_5getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81086:(.text+0x10b368): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10b468): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_132getOwnershipRangesColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166807:(.text+0x10b48c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166825:(.text+0x10b496): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166825:(.text+0x10b4a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x10b4d8): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13839:(.text+0x10b4e6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_133getOwnershipRangesColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166776:(.text+0x10b52a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_132getOwnershipRangesColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166853:(.text+0x10b546): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10b56a): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_132getOwnershipRangesColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166853:(.text+0x10b5dc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166843:(.text+0x10b650): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x10b704): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_129getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166548:(.text+0x10b746): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10b79a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_129getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166542:(.text+0x10b7b0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_128getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166642:(.text+0x10b810): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166597:(.text+0x10b852): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_129getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166548:(.text+0x10b88a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_109getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129285:(.text+0x10b892): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_108getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129337:(.text+0x10b8ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129355:(.text+0x10b908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x10b922): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x10b942): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x10b94e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_108getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129391:(.text+0x10ba38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10ba46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_108getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129328:(.text+0x10ba56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10ba62): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x10bb62): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57627:(.text+0x10bb86): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57627:(.text+0x10bb90): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x10bba2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x10bbd2): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x10bbe0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57621:(.text+0x10bc24): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57627:(.text+0x10bc40): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10bc64): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57585:(.text+0x10bcb0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10bd46): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57556:(.text+0x10bd64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57589:(.text+0x10bd72): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10bd84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10bda8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10bdb6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10bdc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10bdfc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_23getBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302366:(.text+0x10be3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10be4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_22getBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302437:(.text+0x10be72): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302437:(.text+0x10be84): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302447:(.text+0x10bea8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10beee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_23getBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302377:(.text+0x10bf1c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10bf48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302437:(.text+0x10bfb0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_15getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301777:(.text+0x10bfc8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x10bfd8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_15getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301781:(.text+0x10bfee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_14getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301821:(.text+0x10c022): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301858:(.text+0x10c038): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_15getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301789:(.text+0x10c05c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_14getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301858:(.text+0x10c084): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_15getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301788:(.text+0x10c0a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10c0c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10c0ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10c0e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x10c11e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301848:(.text+0x10c13c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_19getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302109:(.text+0x10c15c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302113:(.text+0x10c17a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_18getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302190:(.text+0x10c1c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302190:(.text+0x10c1e0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_19getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302115:(.text+0x10c28e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61090:(.text+0x10c2d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x10c3c4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61221:(.text+0x10c3fa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10c4b6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61130:(.text+0x10c4f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10c534): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61181:(.text+0x10c53c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x10c628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/object.h:601:(.text+0x10c642): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_43getIsLastRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333299:(.text+0x10c658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333299:(.text+0x10c664): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_33getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332749:(.text+0x10c804): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332755:(.text+0x10c822): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_32getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332796:(.text+0x10c82a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61111:(.text+0x10c874): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_28getLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332611:(.text+0x10ca0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61113:(.text+0x10ca3a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10ca92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_40getIsFirstRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333253:(.text+0x10cb80): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x10cb96): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10cc36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_41getIsFirstRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333195:(.text+0x10cc4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333195:(.text+0x10cc56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x10cc7e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_40getIsFirstRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333244:(.text+0x10cc90): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_30getGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332694:(.text+0x10cd04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332684:(.text+0x10cd10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332713:(.text+0x10cd58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_31getGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332659:(.text+0x10cd6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10cdd8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_31getGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332653:(.text+0x10cdee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_30getGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332694:(.text+0x10ce2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_99setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254489:(.text+0x10ce7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254500:(.text+0x10ce98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10ceb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10cec0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10ced2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x10cf2e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x10cf66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14881:(.text+0x10cf92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10cfbc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10cfd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_98setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254578:(.text+0x10cfe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d04e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d060): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14919:(.text+0x10d06c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14919:(.text+0x10d07e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d102): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_98setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254605:(.text+0x10d140): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_99setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254516:(.text+0x10d170): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236392:(.text+0x10d26a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236394:(.text+0x10d276): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x10d2aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10d2b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236468:(.text+0x10d2da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10d2ec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13597:(.text+0x10d312): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x10d354): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x10d36a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14730:(.text+0x10d38c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10d39a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x10d3b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyArray_FLAGS': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1574:(.text+0x10d3ee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyArray_DATA': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1526:(.text+0x10d428): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10d44c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x10d458): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10d46a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10d480): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10d4c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10d4e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236401:(.text+0x10d504): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236350:(.text+0x10d5ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236496:(.text+0x10d632): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236518:(.text+0x10d664): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13564:(.text+0x10d700): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236533:(.text+0x10d708): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x10d72c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10d7b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x10d7da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236584:(.text+0x10d7e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10d80e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d820): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14832:(.text+0x10d83e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14832:(.text+0x10d846): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236548:(.text+0x10d886): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d8b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d8bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10d8c8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236482:(.text+0x10d8de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236367:(.text+0x10d912): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d91c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d92e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236362:(.text+0x10d994): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236373:(.text+0x10d9d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10d9fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14867:(.text+0x10da08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14867:(.text+0x10da1a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236401:(.text+0x10da26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x10da5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394577:(.text+0x10da74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x10da8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393229:(.text+0x10dabe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x10dadc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366358:(.text+0x10db30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365778:(.text+0x10db3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x10dbfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x10dc26): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10dd5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10dd7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x10dda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394726:(.text+0x10ddb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394726:(.text+0x10ddba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394726:(.text+0x10ddc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394599:(.text+0x10ddda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10ddf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x10dea8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x10debe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10dee2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10def4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10df04): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10df30): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394637:(.text+0x10dfaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x10e034): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x10e048): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10e060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350432:(.text+0x10e0b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x10e258): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350403:(.text+0x10e264): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350406:(.text+0x10e292): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350495:(.text+0x10e2a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10e2e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350555:(.text+0x10e322): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350425:(.text+0x10e32e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10e356): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x10e368): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350456:(.text+0x10e394): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350470:(.text+0x10e3c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350410:(.text+0x10e3f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10e41a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350493:(.text+0x10e430): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350432:(.text+0x10e446): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_31computeDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116402:(.text+0x10e456): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x10e46c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_30computeDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116454:(.text+0x10e4a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x10e4cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x10e50a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10e536): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_31computeDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116408:(.text+0x10e588): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116408:(.text+0x10e5a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116407:(.text+0x10e5b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x10e5c4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x10e5d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_30computeDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116472:(.text+0x10e5dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116500:(.text+0x10e5ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116445:(.text+0x10e616): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x10e624): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x10e640): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_31computeDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116414:(.text+0x10e65e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10e6c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_59setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200059:(.text+0x10e6ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200033:(.text+0x10e7f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200053:(.text+0x10e820): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_58setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200201:(.text+0x10e89c): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_59setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200042:(.text+0x10e8d6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_58setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200130:(.text+0x10e8f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10e92c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_58setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200201:(.text+0x10e960): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200201:(.text+0x10e970): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10e9a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x10e9b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x10e9ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_59setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200046:(.text+0x10ea62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218413:(.text+0x10eb1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10eb46): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218535:(.text+0x10ebc2): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218444:(.text+0x10ebfc): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218444:(.text+0x10ec1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218472:(.text+0x10ec52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218416:(.text+0x10ec86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10ec96): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10eccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218435:(.text+0x10ecde): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218435:(.text+0x10ecf4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218560:(.text+0x10ed88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218399:(.text+0x10ee40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218470:(.text+0x10ee6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218383:(.text+0x10eee8): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218546:(.text+0x10ef22): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218406:(.text+0x10ef40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218393:(.text+0x10ef78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218388:(.text+0x10efac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218471:(.text+0x10efbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10eff2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10f004): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10f01a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235269:(.text+0x10f0ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10f166): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_100setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235402:(.text+0x10f192): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235390:(.text+0x10f20e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10f248): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10f266): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235291:(.text+0x10f29e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235227:(.text+0x10f2d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x10f2e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_100setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235349:(.text+0x10f318): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235349:(.text+0x10f32a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235416:(.text+0x10f340): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235234:(.text+0x10f3d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235266:(.text+0x10f468): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_100setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235348:(.text+0x10f4b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235402:(.text+0x10f4e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_118getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130060:(.text+0x10f798): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26399:(.text+0x10f7d2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x10f7e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x10f7ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10f7f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10f83e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10f84a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_118getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130060:(.text+0x10f884): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_119getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129966:(.text+0x10f896): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10f8cc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10f8d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10f8f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_119getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129972:(.text+0x10f904): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10f91c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x10f932): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26563:(.text+0x10f96a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_118getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130036:(.text+0x10f97c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26542:(.text+0x10f9a0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26507:(.text+0x10f9b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_119getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129977:(.text+0x10f9ec): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10f9f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x10fa10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_119getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129981:(.text+0x10fa34): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_183getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170833:(.text+0x10fa66): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170843:(.text+0x10fa74): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x10fa86): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10faa2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10faaa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10face): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_183getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170873:(.text+0x10faec): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170873:(.text+0x10faf6): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170918:(.text+0x10fb66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x10fb88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170954:(.text+0x10fba6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x10fbb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x10fbc4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10fbd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14151:(.text+0x10fbe4): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170966:(.text+0x10fbf2): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14151:(.text+0x10fc04): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10fc20): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170978:(.text+0x10fc28): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x10fc4e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x10fc6c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x10fc76): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x10fc92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x10fca2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x10fcb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170908:(.text+0x10fcf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x10fd16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x10fd58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x10fd7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x10fdc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x10fdd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x10fe46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171011:(.text+0x10ff3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171011:(.text+0x10ff86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_183getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170860:(.text+0x10ffb6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11026e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22563:(.text+0x1102a8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x1102ba): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1102c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0x1102ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191383:(.text+0x110314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x110320): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11035a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11036c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1103a2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1103ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191341:(.text+0x1103c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191407:(.text+0x1103da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1103f2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x110408): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_445getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191233:(.text+0x110440): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191351:(.text+0x110452): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x110476): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x110488): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191407:(.text+0x1104c2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191407:(.text+0x1104ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1104e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x11050a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_445getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191227:(.text+0x11053c): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191226:(.text+0x11054a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11055c): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x110578): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x110580): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191407:(.text+0x1105a4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191303:(.text+0x1105c2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191303:(.text+0x1105cc): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_445getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191221:(.text+0x11063c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x11065e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x11067c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191366:(.text+0x110688): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0x11069a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1106ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191341:(.text+0x1106ba): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191368:(.text+0x1106c8): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191362:(.text+0x1106da): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1106f6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191351:(.text+0x1106fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191383:(.text+0x110724): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_445getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191233:(.text+0x110742): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191233:(.text+0x11074c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387641:(.text+0x110768): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x110778): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x11078e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1107ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386106:(.text+0x1107ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x11082e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x110850): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11089e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387723:(.text+0x1108a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x11091c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422410:(.text+0x110a22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x110a86): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x110b66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x110b72): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x110ba0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x110bb2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x110bd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x110bee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x110c12): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x110c44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x110c72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x110ca0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0x110cb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387765:(.text+0x110d28): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_17getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98208:(.text+0x110d4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98208:(.text+0x110d56): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98212:(.text+0x110d72): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x110da2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_16getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98271:(.text+0x110db8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98271:(.text+0x110df0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98271:(.text+0x110e08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x110e2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_16getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98296:(.text+0x110e3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x110e54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x110e5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_17getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98220:(.text+0x110e6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98220:(.text+0x110e7c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98213:(.text+0x110edc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98214:(.text+0x110efa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_16getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98296:(.text+0x110f30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x110fce): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscSetPyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20658:(.text+0x111010): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111144): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscSetPyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20778:(.text+0x111182): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x111198): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscGetPyDict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20468:(.text+0x1111f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscSetPyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20811:(.text+0x11120e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6Object_set_attr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86338:(.text+0x111248): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86344:(.text+0x111250): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x111332): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372601:(.text+0x111376): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372618:(.text+0x111390): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x1113a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1113b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0x1113cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1114c6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x11150a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111512): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372749:(.text+0x111660): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x111680): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1116a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1116aa): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1116bc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1117bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372749:(.text+0x1117ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372768:(.text+0x111888): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372768:(.text+0x111894): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1118bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1118ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111916): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x111958): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_FromPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:15:(.text+0x111964): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372842:(.text+0x111992): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1119a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1119d8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1119ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1119fe): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x111a14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111a4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x111a74): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x111ab2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x111ade): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111b2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x111b4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x111b5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111b6c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0x111b78): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0x111b84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0x111b96): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x111bbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x111bca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x111be4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372872:(.text+0x111c02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x111c18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x111c4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x111c6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372807:(.text+0x111cb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451210:(.text+0x111e94): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x111f40): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377241:(.text+0x111f88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x112012): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x11201e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698:(.text+0x11202a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x112036): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1120aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1120d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377270:(.text+0x1120e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377215:(.text+0x112158): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1121a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1121c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1121da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1121e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x112276): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x11234c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381228:(.text+0x1123be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1124ba): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1124fc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381337:(.text+0x11255c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x112572): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366074:(.text+0x1125d2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x112616): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11264a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x112652): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1126ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381328:(.text+0x1126c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1126e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x11270e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x11271a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381328:(.text+0x112828): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381328:(.text+0x112836): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0x112842): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0x11284e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1129a0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370321:(.text+0x1129c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370326:(.text+0x1129cc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370327:(.text+0x1129de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370357:(.text+0x112a0e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x112a1c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x112a60): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x112a7c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x112aa2): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x112b1a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370357:(.text+0x112b8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x112c88): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x112cca): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370357:(.text+0x112d2a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x112d40): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x112da0): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x112de4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370290:(.text+0x112e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x112e20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370357:(.text+0x112e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x112e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x112eae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x112edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_23getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112262:(.text+0x112ee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112319: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x112ff6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x113004): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x113010): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11301c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11316e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_22getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112460:(.text+0x113190): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112460:(.text+0x11319a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1131ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_22getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112460:(.text+0x1131dc): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1131ea): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_22getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112389:(.text+0x11322e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112426:(.text+0x11324a): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112429:(.text+0x113270): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_23getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112270:(.text+0x1132e8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109226:(.text+0x11335a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_81getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109167:(.text+0x113456): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109162:(.text+0x113498): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109276:(.text+0x1134f8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0x11350e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109342:(.text+0x11356e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1135b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109236:(.text+0x1135e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1135ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109342:(.text+0x113648): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109279:(.text+0x113662): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109308:(.text+0x11367c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1136aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109342:(.text+0x1136b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109342: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13962:(.text+0x1137c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x1137d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1137de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1137ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_117getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236611:(.text+0x11393c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236610:(.text+0x11395e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0x113968): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0x11397a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_117getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236605:(.text+0x1139aa): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x1139b8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1139fc): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x113a18): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_116getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236725:(.text+0x113a3e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x113aaa): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x113b20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6Object_get_attr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86288:(.text+0x113c1c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x113c5e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x113cbe): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x113cd4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_49createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285935:(.text+0x113d34): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x113d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_49createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285975:(.text+0x113dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285984:(.text+0x113db4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x113e24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x113e3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x113e58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x113e7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_49createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285955:(.text+0x113f44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285955: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x113f72): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_48createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286095:(.text+0x113fd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286095:(.text+0x113fe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286095:(.text+0x113fee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x113ffa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x114006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285955: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_49createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285958:(.text+0x11402c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11417e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_49createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285984:(.text+0x1141a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285984:(.text+0x1141aa): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1141bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyBegin_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371964:(.text+0x1142d2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x114348): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x114444): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x114486): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyBegin_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371930:(.text+0x1144e6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1144fc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11455c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1145a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyBegin_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372045:(.text+0x1145d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371956:(.text+0x1145dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11464c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x114666): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x114680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_31getCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310865:(.text+0x1146a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x11476c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310951: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_30getCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310961:(.text+0x11479a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1147fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13861:(.text+0x11480a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x114816): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x114822): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x11482e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310931: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x114854): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_30getCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310973:(.text+0x1149a6): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311039:(.text+0x1149c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x1149d2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x1149e4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x114af2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x114b60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x114c92): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x114cd4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x114d32): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x114d48): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_53getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312894:(.text+0x114db2): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312883:(.text+0x114e22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_52getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312968:(.text+0x114e38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312976:(.text+0x114e40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312978:(.text+0x114e5c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x114fa0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_39getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311720:(.text+0x115068): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x11512e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x115136): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_39getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311700:(.text+0x1152a6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_38getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311796:(.text+0x1152e8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x11534a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x115366): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_39getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311707:(.text+0x1153d8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_38getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311756:(.text+0x115420): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1154e4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1155a4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x11564e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x115666): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376510:(.text+0x1156c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376510:(.text+0x1156d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1156dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x1156ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376421:(.text+0x1156fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1157f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x115888): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x115890): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376501:(.text+0x11589c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x115904): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x115918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376501:(.text+0x11592e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376501:(.text+0x115944): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376468:(.text+0x1159bc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1159d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384276:(.text+0x1159f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x115a54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384315:(.text+0x115a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384315:(.text+0x115a6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x115a72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384389:(.text+0x115b82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x115b8e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x115bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384451:(.text+0x115c48): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x115c68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382705:(.text+0x115c72): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x115c82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422331:(.text+0x115cb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366145:(.text+0x115cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x115cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x115ce2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x115d08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x115d16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x115d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384442:(.text+0x115d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384442:(.text+0x115d82): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384389:(.text+0x115dd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x115de8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x115df2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x115e04): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x115e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384442:(.text+0x115e26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384442:(.text+0x115e34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384327:(.text+0x115e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x115e50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x115f74): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390839:(.text+0x115fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x115fd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x115fea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365778:(.text+0x1160c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1160e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390921:(.text+0x116108): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390924:(.text+0x116126): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x116138): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390952:(.text+0x11614a): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390952:(.text+0x116156): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x116162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1161c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1162f4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x116304): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x116310): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x116322): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1163c8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x1163d6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391005:(.text+0x116410): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390890:(.text+0x11641e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x116430): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x116440): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x11644c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_34createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116762:(.text+0x116684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x116690): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x11669e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1166aa): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1166b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1166c2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11672e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_34createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116796:(.text+0x116760): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x116784): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116702:(.text+0x1167c4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1167e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x116810): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11682e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_34createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116833:(.text+0x11685e): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x116876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x116882): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1168a2): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1168be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1168c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1168e8): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116710:(.text+0x11691c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x116958): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x116966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1169a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x1169b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116714: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_33createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116549:(.text+0x116b72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116560:(.text+0x116bbc): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x116c6a): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x116c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x116c8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x116c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x116cbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x116cca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x116d8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x116dc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x116df8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_33createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116543:(.text+0x116ebc): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x116f26): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_32createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116617:(.text+0x116f64): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x117068): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x117080): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116597:(.text+0x117098): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x11719e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1171c8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x117254): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x117264): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x11726c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x117278): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x11728a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1172a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x117300): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370600:(.text+0x117316): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x117328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11733e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11734e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698:(.text+0x117360): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x117384): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11739a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1173a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370543:(.text+0x1173bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1173d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1173e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1173f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11741a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370591:(.text+0x117430): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x117454): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370543:(.text+0x117470): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x117482): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:538:(.text+0x1174b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1174d2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1174de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1174f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1174fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x117506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x117522): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x117542): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370503:(.text+0x11755c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370503:(.text+0x117568): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x117582): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1175b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1175be): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1175ce): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370472:(.text+0x1175d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1175e2): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370490:(.text+0x11761c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetOption_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371363:(.text+0x117636): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x11764e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x117668): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x11768c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetOption_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371403:(.text+0x1176ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1176c6): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1176d8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1176e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1176ea): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11772a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1177ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1177ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11787c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x117970): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1179f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1179fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x117a08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x117a14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x117aac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x117abc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x117acc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x117af8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376561:(.text+0x117b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376590:(.text+0x117bc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x117bdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x117be8): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x117c20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x117c80): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x117c8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376644:(.text+0x117c9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376644:(.text+0x117ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x117d26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x117d48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0x117db4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x117df0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x117e20): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x117ebc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x117ed2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x117ef2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x117f34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x117f74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x117f98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x118134): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x118146): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x118182): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x1181da): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x1181f0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308587:(.text+0x118226): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x118236): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_6createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308732:(.text+0x118296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11831c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_6createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308759:(.text+0x118390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308759:(.text+0x11839c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308759:(.text+0x1183a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308730:(.text+0x1183b6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308836:(.text+0x1183da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1183e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308627:(.text+0x1183fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x118416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x118422): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x118432): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308555:(.text+0x11845e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x11846c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308610:(.text+0x1184c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308610:(.text+0x1184ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1184da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1184e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_6createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308757:(.text+0x1184f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x11855a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_6createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308680:(.text+0x118578): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x118586): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308547:(.text+0x1185da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308552:(.text+0x118622): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308578:(.text+0x118674): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308579:(.text+0x11867e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308583:(.text+0x118690): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1186fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x118780): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_6createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308705:(.text+0x11883e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_22getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332082:(.text+0x118910): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x118952): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1189ac): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1189c2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x118a32): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x118a66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61632:(.text+0x118a6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x118aac): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61630:(.text+0x118c60): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x118d22): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x118de6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_151setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257169:(.text+0x118e66): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x118ff0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_150setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257371:(.text+0x11903a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257401:(.text+0x1190b4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257427:(.text+0x1190cc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x11913c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_151setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257189:(.text+0x119192): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257198:(.text+0x11924e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391298:(.text+0x11930e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366275:(.text+0x1193bc): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0x1193cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1193ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1193fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11940a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x119418): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x119426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391374:(.text+0x11944e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391407:(.text+0x119482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1194b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x119514): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x119520): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x11952c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391461:(.text+0x119554): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x119588): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x119594): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391407:(.text+0x119604): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x119612): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391338:(.text+0x119710): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x119760): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x11976a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391365:(.text+0x11977c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1197b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1197be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1197cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1197da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1197e6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_153getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257446:(.text+0x1198cc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257520:(.text+0x119910): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257540:(.text+0x119946): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x11999c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1199b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1199ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1199da): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257644:(.text+0x1199e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x119a0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x119a1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x119a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_153getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257458:(.text+0x119a3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x119ae8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x119b4e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667:(.text+0x119b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x119bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x119bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_153getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257452:(.text+0x119c18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667:(.text+0x119c26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667:(.text+0x119cb2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_39distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117064:(.text+0x119d86): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117104:(.text+0x119db0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x119dd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_39distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117119:(.text+0x119dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117105:(.text+0x119e12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x119e22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117124: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_38distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117274:(.text+0x119f44): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_39distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117134:(.text+0x119fb4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x11a1ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x11a1da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x11a248): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113378:(.text+0x11a334): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113378:(.text+0x11a346): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113418:(.text+0x11a360): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11a43e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14794:(.text+0x11a4e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11a532): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11a53e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113442:(.text+0x11a54c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113442:(.text+0x11a558): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11a5a4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x11a5e4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11a610): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11a63e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113405:(.text+0x11a690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x11a6d2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14832:(.text+0x11a762): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_32applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113532:(.text+0x11a784): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113397:(.text+0x11a7c8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113427:(.text+0x11a7e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x11a7f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x11a806): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11a820): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x11a832): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113415:(.text+0x11a94a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113442:(.text+0x11a952): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_31apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113178:(.text+0x11a99e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113205:(.text+0x11a9aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x11a9d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x11a9ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_31apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113220:(.text+0x11aa0c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11aa9a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11aabe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11aac8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x11aad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x11aae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14698:(.text+0x11ab08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11ab26): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14794:(.text+0x11ab32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11ab46): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11ab50): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_30apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113317:(.text+0x11ab5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113332:(.text+0x11ab70): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11abea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x11ac02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x11ac1c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_31apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113192:(.text+0x11ace4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113213:(.text+0x11acf8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x11ad04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x11ad10): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x11ad24): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_30apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113276:(.text+0x11ad44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x11ad72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_30apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113318:(.text+0x11adbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113319:(.text+0x11adce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x11ae4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11ae6e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11aeae): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_31apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113189:(.text+0x11aeda): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113197:(.text+0x11af08): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113202:(.text+0x11af5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113202:(.text+0x11af9c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x11b02c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0x11b04e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x11b092): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x11b0ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11b0be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x11b0d0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11b0ea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382269:(.text+0x11b0fc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382359:(.text+0x11b214): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382359:(.text+0x11b21c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x11b268): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x11b274): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11b2a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11b2b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382302:(.text+0x11b2d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11b364): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382302:(.text+0x11b388): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x11b392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x11b39a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11b3ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382247:(.text+0x11b3d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11b3f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x11b3fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11b410): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11b41a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x11b426): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x11b43a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11b4b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x11b4cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x11b4e6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x11b5ae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379470:(.text+0x11b5c2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11b5ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381767:(.text+0x11b5da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381767:(.text+0x11b5ee): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366074:(.text+0x11b60e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11b63c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x11b688): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11b698): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x11b716): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x11b754): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381879:(.text+0x11b7da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x11b82a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11b8ec): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x11b94a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x11b952): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11b960): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x11bb42): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x11bc08): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x11bcbc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11bd20): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11bec8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11bf16): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x11bf9a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplyTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381940:(.text+0x11bfb8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x11c02e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x11c0e0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11c19e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382142:(.text+0x11c25c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382199:(.text+0x11c32e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382199:(.text+0x11c33e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11c3ce): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11c41a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11c488): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11c496): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382142:(.text+0x11c4a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x11c4b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11c520): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x11c55a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x11c566): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382156:(.text+0x11c5f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x11c628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382085:(.text+0x11c63a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x11c81c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_171setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259102:(.text+0x11c83a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259102:(.text+0x11c84a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_170setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259276:(.text+0x11c8ca): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11c92a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11c960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_170setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259165:(.text+0x11c982): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259224:(.text+0x11c9e0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_171setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259068:(.text+0x11c9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259068:(.text+0x11ca04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259095:(.text+0x11ca12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_170setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259239:(.text+0x11ca2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259240:(.text+0x11ca46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259068: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x11cada): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_171setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259083:(.text+0x11cb4a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x11cb8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x11cb9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDiagonalScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376729:(.text+0x11cbde): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376766:(.text+0x11cc54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x11cc78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11cca0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11ccce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x11ccee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11cd36): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x11cd64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x11cdc4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x11cdf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11cec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11cf52): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x11d054): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11d08a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11d096): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDiagonalScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376782:(.text+0x11d0d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x11d0e6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x11d100): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x11d398): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11d3a4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x11d3da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x11d3e6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11d596): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x11d60a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11d654): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11d66a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x11d6ac): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x11d6f6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x11d70c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x11d778): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x11d7a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374959:(.text+0x11d7dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x11d7e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11d87c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11d888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x11d894): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x11d8a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11d8c4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x11d938): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x11d944): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x11d94e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x11d95c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x11d968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11d9fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11da04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11da0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x11da52): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11da7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375028:(.text+0x11da9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11dab6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11dafa): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375076:(.text+0x11db0c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11db8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11dc54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11dc66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x11dc82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375042:(.text+0x11dc9c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x11dcae): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x11dcc0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374957:(.text+0x11dcda): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x11dcea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374975:(.text+0x11dd1e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11de24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375172:(.text+0x11dea0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375174:(.text+0x11deac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11deb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x11def6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375204:(.text+0x11e064): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11e090): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x11e13a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11e146): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375135:(.text+0x11e16a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11e180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11e20a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375164:(.text+0x11e220): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x11e290): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x11e2d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370610:(.text+0x11e30a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11e46c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11e478): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x11e4a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11e4b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370848:(.text+0x11e4fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x11e540): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370673:(.text+0x11e556): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370712:(.text+0x11e586): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11e59c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11e5a8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11e5be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370838:(.text+0x11e5f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370838:(.text+0x11e600): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370838:(.text+0x11e626): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11e64e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11e658): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x11e66c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x11e678): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370790:(.text+0x11e69e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11e6ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11e6c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11e6d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x11e77a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370719:(.text+0x11e78a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0x11e79a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370732:(.text+0x11e7d8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370743:(.text+0x11e7ec): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x11e828): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11e832): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370656:(.text+0x11e844): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x11e864): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x11e890): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370723:(.text+0x11e8a6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x11e8fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x11e91e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389171:(.text+0x11e92a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x11e940): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0x11e998): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11e9b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11e9fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391555:(.text+0x11ea10): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391585:(.text+0x11ea30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391585:(.text+0x11ea3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x11ea48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x11ea86): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x11ea90): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x11eaa2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11eab8): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x11eac6): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x11eb10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11eb2c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391707:(.text+0x11eb4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11eb6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11eb7e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11ec40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x11ed1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11ed68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x11edde): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x11ee34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391547:(.text+0x11ee40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x11ee4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391599:(.text+0x11ee58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391599:(.text+0x11ee62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391599:(.text+0x11ef16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391624:(.text+0x11ef2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/object.h:601:(.text+0x11ef3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391585:(.text+0x11ef4c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384461:(.text+0x11ef7c): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384511:(.text+0x11efee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x11effa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11f006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384526:(.text+0x11f012): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x11f072): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365602:(.text+0x11f07e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11f090): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384584:(.text+0x11f0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11f148): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384611:(.text+0x11f176): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x11f192): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11f19e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384668:(.text+0x11f1aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384671:(.text+0x11f1b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x11f254): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11f29e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x11f2f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x11f31c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11f3b8): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11f3e0): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x11f420): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x11f432): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x11f49e): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11f4b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x11f4d6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x11f4f0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370066:(.text+0x11f51c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x11f568): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370105:(.text+0x11f582): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0x11f5a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370117:(.text+0x11f5b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x11f5e4): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x11f5fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x11f606): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x11f612): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370150:(.text+0x11f674): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x11f6d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370213:(.text+0x11f754): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370241:(.text+0x11f786): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698:(.text+0x11f798): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x11f7ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x11f7d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x11f7dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11f81e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x11f8c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x11f91a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x11f926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11f9c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375271:(.text+0x11faf8): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375335:(.text+0x11fba4): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x11fbec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375438:(.text+0x11fc76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x11fc82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x11fc8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x11fd04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x11fd0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x11fd3a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x11fd48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x11fdbc): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11fe0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375335:(.text+0x11fe22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375362:(.text+0x11fe36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375374:(.text+0x11fe4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375519:(.text+0x11febe): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x11ff7e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x11fffa): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12000e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12002c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x120048): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12005e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12007a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x120090): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375485:(.text+0x1200ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1200c6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375318:(.text+0x1200e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1200f8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x120114): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375381:(.text+0x12012a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376110:(.text+0x12022a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x120256): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376172:(.text+0x1202ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12031e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x12034e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376192:(.text+0x120378): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1203a8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1203be): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12047c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1204b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1204c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1204d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x1204da): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x120578): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x120584): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x120590): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12059c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1205a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:36: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376343:(.text+0x12067e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376155:(.text+0x1206de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x120726): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376125:(.text+0x12075e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376157:(.text+0x12076a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1207e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1208f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376188:(.text+0x1209d2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376190:(.text+0x120a0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376126:(.text+0x120a16): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376128:(.text+0x120a28): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376111:(.text+0x120b02): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376202:(.text+0x120b7e): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376202:(.text+0x120b90): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376204:(.text+0x120bae): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376266:(.text+0x120bca): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x120be0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376266:(.text+0x120bfc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376206:(.text+0x120c12): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376208:(.text+0x120c2e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376210:(.text+0x120c48): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376128:(.text+0x120c64): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376214:(.text+0x120c7a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376128:(.text+0x120c96): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376216:(.text+0x120cac): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191056:(.text+0x120ddc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x120e08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13777:(.text+0x120e62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22563:(.text+0x120ee0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x120f18): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191135:(.text+0x120f48): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22563:(.text+0x120f7c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x120f9a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12100c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x121018): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x121024): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191142:(.text+0x12102e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_443getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191024:(.text+0x121118): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x121150): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x12115c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191136:(.text+0x121168): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191136:(.text+0x121174): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x121180): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191198: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191094:(.text+0x1212a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x121302): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x121354): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191132:(.text+0x12138c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191153:(.text+0x1213ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191024:(.text+0x121422): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12152a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12160a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x121656): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x121664): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildResidual_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384817:(.text+0x121676): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x121790): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1217b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x121832): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1218fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1219c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildResidual_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384802:(.text+0x121a0a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x121a22): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241085:(.text+0x121aa2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241095:(.text+0x121ade): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x121c5a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x121c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x121c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x121c7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241189:(.text+0x121cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241189:(.text+0x121cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241019: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_193getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241013:(.text+0x121db8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241121:(.text+0x121e8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x121e9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x121ec2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241133:(.text+0x121ef2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241145:(.text+0x121f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x121f74): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x121f92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x121fc0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x121fde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x121fea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x122000): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x122074): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x122146): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12215a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12217e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x1221ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1221f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x122230): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12224e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x12227c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12229a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1222a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1222bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x122330): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x122402): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x122416): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x12243a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381519:(.text+0x12246a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1224b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1224ec): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381458:(.text+0x12250a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x122538): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x122556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x122562): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381357:(.text+0x122578): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381386:(.text+0x1225ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381538:(.text+0x1226be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1226d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x1226f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x122726): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366074:(.text+0x12276e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366145:(.text+0x1227a8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1227c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1227f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x122812): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12281e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x122834): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1228a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12297a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379505:(.text+0x12298e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1229b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1229e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x122a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381579:(.text+0x122a64): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x122a82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x122ab0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x122ace): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381710:(.text+0x122ada): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x122af0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x122b66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381603:(.text+0x122bae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x122bde): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x122c50): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x122c6c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x122c74): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381609:(.text+0x122c96): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x122ca6): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381666:(.text+0x122cec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372399:(.text+0x122d0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372399:(.text+0x122d1a): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x122f60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x122f7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x122f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x122fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x122fec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372591:(.text+0x12303c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372591:(.text+0x12304e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x12309e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1230ba): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1230c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1230de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1230ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1230f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12312a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12313c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x123196): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1231b6): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1231c8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1231d8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1231e4): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12322e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x123276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12329e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372526:(.text+0x1232b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x1232c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372468:(.text+0x1232de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.11/object.h:601:(.text+0x123324): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x123378): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372484:(.text+0x123390): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1233a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372457:(.text+0x1233cc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372457:(.text+0x1233d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1233f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x123402): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39275:(.text+0x1234aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x12351c): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x123528): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14612:(.text+0x123556): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39375:(.text+0x12357e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1235b8): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39486:(.text+0x1235d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39486:(.text+0x1235dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39486:(.text+0x1235ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1235fe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39322:(.text+0x123642): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x123664): undefined reference to `PyList_Insert' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14650:(.text+0x1236b4): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39363:(.text+0x1236d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39479:(.text+0x1236ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39387:(.text+0x123716): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x123746): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x123794): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1237b4): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1237d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1237e0): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x123810): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x123830): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12384c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x12387c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39387:(.text+0x1238a2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39387:(.text+0x1238b4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39387:(.text+0x1238c4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154413:(.text+0x1238e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x123934): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154451:(.text+0x123952): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154453:(.text+0x12395c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154453:(.text+0x123968): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154462:(.text+0x123976): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154462:(.text+0x123982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154462: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154433:(.text+0x123a54): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_60getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154485:(.text+0x123a82): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154549:(.text+0x123a9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154433:(.text+0x123aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154433:(.text+0x123ab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154436:(.text+0x123ac0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154436:(.text+0x123adc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154440:(.text+0x123b78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x123b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154462:(.text+0x123baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382369:(.text+0x123bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x123c1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382579:(.text+0x123d72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x123db2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x123de2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x123e94): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x123eec): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382541:(.text+0x123f60): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x123f86): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x123f90): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382418:(.text+0x123f9e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x124000): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12403e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12404a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x124072): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x124084): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1240ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x1240c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x124104): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x124112): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x124180): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446559:(.text+0x12423a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382492:(.text+0x124250): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382505:(.text+0x124280): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382483:(.text+0x124296): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382636:(.text+0x1242b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382579:(.text+0x1242c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373750:(.text+0x1242dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373762:(.text+0x124300): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373777:(.text+0x12430c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x124340): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373799:(.text+0x12435e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373799:(.text+0x124378): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373814:(.text+0x12438a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x124396): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x1243a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x1243bc): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1243d0): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x124434): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12444a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x124490): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12449e): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1244c0): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1244d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1244f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x124546): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373853:(.text+0x124600): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x12460a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x124614): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x12461e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x124628): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12463a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373922:(.text+0x124670): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373918:(.text+0x1247fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1248b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373974:(.text+0x1248bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373960:(.text+0x1248c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1248d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1248e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x124912): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373860:(.text+0x124920): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373886:(.text+0x124988): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373884:(.text+0x124996): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373473:(.text+0x1249e0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373473:(.text+0x1249f4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x124a34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x124b1c): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x124b3a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x124b90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373683:(.text+0x124b9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373683:(.text+0x124ba4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373740:(.text+0x124c84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x124d3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x124d46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x124d4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x124d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x124d70): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x124d9c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x124daa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x124e12): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x124e20): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x124e6a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x124e7e): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373683:(.text+0x124ebe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x124fa6): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373645:(.text+0x124fc4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12501a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x125024): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x12502e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373740:(.text+0x1250dc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318284:(.text+0x12516a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318347:(.text+0x1251f2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x125208): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13083:(.text+0x12522e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318376:(.text+0x125246): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x12526a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1252a2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318337:(.text+0x1252bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1252ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1252f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x125318): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x125330): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x125376): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318301:(.text+0x125392): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1253f2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x125450): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x12546c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x125476): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318250:(.text+0x125480): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318269:(.text+0x1254ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318295:(.text+0x1254b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1254d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1254e4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318296:(.text+0x12552e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x125568): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318376:(.text+0x125574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318403:(.text+0x125580): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318403:(.text+0x12558c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318260:(.text+0x125598): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318264:(.text+0x1255ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318260:(.text+0x1255da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318276:(.text+0x1255f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318281:(.text+0x125628): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318271:(.text+0x12564c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x125676): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x125680): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x125692): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318347:(.text+0x1256a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318357:(.text+0x1256b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1256bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1256d0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391720:(.text+0x1256de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391720:(.text+0x1256f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391720:(.text+0x1256fe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391740:(.text+0x125712): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389168:(.text+0x12571c): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12572a): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391768:(.text+0x125756): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x125760): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x125774): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x12577e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x1257f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x125830): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x125860): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x125938): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391907:(.text+0x125a44): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x125a56): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x125a5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x125a94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x125abe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x125adc): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x125aea): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391934:(.text+0x125b54): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x125b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x125b98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x125be0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391934:(.text+0x125bf4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x125c14): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x125c22): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x125c38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391934:(.text+0x125c68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x125c7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391820:(.text+0x125cb6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x125cde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x125d1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391777:(.text+0x125d2a): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x125d7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x125d90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391783:(.text+0x125daa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391834:(.text+0x125dec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x125df8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391834:(.text+0x125e0a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391944:(.text+0x125e40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_437getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190439:(.text+0x125e60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190503:(.text+0x125f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190544:(.text+0x125f60): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190592:(.text+0x125f8c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190556:(.text+0x125ff2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x126028): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x12606c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x126082): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190653:(.text+0x126184): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_437getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190463:(.text+0x126212): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x12629a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190544:(.text+0x1262b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x1262d6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x1262ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x126312): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_437getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190463:(.text+0x12634a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190475:(.text+0x126364): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x126376): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x12639a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1263c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1263d8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190614:(.text+0x12641e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190544:(.text+0x12643a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12649a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1264f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x126514): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190570:(.text+0x12651e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x126528): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190604:(.text+0x126554): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x126560): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190604:(.text+0x12657a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x12658c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177811:(.text+0x1265d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x126610): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x12661c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x126628): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x126634): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177864:(.text+0x126640): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177866:(.text+0x126654): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177870:(.text+0x126682): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x126698): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1266d0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1266f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177880:(.text+0x12671e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177880:(.text+0x126728): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x12673a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_268getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177904:(.text+0x126748): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177925:(.text+0x126758): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177925:(.text+0x126764): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x126778): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x126786): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x12679c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1267a6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1267ba): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1267c4): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1267d2): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1267fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177827:(.text+0x126808): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177835:(.text+0x12681c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177838:(.text+0x126826): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1268bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177835:(.text+0x1268e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177830:(.text+0x126946): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_268getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177999:(.text+0x12697c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177844:(.text+0x1269c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_268getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177925:(.text+0x1269d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177880:(.text+0x126a94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178031:(.text+0x126ad4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x126b20): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178085:(.text+0x126b42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x126c02): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_270getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178147:(.text+0x126c0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178101:(.text+0x126c5a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178101:(.text+0x126c6c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x126cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x126cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x126cfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x126d34): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x126d4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_270getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178172:(.text+0x126d78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x126d98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178037:(.text+0x126dd2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178054:(.text+0x126dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178037:(.text+0x126e9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178042:(.text+0x126eb2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178091:(.text+0x126ed8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x126ef4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x126f00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x126f12): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_270getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178197:(.text+0x126f26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178047:(.text+0x126f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178050:(.text+0x126f6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178062:(.text+0x126fcc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_270getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178172:(.text+0x127010): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x12701c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x12707e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178101:(.text+0x127090): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1270a6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_123placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130235:(.text+0x127110): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130246:(.text+0x127156): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12715e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x127184): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1271ce): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_122placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130376:(.text+0x12720e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_123placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130211:(.text+0x12727a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x127290): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1272d8): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_123placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130224:(.text+0x12730a): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x127334): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1273ca): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1273dc): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x127406): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_122placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130350:(.text+0x12741c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x127446): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12746c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_122placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130350:(.text+0x127482): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14954:(.text+0x1275a4): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1275d6): undefined reference to `PyUnicode_Join' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14730:(.text+0x127602): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12761c): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_122placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130361:(.text+0x127636): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305526:(.text+0x127668): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305526:(.text+0x127678): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305539:(.text+0x127684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1276cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1276e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305580: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x127722): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x12772e): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x127748): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x127784): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x127790): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x12779a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1277a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_68setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305647:(.text+0x1277b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305657:(.text+0x1277be): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305607:(.text+0x1277f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305607:(.text+0x127800): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x12786c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x127878): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x127884): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x12788e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x127898): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1278aa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305598:(.text+0x1278c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1278fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305555:(.text+0x127908): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305579:(.text+0x127914): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x127920): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x12793a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x127960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305555:(.text+0x127994): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305590:(.text+0x1279a0): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1279ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1279da): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1279e6): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1279fe): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x127a18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_68setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305671:(.text+0x127a4a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305591:(.text+0x127a82): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305592:(.text+0x127a8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x127a98): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x127aaa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x127b12): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305570:(.text+0x127b36): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305572:(.text+0x127b54): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305591:(.text+0x127b96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305591:(.text+0x127ba4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x127bfa): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x127c02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x127c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x127c36): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x127c46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x127c52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x127c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x127c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151710:(.text+0x127c9a): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x127cb6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151721:(.text+0x127cce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151739:(.text+0x127cda): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x127cec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x127cfa): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x127d06): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151759:(.text+0x127d38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_20getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151781:(.text+0x127d64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151800:(.text+0x127d76): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x127d80): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x127d8c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x127da4): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x127dbe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151730:(.text+0x127e1a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151744:(.text+0x127e30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x127e40): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_20getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151827:(.text+0x127e7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151827:(.text+0x127e8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151730:(.text+0x127ea6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151733:(.text+0x127eb4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151733:(.text+0x127ec6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x127eda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x127ef4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_20getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151800:(.text+0x127f16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x127f3a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151759:(.text+0x127fba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304149:(.text+0x127fe6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304175:(.text+0x128152): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445718:(.text+0x12815e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x128186): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_48getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304220:(.text+0x128198): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304169:(.text+0x1281ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304172:(.text+0x1281f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12820e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x128218): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_48getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304249:(.text+0x12822e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x128280): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304176:(.text+0x1282a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1282be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1282d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x128332): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x128340): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_57getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304800:(.text+0x1283ac): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x128428): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12843c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12849e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1284aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_56getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304839:(.text+0x1284bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12852c): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x128544): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_56getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304868:(.text+0x12854e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304868:(.text+0x128558): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12859e): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_57getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304795:(.text+0x1285c6): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304795:(.text+0x1285d8): undefined reference to `PyFunction_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1285ea): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304817:(.text+0x128614): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_181getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294254:(.text+0x12864a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x128670): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_181getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294292:(.text+0x1286ca): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_180getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294333:(.text+0x1286f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294343:(.text+0x128702): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x12872e): undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x128742): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12875e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x128776): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_181getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294257:(.text+0x12878a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294264:(.text+0x1287a0): undefined reference to `PyMethodDescr_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_180getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294314:(.text+0x1287ee): undefined reference to `PyDescr_IsData' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294360:(.text+0x1287fc): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x128814): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_181getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294263:(.text+0x128820): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294266:(.text+0x128832): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294266:(.text+0x12884e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12885e): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_181getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294270:(.text+0x1288de): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x128924): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_75setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201056:(.text+0x128964): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201043:(.text+0x128970): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201056:(.text+0x12897e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201093:(.text+0x1289a4): undefined reference to `PySet_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201098:(.text+0x128a36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x128a44): undefined reference to `PySet_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201190:(.text+0x128a84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201301:(.text+0x128b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201322:(.text+0x128bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x128bc4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x128bcc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x128bf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x128c08): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201355:(.text+0x128c5e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201376:(.text+0x128c9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x128cbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x128cec): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451511:(.text+0x128d1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x128d8c): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x128dca): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x128df0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x128f02): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x128f4a): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201209:(.text+0x128ff4): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201210:(.text+0x129002): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12900a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x129026): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_75setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201066:(.text+0x129054): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201089:(.text+0x129070): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201201:(.text+0x129096): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1290a4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1290d6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201281:(.text+0x1290f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201283:(.text+0x129100): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x12912c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201289:(.text+0x12917a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_75setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201071:(.text+0x129198): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201074:(.text+0x1291a4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201084:(.text+0x129206): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12921c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1292f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201281:(.text+0x129300): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12930c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x129318): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x129324): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201151: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1293fe): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201399:(.text+0x12941c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201399:(.text+0x129428): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201399:(.text+0x129434): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x129440): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201412:(.text+0x129456): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201414: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201449:(.text+0x129470): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201465:(.text+0x1294ba): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201467:(.text+0x1294c8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x12951a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x12952e): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201599:(.text+0x1295b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201599:(.text+0x1295bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1295c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x1295d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1295fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12960c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201635:(.text+0x129638): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201657:(.text+0x129658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201668:(.text+0x129678): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x12969e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1296ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x129706): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201711:(.text+0x129712): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x129770): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x12977c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201507: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x129916): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201459:(.text+0x129950): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201557:(.text+0x129a34): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x129a8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x129a94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x129a9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201427:(.text+0x129b36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x129b60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x129ba8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201639:(.text+0x129bda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201645:(.text+0x129c52): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201430:(.text+0x129c90): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x129cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x129cf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201446:(.text+0x129d76): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x129df0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x129df8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201507:(.text+0x129e04): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201560:(.text+0x129e22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201558:(.text+0x129e2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201562:(.text+0x129e46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201641:(.text+0x129e76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201636:(.text+0x129e84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201639:(.text+0x129e9a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_25createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105655:(.text+0x129f1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105639:(.text+0x129f2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x129f52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_24createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105754:(.text+0x129f88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x129f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x129f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x129faa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_25createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105702:(.text+0x129fc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_24createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105803:(.text+0x129ff4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105812:(.text+0x12a00a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105824:(.text+0x12a030): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105764:(.text+0x12a07c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x12a090): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x12a13e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x12a186): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x12a1b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x12a232): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_24createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105774:(.text+0x12a270): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_25createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105695:(.text+0x12a2d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105712:(.text+0x12a2d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105711:(.text+0x12a356): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105696:(.text+0x12a3d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105679:(.text+0x12a3d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105679:(.text+0x12a3e4): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105685:(.text+0x12a402): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105686:(.text+0x12a40e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x12a426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12a456): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12a464): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x12a47a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x12a4fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12a50a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x12a532): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12a568): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12a574): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x12a57e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x12a58a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x12a5a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x12a5d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x12a5ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366275:(.text+0x12a610): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12a65e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12a672): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389203:(.text+0x12a720): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392088:(.text+0x12a768): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392106:(.text+0x12a79a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12a814): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392171:(.text+0x12a852): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12a8aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391988:(.text+0x12a906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12a91c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12a94c): undefined reference to `PyList_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12a9c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x12a9ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x12a9da): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392012:(.text+0x12a9f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392012:(.text+0x12aa0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12aa3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12aa4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12aa62): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392016:(.text+0x12aae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12ab06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x12ab3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x12ab4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x12ab56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392020:(.text+0x12ab60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392022:(.text+0x12ab78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x12ab8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392049:(.text+0x12ab9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x12abb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12abf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391956:(.text+0x12ac3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392171:(.text+0x12ac52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x12acfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x12ad42): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x12ad74): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x12adf0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12ae2e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x12ae86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x12aee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x12aefa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109758:(.text+0x12af42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109758:(.text+0x12af4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109768:(.text+0x12af56): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x12af92): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12afd8): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109763:(.text+0x12b02e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109800:(.text+0x12b046): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x12b0a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12b0b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109768:(.text+0x12b0f6): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109771:(.text+0x12b124): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x12b138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109777:(.text+0x12b160): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109783:(.text+0x12b17e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109787:(.text+0x12b19a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x12b1c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12b1dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12b1f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_86setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109839:(.text+0x12b200): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12b216): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x12b24a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x12b276): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_36getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332976:(.text+0x12b2ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333027:(.text+0x12b356): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62246:(.text+0x12b3a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x12b3c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12b41e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0x12b436): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x12b4a8): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x12b4be): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0x12b506): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_36getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333044:(.text+0x12b5a8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62342:(.text+0x12b692): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12b6d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12b6e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x12b71e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x12b72c): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_36getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333017:(.text+0x12b76e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0x12b77c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62304:(.text+0x12b7f4): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_37getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332950:(.text+0x12b802): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x12b87e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368658:(.text+0x12b892): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x12b8da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12b928): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12b946): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12b954): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12b960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x12b96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12b976): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x12b9ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376006:(.text+0x12b9dc): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12b9f2): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12ba00): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x12ba46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12ba8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12bad6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x12bb4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375928:(.text+0x12bb8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12bbe0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375997:(.text+0x12bc04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12bc34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375874:(.text+0x12bc62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376091:(.text+0x12bcd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12bcfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12bd10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375872:(.text+0x12be1a): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12be4e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12be72): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x12bee4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375935:(.text+0x12bf0e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x12c132): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x12c13e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12c162): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x12c174): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375718:(.text+0x12c1a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12c1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x12c1c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12c1f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12c208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x12c252): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12c264): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375814:(.text+0x12c2d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698:(.text+0x12c2fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x12c30c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12c320): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375603:(.text+0x12c334): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375630: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12c3f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12c408): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375557:(.text+0x12c42c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x12c442): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12c47e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375805:(.text+0x12c4aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12c4c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12c4d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12c4e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12c4ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12c4fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12c53a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12c544): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12c55c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12c56a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12c596): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12c5ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x12c5d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375586:(.text+0x12c5fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12c608): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375713:(.text+0x12c66c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x12c676): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x12c69e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0x12c6f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446558:(.text+0x12c714): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375653:(.text+0x12c71e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375662:(.text+0x12c728): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x12c81e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x12c84a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12c9f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x12ca00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x12ca0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12ca36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x12ca50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x12ca5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x12ca66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x12cae8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374698:(.text+0x12cafe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12cb54): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12cb62): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12cbbe): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12cbd2): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12cca0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12ccc2): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12cce0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12cd42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12cd4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374802:(.text+0x12cd56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x12cdbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12cde8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374330:(.text+0x12cf90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374330:(.text+0x12cf9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x12cfaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374351:(.text+0x12cfd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x12cfee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368666:(.text+0x12cff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374373:(.text+0x12d004): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12d086): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x12d09c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12d0f2): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x12d100): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12d15c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374562:(.text+0x12d170): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374620:(.text+0x12d23e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374623:(.text+0x12d260): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12d27e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x12d2e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374472:(.text+0x12d2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374472:(.text+0x12d2f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12d35a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12d386): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12d52e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374562:(.text+0x12d53c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x12d548): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12d572): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12d58c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374516:(.text+0x12d596): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12d5a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12d624): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12d63a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x12d690): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374579:(.text+0x12d69e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12d6fa): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374343:(.text+0x12d70e): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374048:(.text+0x12d7dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374048:(.text+0x12d7fe): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0x12d81c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x12d87e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x12d888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x12d892): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x12d8f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x12d924): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12d978): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12d9b2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x12d9d0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x12d9f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12da12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12da30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12da60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374320:(.text+0x12da78): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374320:(.text+0x12da84): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374169:(.text+0x12db0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x12db22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x12db40): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12db4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12db8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x12dba2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x12dbf8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12dc0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12dc3a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374311:(.text+0x12dc62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x12dcf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12dcfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374259:(.text+0x12dd6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374259:(.text+0x12dd8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x12dd96): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374213:(.text+0x12ddbe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374215:(.text+0x12ddfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x12de06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x12de16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12de40): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12de4a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12de54): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x12ded2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12df26): undefined reference to `PyModule_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.11/object.h:601:(.text+0x12df38): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374320:(.text+0x12dfa6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374320:(.text+0x12dfae): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384889:(.text+0x12dfd6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384986:(.text+0x12e08e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x12e104): undefined reference to `PyBytes_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385091:(.text+0x12e1de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385091:(.text+0x12e1ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12e1f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12e200): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12e208): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12e21e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12e22e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x12e240): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x12e294): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x12e2a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385170:(.text+0x12e2e2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385130:(.text+0x12e35c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x12e38c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385224:(.text+0x12e39c): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385270:(.text+0x12e3d6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385289:(.text+0x12e3ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385352:(.text+0x12e3f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385343:(.text+0x12e406): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x12e414): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385361:(.text+0x12e420): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385370:(.text+0x12e43e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385370:(.text+0x12e44e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385407:(.text+0x12e49e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385407:(.text+0x12e4a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385593:(.text+0x12e4b0): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x12e4ba): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x12e4c6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382670:(.text+0x12e4d8): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x12e4e2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12e4ee): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x12e510): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12e51a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12e526): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x12e532): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366145:(.text+0x12e548): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385643:(.text+0x12e582): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385646:(.text+0x12e590): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12e5d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12e5f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x12e60a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12e62e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385699:(.text+0x12e638): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385863:(.text+0x12e640): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x12e64a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x12e654): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x12e660): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385893:(.text+0x12e690): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x12e6b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12e6c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12e6ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12e6d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385919:(.text+0x12e6de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x12e6ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12e72c): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x12e73a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x12e744): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x12e83e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x12e850): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x12e866): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12e88a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12e894): undefined reference to `PyExc_Exception' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12e89e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x12e8b4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385445:(.text+0x12e918): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x12e966): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12e9a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x12e9ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x12e9b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x12e9ce): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12ea08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x12ea14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385785:(.text+0x12ea2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12ea46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x12ea7a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385481:(.text+0x12ead4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `KSPLogResidualHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/kspimpl.h:211:(.text+0x12eae6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385398:(.text+0x12eb0e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12ebde): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12ec1c): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12ec46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12ec56): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385053:(.text+0x12ec64): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422331:(.text+0x12ec88): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x12eca4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12ed1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12ed34): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x12ed4e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12ed8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386069:(.text+0x12eda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385427:(.text+0x12edae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385427:(.text+0x12edba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385091:(.text+0x12edc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12ee10): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385388:(.text+0x12eefe): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x12ef4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12ef66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385959:(.text+0x12ef72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12ef7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382705:(.text+0x12ef8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386063:(.text+0x12f070): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12f136): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385639:(.text+0x12f1d6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12f212): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12f226): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12f244): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12f24c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385693:(.text+0x12f26c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12f278): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x12f2ae): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x12f2f6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12f32a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12f346): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12f378): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x12f390): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x12f3c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.11/object.h:601:(.text+0x12f3fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385652:(.text+0x12f41a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12f43a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385826:(.text+0x12f45e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12f4a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385826:(.text+0x12f4b6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x12f4cc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12f50a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x12f514): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x12f52c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12f610): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x12f692): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x12f69a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385858:(.text+0x12f6bc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12f6ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x12f726): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12f794): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x12f7b8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x12f87e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385944:(.text+0x12f8b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x12f90e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12f9c4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385445:(.text+0x12f9da): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12fa0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385388:(.text+0x12fa18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385388:(.text+0x12fa24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12fa30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x12fa6c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x12fa7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x12faa4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385942:(.text+0x12facc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385942:(.text+0x12fad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12fae2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12faee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385490:(.text+0x12fafe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385243:(.text+0x12fb1a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12fb32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12fb4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385170:(.text+0x12fb82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385699:(.text+0x12fb98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385832:(.text+0x12fbcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385091:(.text+0x12fbe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385920:(.text+0x12fc16): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_opt2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16130:(.text+0x12fc2c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16168:(.text+0x12fc64): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x12fca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_opt2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16198:(.text+0x12fce0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12fcf6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x12fd38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x12fd52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x12fd5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x12fd6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12fd7a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x12fd9a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12fdbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12fdc6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12fdd8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x12fde2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x12fdec): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12fdfe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12fe08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12fe2c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_opt2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16217:(.text+0x12fe4c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16171:(.text+0x12fe5e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x12feae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12feda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12ff78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x12ff92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x12ff9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12ffc8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x12ffe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_String': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16711:(.text+0x130054): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16742:(.text+0x13006a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16786:(.text+0x130102): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16789:(.text+0x13011e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x130176): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_String': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16784:(.text+0x130212): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261079:(.text+0x130286): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261091:(.text+0x13029c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261132:(.text+0x130310): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261143:(.text+0x130344): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x130368): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x130392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1303a2): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1303b0): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1303d8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1303fc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261327:(.text+0x130480): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13777:(.text+0x13049a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1304b8): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261368:(.text+0x1304fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261370:(.text+0x130506): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x130530): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1305e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261422:(.text+0x1305fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x130608): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x130618): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261445:(.text+0x130630): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261445: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x13065c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261489:(.text+0x13075a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13078a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1307a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261368:(.text+0x1307b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261505:(.text+0x1307ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1307ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13080a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x130844): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261142:(.text+0x13085c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x130868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x130874): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261370:(.text+0x130880): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261127:(.text+0x130962): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1309fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x130a10): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261098:(.text+0x130a34): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261103:(.text+0x130a3c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261206:(.text+0x130a5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261237:(.text+0x130a68): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x130a74): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x130a84): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x130a94): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x130aa0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x130aca): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x130b24): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261204:(.text+0x130b58): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261218:(.text+0x130b86): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261098:(.text+0x130b9e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261112:(.text+0x130bd4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261206:(.text+0x130bfe): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261408:(.text+0x130c14): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x130c22): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261206:(.text+0x130c42): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261295:(.text+0x130c6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261469:(.text+0x130cb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261405:(.text+0x130cf0): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261405:(.text+0x130cfa): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261143:(.text+0x130d12): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26289:(.text+0x130e28): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26337:(.text+0x130e3e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x130e56): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13667:(.text+0x130e9c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x130ed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26258:(.text+0x130efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x130f08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x130f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x130f74): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15006:(.text+0x130f86): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26364:(.text+0x130fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x130fd0): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x130fe0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x131064): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26327:(.text+0x13106e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26364:(.text+0x131080): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1310b8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1310e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1310f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14730:(.text+0x1310fe): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x131112): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x13111e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13684:(.text+0x13115c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x13118a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26256:(.text+0x131196): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1311bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1311c6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1311ee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x13120a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x131214): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x13121e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26301:(.text+0x131228): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26322:(.text+0x131274): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26364:(.text+0x1312ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_253getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138866:(.text+0x1312d8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13133a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_253getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138930:(.text+0x13138e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138882:(.text+0x1313ce): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138893:(.text+0x1313f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138897:(.text+0x131404): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138914:(.text+0x131412): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_252getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138966:(.text+0x131434): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_253getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138885:(.text+0x13144a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138898:(.text+0x1314bc): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138903:(.text+0x1314e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138903:(.text+0x1314ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138903:(.text+0x1314f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138903:(.text+0x131504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138903:(.text+0x13150c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_21getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115575:(.text+0x13151c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115575:(.text+0x131536): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x131542): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_21getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115579:(.text+0x13154c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115646:(.text+0x131560): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1315e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1315f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x13160c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x13161c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x131628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1316b0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1316bc): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13171a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x13174e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x13176e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x131796): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1317c2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115811:(.text+0x1317ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1317f8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_21getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115587:(.text+0x13182c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13469:(.text+0x13184a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115667:(.text+0x131854): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115667:(.text+0x131866): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x131870): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13485:(.text+0x131884): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x131890): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1318bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1318c6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1318f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x131920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13192c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13193e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x131948): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x131952): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1319e6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x131a48): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x131a9c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x131adc): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x131b02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x131b12): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x131b20): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x131b42): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115763:(.text+0x131b58): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115594:(.text+0x131bca): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x131bf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x131bfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x131c06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x131c12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x131c1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115667:(.text+0x131c2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_21getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115587:(.text+0x131c44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115587:(.text+0x131c50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115587:(.text+0x131c5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387826:(.text+0x131c6e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x131cf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387886:(.text+0x131cfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386109:(.text+0x131d1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x131d2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387915:(.text+0x131d36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x131dba): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x131dc6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x131e24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x131e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387988:(.text+0x131e76): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x131e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x131eca): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x131ef2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x131f00): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x131f34): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388064:(.text+0x131f52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388067:(.text+0x131f5c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388067:(.text+0x131f6e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388067:(.text+0x131f78): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x131f8c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387930:(.text+0x131f98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422413:(.text+0x131fc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388098:(.text+0x131fcc): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388129:(.text+0x131ff6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388138:(.text+0x132026): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388147:(.text+0x132032): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388156:(.text+0x132044): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388156:(.text+0x13204e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388175:(.text+0x132058): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388238:(.text+0x1320ec): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388322:(.text+0x132152): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1321a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1321b0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388574:(.text+0x1321ee): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366216:(.text+0x132218): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x132228): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x132236): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388604:(.text+0x132258): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x13226e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1322e8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388322:(.text+0x13231c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388332:(.text+0x132328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388341:(.text+0x132332): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388341:(.text+0x13233e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x13234a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388350: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1324a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x1324ae): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1324ba): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1324ca): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x1324d8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1324e4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1325a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1325ac): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1325be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1325ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1325fc): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13263c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388395:(.text+0x132664): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388395:(.text+0x13266e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x132682): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388404:(.text+0x13269e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1326c2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1326e2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1326f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388707:(.text+0x132702): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x132734): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x13273e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388735:(.text+0x132768): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388738:(.text+0x13278c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13279e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1327a8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388744:(.text+0x1327b2): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388440:(.text+0x13285c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1328c2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x132910): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x132920): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13295e): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x132988): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x132998): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1329a6): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1329c8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1329de): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x132a58): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x132a8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x132a98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x132aa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x132aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x132aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x132c10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387886:(.text+0x132c1e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x132c2a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388002:(.text+0x132c3a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388002:(.text+0x132c48): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386141:(.text+0x132c54): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x132d12): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x132d1c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x132d2e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x132d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389068:(.text+0x132d6c): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389095:(.text+0x132dac): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x132dd4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x132dde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388958:(.text+0x132df2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388652:(.text+0x132e0e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388658:(.text+0x132e32): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388520:(.text+0x132e52): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388525:(.text+0x132e66): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388027:(.text+0x132e72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388652:(.text+0x132ea4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x132eae): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x132ed8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388996:(.text+0x132efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388870:(.text+0x132f0e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388611:(.text+0x132f18): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388611:(.text+0x132f22): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13303a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388785:(.text+0x133050): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388791:(.text+0x13306e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1330e4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x13311a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x133150): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x133186): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x13319c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x1331a4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388202:(.text+0x1331c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1331d4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388846:(.text+0x1331e8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x133202): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x133224): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x133238): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388377:(.text+0x1332b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1332c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13331e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13332a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x133336): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388744:(.text+0x133398): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1333c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1333d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388220:(.text+0x1333fe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x133422): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388785:(.text+0x133444): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388916:(.text+0x13349e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388229:(.text+0x1334cc): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388870:(.text+0x13354a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388870:(.text+0x133556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.11/object.h:601:(.text+0x133564): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x13358e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x13359a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388872:(.text+0x1335ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388813:(.text+0x1335c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x133606): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x13361a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x13364e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x13367e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1336a6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1336b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388874:(.text+0x1336c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388874:(.text+0x1336d2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1336fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x133730): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388876:(.text+0x133750): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388876:(.text+0x13375a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x133764): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388933:(.text+0x13377e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x133842): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x13389c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388431:(.text+0x1338ac): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388440:(.text+0x1338d6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1339a8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389086:(.text+0x1339ba): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1339ca): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x133a10): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389095:(.text+0x133a3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387988:(.text+0x133a4a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388658:(.text+0x133a58): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388422:(.text+0x133a7e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388916:(.text+0x133a9e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x133b14): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x133b2a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x133b44): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171195:(.text+0x133b82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171186:(.text+0x133b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x133ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x133bb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171217:(.text+0x133bbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171217:(.text+0x133bcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171256:(.text+0x133bee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x133c0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x133c1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x133c28): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x133c3c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x133d16): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x133d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x133d4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x133d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x133d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x133d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453019:(.text+0x133e7a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x133f40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x13406a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x134076): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171279:(.text+0x13409c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x1340d4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171207:(.text+0x134108): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_185getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171084:(.text+0x13413c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171279:(.text+0x1341a6): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171279:(.text+0x1341ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x134210): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x134230): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_185getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171067:(.text+0x134258): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171061:(.text+0x134280): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171072:(.text+0x1342ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171072:(.text+0x1342c4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x1342fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x134338): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171100:(.text+0x134364): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171300:(.text+0x13437e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171313:(.text+0x1343aa): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1343b4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171343:(.text+0x1343ca): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171516:(.text+0x1344b8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1344f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171368:(.text+0x134526): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x13462a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171478:(.text+0x134640): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x134726): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x134772): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453019:(.text+0x13477e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171328:(.text+0x1347ca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x1347dc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171539:(.text+0x134852): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171539:(.text+0x13485e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x134888): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13489e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1348ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171325:(.text+0x1348e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171353:(.text+0x134904): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x13491c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x13493c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x134960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171540:(.text+0x134986): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x134990): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171540:(.text+0x1349d0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171325:(.text+0x1349f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171539:(.text+0x134a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171539:(.text+0x134a48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171539:(.text+0x134a78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x134a84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x134a96): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x134aa0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171539:(.text+0x134aae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171539:(.text+0x134ac2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x134b04): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x134b12): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171330:(.text+0x134b68): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171340:(.text+0x134b7c): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171368:(.text+0x134c24): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171368:(.text+0x134c30): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394745:(.text+0x134c44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394745:(.text+0x134c5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394798:(.text+0x134cb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x134cee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394824:(.text+0x134d02): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394840:(.text+0x134d6a): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x134d88): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x134de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x134dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394883:(.text+0x134df4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x134e00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x134eb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394997:(.text+0x134ee4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoLogConvergenceHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/taoimpl.h:211:(.text+0x134faa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395149:(.text+0x135032): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395775:(.text+0x1350ba): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395775:(.text+0x1350d4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366346:(.text+0x1350e6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366346:(.text+0x1350f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13511a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395806:(.text+0x135142): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x13525c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395559:(.text+0x1352aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1352e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1352fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x13531c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x13534c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x135358): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x135378): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x135392): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1353a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1353c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395593:(.text+0x1353ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395593:(.text+0x1353f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395595:(.text+0x1353fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x135428): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x135434): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:36: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x135480): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1354b4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1354fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x135516): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395281:(.text+0x135576): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x135616): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x135622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393234:(.text+0x13562e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393237:(.text+0x13563a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x135646): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x135666): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366346:(.text+0x135678): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x135698): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395936:(.text+0x1356ba): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1356f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13571c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x135742): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395992:(.text+0x135776): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoLogConvergenceHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/taoimpl.h:204:(.text+0x13579e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/taoimpl.h:210:(.text+0x1357d8): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/taoimpl.h:210:(.text+0x1357e6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x135850): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395045:(.text+0x1358c4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395484:(.text+0x1358d8): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394846:(.text+0x13592e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13593a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394900:(.text+0x135994): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1359c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x1359dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x1359ea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x1359fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394900:(.text+0x135a0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394900:(.text+0x135a24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x135a2e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x135a42): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393269:(.text+0x135a4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422574:(.text+0x135a5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422577:(.text+0x135a6e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x135a7e): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x135a8c): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366383:(.text+0x135aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394833:(.text+0x135ab2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x135abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoGetVecs': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:655:(.text+0x135ad6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394979:(.text+0x135ae2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394988:(.text+0x135af6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x135b18): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135b5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135bd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422574:(.text+0x135bfe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoGetVecs': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:659:(.text+0x135c62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x135ce8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395720:(.text+0x135d1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395726:(.text+0x135d36): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x135d56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x135d8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x135d98): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395859:(.text+0x135dea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395167:(.text+0x135dfc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x135e42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395859:(.text+0x135e4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x135e7c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395812:(.text+0x135e8e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x135eba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x135eca): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395853:(.text+0x135ee0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395853:(.text+0x135eee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395853:(.text+0x135efa): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x135f0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x135f16): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135f28): undefined reference to `PyNumber_And' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135f52): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135f5a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135f78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135f86): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x135fa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395986:(.text+0x135fd0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x135fe6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395386:(.text+0x136002): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x136038): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395992:(.text+0x136064): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395986:(.text+0x13608c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366383:(.text+0x1360d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366383:(.text+0x1360e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366383:(.text+0x1360f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x136130): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13613c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13616a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1361a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1361de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1361e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1361f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x136206): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13624c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x136256): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x136272): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x13627e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x136290): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x136312): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x136364): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395945:(.text+0x136390): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366383:(.text+0x13644a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395568:(.text+0x136456): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x13647e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x136490): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1364d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395176:(.text+0x1364e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x1364f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395513:(.text+0x136522): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.11/object.h:601:(.text+0x13652e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395932:(.text+0x13655e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x136570): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1365b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395272:(.text+0x1365d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1365f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x13661c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x136632): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395368:(.text+0x136642): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395435:(.text+0x136658): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x136678): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1366e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395582:(.text+0x136722): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x13674a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoLogConvergenceHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/taoimpl.h:209:(.text+0x1367d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1367f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x136818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x136824): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395670:(.text+0x136862): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395679:(.text+0x136890): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.11/object.h:601:(.text+0x1368aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1368b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395726:(.text+0x1368c8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x1368d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x1368de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x1368f0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoGetVecs': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:658:(.text+0x136978): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoApplyLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:671:(.text+0x136a26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `TaoComputeUpdate': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:641:(.text+0x136a52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x136ae8): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x136b4c): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x136bea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x136c00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x136c0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x136c18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x136c24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x136c30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x136c5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x136c72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyEnd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372259:(.text+0x136c98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x136d20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x136d32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x136d58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x136d64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x136d92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x136db4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x136e62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x136ed2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyEnd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372164:(.text+0x136f00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372211:(.text+0x136fa2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372129:(.text+0x136fce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35199:(.text+0x13707c): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1370a6): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ofarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15229:(.text+0x1370f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35258:(.text+0x13710c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x13712c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35378:(.text+0x137156): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35378:(.text+0x137168): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1371a2): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1371bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1371dc): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1371f6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x137222): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x137244): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35298:(.text+0x137250): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35309:(.text+0x13725e): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35371:(.text+0x1372e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1372fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13732c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35298:(.text+0x137338): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x137358): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35246:(.text+0x137376): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35314:(.text+0x137392): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1373a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1373ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35270:(.text+0x13741e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x13742e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x137438): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35276:(.text+0x1374fe): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_69setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161418:(.text+0x137540): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161458:(.text+0x1375c2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161458:(.text+0x1375d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161467:(.text+0x1375e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_68setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161506:(.text+0x13760e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_69setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161445:(.text+0x1376ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161445:(.text+0x1376ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161445:(.text+0x1376e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_68setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161506:(.text+0x1376f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161545:(.text+0x1376fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352789:(.text+0x137836): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352800:(.text+0x137864): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x13789c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1378e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x137926): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x137970): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1379c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1379f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x137a72): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x137a80): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x137ac8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x137af0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352741:(.text+0x137afc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352758:(.text+0x137b22): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352783:(.text+0x137b34): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x137b82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x137b98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352746:(.text+0x137bbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x137c10): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x137c26): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x137c46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353041:(.text+0x137c6c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x137c94): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352900:(.text+0x137ca0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x137d18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352931:(.text+0x137d2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x137d68): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352962:(.text+0x137d96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x137dae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x137dba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x137dcc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352766:(.text+0x137f2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x137f5a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13809c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1380a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1380d0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352800:(.text+0x1380e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37141:(.text+0x138152): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37155:(.text+0x13817c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x1381b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1381cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14968:(.text+0x1381ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37276:(.text+0x13821a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37276:(.text+0x138226): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x138230): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x138246): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x138266): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37313:(.text+0x138276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37313:(.text+0x138282): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37164:(.text+0x1382a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1382ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1382e4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37176:(.text+0x1382f0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x138386): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x138390): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37304:(.text+0x1383bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37250:(.text+0x1384ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37261:(.text+0x1384da): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37264:(.text+0x1384f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1384fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37266:(.text+0x138510): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x138550): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x1385f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13684:(.text+0x138624): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_29delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72548:(.text+0x1387ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72548:(.text+0x138808): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72577:(.text+0x138814): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_28delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72642:(.text+0x1388bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72644:(.text+0x1388c6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1388d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12244:(.text+0x138926): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_29delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72562:(.text+0x138942): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12201:(.text+0x138960): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_28delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72755:(.text+0x138996): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72755:(.text+0x1389a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x1389ba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x1389c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x1389d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12276:(.text+0x1389dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1389e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x1389f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_28delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72694:(.text+0x138a2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_29delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72568:(.text+0x138ae8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72574:(.text+0x138afa): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x138b04): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x138b28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x138b48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x138b5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_28delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72755:(.text+0x138b92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_29delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72575:(.text+0x138bd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x138c04): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x138cc0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_29delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72571:(.text+0x138cec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x138e0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x138e1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x138e42): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x138e54): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:537:(.text+0x138ed4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x138efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_41getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303528:(.text+0x138f30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303534:(.text+0x138f4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_40getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303589:(.text+0x138f6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x138f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_40getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303598:(.text+0x138fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303598:(.text+0x138fb0): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303608:(.text+0x138fc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x138fd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13839:(.text+0x138fe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x138ffe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x139022): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58152:(.text+0x13904a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x139064): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x139070): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_41getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303540:(.text+0x13910a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58232:(.text+0x1391f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_40getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303625:(.text+0x139224): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13923c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x139248): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13925a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_41getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303534:(.text+0x13929a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13933e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13936a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_40getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303589:(.text+0x1393c8): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1393d4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_40getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303598:(.text+0x1393ec): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58194:(.text+0x139402): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x139428): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58194:(.text+0x139438): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58194:(.text+0x13944e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377860:(.text+0x139492): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1394c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377946:(.text+0x1394f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377946:(.text+0x139510): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377964:(.text+0x139530): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377968:(.text+0x13955c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x139578): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377970:(.text+0x13958a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377980:(.text+0x1395f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0x139620): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x139672): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1396a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1396c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x13972c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378121:(.text+0x13975a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378209:(.text+0x1397fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x139826): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1398e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1398ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x139914): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x139926): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13996c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13997e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13998e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378280:(.text+0x1399b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378283:(.text+0x1399c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1399f4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139a06): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x139a4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x139a68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378269:(.text+0x139a88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x139ab2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139ac8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139ad8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139aee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139b0e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x139b76): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378121:(.text+0x139bb8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x139be0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377884:(.text+0x139c6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x139c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377885:(.text+0x139cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377869:(.text+0x139cba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x139cf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x139d26): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x139d40): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x139d4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378075:(.text+0x139d5e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x139d68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377955:(.text+0x139d74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x139d86): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378099:(.text+0x139e0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378226:(.text+0x139eba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378176:(.text+0x139ee6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378293:(.text+0x13a036): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x13a04a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x13a056): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0x13a100): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378408:(.text+0x13a112): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13a15e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378416:(.text+0x13a174): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0x13a198): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0x13a1ce): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378424:(.text+0x13a1da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13a1f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscObjectComposedDataGetIntPy': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:156:(.text+0x13a1fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:156:(.text+0x13a212): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378464:(.text+0x13a21e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378529:(.text+0x13a23a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x13a2de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368658:(.text+0x13a35c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13a38a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13a40e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x13a4a2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13a4f6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13a544): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0x13a56a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378530:(.text+0x13a57a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378305:(.text+0x13a588): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13a5aa): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13a5c0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13a646): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378794:(.text+0x13a66c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378794:(.text+0x13a678): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378794:(.text+0x13a682): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13a68c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13a698): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378535:(.text+0x13a84a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378305:(.text+0x13a856): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x13a8b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13a8f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13a8fc): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378382:(.text+0x13a938): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378302:(.text+0x13a94c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13a956): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x13a96a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378303:(.text+0x13a996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x13a9a8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x13a9dc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x13a9fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378304:(.text+0x13aa04): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x13aa16): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x13aa20): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378651:(.text+0x13aa48): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378651:(.text+0x13aa54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x13aa80): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x13aa8a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378694:(.text+0x13aab4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378692:(.text+0x13aae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378710:(.text+0x13aafc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x13ab0a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x13ab14): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378649:(.text+0x13ab1e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378408:(.text+0x13abcc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17070:(.text+0x13ac6a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17085:(.text+0x13ac7e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Real': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16495:(.text+0x13ac9c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16513:(.text+0x13acb8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16541:(.text+0x13acce): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13acea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17153:(.text+0x13ad00): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13ad1c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17180:(.text+0x13ad36): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Bool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16275:(.text+0x13ad52): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16285:(.text+0x13ad68): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16317:(.text+0x13ad84): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16319:(.text+0x13ad9a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13ae7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16457:(.text+0x13aea6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17173:(.text+0x13aec0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16632:(.text+0x13aeea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17174:(.text+0x13af46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x13af76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17173:(.text+0x13afd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17173:(.text+0x13afdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x13afe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x13aff2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0x13b04c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Bool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16319:(.text+0x13b0b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13b0ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16681:(.text+0x13b110): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13b144): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13b15c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17173:(.text+0x13b18e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17173:(.text+0x13b196): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13b1b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13b1c2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Bool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16324:(.text+0x13b1ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16674:(.text+0x13b2da): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73272:(.text+0x13b316): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73284:(.text+0x13b322): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x13b32e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73312:(.text+0x13b33a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73315:(.text+0x13b346): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x13b406): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73325:(.text+0x13b44e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13b492): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_38getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73356:(.text+0x13b4a4): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73296:(.text+0x13b4e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73309:(.text+0x13b576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_36getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73234:(.text+0x13b648): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_37getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73212:(.text+0x13b65a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73175:(.text+0x13b69a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x13b788): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_37getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73167:(.text+0x13b794): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73196:(.text+0x13b7ec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_35getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73036:(.text+0x13b886): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73024:(.text+0x13b892): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73065:(.text+0x13b8c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_34getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73108:(.text+0x13b8e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_35getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73088:(.text+0x13b92e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73051:(.text+0x13b970): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13b9b8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13b9c0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_35getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73079:(.text+0x13b9de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73079:(.text+0x13b9ec): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73049:(.text+0x13baa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73056:(.text+0x13bacc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73057:(.text+0x13bada): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73061:(.text+0x13baec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_33getInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72913:(.text+0x13bb6c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x13bb74): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_33getInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72943:(.text+0x13bb88): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72964:(.text+0x13bbdc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72916:(.text+0x13bc06): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x13bd0e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_33getInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72937:(.text+0x13bdc4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_31getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72776:(.text+0x13be04): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72820:(.text+0x13be4a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_30getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72860:(.text+0x13be68): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_31getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72831:(.text+0x13bf58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13bf84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_31getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72824:(.text+0x13bff4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72800:(.text+0x13c00a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72824:(.text+0x13c030): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72809:(.text+0x13c060): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72813:(.text+0x13c084): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127631:(.text+0x13c0d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x13c11c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127697:(.text+0x13c14a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x13c1d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127758:(.text+0x13c200): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127821:(.text+0x13c272): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127831:(.text+0x13c28e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127850:(.text+0x13c2ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127870:(.text+0x13c2e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127885:(.text+0x13c304): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13c35a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x13c3a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127928:(.text+0x13c3d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127961:(.text+0x13c44a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13c4d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13c4f0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127997:(.text+0x13c540): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127997:(.text+0x13c58c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x13c5be): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127887:(.text+0x13c5cc): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127997:(.text+0x13c5ee): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13c604): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127659:(.text+0x13c69c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127654:(.text+0x13c6ee): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127654:(.text+0x13c6fe): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127660:(.text+0x13c70e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127692:(.text+0x13c718): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127782:(.text+0x13c724): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127782:(.text+0x13c72e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127783:(.text+0x13c73a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127785: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127674:(.text+0x13c8fc): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x13c90e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x13c990): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127913:(.text+0x13c9b2): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127961:(.text+0x13ca06): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13ca1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x13ca24): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396929:(.text+0x13ca38): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396929:(.text+0x13ca68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396929:(.text+0x13ca80): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396634:(.text+0x13cab4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x13cad2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12244:(.text+0x13cadc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x13caee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x13caf8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445717:(.text+0x13cb20): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x13cb2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x13cb62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396688:(.text+0x13cb6c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396699:(.text+0x13cb96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396699:(.text+0x13cbba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396712:(.text+0x13cbcc): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396712:(.text+0x13cbd6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396722:(.text+0x13cbe0): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13cc94): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396847:(.text+0x13cd1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13cd3a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12276:(.text+0x13cd8a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13cdd6): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396778:(.text+0x13ce08): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396787:(.text+0x13ce16): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396791:(.text+0x13ce38): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13ce4e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13cee6): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13cf38): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396602:(.text+0x13cf48): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x13cf58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x13cf62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x13cf6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x13cf78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x13cf84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13d146): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x13d158): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x13d1da): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13d1fc): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396994:(.text+0x13d250): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13d264): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13d26e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396979:(.text+0x13d282): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396979:(.text+0x13d2b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230519:(.text+0x13d2ca): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230531:(.text+0x13d2fe): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230559:(.text+0x13d31c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13d326): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13d338): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13d342): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230574:(.text+0x13d36a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230574:(.text+0x13d376): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230605:(.text+0x13d3ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230607:(.text+0x13d3b6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230559:(.text+0x13d3e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230662:(.text+0x13d404): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230695:(.text+0x13d416): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230695:(.text+0x13d420): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230695:(.text+0x13d42a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230766:(.text+0x13d4e6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230879:(.text+0x13d572): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x13d582): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x13d5e8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x13d5fe): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0x13d682): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230808:(.text+0x13d694): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0x13d6a4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230817:(.text+0x13d6e2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x13d702): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13d72c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230841:(.text+0x13d73c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230884:(.text+0x13d74a): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230733:(.text+0x13d770): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230866:(.text+0x13d78e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x13d7da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230543:(.text+0x13d7f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230546:(.text+0x13d800): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230546:(.text+0x13d80c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230546:(.text+0x13d816): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230567: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230828:(.text+0x13d93e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230884:(.text+0x13d978): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230582:(.text+0x13d984): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230673:(.text+0x13d990): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x13d99c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x13d9a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230884:(.text+0x13db18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x13db2e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x13db48): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13db88): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230718:(.text+0x13dc4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112589:(.text+0x13dd6e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112589:(.text+0x13dd7a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112589:(.text+0x13dd9e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112612:(.text+0x13ddea): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_25getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112492:(.text+0x13de1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13de34): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13de48): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13de66): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_25getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112486:(.text+0x13de9c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x13dedc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x13df02): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112622:(.text+0x13df22): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112639:(.text+0x13df4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0x13df72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x13dfb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0x13dfce): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0x13e004): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0x13e046): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0x13e06e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13e088): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112661:(.text+0x13e0b8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13e0c2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112663:(.text+0x13e0d8): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13e30c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13e318): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_85getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109529:(.text+0x13e326): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109529:(.text+0x13e338): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_84getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109657:(.text+0x13e3aa): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109672:(.text+0x13e3da): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e3fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e468): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109614:(.text+0x13e474): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e48a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e496): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x13e4a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_84getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e4b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e4c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x13e4e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_84getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e4fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109657:(.text+0x13e524): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109688:(.text+0x13e556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109720:(.text+0x13e58e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13e5a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21865:(.text+0x13e6b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21881:(.text+0x13e6e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13e792): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454460:(.text+0x13e84a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454307:(.text+0x13e866): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13e886): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21926:(.text+0x13e8c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13e976): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13e9fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13ea2a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x13eaa6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21825:(.text+0x13eb32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13eb4e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x13eb9c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21825:(.text+0x13ebe4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13ec16): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13ec24): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454464:(.text+0x13ec46): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21946:(.text+0x13ec5c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454464:(.text+0x13ec8a): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21939:(.text+0x13ec98): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x13ed32): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_23fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102884:(.text+0x13ed86): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x13ed96): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13eda6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x13edb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x13edbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13edc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13edd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102925: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103084:(.text+0x13efa0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x13efae): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103084:(.text+0x13f02c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x13f04e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103097:(.text+0x13f0a2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103097:(.text+0x13f0b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103097:(.text+0x13f0c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103117:(.text+0x13f0d4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103121:(.text+0x13f104): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13f11c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103147:(.text+0x13f140): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103108:(.text+0x13f16e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103111:(.text+0x13f17a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103063:(.text+0x13f19a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13f1a4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13f1b6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13f1c0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_23fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102896:(.text+0x13f1e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102899:(.text+0x13f1f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x13f226): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x13f230): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13f25a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103088:(.text+0x13f2a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103055:(.text+0x13f2b4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103084:(.text+0x13f2be): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103055:(.text+0x13f2c8): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x13f388): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103084:(.text+0x13f414): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x13f430): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x13f47e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x13f4c6): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13f4f8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13f506): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_9setStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101892:(.text+0x13f528): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101901:(.text+0x13f53e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_8setStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101931:(.text+0x13f56c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x13f57a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_9setStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101875:(.text+0x13f614): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x13f668): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x13f678): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x13f688): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_9setStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101901:(.text+0x13f692): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21444:(.text+0x13f69e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21444:(.text+0x13f6a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21444:(.text+0x13f6b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21449: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x13f882): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454105:(.text+0x13f890): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454111:(.text+0x13f90e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13f930): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21559:(.text+0x13f984): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21559:(.text+0x13f998): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21571:(.text+0x13f9a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21571:(.text+0x13f9b6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x13f9e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x13f9fe): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21593:(.text+0x13fa22): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x13fa50): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x13fa5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x13fa7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21495:(.text+0x13fa86): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13fa98): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13faa2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454111:(.text+0x13faca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13fad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21531:(.text+0x13fb08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0x13fb12): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21638:(.text+0x13fb3c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21619:(.text+0x13fb84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13fb96): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13fba0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13fbaa): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454259:(.text+0x13fc60): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454264:(.text+0x13fcba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x13fcc8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x13fcda): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454268:(.text+0x13fcee): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21571:(.text+0x13fd54): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21571:(.text+0x13fd6a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x13fdec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101428:(.text+0x13fe24): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x13fe4e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101468:(.text+0x13fe78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101468:(.text+0x13fe88): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101477:(.text+0x13fe9a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_16setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101507:(.text+0x13fec6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101442:(.text+0x13feea): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_16setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101521:(.text+0x13ff36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101448:(.text+0x13ff4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101448:(.text+0x13ff58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x13ffdc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100642:(.text+0x140006): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100629:(.text+0x140012): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100641:(.text+0x14001e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100629:(.text+0x14002a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100642:(.text+0x140036): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1401f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x140208): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x140222): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x140262): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100659:(.text+0x14032e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x140400): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x140420): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x14043e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100649:(.text+0x14045e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x14049e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100654:(.text+0x1404fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100798:(.text+0x140516): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100664:(.text+0x14055c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100798:(.text+0x140590): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1405aa): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1405b2): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100669:(.text+0x1405d6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1405e4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x140620): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x140660): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_1wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78609:(.text+0x140686): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78616:(.text+0x1406a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78642:(.text+0x1406ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1406f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x140740): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78737:(.text+0x140756): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14078c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78771:(.text+0x1407ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1407e4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1407fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14083e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78780:(.text+0x140848): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_LookupSpecial': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3695:(.text+0x14085e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78820:(.text+0x140976): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1409a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x140a5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x140a74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78694:(.text+0x140a9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78701:(.text+0x140ad4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78701:(.text+0x140ae2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x140b18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x140b48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseClosureNameError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447973:(.text+0x140ba6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140bd4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x140c40): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_1wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78615:(.text+0x140ca0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140cf4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x140d06): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x140d16): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x140d5e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x140d88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78938:(.text+0x140d98): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78938:(.text+0x140da6): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x140dc6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140ddc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x140e06): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x140e12): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x140e48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x140e52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140e5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140e6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseClosureNameError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447973:(.text+0x140eba): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x140ef0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78794:(.text+0x140efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78940:(.text+0x140f0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x140f18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x140f24): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78734:(.text+0x140f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x140fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x140fd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x141046): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78843:(.text+0x141052): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1410b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1410f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78853:(.text+0x141106): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78888:(.text+0x141182): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14118c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14119e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1411d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14120a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14121c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseClosureNameError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447973:(.text+0x141248): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x141270): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_LookupSpecial': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3704:(.text+0x14128a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14129e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78940:(.text+0x1412b6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1412e2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1412f2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x141306): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x141312): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x141328): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78819:(.text+0x141350): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x141378): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78941:(.text+0x141394): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1413c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1413cc): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78848:(.text+0x1413f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x141430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x141440): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x141452): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445855:(.text+0x14145e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78715:(.text+0x141472): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78865:(.text+0x14147c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78865:(.text+0x141486): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78864:(.text+0x141490): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14156a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_113getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317832:(.text+0x141596): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x14161e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x141656): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317935:(.text+0x14166c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317935:(.text+0x141692): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1416cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1416da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x141710): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x141740): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14179e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_113getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317819:(.text+0x1417cc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317815:(.text+0x141856): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x141882): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317954:(.text+0x14190a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x141942): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x141958): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318008:(.text+0x14197e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317960:(.text+0x1419b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317965:(.text+0x1419c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1419fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x141a2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x141a8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317945:(.text+0x141ab8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446577:(.text+0x141b42): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446585:(.text+0x141b6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446657:(.text+0x141bf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446624:(.text+0x141c30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446647:(.text+0x141c4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x141c6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x141ca8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446577:(.text+0x141cb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446632:(.text+0x141cec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x141d1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446607:(.text+0x141d84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446647:(.text+0x141db2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_7__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79467:(.text+0x141e44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x141e70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x141ef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__PyObject_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448680:(.text+0x141f32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethod0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448665:(.text+0x141f4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x141f6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448691:(.text+0x141faa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448691:(.text+0x141fb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448691:(.text+0x141fee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448691:(.text+0x142020): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448691:(.text+0x142086): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethod1': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446665:(.text+0x1420b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x142146): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_gettok': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17566:(.text+0x142172): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17583:(.text+0x1421fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x142234): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__PyList_PopIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446704:(.text+0x142250): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__PyObject_PopIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446686:(.text+0x142270): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1422ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1422ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1422f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_42getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73574:(.text+0x142322): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73586:(.text+0x142388): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73586:(.text+0x1423b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x142448): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17250:(.text+0x142474): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12244:(.text+0x1424fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x142534): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14254a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x142570): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1425aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1425b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1425ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x14261e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x14267c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1426aa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x142734): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18071:(.text+0x142760): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17956:(.text+0x1427e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x142820): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x142836): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14285c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x142896): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1428a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1428da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18125:(.text+0x14290a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x142968): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_42getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73598:(.text+0x142996): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x142a20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x142a4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17362:(.text+0x142ad4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17410:(.text+0x142b0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x142b2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18165:(.text+0x142b4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x142b86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x142b94): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_43getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73528:(.text+0x142bca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x142bfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x142c62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_42getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73617:(.text+0x142c90): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x142d22): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x142d4e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18034:(.text+0x142dd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17410:(.text+0x142e10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x142e2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17410:(.text+0x142e4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x142e88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x142e96): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17347:(.text+0x142ecc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x142efe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18059:(.text+0x142f64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17410:(.text+0x142f92): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17410:(.text+0x143024): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x143050): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73534:(.text+0x1430d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257999:(.text+0x143112): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258011:(.text+0x14312e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258049:(.text+0x14314e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14318a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258065:(.text+0x143198): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1431ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258183:(.text+0x143200): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x143266): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x143294): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x143326): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258152:(.text+0x143352): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1433da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258017:(.text+0x143414): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258027:(.text+0x143430): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0x143450): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258247:(.text+0x14348c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258211:(.text+0x14349a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1434d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258022:(.text+0x143502): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258027:(.text+0x143568): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x143596): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258046:(.text+0x143628): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x143654): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237003:(.text+0x1436dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237016:(.text+0x143714): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x14372a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x143750): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237071:(.text+0x14378a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237071:(.text+0x143798): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_122setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237121:(.text+0x1437ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1437fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x14385c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14388a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_122setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237144:(.text+0x143914): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x143940): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1439c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237021:(.text+0x143a00): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237031:(.text+0x143a16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447961:(.text+0x143a3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_122setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237251:(.text+0x143a76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237215:(.text+0x143a84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x143aba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237026:(.text+0x143aea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237031:(.text+0x143b48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x143b76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237050:(.text+0x143c00): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237046:(.text+0x143c2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237080:(.text+0x143cb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219692:(.text+0x143cec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219692:(.text+0x143d02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x143d28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219758:(.text+0x143d62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219760:(.text+0x143d70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x143da6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219903:(.text+0x143dd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x143e34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x143e62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219742:(.text+0x143eec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x143f18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x143fd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219715:(.text+0x143ff4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219752:(.text+0x144014): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219930:(.text+0x144050): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219930:(.text+0x144080): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219738:(.text+0x1440ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219715:(.text+0x144134): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219720:(.text+0x144162): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219734:(.text+0x1441f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x144220): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219769:(.text+0x14428a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_111setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275676:(.text+0x1442de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275712:(.text+0x1442f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x14431a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_111setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275730:(.text+0x144354): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x144384): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1443d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0x14442e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14445c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1444e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x144512): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x14457c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1445d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1445e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14460c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x144646): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_111setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275722:(.text+0x144676): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447961:(.text+0x1446c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_111setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275685:(.text+0x144720): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_110setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275881:(.text+0x14474e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_111setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275690:(.text+0x1447d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275698:(.text+0x144804): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275709:(.text+0x14486e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1448c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275842:(.text+0x1448e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223293:(.text+0x144900): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223293:(.text+0x14493c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14496c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223354:(.text+0x1449ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223403:(.text+0x144a20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223458:(.text+0x144a4e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223536:(.text+0x144ae0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x144b0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223559:(.text+0x144b76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x144bcc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x144be8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x144c08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223629:(.text+0x144c44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x144c74): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447963:(.text+0x144cc2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x144d28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223649:(.text+0x144d56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0x144de8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223675:(.text+0x144e14): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223741:(.text+0x144e7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223361:(.text+0x144ed4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x144ef0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223477:(.text+0x144f10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223458:(.text+0x144f4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223318:(.text+0x144f7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223446:(.text+0x144fca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223403:(.text+0x145030): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14505e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223834:(.text+0x1450f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14511c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223834:(.text+0x145186): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223403:(.text+0x1451dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223328:(.text+0x1451f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223329:(.text+0x145218): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223333:(.text+0x145254): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223802:(.text+0x145284): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1452d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223361:(.text+0x145338): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205544:(.text+0x145366): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1453f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x145424): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205607:(.text+0x14548e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205764:(.text+0x1454e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205699:(.text+0x145500): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205716:(.text+0x145520): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14555c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x14558c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1455da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205778:(.text+0x145640): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14566e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x145700): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x14572c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x145796): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1457ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x145800): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205776:(.text+0x145826): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205736:(.text+0x145860): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205741:(.text+0x145890): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1458dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14593a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x145968): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205578:(.text+0x1459f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x145a1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x145a88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x145ade): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x145afa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x145b1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x145b56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x145b86): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x145bd4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x145c3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x145c68): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x145cfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x145d26): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205719:(.text+0x145d90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x145de6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x145e02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x145e22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314532:(.text+0x145e5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x145e8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x145edc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_80getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314613:(.text+0x145f42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x145f70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314503:(.text+0x146002): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_80getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314632:(.text+0x14602e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314601:(.text+0x146098): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314506:(.text+0x1460ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x14610a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x14612a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_80getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314654:(.text+0x146166): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314669:(.text+0x146196): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1461e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314510:(.text+0x14624a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x146278): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_80getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314663:(.text+0x14630a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x146336): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1463a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_85getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315030:(.text+0x1463f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315030:(.text+0x14640a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_84getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315045:(.text+0x146430): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14269:(.text+0x14646a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14649a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1464e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_84getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315192:(.text+0x146544): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x146572): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1465fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x146628): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x146692): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_84getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315152:(.text+0x1466e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315152:(.text+0x146704): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315161:(.text+0x146724): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315174:(.text+0x146760): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x146790): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_84getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315161:(.text+0x1467de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x146844): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x146872): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314742:(.text+0x146904): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x146930): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314781:(.text+0x14699a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1469f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x146a0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x146a2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_82getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314862:(.text+0x146a68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x146a98): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x146ae6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314752:(.text+0x146b4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x146b7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314752:(.text+0x146bfa): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x146c34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_82getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314903:(.text+0x146c7c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314918:(.text+0x146cca): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314938:(.text+0x146d0a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x146d38): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x146d46): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x146d66): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_82getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314912:(.text+0x146d7c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314912:(.text+0x146e3a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99604:(.text+0x146e8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99604:(.text+0x146e96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99614:(.text+0x146ea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99604:(.text+0x146eae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x146eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99633: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99698:(.text+0x147050): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99724:(.text+0x147066): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99702:(.text+0x1470ac): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99791:(.text+0x1470b8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99791:(.text+0x1470c8): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1470d6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99624:(.text+0x1470e2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x147170): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99712:(.text+0x1471b0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1471c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1471ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1471e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99791:(.text+0x1471fe): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x147222): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x147290): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99791:(.text+0x1472a6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1472c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1472cc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1472de): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1472e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x147310): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x14733a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99724:(.text+0x14734c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x147358): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14736e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1473a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99791:(.text+0x1473ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1473d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1473f8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:538:(.text+0x14740a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x147416): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99708:(.text+0x147434): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99708:(.text+0x147442): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99708:(.text+0x14744c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99708:(.text+0x147456): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367682:(.text+0x147522): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14755c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1475a4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1475f2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x147632): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367898:(.text+0x147660): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367898:(.text+0x14766e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14768e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367907:(.text+0x1476a4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367996:(.text+0x147762): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1477b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1477be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1477ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1477d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1477e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367799:(.text+0x147978): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14798e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0x1479d4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0x1479e0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1479f0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0x1479fe): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367907:(.text+0x147a0a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x147a98): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367935:(.text+0x147ad8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x147aec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x147af6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367717:(.text+0x147b0a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367695:(.text+0x147b26): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367895:(.text+0x147b4a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x147bb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367912:(.text+0x147bce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x147bea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367799:(.text+0x147bf4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x147c06): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x147c10): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447982:(.text+0x147c38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x147c62): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367751:(.text+0x147c74): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367640:(.text+0x147c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x147c96): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0x147ccc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367659:(.text+0x147cd6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367682:(.text+0x147d00): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447982:(.text+0x147d20): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x147d32): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x147d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367797:(.text+0x147d5c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367704:(.text+0x147d6a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367704:(.text+0x147d74): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367640:(.text+0x147d7e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_pycapsule_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15437:(.text+0x147e4a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15396:(.text+0x147e84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15364:(.text+0x147ecc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x147f1a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_manager_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15495:(.text+0x147f5a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x147f88): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_pycapsule_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15376:(.text+0x147f96): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x147fb6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x147fcc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x14808a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54845:(.text+0x1480da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54875:(.text+0x1480e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1480f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.11/cpython/listobject.h:34:(.text+0x1480fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54847:(.text+0x14810a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54849: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1482a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54845:(.text+0x1482b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54867:(.text+0x1482fc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54867:(.text+0x148308): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x148316): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54868:(.text+0x148324): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54868:(.text+0x148330): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1483bc): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1483fc): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x148410): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14841a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14842e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14844a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55006:(.text+0x14846e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55019:(.text+0x1484dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55019:(.text+0x1484f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14850e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x148518): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14852a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x148534): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14855c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x148586): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x148598): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1485a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1485ba): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1485f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1485fa): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x148624): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54907:(.text+0x148644): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54907:(.text+0x148656): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x148662): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54910:(.text+0x148680): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54911:(.text+0x14868e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54911:(.text+0x148698): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54913:(.text+0x1486a2): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x14877c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54907:(.text+0x1487a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54842:(.text+0x148862): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x14887e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54964:(.text+0x14889e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1488dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14893c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54925:(.text+0x1489c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54907:(.text+0x1489ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x148a80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54964:(.text+0x148aac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447027:(.text+0x148b1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54909:(.text+0x148b74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54885:(.text+0x148b90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54889:(.text+0x148bb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15791:(.text+0x148bee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15860:(.text+0x148c4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x148cce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15998:(.text+0x148cfc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x148d82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16049:(.text+0x148dd6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x148dde): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16057:(.text+0x148e02): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16097:(.text+0x148e86): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x148f16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15905:(.text+0x148f30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x148f38): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x148f40): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x148f62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15964:(.text+0x149014): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16113:(.text+0x149020): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16113:(.text+0x14902a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x149036): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/include/python3.11/object.h:601:(.text+0x14906e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15851:(.text+0x149084): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16057:(.text+0x1490e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1490f8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14914e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x149158): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14916c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16012:(.text+0x149180): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1491b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1491bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16023:(.text+0x1491c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16023:(.text+0x1491d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16027:(.text+0x14922c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16045:(.text+0x149254): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16059:(.text+0x14925e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16059:(.text+0x149268): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14927a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1492e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16077:(.text+0x1492fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15907:(.text+0x149322): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15941:(.text+0x14935a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x14936c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16045:(.text+0x149382): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16045:(.text+0x14938c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x14939e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1493b4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71836:(.text+0x149460): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14948c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71885:(.text+0x1494f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_20prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71939:(.text+0x14954c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x149568): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x149588): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71863:(.text+0x1495c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71856:(.text+0x149626): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_7Options_prefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419872:(.text+0x1496a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419879:(.text+0x1496d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55944:(.text+0x149766): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x149792): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1497fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x149854): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x149870): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56170:(.text+0x149890): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1498ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14992e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1499b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1499e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56141:(.text+0x149a72): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56142:(.text+0x149a9e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56190:(.text+0x149b08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56195:(.text+0x149b60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56197:(.text+0x149b7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56199:(.text+0x149b9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x149bda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56224:(.text+0x149c3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x149cbe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x149cec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x149d7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x149daa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x149e14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x149e6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x149e88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x149ea8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x149ee6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56232:(.text+0x149f46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55994:(.text+0x149fca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56240:(.text+0x149ff8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56114:(.text+0x14a08a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56249:(.text+0x14a0b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14a120): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x14a178): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14a194): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14a1b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x14a1f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14a252): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x14a2d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447027:(.text+0x14a304): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56169:(.text+0x14a396): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56173:(.text+0x14a3c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x14a430): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366486:(.text+0x14a486): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14a49c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14a4c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366520:(.text+0x14a4fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x14a558): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14a5d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366462:(.text+0x14a602): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366440:(.text+0x14a68c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14a6b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14a726): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14a77c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14a792): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14a7b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x14a7f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366437:(.text+0x14a84e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46026:(.text+0x14a8ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14a8f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14a982): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49409:(.text+0x14a9ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x14aa18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14aa70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14aa8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49467:(.text+0x14aaac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49413:(.text+0x14aaea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49415:(.text+0x14ab4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14abce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14abfc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49335:(.text+0x14ac8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49371:(.text+0x14acba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14ad24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14ad7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49350:(.text+0x14ad98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14adb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49418:(.text+0x14adf6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x14ae56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49371:(.text+0x14aeda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14af08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49349:(.text+0x14af9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49126:(.text+0x14afc6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49151:(.text+0x14b030): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x14b088): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x14b0a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49225:(.text+0x14b0c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49234:(.text+0x14b102): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14b162): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14b1e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14b214): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49271:(.text+0x14b2a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14b2d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14b33c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49149:(.text+0x14b394): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49183:(.text+0x14b3b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49189:(.text+0x14b3d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49155:(.text+0x14b40e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49225:(.text+0x14b46e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49237:(.text+0x14b4f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49240:(.text+0x14b520): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14b5b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49201:(.text+0x14b5de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49187:(.text+0x14b648): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49165:(.text+0x14b6a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54174:(.text+0x14b6bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x14b6dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54217:(.text+0x14b71a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14b77a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54337:(.text+0x14b7fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x14b82c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14b8be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54391:(.text+0x14b8ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14b954): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14b9ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14b9c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14b9e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14ba26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54233:(.text+0x14ba86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14bb0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14bb38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14bbca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14bbf6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54338:(.text+0x14bc60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54342:(.text+0x14bcb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x14bcd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54178:(.text+0x14bcf4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14bd32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x14bd92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54270:(.text+0x14be16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43319:(.text+0x14be44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14bed6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44399:(.text+0x14bf02): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44413:(.text+0x14bf6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x14bfc4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14bfe0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14c000): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44467:(.text+0x14c03e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14c09e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14c122): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14c150): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44293:(.text+0x14c1e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44319:(.text+0x14c20e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14c276): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44397:(.text+0x14c2ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44399:(.text+0x14c2ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x14c30a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44407:(.text+0x14c348): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14c3a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44418:(.text+0x14c42a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14c458): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44370:(.text+0x14c4e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44372:(.text+0x14c514): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44346:(.text+0x14c57e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x14c5d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x14c5f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x14c612): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74282:(.text+0x14c650): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14c6b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74374:(.text+0x14c734): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74386:(.text+0x14c762): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14c7f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74418:(.text+0x14c820): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_3getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74248:(.text+0x14c88a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74439:(.text+0x14c8e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14c8fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14c91e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14c95c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_3getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74242:(.text+0x14c9bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74433:(.text+0x14ca40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14ca6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74437:(.text+0x14cb00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14cb2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74358:(.text+0x14cb96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x14cbec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74418:(.text+0x14cc02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74372:(.text+0x14cc28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14cc64): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14ccc2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x14cd3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447027:(.text+0x14cd6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74297:(.text+0x14cdf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42506:(.text+0x14ce22): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42555:(.text+0x14ce8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42568:(.text+0x14cee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x14cf00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14cf20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14cf5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x14cfbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42687:(.text+0x14d042): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x14d070): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42586:(.text+0x14d102): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42587:(.text+0x14d12e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14d198): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14d1f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42683:(.text+0x14d20c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42681:(.text+0x14d22c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x14d26a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14d2ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14d34e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14d37c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14d40e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14d43a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42630:(.text+0x14d4a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42636:(.text+0x14d4fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14d518): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0x14d538): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42599:(.text+0x14d576): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x14d5d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42559:(.text+0x14d65a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42676:(.text+0x14d688): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42690:(.text+0x14d71a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x14d746): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42693:(.text+0x14d7b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x14d808): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x14d824): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14d844): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x14d882): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x14d8e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42693:(.text+0x14d966): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x14d994): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42628:(.text+0x14da26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42604:(.text+0x14da52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x14dac0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_87getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315285:(.text+0x14db16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315285:(.text+0x14db2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315294:(.text+0x14db52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x14db8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x14dbe8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315435:(.text+0x14dc64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13861:(.text+0x14dc92): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14dd1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x14dd48): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x14ddb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x14de0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14de26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x14de46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x14de84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_87getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315278:(.text+0x14dee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315376:(.text+0x14df68): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x14df96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_87getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315254:(.text+0x14e028): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x14e054): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x14e0be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446559:(.text+0x14e116): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315469:(.text+0x14e132): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315480:(.text+0x14e152): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x14e190): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x14e1f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x14e274): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_87getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315263:(.text+0x14e2a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x14e334): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315489:(.text+0x14e360): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14e3ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x14e420): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x14e436): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x14e45c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14e498): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103226:(.text+0x14e4f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22219:(.text+0x14e572): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22225:(.text+0x14e5a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x14e62a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x14e656): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454656:(.text+0x14e6c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454497:(.text+0x14e718): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14e734): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103302:(.text+0x14e754): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x14e792): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x14e7f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103457:(.text+0x14e876): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x14e8a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14e936): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454543:(.text+0x14e962): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14e9cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103457:(.text+0x14ea24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103457:(.text+0x14ea40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454499:(.text+0x14ea60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22293:(.text+0x14ea9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22307:(.text+0x14eafe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14eb82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22374:(.text+0x14ebb0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454503:(.text+0x14ec42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103189:(.text+0x14ec6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x14ecd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14ed30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x14ed4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454651:(.text+0x14ed6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x14edaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103372:(.text+0x14ee0a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103396:(.text+0x14ee8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103383:(.text+0x14eebc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103202:(.text+0x14ef4e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14ef7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454660:(.text+0x14efe4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x14f03c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454650:(.text+0x14f058): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22307:(.text+0x14f078): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22309:(.text+0x14f0b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454662:(.text+0x14f116): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_17setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353790:(.text+0x14f19a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14f1c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x14f25a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x14f286): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_17setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353794:(.text+0x14f2f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353809:(.text+0x14f348): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451511:(.text+0x14f364): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353924:(.text+0x14f384): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x14f3c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x14f422): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_17setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353803:(.text+0x14f4a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353867:(.text+0x14f4d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x14f56a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14f596): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x14f638): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x14f656): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x14f664): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14f690): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x14f6a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14f6cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_17setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353815:(.text+0x14f6f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353815:(.text+0x14f70c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353811:(.text+0x14f760): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14f7a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x14f7ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353877:(.text+0x14f84e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x14f87a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321273:(.text+0x14f90e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321311:(.text+0x14f942): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14f95e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321322:(.text+0x14f97e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321333:(.text+0x14f9ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_156getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321359:(.text+0x14f9c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x14fa4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x14fab2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_156getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321403:(.text+0x14fae0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x14fb76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321299:(.text+0x14fba2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x14fc36): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321291:(.text+0x14fc58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14fc76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_156getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321401:(.text+0x14fc84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x14fcb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x14fcc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x14fcec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x14fd22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x14fd78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x14fdd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x14fe04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321305:(.text+0x14fe86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x14feb2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_156getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321369:(.text+0x14ff18): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x14ff42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321333:(.text+0x14ff7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x14ff98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x14ffb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x14fff4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_59viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350613:(.text+0x150002): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x150038): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_59viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350626:(.text+0x15004a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350635:(.text+0x15007c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1500e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350716:(.text+0x150110): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1501ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1501fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350751:(.text+0x1502a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350792:(.text+0x1502c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1502d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x150300): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15031c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15033c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x150378): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350716:(.text+0x150386): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350792:(.text+0x1503da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_59viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350598:(.text+0x150440): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350792:(.text+0x15046e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1504fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350729:(.text+0x150528): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72251:(.text+0x1505d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72260:(.text+0x1505f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72260:(.text+0x150600): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x15062e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72310:(.text+0x15064a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x15066a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12244:(.text+0x1506a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1506b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72226:(.text+0x150708): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15076e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x15079c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72385:(.text+0x15082a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72445:(.text+0x150856): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x150902): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x150920): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x15092e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15095c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72218:(.text+0x150978): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x150998): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72526:(.text+0x1509d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72526:(.text+0x1509e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x150a36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x150a9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x150aca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x150b58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72406:(.text+0x150b84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x150c30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x150c4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72447:(.text+0x150c5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72526:(.text+0x150c88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x150c9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72445:(.text+0x150cc4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72236:(.text+0x150cfe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72236:(.text+0x150d0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x150d5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72409:(.text+0x150dbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x150dea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72394:(.text+0x150e6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72411:(.text+0x150e9a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x150f82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219100:(.text+0x150f9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x150fbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219139:(.text+0x150ffa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219130:(.text+0x15102a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x151076): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1510d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x151106): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219114:(.text+0x151196): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219123:(.text+0x1511c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x15120a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219111:(.text+0x151234): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_52callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219182:(.text+0x15128a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `KSPConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:358:(.text+0x1512a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:358:(.text+0x1512c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219111:(.text+0x151302): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219124:(.text+0x151332): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219124:(.text+0x151346): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219120:(.text+0x151394): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1513fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x151428): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311883:(.text+0x1514e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311921:(.text+0x15150e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311934:(.text+0x151556): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311943:(.text+0x151580): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311982:(.text+0x1515d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312002:(.text+0x1515f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x151612): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x15164e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x15167e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311972:(.text+0x151692): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1516e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312102:(.text+0x151746): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x151774): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x15182e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311907:(.text+0x15185a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312014:(.text+0x1518ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x151922): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x15193e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312062:(.text+0x15195e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311906:(.text+0x15199a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311906:(.text+0x1519a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1519e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x151a42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x151aa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311915:(.text+0x151ad4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x151b64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x151b90): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137823:(.text+0x151bda): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x151c06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137845:(.text+0x151c5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x151c70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x151c96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x151cd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x151d00): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x151d12): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_236maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137964:(.text+0x151d5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137969:(.text+0x151dbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x151dea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x151e9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x151ec8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137815:(.text+0x151f5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x151f92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x151fae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x151fce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137808:(.text+0x15200a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137808:(.text+0x152018): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x152050): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x1520b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137808:(.text+0x152118): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x152146): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1521d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137817:(.text+0x152204): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313063:(.text+0x152298): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1522ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313114:(.text+0x1522ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313123:(.text+0x15230a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x152346): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x152354): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x15238c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x1523ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x152454): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x152482): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1524f0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313089:(.text+0x15254a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x152586): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313086:(.text+0x1525e2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313087:(.text+0x1525f8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_54setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313259:(.text+0x152684): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313087:(.text+0x152706): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x152712): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_54setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313171:(.text+0x15271e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313171:(.text+0x15272c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x152758): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x152764): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_54setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313235:(.text+0x15277c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313244:(.text+0x152794): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313099:(.text+0x1527b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x152832): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x152842): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1528a8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260565:(.text+0x15291a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15292e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15293e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15295c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260604:(.text+0x152968): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260604:(.text+0x15297a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260613:(.text+0x152992): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260613:(.text+0x15299c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260645:(.text+0x1529ca): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260648:(.text+0x1529f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260648:(.text+0x1529fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x152a2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260662:(.text+0x152a34): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260673:(.text+0x152a5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x152a7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260648:(.text+0x152aa2): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260662:(.text+0x152aac): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x152ab6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260579:(.text+0x152afc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260588:(.text+0x152b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260571:(.text+0x152b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260576:(.text+0x152b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260662:(.text+0x152c6a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x152cd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260589:(.text+0x152cf6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x152d22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x152d3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x152d48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260613:(.text+0x152d9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320947:(.text+0x152db4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x152de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320998:(.text+0x152e32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321007:(.text+0x152e48): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320988:(.text+0x152e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321033:(.text+0x152e6a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x152e7c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x152e92): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321063:(.text+0x152f42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321077:(.text+0x152f7c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320970:(.text+0x15303e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320992:(.text+0x15309a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1530b0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320965:(.text+0x1530f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321075:(.text+0x153124): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x153156): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x153170): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1531e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321073:(.text+0x1531fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320970:(.text+0x153260): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320971:(.text+0x15326c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x15327e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321075:(.text+0x153298): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1532a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1532b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320983:(.text+0x1532bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320983:(.text+0x1532c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320983: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15330a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x15336c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321053:(.text+0x153384): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1533d0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0x153410): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x153428): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x153440): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x153452): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336880:(.text+0x15347e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1534c8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1534d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336935:(.text+0x153516): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x15355c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337000:(.text+0x153572): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337023:(.text+0x1535ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1535b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1535e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1535f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337028:(.text+0x153606): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337038:(.text+0x153622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15362c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x153636): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x153648): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x153652): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x153664): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x15367a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x153688): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336945:(.text+0x15369a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336945:(.text+0x1536b0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336945:(.text+0x1536be): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x1536d0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1536e6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x153700): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15370c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/include/python3.11/object.h:537:(.text+0x153724): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336903:(.text+0x15374e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x1537ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336939:(.text+0x1537fe): undefined reference to `PyDict_Contains' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336935:(.text+0x15385e): undefined reference to `PyModule_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x153892): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x1538b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336898:(.text+0x1538ce): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336903:(.text+0x1538d8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336916:(.text+0x153938): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15394e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x153978): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336933:(.text+0x1539a8): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336945:(.text+0x1539d2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x153a52): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30136:(.text+0x153af0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x153b4a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30150:(.text+0x153b64): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x153bde): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0x153bf6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x153c5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x153c6e): undefined reference to `PyCode_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x153ca2): undefined reference to `PyEval_MergeCompilerFlags' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30146:(.text+0x153cc0): undefined reference to `PyRun_StringFlags' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_NullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29997:(.text+0x153dba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29997:(.text+0x153dc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29997:(.text+0x153dd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30026:(.text+0x153dde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x153df4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x153e08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30055:(.text+0x153e1e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30101:(.text+0x153e48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x153e58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30105:(.text+0x153e68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30111:(.text+0x153e88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30075:(.text+0x153eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30025: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30136:(.text+0x153ece): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30083:(.text+0x153f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30084:(.text+0x153f22): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x153f30): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30151:(.text+0x153f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x153fd2): undefined reference to `PyDict_DelItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x153fec): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30161:(.text+0x154010): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15404c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30101:(.text+0x154058): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x154082): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1540a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30119:(.text+0x1540b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1540cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1540e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30109:(.text+0x1540f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x154114): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30109:(.text+0x154120): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30019:(.text+0x15412c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30079:(.text+0x15413e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30079:(.text+0x15414a): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1541b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1541c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378884:(.text+0x1541e8): undefined reference to `PyEval_EvalCode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x154222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378902:(.text+0x154236): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378981:(.text+0x154288): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1542a0): undefined reference to `PyUnicode_AsUTF8String' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378985:(.text+0x1542c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1542ce): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0x1542e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378989:(.text+0x1542ea): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378989:(.text+0x1542f6): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0x154348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1543e2): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x154406): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x154424): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x15444e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x154456): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x15447a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379201:(.text+0x1544e8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379201:(.text+0x1544f0): undefined reference to `PyExc_UnboundLocalError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379201:(.text+0x15450a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x154526): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x154548): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446843:(.text+0x154558): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x154574): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15457e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379201:(.text+0x15458a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379201:(.text+0x154596): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368658:(.text+0x1545f4): undefined reference to `PyEval_GetBuiltins' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x154602): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15462a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x154638): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379227:(.text+0x154644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0x154650): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15465c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x154672): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379250:(.text+0x15469c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379257:(.text+0x1546c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379268:(.text+0x15470e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x154736): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x154754): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x154766): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x15477a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x154788): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x154794): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1547a6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1547b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379182:(.text+0x1547c4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x1547d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378812:(.text+0x1547f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x154806): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.11/object.h:537:(.text+0x154810): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15481e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x154830): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379421:(.text+0x154846): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15486c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x15487e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x154894): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1548ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1548ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1548c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379436:(.text+0x1548d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379436:(.text+0x1548ec): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x154a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378977:(.text+0x154a62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378810:(.text+0x154a74): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446848:(.text+0x154a84): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x154ab0): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x154b40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x154b4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x154b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379163:(.text+0x154b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379219:(.text+0x154bde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379179: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x154cb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x154cf8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x154d9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698:(.text+0x154de8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378817:(.text+0x154e18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x154e4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x154e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x154e74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x154e80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x154ee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x154f6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378813:(.text+0x154f82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x154fdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379367:(.text+0x154ff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379358:(.text+0x155002): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscObjectComposedDataSetIntPy': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:164:(.text+0x15500e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x155046): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x15505a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378814:(.text+0x155074): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379179:(.text+0x1550fc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379179:(.text+0x15510e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379001:(.text+0x155128): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379238:(.text+0x15515a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379255:(.text+0x1551aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1551d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379257:(.text+0x155230): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscObjectComposedDataSetIntPy': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:164:(.text+0x155266): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379260:(.text+0x1552ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379260:(.text+0x1552c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379236:(.text+0x155388): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1553b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379182:(.text+0x155414): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379271:(.text+0x155476): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378911:(.text+0x1554a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscObjectComposedDataRegisterPy': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:172:(.text+0x1554bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1554e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_59filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345988:(.text+0x15551e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x155554): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1555c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_59filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346012:(.text+0x15563a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346000:(.text+0x155668): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_58filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346081:(.text+0x1556ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15571a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_49createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345416:(.text+0x155782): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345416:(.text+0x155790): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1557ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1557f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_49createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345467:(.text+0x15580e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345476:(.text+0x155834): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345442:(.text+0x15586e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345442:(.text+0x15587c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345446:(.text+0x1558b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_48createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345506:(.text+0x1558c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_49createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345439:(.text+0x1558f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345439:(.text+0x155954): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_48createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345520:(.text+0x155982): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42161:(.text+0x155a34): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42176:(.text+0x155a60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42828:(.text+0x155ac8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42851:(.text+0x155ad6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42887:(.text+0x155b00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x155b40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42950:(.text+0x155b5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42952:(.text+0x155b7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42960:(.text+0x155bb8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42961:(.text+0x155bc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x155bfe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x155c10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x155c42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43011:(.text+0x155ca8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42851:(.text+0x155cd6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x155d90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0x155dbc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x155e0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x155e54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x155ea2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42772:(.text+0x155ebe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42763:(.text+0x155ede): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42883:(.text+0x155f68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42950:(.text+0x155faa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42958:(.text+0x156032): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x156060): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1560f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15611e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x156186): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x156194): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1561be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42887:(.text+0x1561fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42887:(.text+0x156212): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42891:(.text+0x156238): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43386:(.text+0x156272): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43319:(.text+0x156280): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1562b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1562ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43442:(.text+0x1562fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x156358): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43570:(.text+0x156386): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x156422): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15655e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1565e4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1565fa): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43625:(.text+0x15666e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1566cc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1566f0): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43430:(.text+0x15671a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43390:(.text+0x15672a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43505:(.text+0x15673c): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43541:(.text+0x15676c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x156798): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43491:(.text+0x1567d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43570:(.text+0x1567e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43578:(.text+0x1567f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43578:(.text+0x1567fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43578:(.text+0x156804): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43580: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43586:(.text+0x156882): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x156890): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1568a0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1568ae): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1569b2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1569e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1569f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x156a14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43545:(.text+0x156a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43390:(.text+0x156a3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43515: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48374:(.text+0x156bb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x156bce): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48405:(.text+0x156bec): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x156c34): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48489:(.text+0x156cf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x156daa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x156dda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x156e12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48546:(.text+0x156ec4): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x156f6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x156f84): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x156fbe): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x156fc6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x156fe8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x156ff4): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x157044): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x157078): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x1570ac): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48392:(.text+0x1570ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48392:(.text+0x157102): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48394:(.text+0x157114): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x15712a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48395:(.text+0x15714a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48434:(.text+0x157172): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48438:(.text+0x1571c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48440:(.text+0x1571d6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48444:(.text+0x15720c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x157248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48408:(.text+0x15729c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48408:(.text+0x1572a6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48382:(.text+0x1572bc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1573ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x157416): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1574c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1574f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x157514): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x157534): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x157570): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48434:(.text+0x15757e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1575ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48452:(.text+0x157616): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48369:(.text+0x157694): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1576c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48412:(.text+0x15774c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48412:(.text+0x157778): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1577d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_2addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336497:(.text+0x157840): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336508:(.text+0x157874): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15788a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1578b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_2addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336538:(.text+0x1578ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15796c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1579e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_3addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336459:(.text+0x157a12): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x157a9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x157aca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_3addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336463:(.text+0x157b60): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336469:(.text+0x157b74): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x157ba4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_2addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336564:(.text+0x157bc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_3addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336445:(.text+0x157be0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x157c1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x157c2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273491:(.text+0x157c64): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273503:(.text+0x157c96): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273542:(.text+0x157cfc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_78computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273578:(.text+0x157d2a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273706:(.text+0x157dbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273646:(.text+0x157de8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273514:(.text+0x157e32): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273514:(.text+0x157e40): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273517:(.text+0x157e6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x157ec6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_78computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273731:(.text+0x157ee2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x157f02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273547:(.text+0x157f3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273514:(.text+0x157f6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273515:(.text+0x157f82): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273527:(.text+0x157fd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x158036): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273557:(.text+0x158064): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x158106): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1581c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1581e4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x158234): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x15828e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1582c0): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1582ce): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1582f0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x158306): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1583b4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158408): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158418): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158426): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158432): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15843e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158448): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158452): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x158678): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44910:(.text+0x15868a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44982:(.text+0x15870a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x15872a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44999:(.text+0x15876c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44999:(.text+0x158780): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x158798): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1587ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1587da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44926:(.text+0x1587f0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x158824): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x158842): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x15884c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x15885e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x158868): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44999:(.text+0x158890): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15889c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44935:(.text+0x1588d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44778:(.text+0x1588da): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44905:(.text+0x158904): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44909:(.text+0x158928): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44909:(.text+0x15893a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44909:(.text+0x158944): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49847:(.text+0x15894e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49905:(.text+0x158a04): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x158ac6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50047:(.text+0x158ae2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x158b32): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50082:(.text+0x158b8c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x158bbe): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x158bcc): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x158bee): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50111:(.text+0x158c04): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x158cb2): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158d06): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158d16): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x158d30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x158d3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x158d46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x158d50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49862: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x158f76): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x158f88): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50055:(.text+0x159008): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50058:(.text+0x159028): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x15906a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x15907e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x159096): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1590aa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49854:(.text+0x1590d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1590ee): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x159122): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x159140): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x15914a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x15915c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x159166): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x15918e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x15919a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49978:(.text+0x1591ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49978:(.text+0x1591d8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49982:(.text+0x159202): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49982:(.text+0x159226): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45709:(.text+0x159238): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45709:(.text+0x159242): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45709:(.text+0x15924c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45811:(.text+0x159302): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1593c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45913:(.text+0x1593e0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45924:(.text+0x159430): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45935:(.text+0x15948a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1594bc): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1594ca): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1594ec): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x159502): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1595b0): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159604): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159614): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159622): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15962e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15963a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159644): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15964e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x159874): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45881:(.text+0x159886): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x159906): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159926): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x159968): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x15997c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x159994): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45828:(.text+0x1599a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1599d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1599ec): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159a20): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159a3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159a48): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159a5a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159a64): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159a8c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45924:(.text+0x159a98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x159acc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x159ad6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45931:(.text+0x159b00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45913:(.text+0x159b24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45860:(.text+0x159b36): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45860:(.text+0x159b40): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45862:(.text+0x159b4a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45935:(.text+0x159c00): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x159cc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159cde): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x159d2e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x159d88): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x159dba): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x159dc8): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x159dea): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45941:(.text+0x159e00): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45882:(.text+0x159eae): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45860:(.text+0x159f02): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45860:(.text+0x159f12): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45860:(.text+0x159f20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_15setLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347536:(.text+0x159f2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347536:(.text+0x159f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347536:(.text+0x159f42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x159f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347548: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_15setLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347572:(.text+0x15a172): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347572:(.text+0x15a184): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347596:(.text+0x15a204): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42228:(.text+0x15a224): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x15a266): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42272:(.text+0x15a27a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42274:(.text+0x15a292): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x15a2a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15a2d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x15a2ea): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15a31e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42356:(.text+0x15a33c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15a346): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42358:(.text+0x15a358): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x15a362): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42366:(.text+0x15a38a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42367:(.text+0x15a396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x15a3ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x15a3d4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42403:(.text+0x15a3fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455886:(.text+0x15a422): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455886:(.text+0x15a434): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15a43e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15a448): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15a4fe): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15a5c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0x15a5dc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42230:(.text+0x15a62c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42316:(.text+0x15a686): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42272:(.text+0x15a6b8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42231:(.text+0x15a6c6): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x15a6e8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x15a6fe): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x15a7ac): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455990:(.text+0x15a800): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455990:(.text+0x15a810): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455902:(.text+0x15a81e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455902:(.text+0x15a82a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455888:(.text+0x15a836): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x15a840): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x15a84a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x15aa70): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x15aa82): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42288:(.text+0x15ab02): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_41addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152959:(.text+0x15ab22): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ab64): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ab78): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_41addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153008:(.text+0x15ab90): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153010:(.text+0x15aba4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153019:(.text+0x15abd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_40addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153040:(.text+0x15abe8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153071:(.text+0x15ac1c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_41addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152974:(.text+0x15ac3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152982:(.text+0x15ac44): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152985:(.text+0x15ac56): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152985:(.text+0x15ac60): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152989:(.text+0x15ac88): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152989:(.text+0x15ac94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152983:(.text+0x15acc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_40addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153040:(.text+0x15acd2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153075:(.text+0x15acfc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153050:(.text+0x15ad20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_41addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152982:(.text+0x15ad32): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152982:(.text+0x15ad3c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x15ad46): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_41addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153019:(.text+0x15adfc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152885:(.text+0x15aebe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_38setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152916:(.text+0x15aeda): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152840:(.text+0x15af2a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152855:(.text+0x15af84): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152849:(.text+0x15afb6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_38setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152906:(.text+0x15afc4): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152941:(.text+0x15afe6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152916:(.text+0x15affc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b0aa): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_31setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152360:(.text+0x15b0fe): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152360:(.text+0x15b10e): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152371:(.text+0x15b11c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15b128): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b134): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b13e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_31setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152396:(.text+0x15b36e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b380): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187881:(.text+0x15b400): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187881:(.text+0x15b420): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b462): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187932:(.text+0x15b476): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187934:(.text+0x15b48e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187941:(.text+0x15b4a2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_398setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187972:(.text+0x15b4d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x15b4e6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0x15b51a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0x15b538): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187907:(.text+0x15b542): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187911:(.text+0x15b554): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187911:(.text+0x15b55e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187926:(.text+0x15b586): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0x15b592): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_398setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187996:(.text+0x15b5c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187996:(.text+0x15b5d0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187972:(.text+0x15b5fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0x15b61e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15b630): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_398setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187982:(.text+0x15b63a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187982:(.text+0x15b644): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_33copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348836:(.text+0x15b6fa): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_32copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348917:(.text+0x15b7bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348927:(.text+0x15b7d8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_33copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348859:(.text+0x15b828): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348880:(.text+0x15b882): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_32copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348917:(.text+0x15b8b4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348951:(.text+0x15b8c2): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348927:(.text+0x15b8e4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348927:(.text+0x15b8fa): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b9a8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_51setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153683:(.text+0x15b9fc): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153694:(.text+0x15ba0c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153683:(.text+0x15ba1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153683:(.text+0x15ba26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153721:(.text+0x15ba32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ba3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ba46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_51setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153719:(.text+0x15bc6c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15bc7e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155492:(.text+0x15bcfe): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155530:(.text+0x15bd1e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155541:(.text+0x15bd60): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155543:(.text+0x15bd74): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155552:(.text+0x15bd8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155533:(.text+0x15bda0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_76setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155593:(.text+0x15bdce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155605:(.text+0x15bde4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155515:(.text+0x15be18): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155518:(.text+0x15be36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155522:(.text+0x15be40): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155522:(.text+0x15be52): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155522:(.text+0x15be5c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155510:(.text+0x15be84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155516:(.text+0x15be90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_76setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155608:(.text+0x15bec4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155583:(.text+0x15bece): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155510:(.text+0x15bef8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_76setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155593:(.text+0x15bf1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155528:(.text+0x15bf2e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155528:(.text+0x15bf38): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155528:(.text+0x15bf42): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158398:(.text+0x15bff8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_44setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158488:(.text+0x15c0ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15c0d6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158413:(.text+0x15c126): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158411:(.text+0x15c180): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_44setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158502:(.text+0x15c1b2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158478:(.text+0x15c1c0): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158410:(.text+0x15c1e2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158410:(.text+0x15c1f8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15c2a6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_25setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310366:(.text+0x15c2fa): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310393:(.text+0x15c30a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c318): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c324): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c330): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c33a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c344): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310406: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c568): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c57a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x15c5fa): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15c61a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343932:(.text+0x15c65c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343941:(.text+0x15c670): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343941:(.text+0x15c688): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_22clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343962:(.text+0x15c69c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15c6ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15c6e0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343907:(.text+0x15c714): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343907:(.text+0x15c732): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343911:(.text+0x15c73c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343911:(.text+0x15c74e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343911:(.text+0x15c758): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343904:(.text+0x15c780): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_22clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343962:(.text+0x15c78c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343972:(.text+0x15c7c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343972:(.text+0x15c7ca): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343904:(.text+0x15c7f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_22clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343982:(.text+0x15c818): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343917:(.text+0x15c82a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343917:(.text+0x15c834): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343917:(.text+0x15c83e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_15setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343412:(.text+0x15c8f4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_14setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343503:(.text+0x15c9b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15c9d2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_15setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343438:(.text+0x15ca22): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343430:(.text+0x15ca7c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_14setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343527:(.text+0x15caae): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343528:(.text+0x15cabc): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343503:(.text+0x15cade): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_15setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343435:(.text+0x15caf4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x15cba2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_27setFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152123:(.text+0x15cbf6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152123:(.text+0x15cc06): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152161:(.text+0x15cc14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15cc20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15cc2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15cc36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15cc40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ce66): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ce78): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15cef8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15cf18): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_53addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153868:(.text+0x15cf5a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153877:(.text+0x15cf6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_52addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153898:(.text+0x15cf86): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153908:(.text+0x15cf9a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15cfc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_53addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153832:(.text+0x15cfde): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153843:(.text+0x15d012): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153847:(.text+0x15d030): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153847:(.text+0x15d03a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153861:(.text+0x15d04c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153835:(.text+0x15d056): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_52addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153898:(.text+0x15d07e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153898:(.text+0x15d08a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153908:(.text+0x15d0be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153908:(.text+0x15d0c8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15d0f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_53addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153853:(.text+0x15d116): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153853:(.text+0x15d128): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153853:(.text+0x15d132): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15d13c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15d1f2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15d2b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221463:(.text+0x15d2d0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221478:(.text+0x15d320): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_92setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221563:(.text+0x15d37a): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221539:(.text+0x15d3ac): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221466:(.text+0x15d3ba): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x15d3dc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_92setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221549:(.text+0x15d3f2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343274:(.text+0x15d4a0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15d4f4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15d504): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343323:(.text+0x15d512): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343325:(.text+0x15d51e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343325:(.text+0x15d52a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343325:(.text+0x15d534): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343315:(.text+0x15d53e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343329: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343306:(.text+0x15d764): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15d776): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15d7f6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15d816): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_166setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208154:(.text+0x15d858): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208164:(.text+0x15d86c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15d884): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_167setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208134:(.text+0x15d898): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208084:(.text+0x15d8c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208095:(.text+0x15d8dc): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208099:(.text+0x15d910): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208114:(.text+0x15d92e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208092:(.text+0x15d938): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208092:(.text+0x15d94a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208124:(.text+0x15d954): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_166setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208154:(.text+0x15d97c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208154:(.text+0x15d988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_167setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208092:(.text+0x15d9bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208092:(.text+0x15d9c6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208105:(.text+0x15d9f0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208105:(.text+0x15da14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15da26): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15da30): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15da3a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15db08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355035:(.text+0x15db34): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355008:(.text+0x15dbde): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355012:(.text+0x15dc14): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355000:(.text+0x15dc30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355037:(.text+0x15dc50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_38setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355091:(.text+0x15dc8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355091:(.text+0x15dc9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15dcd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15dd2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_181setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209032:(.text+0x15dd94): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209070:(.text+0x15ddc2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_180setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209127:(.text+0x15de58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_181setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209097:(.text+0x15de84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209056:(.text+0x15df38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209085:(.text+0x15df56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_180setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209117:(.text+0x15df64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_181setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209085:(.text+0x15df92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209055:(.text+0x15dfae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15dfce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_181setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209068:(.text+0x15e00a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15e018): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15e068): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209326:(.text+0x15e0ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15e0f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209353:(.text+0x15e182): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209303:(.text+0x15e1ae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209318:(.text+0x15e1f6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209318:(.text+0x15e1fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209332:(.text+0x15e21a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209312:(.text+0x15e240): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_184setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209373:(.text+0x15e272): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209341:(.text+0x15e2a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15e2d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209324:(.text+0x15e2ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209324:(.text+0x15e312): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15e34a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15e384): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15e402): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_163setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207845:(.text+0x15e430): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207817:(.text+0x15e4c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207820:(.text+0x15e4f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_162setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207879:(.text+0x15e56e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_163setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207817:(.text+0x15e5c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x15e5d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_163setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207830:(.text+0x15e5fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15e638): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15e6e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_41setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230432:(.text+0x15e742): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_40setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230486:(.text+0x15e770): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_41setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230417:(.text+0x15e7fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230426:(.text+0x15e828): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230415:(.text+0x15e8da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230427:(.text+0x15e90a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230427:(.text+0x15e926): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15e946): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15e980): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ea06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_158setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207626:(.text+0x15ea8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x15eab8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_159setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207542:(.text+0x15eb44): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207574:(.text+0x15eb70): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207555:(.text+0x15ec1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ec4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_159setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207551:(.text+0x15ec6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15ec8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_53setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359139:(.text+0x15ecc4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359179:(.text+0x15ed46): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359143:(.text+0x15edc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359154:(.text+0x15edf6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_52setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359213:(.text+0x15ee84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359237:(.text+0x15eeb0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359223:(.text+0x15eef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ef34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_53setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359160:(.text+0x15ef62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230116:(.text+0x15efa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230116:(.text+0x15efae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230154:(.text+0x15efdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15eff8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230165:(.text+0x15f018): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_36setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230211:(.text+0x15f06e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230131:(.text+0x15f0b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230146:(.text+0x15f11c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230139:(.text+0x15f14a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230139:(.text+0x15f1c0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15f282): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230181:(.text+0x15f29e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15f2ee): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15f2fe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_33setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229896:(.text+0x15f358): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15f38a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_33setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229906:(.text+0x15f39c): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229856:(.text+0x15f3c6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229867:(.text+0x15f3e0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_32setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229926:(.text+0x15f490): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x15f4e6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_32setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229936:(.text+0x15f4f6): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_33setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229877:(.text+0x15f504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229877:(.text+0x15f510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229877:(.text+0x15f51c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229877:(.text+0x15f526): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229877:(.text+0x15f530): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_29setFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229589:(.text+0x15f75c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229621:(.text+0x15f76a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15f7f6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15f86a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_29setFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229598:(.text+0x15f87e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15f888): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15f896): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15f8a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x15f8d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355320:(.text+0x15f8e2): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15f90c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15f924): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355360:(.text+0x15f944): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_44setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355394:(.text+0x15f970): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15f994): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355374:(.text+0x15f9bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x15f9c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355335:(.text+0x15fa00): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355335:(.text+0x15fa0e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355344:(.text+0x15fa3c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355333:(.text+0x15fa66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355364:(.text+0x15fa7c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355362:(.text+0x15fa86): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_44setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355394:(.text+0x15fa94): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15fb54): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15fc16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_43setStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345164:(.text+0x15fc32): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x15fc82): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x15fc92): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_43setStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345139:(.text+0x15fcec): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345143:(.text+0x15fd1e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345143:(.text+0x15fd30): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345137:(.text+0x15fd5a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345168:(.text+0x15fd74): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345149:(.text+0x15fe24): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345145:(.text+0x15fe7a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15fe8a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15fe98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x15fea4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_183setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209160:(.text+0x15feb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209160:(.text+0x15feba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209160:(.text+0x15fec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209160: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1600f0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_182setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209255:(.text+0x1600fe): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16018a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0x1601fe): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63140:(.text+0x160212): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16021c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63143:(.text+0x16022a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x16023c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63185:(.text+0x160266): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63211:(.text+0x160276): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1602a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1602b8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1602d8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63283:(.text+0x160304): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63291:(.text+0x160328): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x160350): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x16035c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x160394): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1603a2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1603d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1603fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x160410): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16041a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63406:(.text+0x160428): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1604fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63395:(.text+0x16052a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63360:(.text+0x1605f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x160620): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x160636): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x16065c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x160694): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63211:(.text+0x1606ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63251:(.text+0x160706): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63217:(.text+0x16073c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1607a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63288:(.text+0x1607d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x160856): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1608e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1608f0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x160968): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63242:(.text+0x16097e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x160990): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1609f4): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x160a26): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x160a34): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63249:(.text+0x160a56): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63409:(.text+0x160a6c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63443:(.text+0x160b14): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63459:(.text+0x160b54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63470:(.text+0x160b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x160b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63488:(.text+0x160b76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63488:(.text+0x160b80): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x160b94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63527:(.text+0x160ba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x160bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63537:(.text+0x160bb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x160bc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63725:(.text+0x160d76): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63725:(.text+0x160d82): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x160e1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x160e36): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63711:(.text+0x160e4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x160e9a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63454:(.text+0x160eca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63425:(.text+0x160ee6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63676:(.text+0x160efa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x160f14): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x160f36): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x160f54): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x160f7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63459:(.text+0x160f88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63504:(.text+0x160fc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63513:(.text+0x160fd0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63558:(.text+0x160ffe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63565:(.text+0x16102a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x161040): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63531:(.text+0x161052): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63533:(.text+0x16105c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63434:(.text+0x161066): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x161074): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x161134): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1611a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1611f2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x16126e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1612c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16132e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x161354): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x161360): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x16136c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63537:(.text+0x1613ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63537:(.text+0x1613c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0x161452): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1614d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65551:(.text+0x1614e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1614ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x16153c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65613:(.text+0x16154c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1615e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65681:(.text+0x16161e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x161632): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16163e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16164e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65739:(.text+0x161698): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20894:(.text+0x1616c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1616cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1616d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1616fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x161708): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65613:(.text+0x161730): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x161752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65725:(.text+0x161772): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65725:(.text+0x16177c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65725:(.text+0x161786): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65690:(.text+0x161824): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x16185e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1618ca): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65541:(.text+0x161918): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x161964): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x161996): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65606:(.text+0x1619a4): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65611:(.text+0x1619c6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65555:(.text+0x1619de): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65632:(.text+0x161a92): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x161aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x161ace): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x161aea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65632:(.text+0x161af6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x161b02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65438:(.text+0x161cae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65551:(.text+0x161cc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x161d44): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x161d50): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x161d60): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x161d6e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x161d7a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_267computeGradientClementInterpolant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327415:(.text+0x161e10): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327372:(.text+0x161e50): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327375:(.text+0x161e64): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327375:(.text+0x161e7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327379:(.text+0x161e90): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327379:(.text+0x161eaa): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327367:(.text+0x161ecc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327372:(.text+0x161f36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x161f52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_266computeGradientClementInterpolant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327457:(.text+0x161f70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_267computeGradientClementInterpolant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327402:(.text+0x161f7a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327385:(.text+0x161f8c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327385:(.text+0x161f96): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x161fbe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x161fc8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x161fda): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x161fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x162000): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142371:(.text+0x162038): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142382:(.text+0x162046): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x162074): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16209a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142422:(.text+0x1620b0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142422:(.text+0x1620c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142426:(.text+0x1620e6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142427:(.text+0x1620f4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_306restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142455:(.text+0x1620fe): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x16210c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142416:(.text+0x1621c6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142426:(.text+0x162200): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_306restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142469:(.text+0x16226c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142407:(.text+0x1622ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x162306): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142437:(.text+0x162338): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423310:(.text+0x162346): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402869:(.text+0x162368): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402871:(.text+0x162380): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x162434): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402916:(.text+0x16245c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x162470): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447080:(.text+0x16248c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447081:(.text+0x162498): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447082:(.text+0x1624a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402940: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x162650): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x162666): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNoneNotIterableError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449006:(.text+0x1626e6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449006:(.text+0x1626f2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x162702): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403012:(.text+0x162710): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403012:(.text+0x16271c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1627b2): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402928:(.text+0x1627f2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x162806): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447084:(.text+0x16281e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x162832): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x16284c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x16286e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1628d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1628f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x162912): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16291c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402940:(.text+0x16292e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402940:(.text+0x162938): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422963:(.text+0x162960): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422963:(.text+0x16296a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422963:(.text+0x16297c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x162988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x1629a2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402880:(.text+0x1629da): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403012:(.text+0x1629e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_303multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180184:(.text+0x162a16): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180195:(.text+0x162a3c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180222:(.text+0x162a52): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x162a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x162a88): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_303multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180235:(.text+0x162a96): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180235:(.text+0x162aa0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180237:(.text+0x162aae): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180214:(.text+0x162b88): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180207:(.text+0x162c14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180207:(.text+0x162c22): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x162cb6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x162cc6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_303multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180250:(.text+0x162d0e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_415solveForward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188977:(.text+0x162d2e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x162d60): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x162d72): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_415solveForward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189017:(.text+0x162da0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189007:(.text+0x162dbe): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188992:(.text+0x162e66): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189001:(.text+0x162ea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189011:(.text+0x162eac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188989:(.text+0x162eb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188984:(.text+0x162ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188990:(.text+0x162ece): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189021: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_427matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189745:(.text+0x1630c2): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189747:(.text+0x1630ce): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189718:(.text+0x163174): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189722:(.text+0x163186): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189722:(.text+0x163198): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189715:(.text+0x1631d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189747:(.text+0x1631e2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189748:(.text+0x1631f6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189716:(.text+0x163246): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_426matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189790:(.text+0x163274): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_427matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189728:(.text+0x16328c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189728:(.text+0x1632ac): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1632dc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_427matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189758:(.text+0x163326): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_239pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138016:(.text+0x16334e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138027:(.text+0x16335a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16339c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_239pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138065:(.text+0x1633ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138071:(.text+0x1633e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_238pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138112:(.text+0x163416): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_239pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138082:(.text+0x163430): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138082:(.text+0x16343a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138031:(.text+0x16344c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138039:(.text+0x163530): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x16355c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x163614): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_239pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138082:(.text+0x163636): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_53applySymmetricRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199674:(.text+0x163646): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199712:(.text+0x163676): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x163692): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1636b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_53applySymmetricRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199729:(.text+0x1636ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199730:(.text+0x1636fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199700:(.text+0x16377e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199692:(.text+0x1637e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199730:(.text+0x163812): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199710:(.text+0x1638a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1638d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327829:(.text+0x16398a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1639ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1639bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327832:(.text+0x1639ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327847:(.text+0x163a08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x163a28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327806:(.text+0x163a62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327806:(.text+0x163a70): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327814:(.text+0x163afa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x163b62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327844:(.text+0x163b90): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x163c0e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_285labelsLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328465:(.text+0x163cd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328469:(.text+0x163cec): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328480:(.text+0x163d3a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328440:(.text+0x163d90): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328444:(.text+0x163dc2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328459:(.text+0x163dd4): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328469:(.text+0x163dfe): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328470:(.text+0x163e18): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328437:(.text+0x163e46): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x163e54): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x163f04): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_247pointwiseMaxAbs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138484:(.text+0x163f58): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138496:(.text+0x163f68): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138522:(.text+0x163f76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x163f82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x163f8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x163f98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x163fa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138533: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1641e6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1641f4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_71computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273037:(.text+0x164282): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1642a4): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_71computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273040:(.text+0x1642e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273054:(.text+0x1642fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x164316): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16432c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_71computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273014:(.text+0x16435e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273022:(.text+0x164376): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273029:(.text+0x1643a2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273044:(.text+0x1643d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273022:(.text+0x1643e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273054:(.text+0x164404): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273055:(.text+0x164412): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273055:(.text+0x164424): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273055:(.text+0x164432): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273023:(.text+0x16445a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x164466): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_71computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273035:(.text+0x1644a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273035:(.text+0x1644ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1644dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16452a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x164540): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_47matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199323:(.text+0x16454a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x164558): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_46matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199407:(.text+0x16461e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_47matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199368:(.text+0x1646e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199346:(.text+0x1646fc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199346:(.text+0x16474a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_46matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199421:(.text+0x1647a0): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_47matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199359:(.text+0x1647d2): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1647e4): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16480e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x164828): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_243pointwiseMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138250:(.text+0x164856): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x164864): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_243pointwiseMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138305:(.text+0x164914): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x164968): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_243pointwiseMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138265:(.text+0x164978): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138273:(.text+0x164986): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138276:(.text+0x164992): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138273:(.text+0x16499e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138276:(.text+0x1649a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138276:(.text+0x1649b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138280: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_169createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293684:(.text+0x164bf6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293686:(.text+0x164c04): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293656:(.text+0x164c92): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293659:(.text+0x164cb4): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293678:(.text+0x164cf8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293651:(.text+0x164d0c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293688:(.text+0x164d26): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293689:(.text+0x164d3c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293651:(.text+0x164d6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293657:(.text+0x164d86): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_168createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293731:(.text+0x164db2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_169createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293669:(.text+0x164de4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293669:(.text+0x164df0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x164e14): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x164e22): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_169createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293665:(.text+0x164e34): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x164e42): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_169createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293699:(.text+0x164e6a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_245pointwiseMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138367:(.text+0x164e76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138405:(.text+0x164eb0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x164ebe): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_245pointwiseMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138416:(.text+0x164eec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_244pointwiseMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138451:(.text+0x164f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x164f50): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_244pointwiseMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138462:(.text+0x164f5a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_245pointwiseMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138433:(.text+0x164f68): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138423:(.text+0x165046): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138390:(.text+0x165072): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x165166): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_107matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222173:(.text+0x16517c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222173:(.text+0x16518a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222211:(.text+0x1651b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1651d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_107matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222222:(.text+0x1651f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222226:(.text+0x16521c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222228:(.text+0x165238): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222188:(.text+0x165292): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222203:(.text+0x1652fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222196:(.text+0x165328): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_106matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222271:(.text+0x1653b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_107matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222209:(.text+0x1653e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179730:(.text+0x1654c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1654d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1654e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179743:(.text+0x165510): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179733:(.text+0x16552c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_294mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179776:(.text+0x16554c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179758:(.text+0x165588): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x165596): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179710:(.text+0x16562c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1656b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179745:(.text+0x1656de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x165740): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_203setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241656:(.text+0x1657ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1657ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_203setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241669:(.text+0x16581e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241673:(.text+0x165842): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241641:(.text+0x165944): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241673:(.text+0x165950): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241674:(.text+0x165982): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241641:(.text+0x165994): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241650:(.text+0x165a5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x165a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_241pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138133:(.text+0x165a9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138133:(.text+0x165aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138133:(.text+0x165ab8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138144:(.text+0x165ac6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138171:(.text+0x165adc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138184:(.text+0x165b1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138184:(.text+0x165b2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138188:(.text+0x165b50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138189:(.text+0x165b5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_240pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138217:(.text+0x165b66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x165b86): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x165baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_241pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138156:(.text+0x165bc4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138156:(.text+0x165bd2): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138188:(.text+0x165c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138189:(.text+0x165c86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138151:(.text+0x165ca2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138156:(.text+0x165cae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x165cc0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_240pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138231:(.text+0x165ce4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138231:(.text+0x165cee): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x165d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_241pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138165:(.text+0x165d6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_89computeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234359:(.text+0x165dae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_88computeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234443:(.text+0x165e70): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_89computeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234425:(.text+0x165e9e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234403:(.text+0x165f36): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234414:(.text+0x165f62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234395:(.text+0x166028): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166046): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166054): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x166082): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16609e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1660be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1660fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16610a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_81computeConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273805:(.text+0x166160): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273773:(.text+0x1661e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273780:(.text+0x16620e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273803:(.text+0x1662fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273786:(.text+0x166312): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166346): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_81computeConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273782:(.text+0x16636a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166402): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_95setSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254292:(.text+0x166422): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254294:(.text+0x16642a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254296:(.text+0x166448): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254298:(.text+0x166456): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_94setSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254338:(.text+0x166492): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_95setSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254258:(.text+0x1664c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254258:(.text+0x1664ce): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254273:(.text+0x166520): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254261:(.text+0x166552): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254267:(.text+0x166560): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254261:(.text+0x1665a4): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1665d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_94setSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254341:(.text+0x1665e2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166648): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1666a4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273374:(.text+0x1666b6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273374:(.text+0x1666be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273385:(.text+0x1666ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273412:(.text+0x1666f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166702): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166720): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273423:(.text+0x16672c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273425:(.text+0x166740): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273425: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273430:(.text+0x166774): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x16678a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273440:(.text+0x1667be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273389:(.text+0x1667d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273400:(.text+0x1667f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273400:(.text+0x16680a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273404:(.text+0x16682a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273392:(.text+0x16684e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273398:(.text+0x1668d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_76computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273472:(.text+0x166902): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273410:(.text+0x166930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166964): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x166994): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1669a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1669b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_103solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221965:(.text+0x166b02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221969:(.text+0x166b24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221995:(.text+0x166b90): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221995:(.text+0x166b9a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_102solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222037:(.text+0x166c10): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_103solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221975:(.text+0x166c3e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x166cd8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x166d04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x166db8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_299multTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179953:(.text+0x166df0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179964:(.text+0x166e06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179964:(.text+0x166e2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179956:(.text+0x166e66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179956:(.text+0x166e74): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179994:(.text+0x166eba): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179991:(.text+0x166ec4): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179961:(.text+0x166ede): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_298multTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180036:(.text+0x166f0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166f88): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x166fb6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167042): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_283coordinatesLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328348:(.text+0x16706e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328323:(.text+0x167122): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328327:(.text+0x16715a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328342:(.text+0x167170): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328352:(.text+0x167196): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328315:(.text+0x1671d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328320:(.text+0x1671de): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328350:(.text+0x167224): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328333:(.text+0x16722e): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328333:(.text+0x167248): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167278): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_105matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222056:(.text+0x1672f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167320): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_104matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222151:(.text+0x1673b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1673e0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_105matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222112:(.text+0x1674bc): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222079:(.text+0x1674d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222079:(.text+0x1674e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1674fc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_105matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222109:(.text+0x167526): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222092:(.text+0x16753a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222092:(.text+0x167552): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16757c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167590): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1675a8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_417solveBackward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189083:(.text+0x1675f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x167610): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16762e): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_417solveBackward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189134:(.text+0x167668): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189124:(.text+0x167680): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_416solveBackward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189167:(.text+0x1676a0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189167:(.text+0x1676a8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_417solveBackward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189149:(.text+0x1676dc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189098:(.text+0x1676f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189106:(.text+0x167704): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189138:(.text+0x1677a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189139:(.text+0x1677ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189139:(.text+0x1677be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189106:(.text+0x1677de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189106:(.text+0x1677e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x167804): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16794a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_73computeGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273167:(.text+0x167966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273167: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_73computeGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273142:(.text+0x167a36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273146:(.text+0x167a4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273134:(.text+0x167a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273139:(.text+0x167a92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273139:(.text+0x167aec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x167afc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189328:(.text+0x167c06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167c46): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189368:(.text+0x167c70): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_420solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189401:(.text+0x167ca4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189347:(.text+0x167d4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189373:(.text+0x167db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189373:(.text+0x167dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_420solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189415:(.text+0x167e1e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189353:(.text+0x167e46): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189353:(.text+0x167e5a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189353:(.text+0x167e6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167e7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167e8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167e92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189383:(.text+0x167ee0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_419solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189200:(.text+0x167eee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189200:(.text+0x167efa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x167f02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x167f0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x167f1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167f44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_419solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189251:(.text+0x167f6a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189255:(.text+0x167f92): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189230:(.text+0x16806a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189244:(.text+0x168076): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189224:(.text+0x1680a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189256:(.text+0x1680c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189253:(.text+0x1680dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189232:(.text+0x1681bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_49applyTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199440:(.text+0x1681fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199440:(.text+0x168212): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x16821c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16823a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_49applyTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199493:(.text+0x1683ea): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x168484): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_49applyTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199472:(.text+0x1684c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_45apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199217:(.text+0x168516): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199206:(.text+0x168522): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199244:(.text+0x16853e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x168560): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_44apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199301:(.text+0x1685ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_45apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199221:(.text+0x168616): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199221:(.text+0x168624): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199236:(.text+0x168662): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199251:(.text+0x168698): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_44apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199304:(.text+0x168752): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_45apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199242:(.text+0x16877a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199242:(.text+0x168786): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x168792): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16879c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1687b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_45apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199238:(.text+0x1687c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199238:(.text+0x1687d4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1687fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16887c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_51applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199606:(.text+0x168888): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199608:(.text+0x168892): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199608:(.text+0x16889e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199598:(.text+0x1688b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199612: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1688ee): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1688f8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_51applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199623:(.text+0x168902): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199581:(.text+0x1689c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199575:(.text+0x168a16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_50applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199655:(.text+0x168a42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x168b52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88664:(.text+0x168b5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x168b86): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88675:(.text+0x168b98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x168bf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x168c5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88652:(.text+0x168caa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88656:(.text+0x168cbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88656:(.text+0x168cca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88656:(.text+0x168cd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88650:(.text+0x168d0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_50setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88744:(.text+0x168d2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88644:(.text+0x168d52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88662:(.text+0x168d80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88662:(.text+0x168d8a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x168da0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x168db0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x168dd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x168de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88686:(.text+0x168dfc): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334177:(.text+0x168e06): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x168e50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334226:(.text+0x168e78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_52getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334280:(.text+0x168edc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334290:(.text+0x168ef2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334200:(.text+0x168f30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334203:(.text+0x168f5c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334207:(.text+0x168f68): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x169006): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334195:(.text+0x169034): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334200:(.text+0x169048): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334201:(.text+0x169054): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x169066): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_52getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334290:(.text+0x169072): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334213:(.text+0x16907e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1690ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x169170): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x169182): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_205setLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296129:(.text+0x1691ae): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_204setLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296182:(.text+0x169228): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296182:(.text+0x16935e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_205setLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296101:(.text+0x169370): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x169380): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_205setLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296114:(.text+0x1693ac): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x169416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x169426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x16945e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x16946a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140497:(.text+0x16947a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16948a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140508:(.text+0x1694b6): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140482:(.text+0x169576): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140485:(.text+0x169582): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140489:(.text+0x1695a2): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140489:(.text+0x1695b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140503:(.text+0x1695d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_280strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140541:(.text+0x169600): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140575:(.text+0x169612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140575:(.text+0x16961e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x169634): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_280strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140551:(.text+0x16964e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140483:(.text+0x169688): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x169694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140495:(.text+0x1696c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140495:(.text+0x1696d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140491: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x16972a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x16973e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x169758): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x169762): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140519:(.text+0x169774): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_47setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304000:(.text+0x169784): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1697b0): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16984c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_46setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304102:(.text+0x169878): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304114:(.text+0x169888): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304114:(.text+0x169894): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1698a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_47setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304026:(.text+0x169924): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304030:(.text+0x169936): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304030:(.text+0x169946): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304023:(.text+0x169972): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1699f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_46setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304114:(.text+0x169a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_47setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304036:(.text+0x169a0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304036:(.text+0x169a18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304036:(.text+0x169a24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304036: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_55setCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304642:(.text+0x169c8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_54setCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304702:(.text+0x169cba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_55setCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304651:(.text+0x169da4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x169dcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_203clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295940:(.text+0x169e04): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x169e26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x169e3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_203clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295959:(.text+0x169f92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_202clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296012:(.text+0x169fe2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296058:(.text+0x16a006): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16a0a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16a0b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x16a0d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x16a122): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151884:(.text+0x16a14c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16a162): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16a178): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151906:(.text+0x16a1ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_22setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151948:(.text+0x16a1fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16a22a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151872:(.text+0x16a2a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151876:(.text+0x16a2cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_22setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151976:(.text+0x16a334): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151870:(.text+0x16a362): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151882:(.text+0x16a384): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16a3b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16a3cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151878:(.text+0x16a3f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x16a42a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111938:(.text+0x16a452): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111981:(.text+0x16a4ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_16createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112021:(.text+0x16a4e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112053:(.text+0x16a526): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111952:(.text+0x16a59e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111956:(.text+0x16a5cc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111949:(.text+0x16a5e2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111949:(.text+0x16a5f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111981:(.text+0x16a60a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111950:(.text+0x16a67e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111962:(.text+0x16a6aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_231aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137418:(.text+0x16a7ce): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137432:(.text+0x16a844): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137432:(.text+0x16a850): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137390:(.text+0x16a880): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137393:(.text+0x16a892): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137412:(.text+0x16a8e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137391:(.text+0x16a902): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137420:(.text+0x16a924): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_230aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137452:(.text+0x16a950): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_231aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137390:(.text+0x16a992): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137391:(.text+0x16a99e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_230aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137462:(.text+0x16a9b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_231aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137403:(.text+0x16a9e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137399:(.text+0x16aa28): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_227axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137137:(.text+0x16aad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16aae6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16aafc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_227axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137140:(.text+0x16ab3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16ab86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_227axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137122:(.text+0x16abc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137125:(.text+0x16abf4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137129:(.text+0x16ac0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137129:(.text+0x16ac18): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137143:(.text+0x16ac2a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137117:(.text+0x16ac34): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137154:(.text+0x16ac62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137135:(.text+0x16ad28): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16ad62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155664:(.text+0x16ae1a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155677:(.text+0x16ae6c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155686:(.text+0x16ae7c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_78getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155738:(.text+0x16aed6): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155641:(.text+0x16af08): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155649:(.text+0x16af1a): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155652:(.text+0x16af44): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155656:(.text+0x16af62): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x16b006): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155649:(.text+0x16b030): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155649:(.text+0x16b03a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155650:(.text+0x16b046): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x16b050): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155662:(.text+0x16b06c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155662: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16b164): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16b170): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_216isset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136625:(.text+0x16b1e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_217isset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136595:(.text+0x16b212): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136595:(.text+0x16b21e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136595:(.text+0x16b22a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136545:(.text+0x16b23a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136560: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_217isset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136553:(.text+0x16b2c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136585:(.text+0x16b2dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136566:(.text+0x16b39c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136566:(.text+0x16b3a8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16b3b8): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x16b3f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x16b416): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16b42a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_217isset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136595:(.text+0x16b446): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153962:(.text+0x16b47a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16b492): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16b4b0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154002:(.text+0x16b4da): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154011:(.text+0x16b4fc): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_54getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154036:(.text+0x16b524): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154045:(.text+0x16b52e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154055:(.text+0x16b540): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x16b54c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x16b56a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153977:(.text+0x16b5a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153981:(.text+0x16b5b8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153996:(.text+0x16b5ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_54getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154034:(.text+0x16b61e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154082:(.text+0x16b638): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154045:(.text+0x16b64a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154045:(.text+0x16b658): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154045:(.text+0x16b662): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x16b674): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16b736): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16b770): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_43getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153153:(.text+0x16b828): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_42getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153197:(.text+0x16b87a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x16b88a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_43getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153119:(.text+0x16b8e4): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153123:(.text+0x16b916): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153138:(.text+0x16b928): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_42getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153176:(.text+0x16b952): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153224:(.text+0x16b970): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153197:(.text+0x16ba14): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_43getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153129:(.text+0x16ba3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153129:(.text+0x16ba48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16ba54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16ba5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16ba7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153125: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16bb72): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31492:(.text+0x16bb7e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x16bbf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16bc20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16bc2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16bc38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16bc48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31532: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31542:(.text+0x16bcd4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16bcea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16bdaa): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16bdb6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16bdc6): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16be06): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16be24): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31431:(.text+0x16be38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31434:(.text+0x16be54): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31409:(.text+0x16be88): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x16bea0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31575:(.text+0x16bebe): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31540:(.text+0x16bee8): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31419:(.text+0x16bf0a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x16bf32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x16bf3c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31344:(.text+0x16bf4e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x16bf5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x16bf78): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31345:(.text+0x16bfb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x16bfc6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16bff8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x16c02c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x16c046): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x16c058): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16c066): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31436:(.text+0x16c070): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:538:(.text+0x16c082): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16c144): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31418:(.text+0x16c17e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x16c236): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16c288): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16c298): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32120:(.text+0x16c2f2): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16c324): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32199:(.text+0x16c336): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32193:(.text+0x16c360): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32199:(.text+0x16c37e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x16c422): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x16c44c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x16c456): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16c462): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x16c46c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x16c488): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32233:(.text+0x16c580): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32235:(.text+0x16c58c): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32262:(.text+0x16c604): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16c62e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32289:(.text+0x16c63a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32289:(.text+0x16c646): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x16c656): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16c6e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156986:(.text+0x16c6f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x16c7b8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x16c7c4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16c7d4): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156986:(.text+0x16c814): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_rmul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32584:(.text+0x16c832): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156987:(.text+0x16c846): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_21__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156890:(.text+0x16c862): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156934:(.text+0x16c896): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16c8ae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16c8cc): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x16c8f6): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32289:(.text+0x16c918): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x16c940): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x16c94a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x16c95c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x16c968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x16c986): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156936:(.text+0x16c9c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156936:(.text+0x16c9d4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x16ca06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156935:(.text+0x16ca3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x16ca54): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32244:(.text+0x16ca66): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16ca74): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16ca7e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16ca90): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x16cb52): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x16cb8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x16cc44): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x16cc96): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x16cca6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x16cd00): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x16cd32): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x16cd44): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x16cd6e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x16cd8c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366582:(.text+0x16ce30): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366957:(.text+0x16ce5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366604:(.text+0x16ce64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366604:(.text+0x16ce70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366616:(.text+0x16ce7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366625:(.text+0x16ce96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447256: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_LookupSpecial': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3697:(.text+0x16cf8e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3701:(.text+0x16cf9a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366689:(.text+0x16d012): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16d03c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16d048): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366701:(.text+0x16d054): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366707:(.text+0x16d064): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366733:(.text+0x16d0f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366733:(.text+0x16d106): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x16d1c6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x16d1d2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x16d1e2): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16d222): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366839:(.text+0x16d240): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyExec3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448886:(.text+0x16d254): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x16d270): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyExec3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448935:(.text+0x16d2a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448938:(.text+0x16d2bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16d2da): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16d304): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16d326): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16d34e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16d358): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366616:(.text+0x16d36a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366948:(.text+0x16d376): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16d394): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16d3d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16d3e2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366563:(.text+0x16d414): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16d448): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16d462): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16d474): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366582:(.text+0x16d482): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16d48c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366675:(.text+0x16d49e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366816:(.text+0x16d560): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366872:(.text+0x16d59a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16d652): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16d6a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16d6b4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366638:(.text+0x16d70e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16d740): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_LookupSpecial': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3704:(.text+0x16d752): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16d77c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366861:(.text+0x16d79a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x16d83e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16d868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x16d872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16d87e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16d888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyExec3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448916:(.text+0x16d8a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448918: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366768:(.text+0x16d99c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366768:(.text+0x16d9a8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x16da20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16da4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x16da56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x16da62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x16da72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:601: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseUnboundLocalError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448950:(.text+0x16dafe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448950:(.text+0x16db14): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366816:(.text+0x16dbd4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366860:(.text+0x16dbe0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366816:(.text+0x16dbf0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x16dc30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16dc4e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366886:(.text+0x16dc62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366886:(.text+0x16dc7e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366769:(.text+0x16dcb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16dcca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366860:(.text+0x16dce8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x16dd12): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366839:(.text+0x16dd34): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16dd5c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16dd66): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16dd78): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16dd84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x16dda2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x16ddde): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16ddf0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x16de22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366790:(.text+0x16de56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyExec3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448887:(.text+0x16de70): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448887:(.text+0x16de82): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366773:(.text+0x16de90): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16de9a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366766:(.text+0x16deac): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26692:(.text+0x16df6e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26777:(.text+0x16dfa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26925:(.text+0x16e060): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26751:(.text+0x16e0b2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16e0c2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26751:(.text+0x16e11c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16e14e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16e160): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16e18a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26767:(.text+0x16e1a8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16e24c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16e276): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16e280): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26931:(.text+0x16e28c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26931:(.text+0x16e296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132452:(.text+0x16e2b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132452: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16e3aa): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16e3b6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132496:(.text+0x16e42e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132452:(.text+0x16e458): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16e464): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x16e470): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16e480): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16e50c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_148duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132659:(.text+0x16e522): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132473:(.text+0x16e5e2): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132473:(.text+0x16e5ee): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132492:(.text+0x16e5fe): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_148duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132659:(.text+0x16e63e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/include/python3.11/object.h:601:(.text+0x16e65c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132473:(.text+0x16e670): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132478:(.text+0x16e68c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_148duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132569:(.text+0x16e6c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132482:(.text+0x16e6d8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132482:(.text+0x16e6f6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x16e720): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x16e742): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16e76a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132500:(.text+0x16e774): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_121setArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130097:(.text+0x16e786): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x16e792): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_121setArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130126:(.text+0x16e7b0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130135:(.text+0x16e7ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130137:(.text+0x16e7fe): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130129:(.text+0x16e830): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130111:(.text+0x16e864): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130117:(.text+0x16e87e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_120setArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130178:(.text+0x16e890): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130178:(.text+0x16e89e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130178:(.text+0x16e8a8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_121setArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130117:(.text+0x16e8ba): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16e98e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16e9b6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x16ea88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310106:(.text+0x16eaa4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310121:(.text+0x16eaf4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_20createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310232:(.text+0x16eb4e): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310232:(.text+0x16eb80): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310232:(.text+0x16eb92): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16ebc0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310114:(.text+0x16ebde): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16ec18): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310127:(.text+0x16ec3e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16ec4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310123:(.text+0x16ec8a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16ec98): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16eca8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310151:(.text+0x16ecb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_67monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220095:(.text+0x16ecbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220095:(.text+0x16ecca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220106:(.text+0x16ecd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220095: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_66monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220177:(.text+0x16ed8e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x16edca): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16edd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_66monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220209:(.text+0x16edde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x16edee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_67monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220118:(.text+0x16ee10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220121:(.text+0x16ee24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220121: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16ef8a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_66monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220187:(.text+0x16efd0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16eff2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_67monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220155:(.text+0x16effe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188151:(.text+0x16f008): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188162:(.text+0x16f01a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188211:(.text+0x16f0b0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188192:(.text+0x16f0c0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16f0dc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x16f132): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188166:(.text+0x16f146): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188177:(.text+0x16f16a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188181:(.text+0x16f188): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188181:(.text+0x16f1a0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_402setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188233:(.text+0x16f1dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188267:(.text+0x16f1f2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16f21c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_402setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188243:(.text+0x16f234): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188174:(.text+0x16f24e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188187:(.text+0x16f28e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16f2bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16f2ce): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16f2e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188183:(.text+0x16f2f2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x16f31a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16f32e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188211:(.text+0x16f358): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_101solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221771:(.text+0x16f37c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221771:(.text+0x16f38e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16f3c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_101solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221822:(.text+0x16f3f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221826:(.text+0x16f40e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221826:(.text+0x16f418): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221826:(.text+0x16f42a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221797:(.text+0x16f4e0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221828:(.text+0x16f55e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221794:(.text+0x16f5b2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_100solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221920:(.text+0x16f5f2): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_101solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221807:(.text+0x16f61c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221807:(.text+0x16f62c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221807:(.text+0x16f63a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16f65a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16f670): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x16f69c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_101solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221837:(.text+0x16f6ba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x16f6da): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x16f6f2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237466:(.text+0x16f73a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237470:(.text+0x16f75c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237477:(.text+0x16f77a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_128monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237499:(.text+0x16f788): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237432:(.text+0x16f804): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237443:(.text+0x16f82a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237443:(.text+0x16f834): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237447:(.text+0x16f850): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237440:(.text+0x16f884): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_128monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237499:(.text+0x16f89e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237533:(.text+0x16f8aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237533:(.text+0x16f8b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237534:(.text+0x16f8c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16f8da): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237440:(.text+0x16f90e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237440:(.text+0x16f916): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x16f924): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_128monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237519:(.text+0x16f930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237453:(.text+0x16f93c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237453:(.text+0x16f948): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x16f9c2): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x16f9ce): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55944:(.text+0x16fa2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30248:(.text+0x16fa90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24223:(.text+0x16fac4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x16fad0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16fada): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x16faee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30257:(.text+0x16faf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x16fb04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x16fb42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56414:(.text+0x16fb5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56453:(.text+0x16fb72): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56462:(.text+0x16fb9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56463:(.text+0x16fbaa): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16fbde): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56505:(.text+0x16fc0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x16fc14): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56514:(.text+0x16fc26): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16fc30): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16fc58): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16fc72): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56567:(.text+0x16fc82): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56567:(.text+0x16fc8c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56584:(.text+0x16fca8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x16fcca): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x16fcdc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56586:(.text+0x16fcf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56586:(.text+0x16fd02): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56586:(.text+0x16fd12): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56595:(.text+0x16fd4c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x16fd96): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x16fda0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16fdca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16fe00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16fe0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16fe1e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16fe28): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16fe32): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16fe58): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x16fe66): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16ff2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x16ff56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x16ff74): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x16ff7e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55994:(.text+0x170096): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55994:(.text+0x1700a4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x170136): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x170144): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56484:(.text+0x1701de): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x1701ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56502:(.text+0x170234): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56533:(.text+0x17024a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56542:(.text+0x1702ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1702f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17030a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x170320): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x17032a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56336:(.text+0x170344): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56366:(.text+0x170358): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56508:(.text+0x17036c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1703a0): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x170418): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x170430): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17043a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56474:(.text+0x170468): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56584:(.text+0x1704e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x17050a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56336:(.text+0x17051e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56390:(.text+0x170532): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56402:(.text+0x170566): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56598:(.text+0x1705e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56598:(.text+0x1705ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56598:(.text+0x1705f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56457:(.text+0x17060e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x170636): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56516:(.text+0x170642): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56518:(.text+0x17064e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17065e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56601:(.text+0x1706e0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56601:(.text+0x1706f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x170700): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x17070c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x170718): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x170724): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x17072e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1707dc): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1707ea): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1707fc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56485:(.text+0x170908): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56536:(.text+0x170984): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56516:(.text+0x1709a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56516:(.text+0x1709ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108518:(.text+0x1709d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108556:(.text+0x1709f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108567:(.text+0x170a30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108578:(.text+0x170a54): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108578:(.text+0x170a66): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108578:(.text+0x170a70): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_72complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108601:(.text+0x170a7a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108611:(.text+0x170a8a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108621:(.text+0x170a9e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108544:(.text+0x170b12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_72complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108658:(.text+0x170ba6): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108658:(.text+0x170bb0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108541:(.text+0x170c2e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108690:(.text+0x170d4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108716:(.text+0x170d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x170d66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x170d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x170d7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108727: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108743:(.text+0x170e42): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x170e50): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108696:(.text+0x170ef8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108733:(.text+0x170f0e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_74embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108812:(.text+0x170fa4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108812:(.text+0x170fae): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108812:(.text+0x170fbc): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x171050): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108743:(.text+0x171066): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344595:(.text+0x171100): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_34stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344656:(.text+0x171158): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x171180): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x17118a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344567:(.text+0x1711b2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344570:(.text+0x1711dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344562:(.text+0x17122c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_34stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344627:(.text+0x17123e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344627:(.text+0x171250): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344683:(.text+0x17125e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344603:(.text+0x171272): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_34stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344637:(.text+0x17127c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344637:(.text+0x171290): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344567:(.text+0x1712ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1712c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344580:(.text+0x1712de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344580:(.text+0x1712f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344580:(.text+0x171300): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344580: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_195interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260425:(.text+0x17139e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260425:(.text+0x1713aa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1713d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1713f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1713fe): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_195interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260478:(.text+0x17142a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x171444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x171478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x171484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_195interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260490:(.text+0x1714aa): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260448:(.text+0x1714da): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260451:(.text+0x1714ea): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260451:(.text+0x1714f4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260451:(.text+0x1714fe): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260455:(.text+0x171508): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260455:(.text+0x171512): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260455:(.text+0x17151e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_194interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260534:(.text+0x1715b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260520:(.text+0x17160a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x171648): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x171678): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x171730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1717c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52198:(.text+0x1717d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52261:(.text+0x1717f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17183a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x17189a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52347:(.text+0x1718d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17197e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52297:(.text+0x171cbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x171dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x171df4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52351:(.text+0x171e02): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52351:(.text+0x171e18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x171e3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x171e70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x171ea0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x171ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x171f3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x171f56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52271:(.text+0x171f8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52271:(.text+0x171f9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52271:(.text+0x171fbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52275:(.text+0x171fca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53597:(.text+0x171ffa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x172060): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x17207e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1720b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53729:(.text+0x1720f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53807:(.text+0x1721aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53815:(.text+0x1721d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1723b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1723e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x172416): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1724b2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53703:(.text+0x172526): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53703:(.text+0x17252e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17253a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x172546): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53604:(.text+0x17255c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53666:(.text+0x172580): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53763:(.text+0x1725b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1725e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53735:(.text+0x172602): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53603:(.text+0x17260e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53805:(.text+0x172650): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53732:(.text+0x17265a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1726d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1726ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1726f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53819:(.text+0x172706): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x172732): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53822:(.text+0x17274c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x172798): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1727aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1727b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1727ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1727dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1727ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x172812): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x172826): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x172836): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53765:(.text+0x172844): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x172856): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17294e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x172970): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x1729a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1729f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x172a36): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x172a68): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x172ab2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x172b4e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x172b60): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x172b70): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51672:(.text+0x172c2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x172c3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x172c6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x172cbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x172d16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51585:(.text+0x172d4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x172d62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x172d6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51807:(.text+0x172d84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x172db6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x172e04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51597:(.text+0x172e18): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x172e3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51621:(.text+0x172e7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51722:(.text+0x172ec2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51688:(.text+0x172ef4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51760:(.text+0x172f3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1730e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1730f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51558:(.text+0x173176): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50404:(.text+0x173200): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50426:(.text+0x173218): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x173224): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49795:(.text+0x17323a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1732ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1732ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x173332): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50612:(.text+0x17338e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50622:(.text+0x1733d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x173408): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x173452): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1735fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x173608): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50659:(.text+0x17368a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50407:(.text+0x173714): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50510:(.text+0x17372c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x173738): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17374e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50574:(.text+0x1737c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50542:(.text+0x173800): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50612:(.text+0x173846): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1738a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1738e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50626:(.text+0x173910): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x173998): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x173a02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x173a18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x173a38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50546:(.text+0x173a9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50550:(.text+0x173adc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53339:(.text+0x173b18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x173bb0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53449:(.text+0x173bf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x173c2a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x173c74): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53587:(.text+0x173dd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53408:(.text+0x173de6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x173e66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x173eee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x173f06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x173f12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x173f28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x173f5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53572:(.text+0x173f78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x173fd8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x174032): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1740e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17428e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17429e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1742ae): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53480:(.text+0x1742be): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1742f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x174308): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x174314): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17432a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x17434c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53322:(.text+0x17437e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53459:(.text+0x1743ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53463:(.text+0x1743cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43992:(.text+0x17441e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1744fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44114:(.text+0x174514): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17454c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x174562): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x174580): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17458e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1745bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44188:(.text+0x1745c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44189:(.text+0x1745d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1745e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1745f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x174628): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1746a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44240:(.text+0x1746d8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1746f0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x174738): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1747d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x17481e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44003:(.text+0x17482c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17488c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1748a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1748c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1748f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44015:(.text+0x174918): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44076:(.text+0x174924): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17493a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17494a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44039:(.text+0x174968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x174a2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44178:(.text+0x174a38): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x174a4a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44118:(.text+0x174a70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x174ae6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43975:(.text+0x174c72): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44112:(.text+0x174c96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x174d20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x174d3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51341:(.text+0x174dc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51355:(.text+0x174dd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51378:(.text+0x174de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51404:(.text+0x174dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x174df6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x174e00): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x174e4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x174e5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x174e7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x174ef4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x174f10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x174f54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x174f5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x174f68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x174f72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x174f7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x174f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51539:(.text+0x174fc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x174fe6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x174ff4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51391:(.text+0x175010): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1750be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x175108): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x175112): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51305:(.text+0x175140): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1751a4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51435:(.text+0x17529c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51442:(.text+0x1752b8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x175308): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x175374): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51487:(.text+0x1753a6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51487:(.text+0x1753b4): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1753da): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51494:(.text+0x1753f4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51279:(.text+0x1754b6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17550c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17551c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x17552a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x175536): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x175540): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x17554c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x175556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51442: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1757e6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1757f8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x175884): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45321:(.text+0x1758c8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45321:(.text+0x1758dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1758e8): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45170:(.text+0x175912): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45171:(.text+0x175926): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x175958): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x175972): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17599a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1759cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1759da): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1759ec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1759fa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x175a22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45054:(.text+0x175a36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45306:(.text+0x175a72): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45306:(.text+0x175a80): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x175aae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x175ada): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x175af0): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x175afa): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45055:(.text+0x175b08): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45223:(.text+0x175bc4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45267:(.text+0x175cbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x175cd8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x175d28): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x175d94): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x175dc6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x175dd4): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x175dfa): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x175e14): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45197:(.text+0x175ed6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42185:(.text+0x175f2c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x175f3c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x175f4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x175f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30257:(.text+0x175f60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x175f6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x175f76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43130:(.text+0x176206): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43140:(.text+0x176218): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1762a4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1762e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1762fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0x176308): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43024:(.text+0x176332): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x176346): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43276:(.text+0x176378): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x176392): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1763ba): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1763ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43066:(.text+0x1763fa): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43066:(.text+0x17640c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43127:(.text+0x17641a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x176442): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43078:(.text+0x176456): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43184:(.text+0x176492): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43187:(.text+0x1764a0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1764ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43035:(.text+0x1764fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43139:(.text+0x176510): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43207:(.text+0x17651a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43229:(.text+0x176528): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1765e4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1766dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1766f8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x176748): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43167:(.text+0x1767b4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50124:(.text+0x1767e6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50124:(.text+0x1767f4): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x17681a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x176834): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50259:(.text+0x1768f6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17694c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50332:(.text+0x17695c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x17696a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x176976): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50332:(.text+0x176980): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50334:(.text+0x17698c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50334:(.text+0x176996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50138:(.text+0x176c26): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50157:(.text+0x176c38): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x176cc4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50169:(.text+0x176d08): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50230:(.text+0x176d1c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x176d28): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50181:(.text+0x176d52): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50130:(.text+0x176d66): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50289:(.text+0x176d98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50294:(.text+0x176db2): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x176dda): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50242:(.text+0x176e0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50321:(.text+0x176e1a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50332:(.text+0x176e2c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50332:(.text+0x176e3a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50271:(.text+0x176e62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x176e76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50340:(.text+0x176eb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x176ec0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50346:(.text+0x176eee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50343:(.text+0x176f1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50349:(.text+0x176f30): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50349:(.text+0x176f3a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x176f48): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x177004): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1770fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170264:(.text+0x177118): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170277:(.text+0x177168): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170338:(.text+0x1771d4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x177206): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170241:(.text+0x177214): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170249:(.text+0x17723a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170252:(.text+0x177254): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0x177316): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170338:(.text+0x17736c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170262:(.text+0x17737c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170262:(.text+0x17738a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170262:(.text+0x177396): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170262:(.text+0x1773a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1773ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1773b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_82setBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109503:(.text+0x177646): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109503:(.text+0x177658): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1776e4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x177728): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x17773c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_83setBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109422:(.text+0x177748): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_267setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215109:(.text+0x177772): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215121:(.text+0x177786): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1777b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_267setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215158:(.text+0x1777d2): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215150:(.text+0x1777fa): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x17782c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x17783a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_266setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215204:(.text+0x17784c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17785a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_267setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215174:(.text+0x177882): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x177896): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_267setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215124:(.text+0x1778d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215124:(.text+0x1778e0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215135:(.text+0x17790e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215139:(.text+0x17793a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215127:(.text+0x177950): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215127:(.text+0x17795a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215133:(.text+0x177968): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x177a24): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_75computeObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273284:(.text+0x177b1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273286:(.text+0x177b38): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x177b88): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_75computeObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273259:(.text+0x177bf4): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273263:(.text+0x177c26): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273278:(.text+0x177c34): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273257:(.text+0x177c5a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273289:(.text+0x177c74): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273269:(.text+0x177d36): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x177d8c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x177d9c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x177daa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x177db6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x177dc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_159permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169120:(.text+0x177dcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169120:(.text+0x177dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169120: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x178066): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_159permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169156:(.text+0x178078): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x178104): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x178148): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17815c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x178168): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_9evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359631:(.text+0x178192): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359633:(.text+0x1781a6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359638:(.text+0x1781d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_8evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359680:(.text+0x1781f2): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_9evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359648:(.text+0x17821a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359597:(.text+0x17824c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359597:(.text+0x17825a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359608:(.text+0x17826c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359608:(.text+0x17827a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359612:(.text+0x1782a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359612:(.text+0x1782b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359637:(.text+0x1782f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359637:(.text+0x178300): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_8evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359705:(.text+0x17832e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_9evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359600:(.text+0x17835a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359606:(.text+0x178370): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x17837a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_8evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359705:(.text+0x178388): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_9evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359648:(.text+0x17844a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x178542): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_40compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87991:(.text+0x17855e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87924:(.text+0x1785ae): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1785be): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87889:(.text+0x17862a): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87914:(.text+0x17865c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87912:(.text+0x17866e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_40compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87966:(.text+0x178698): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88006:(.text+0x1786b2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x178774): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46093:(.text+0x1787cc): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46115:(.text+0x1787dc): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46026:(.text+0x1787ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1787f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46041:(.text+0x178800): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x17880c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x178816): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x178aa0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46368:(.text+0x178aae): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x178b4a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x178bb0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x178bc4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x178bdc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x178bea): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x178bfc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46108:(.text+0x178c2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x178c42): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x178c70): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46353:(.text+0x178c88): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x178ca8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x178cd4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46107:(.text+0x178cf8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x178d20): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x178d2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46162:(.text+0x178d6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46256:(.text+0x178d7e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46263:(.text+0x178db0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46259:(.text+0x178de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46107:(.text+0x178dfc): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x178e06): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46211:(.text+0x178e18): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x178ede): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x178fd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46100:(.text+0x178ff2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x179042): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x179052): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46265:(.text+0x1790be): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46235:(.text+0x1790f0): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46235:(.text+0x179102): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46239:(.text+0x17912c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49477:(.text+0x179146): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x179208): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x179260): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49620:(.text+0x179270): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x179280): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x17928a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x179294): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1792a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49676:(.text+0x1792aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:770: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x179534): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x179542): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1795de): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x179644): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x179658): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x179670): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17967e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49483:(.text+0x179690): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1796be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49492:(.text+0x1796d6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x179704): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49640:(.text+0x17971c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49645:(.text+0x17973c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x179768): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49615:(.text+0x17978c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1797b4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1797c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49623:(.text+0x179800): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49625:(.text+0x179812): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x179844): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x179876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49690:(.text+0x179890): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49690:(.text+0x17989a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49692:(.text+0x1798ac): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49483:(.text+0x179988): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1799b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191481:(.text+0x179b58): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191481:(.text+0x179b6a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191490:(.text+0x179b72): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191490:(.text+0x179b7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191513:(.text+0x179baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191545:(.text+0x179be2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x179c00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191445:(.text+0x179c26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191456:(.text+0x179c54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191456:(.text+0x179c60): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191460:(.text+0x179c76): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191448:(.text+0x179ca2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0x179d06): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x179d68): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0x179d76): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x179dd8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x179dec): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48847:(.text+0x179e3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48847:(.text+0x179e54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46050:(.text+0x179e92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x179edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49004:(.text+0x179f56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x179f84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x179f9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49020:(.text+0x179fa8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x179fba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x179fc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49037:(.text+0x179ff2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49048:(.text+0x17a054): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x17a072): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17a0e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17a0ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17a0f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49099:(.text+0x17a15c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48935:(.text+0x17a202): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17a21e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49084:(.text+0x17a250): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17a274): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48855:(.text+0x17a2e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48880:(.text+0x17a2f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48892:(.text+0x17a366): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48964:(.text+0x17a3b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48968:(.text+0x17a3d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17a3ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48944:(.text+0x17a41a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49016:(.text+0x17a490): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49037:(.text+0x17a4bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48961:(.text+0x17a5ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17a5ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17a608): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17a628): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x17a664): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x17a672): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48853:(.text+0x17a6a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48944:(.text+0x17a706): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0x17a788): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17a7b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376962:(.text+0x17a828): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17a862): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377052:(.text+0x17a8f4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377096:(.text+0x17a942): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17a98a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x17a9bc): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17a9ce): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17a9f8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17aa16): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377088:(.text+0x17aacc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17aaf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x17ab12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x17ab32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376955:(.text+0x17ab3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376971:(.text+0x17ab4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376974: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17acc0): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17accc): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17ad34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17ad44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377009:(.text+0x17ad72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376984:(.text+0x17adae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66034:(.text+0x17ae14): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66034:(.text+0x17ae2a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17ae6c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66073:(.text+0x17ae78): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_new_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18950:(.text+0x17ae88): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66114:(.text+0x17aec6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66127:(.text+0x17aeda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66153:(.text+0x17aee6): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66165:(.text+0x17af0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17af24): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x17af44): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x17af70): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x17afe2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x17affa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17b016): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66258:(.text+0x17b024): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x17b036): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66268:(.text+0x17b044): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17b06c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17b076): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17b088): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66309:(.text+0x17b0b8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66309:(.text+0x17b0c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_new_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18965:(.text+0x17b0da): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17b0e4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17b0f6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17b102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17b11c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17b152): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17b160): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66038:(.text+0x17b18e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17b1b2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17b1c4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66294:(.text+0x17b1d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17b1f6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17b204): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17b20e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17b21c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x17b2d8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_new_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18991:(.text+0x17b312): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66187:(.text+0x17b3a4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66157:(.text+0x17b3f2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66226:(.text+0x17b43a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x17b46c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x17b47e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66233:(.text+0x17b4a8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66240:(.text+0x17b4c6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66247:(.text+0x17b57c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x17b5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17b5c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x17b5e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x17b5ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17b5fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66163:(.text+0x17b770): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66167:(.text+0x17b77c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65772:(.text+0x17b7e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0x17b7f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65788:(.text+0x17b822): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65829:(.text+0x17b85e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17b8c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65933:(.text+0x17b8da): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65943:(.text+0x17b91c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65943:(.text+0x17b928): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17b938): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x17b976): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x17b98a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x17b996): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17b9bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x17b9d4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17b9f4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17ba20): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20894:(.text+0x17ba92): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17baaa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17bac6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17bad4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17bae6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17baf4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17bb1c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65764:(.text+0x17bb26): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65783:(.text+0x17bb38): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17bb68): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66009:(.text+0x17bb74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17bb8a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x17bb94): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17bba6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17bbb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17bbcc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65785:(.text+0x17bc02): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65785:(.text+0x17bc10): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x17bc3e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x17bc62): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x17bc74): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65788:(.text+0x17bc84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_new_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18991:(.text+0x17bca6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18991:(.text+0x17bcb4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18991:(.text+0x17bcbe): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65755:(.text+0x17bccc): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65908:(.text+0x17bd6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65908:(.text+0x17bd78): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17bd84): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17bdb2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65941:(.text+0x17bdc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65882:(.text+0x17bdf0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x17be20): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65958:(.text+0x17be90): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65958:(.text+0x17be9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65962:(.text+0x17beb2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x17bec4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x17bed2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x17bedc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x17bef0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x17befa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x17bf0e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65962:(.text+0x17bf1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17bf7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x17bf86): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x17bf98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17bfa4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x17bfb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x17bfc0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65899:(.text+0x17bfd4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x17bffa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17c004): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17c018): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48570:(.text+0x17c18a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x17c1ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x17c1e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17c1f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48747:(.text+0x17c2ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x17c2ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48761:(.text+0x17c2da): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x17c2ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17c31a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x17c3cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x17c3d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17c3f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17c3fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17c42a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:601: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48822:(.text+0x17c5ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48605:(.text+0x17c60c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17c63e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17c654): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48617:(.text+0x17c688): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17c6ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48693:(.text+0x17c716): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48695:(.text+0x17c72c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17c74c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x17c798): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48792:(.text+0x17c7c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17c7e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x17c834): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48775:(.text+0x17c862): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48783:(.text+0x17c8ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48786:(.text+0x17c90a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17c93c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17c952): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48585:(.text+0x17c986): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x17c9aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17ca14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17ca2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x17ca4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48665:(.text+0x17ca96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48665:(.text+0x17cac0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48669:(.text+0x17cae2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x17cb32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17cb60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294858:(.text+0x17cbaa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17cc08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17cc3a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17cc50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294821:(.text+0x17cc84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294824:(.text+0x17cca8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_188getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294882:(.text+0x17cd12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294941:(.text+0x17cd28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294902:(.text+0x17cd48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294821:(.text+0x17cd94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_188getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294914:(.text+0x17cdbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294834:(.text+0x17cde0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294830:(.text+0x17ce30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x17ce5e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x17cea8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_199getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295636:(.text+0x17cf06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295627:(.text+0x17cf38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_198getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295678:(.text+0x17cf4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295709:(.text+0x17cf82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x17cfa6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_199getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295611:(.text+0x17d010): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295611:(.text+0x17d026): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295615:(.text+0x17d046): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_198getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295678:(.text+0x17d092): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295697:(.text+0x17d0bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x17d0de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x17d12e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_199getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295621:(.text+0x17d15c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17d1a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x17d1e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50978:(.text+0x17d212): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17d27a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51049:(.text+0x17d2e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51086:(.text+0x17d2fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x17d318): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51188:(.text+0x17d376): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51190:(.text+0x17d3b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51199:(.text+0x17d3ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17d5b6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17d5e6): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17d64a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50983:(.text+0x17d6ac): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17d6c2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51086:(.text+0x17d798): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17d7a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x17d7b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51188:(.text+0x17d8c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51115:(.text+0x17d8e0): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17d96e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:538:(.text+0x17d984): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x17d9b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x17d9c4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51199:(.text+0x17d9dc): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17da4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17da58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17da64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17da6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50986:(.text+0x17da90): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17daf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x17dafe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x17db08): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x17db16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x17db2e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51122:(.text+0x17dbb4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51126:(.text+0x17dbca): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50684:(.text+0x17dc0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50684:(.text+0x17dc18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50708:(.text+0x17dc44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x17dc50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49795:(.text+0x17dc5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x17dc98): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50769:(.text+0x17dcfa): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50818:(.text+0x17dd18): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50821:(.text+0x17dd24): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50828:(.text+0x17dd36): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50883:(.text+0x17dd5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50883:(.text+0x17dd68): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x17dd7a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17dd92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x17dda0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17ddda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50904:(.text+0x17ddf4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50905:(.text+0x17de06): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17dfbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17dffa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17e006): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17e012): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17e01e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17e0da): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17e0ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50952:(.text+0x17e0fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50952:(.text+0x17e10a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17e136): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50691:(.text+0x17e1de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50818:(.text+0x17e20e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50854:(.text+0x17e23a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50854:(.text+0x17e246): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x17e316): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50901: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x17e450): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17e48e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50690:(.text+0x17e4a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50852:(.text+0x17e4b4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x17e4e0): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x17e6e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_388setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187227:(.text+0x17e704): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x17e7ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_389setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187150:(.text+0x17e7c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187158:(.text+0x17e7d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187161:(.text+0x17e7de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187158:(.text+0x17e7ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187161: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x17e8c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_388setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187260:(.text+0x17e8d8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_389setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187171:(.text+0x17e916): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x17e97a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295756:(.text+0x17e98a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x17e99a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x17e9c6): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_200getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295859:(.text+0x17ea82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295883:(.text+0x17eaba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295894:(.text+0x17eaca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17ead8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295815:(.text+0x17eafa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x17eb0a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295782:(.text+0x17eb36): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_200getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295909:(.text+0x17ebe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295908:(.text+0x17ebf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295908:(.text+0x17ebfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295908:(.text+0x17ec0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295908:(.text+0x17ec16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295908: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311124:(.text+0x17ee84): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311133:(.text+0x17ee8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311184:(.text+0x17eed4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x17ef06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x17efae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x17efdc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311257:(.text+0x17f016): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311323:(.text+0x17f06c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17f0b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x17f0f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x17f0fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311085:(.text+0x17f132): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311085:(.text+0x17f144): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311092:(.text+0x17f14c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x17f1a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x17f1ba): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311347:(.text+0x17f266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14287:(.text+0x17f28c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311085:(.text+0x17f2a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311118:(.text+0x17f2c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x17f2ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311310:(.text+0x17f306): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311184:(.text+0x17f338): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x17f34e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x17f35a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17f370): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x17f3a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311248:(.text+0x17f3b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311080:(.text+0x17f3c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x17f3e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311104:(.text+0x17f42c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17f4ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x17f4e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x17f64c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17f660): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17f66c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_62setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154652:(.text+0x17f748): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154680:(.text+0x17f766): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_63setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154591:(.text+0x17f78c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x17f7bc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_62setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154701:(.text+0x17f7ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_63setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154604:(.text+0x17f802): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17f80e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17f826): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17f832): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_63setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154600:(.text+0x17f83e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x17f84a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_63setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154628:(.text+0x17f872): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347680:(.text+0x17f886): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347680:(.text+0x17f89c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17f96e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347755:(.text+0x17f9d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347809:(.text+0x17fa00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347809:(.text+0x17fa16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17fa44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x17faf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347815:(.text+0x17fb1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x17fb76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x17fb9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x17fcda): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x17fcec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347790:(.text+0x17fcf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347790:(.text+0x17fd00): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17fd2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x17fd66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x17fd88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x17fdaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347697:(.text+0x17fdd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347707:(.text+0x17fde4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347714:(.text+0x17fdfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x17fe56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17fe7c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347809:(.text+0x17fea4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x17ff0a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347809:(.text+0x17ff18): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347702:(.text+0x17ff78): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347707:(.text+0x17ff8c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x17ffde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347826:(.text+0x17fff4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347828:(.text+0x180034): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347860:(.text+0x1800f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347721:(.text+0x180120): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347722:(.text+0x180138): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347702:(.text+0x180144): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347893:(.text+0x180156): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347893:(.text+0x180160): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347726:(.text+0x18018e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347790:(.text+0x18020c): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347826:(.text+0x18022a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x180282): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x18028c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x180296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x180324): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_29setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310696:(.text+0x18041c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310699:(.text+0x180438): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310691:(.text+0x180488): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_28setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310758:(.text+0x18049c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310836:(.text+0x1804b4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_29setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310696:(.text+0x18052a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x180560): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_28setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310822:(.text+0x180572): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_29setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310709:(.text+0x18059c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1805b6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x180678): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_51setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312738:(.text+0x1806d2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312719:(.text+0x1806e2): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_50setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312763:(.text+0x1806f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312783:(.text+0x1806fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312773:(.text+0x180706): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312783:(.text+0x180712): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312793:(.text+0x18071c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312817: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27427:(.text+0x1809ae): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27427:(.text+0x1809bc): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x180a48): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27691:(.text+0x180ab2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x180ad0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27711:(.text+0x180ae4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x180b3a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27724:(.text+0x180b72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27725:(.text+0x180b92): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27727:(.text+0x180baa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27731:(.text+0x180bc8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27733:(.text+0x180c00): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecGetCurrentMemType': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:210:(.text+0x180c14): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454956:(.text+0x180c3c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27755:(.text+0x180c48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x180c80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454956:(.text+0x180c8e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x180cbc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27774:(.text+0x180ce8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x180cfe): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27804:(.text+0x180d10): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27806:(.text+0x180d1e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27808:(.text+0x180d28): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27808:(.text+0x180d36): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x180dfc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x180e42): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27717:(.text+0x180e54): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x180e66): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x180e78): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x180e9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27867:(.text+0x180eb8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x180f06): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27879:(.text+0x180f50): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x180fa6): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x180fd8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x180fea): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x181018): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x181036): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27690:(.text+0x181066): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27524:(.text+0x181072): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27437:(.text+0x18108a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x181150): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1811b0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1811bc): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27579:(.text+0x1811ca): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x181238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x181242): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27465:(.text+0x18124e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27465:(.text+0x18125a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27564:(.text+0x181266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454853: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27720:(.text+0x1814e8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27861:(.text+0x1814f6): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27729:(.text+0x181596): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x1815dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27564:(.text+0x181638): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x18166a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27577:(.text+0x181680): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1816a2): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1816d2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27671:(.text+0x1816fa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447399:(.text+0x18170e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447399:(.text+0x181718): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27771:(.text+0x181740): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27773:(.text+0x18175e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27806:(.text+0x1817a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27862:(.text+0x1817b2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1817e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27592:(.text+0x181818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27592:(.text+0x181832): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x181844): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27862:(.text+0x181856): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27864:(.text+0x181860): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27757:(.text+0x181872): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27439:(.text+0x18194c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecGetCurrentMemType': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:214:(.text+0x181978): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125540:(.text+0x1819ee): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125524:(.text+0x181a04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125542:(.text+0x181a1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125552:(.text+0x181a3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125605:(.text+0x181a8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x181aa2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x181ac8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125631:(.text+0x181b06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x181b54): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x181b98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_71__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125511:(.text+0x181bb0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125547:(.text+0x181bba): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x181bcc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125652:(.text+0x181bf4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x181c08): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x181c14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_71__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125505:(.text+0x181c52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125540:(.text+0x181c80): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125542:(.text+0x181c98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125583:(.text+0x181ca2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125583:(.text+0x181cb6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125623:(.text+0x181d52): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125562:(.text+0x181d7e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x181e0c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x181e22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125646:(.text+0x181e42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x181e98): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x181eb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x181ed4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x181f16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x181f24): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125512:(.text+0x181f70): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125552:(.text+0x181f98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125558:(.text+0x181fc2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125650:(.text+0x181fe2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125650:(.text+0x181fec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_23setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115832:(.text+0x181ffe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115844:(.text+0x182028): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x18203c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x182078): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_23setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115903:(.text+0x1820a6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115903:(.text+0x1820be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115884:(.text+0x1820c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1820dc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14287:(.text+0x182172): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_22setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115932:(.text+0x18219e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116067:(.text+0x182268): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1822b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_22setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116056:(.text+0x1822ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_23setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115902:(.text+0x1822ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1823e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_23setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115848:(.text+0x1823f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115858:(.text+0x1823fe): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115853:(.text+0x18240c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_22setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116082:(.text+0x18246a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1824aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1824ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1824d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x1824f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x182500): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_23setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115858:(.text+0x182518): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115861:(.text+0x182528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115861:(.text+0x18253c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x182550): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_22setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116001:(.text+0x18257c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116043:(.text+0x1825a4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116044:(.text+0x1825b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1825ba): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1825ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1825dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x182640): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x182650): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x182666): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_23setGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115873:(.text+0x182674): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x182686): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14337:(.text+0x1826b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1826bc): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1826e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x182706): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x182710): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x18271a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x182724): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62214:(.text+0x18281c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61901:(.text+0x18289a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61989:(.text+0x1828be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62095:(.text+0x18293e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62095:(.text+0x182946): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x182b06): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61859:(.text+0x182b20): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x182b36): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x182b4a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61784:(.text+0x182b8c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62207:(.text+0x182b9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x182bae): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Generic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447728:(.text+0x182bfe): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x182cd6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61885:(.text+0x182ce8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447737:(.text+0x182d30): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447770:(.text+0x182d72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x182d88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61943:(.text+0x182df0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62095:(.text+0x182e76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x182e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x182e9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x182eb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61989:(.text+0x182ef2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x182f34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x182f42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x182f4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61830:(.text+0x182f5c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x182f6e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62031:(.text+0x182f92): undefined reference to `PyNumber_InPlaceAdd' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62047:(.text+0x182fc0): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62058:(.text+0x182fd2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62061:(.text+0x182ff6): undefined reference to `PyNumber_InPlaceAdd' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x183038): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18304c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x183076): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x183082): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18308c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18309a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1830a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61923: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1830bc): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61927:(.text+0x1830ea): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61954:(.text+0x183116): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x183188): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1831cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x183210): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61927:(.text+0x183248): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331600:(.text+0x18328e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1832d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1832de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1832f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331649:(.text+0x183340): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331676:(.text+0x18335a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331699:(.text+0x18337c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331708:(.text+0x183390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331708:(.text+0x1833a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331717:(.text+0x1833ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331729:(.text+0x1833da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331623:(.text+0x18347a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331744:(.text+0x1834a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1835b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_179getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170397:(.text+0x1835de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170448:(.text+0x18365a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170450:(.text+0x183672): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170459:(.text+0x183692): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1836c8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_179getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170401:(.text+0x1836da): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170443:(.text+0x183728): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_178getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170495:(.text+0x183744): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_179getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170406:(.text+0x183764): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170425:(.text+0x18378e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170426:(.text+0x1837a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170414:(.text+0x1837c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170406:(.text+0x1837e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x183856): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x183870): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299672:(.text+0x1838c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1838f4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18390e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18391a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299723:(.text+0x18392e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_32setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299788:(.text+0x1839b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299695:(.text+0x183a02): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299698:(.text+0x183a18): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299696:(.text+0x183a7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x183a94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_32setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299792:(.text+0x183ac8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x183aec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x183b1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x183b32): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299695:(.text+0x183b70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x183b86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_32setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299792:(.text+0x183ba4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299708:(.text+0x183bce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x183c1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x183c2e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x183c40): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x183c58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299732:(.text+0x183c78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x183ca6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335009:(.text+0x183d20): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x183d4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0x183dc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_62VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335108:(.text+0x183dda): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x183dfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x183e40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x183e5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335021:(.text+0x183e84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x183ecc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x183eda): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334971:(.text+0x183f32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334978:(.text+0x183f48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334989:(.text+0x183f86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x183fe6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334966:(.text+0x184014): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334971:(.text+0x18402a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x184058): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_62VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335163:(.text+0x1840f6): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335163:(.text+0x1841ae): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335163:(.text+0x1841be): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1841cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334980:(.text+0x1842be): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64051:(.text+0x184390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64053:(.text+0x18439c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64056:(.text+0x1843b4): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1843d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64215:(.text+0x1844c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1844d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1844e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1844ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x184534): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64239:(.text+0x184560): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64240:(.text+0x18456e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x184602): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18460c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x184618): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x184622): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x184694): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1846b6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1846d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18470c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18471a): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18473a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64153:(.text+0x184748): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64186:(.text+0x1847f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64188:(.text+0x184808): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x184886): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64033:(.text+0x1849ca): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64136:(.text+0x184a0c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x184a1e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64246:(.text+0x184a5a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64243:(.text+0x184b10): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64240:(.text+0x184b3c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x184bde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x184c24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x184c46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x184c6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x184cb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x184cc4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64158:(.text+0x184cfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64158:(.text+0x184d18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64162:(.text+0x184d44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64162:(.text+0x184d58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0x184d96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x184dfc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x184e2a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x184e40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64405:(.text+0x184e6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x184eec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x184f18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x184fba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x185000): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x185022): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18504a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x185092): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1850a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1850d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1850f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x185120): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x185134): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x185172): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64464:(.text+0x1851d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64469:(.text+0x185206): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64471:(.text+0x18521c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64334:(.text+0x18524a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1852c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x1852f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x185396): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64308:(.text+0x1853dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64417:(.text+0x1853fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64496:(.text+0x185426): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x18546e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x18547c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64498:(.text+0x1854b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64514:(.text+0x1854d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64520:(.text+0x1854fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64526:(.text+0x185510): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64523:(.text+0x18554e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1855b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1855e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1855f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x185626): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1856a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1856d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65150:(.text+0x185772): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65185:(.text+0x1857b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65188:(.text+0x1857da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x1857fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65232:(.text+0x185846): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x185854): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65280:(.text+0x18588a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65291:(.text+0x1858a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451134:(.text+0x1858cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65347:(.text+0x1858e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x185922): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65372:(.text+0x18598c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1859ba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1859d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x185a00): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65423:(.text+0x185a7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x185aaa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x185b4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x185b92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65408:(.text+0x185bb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65311:(.text+0x185bdc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65320:(.text+0x185c24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65320:(.text+0x185c32): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65151:(.text+0x185c68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x185c86): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65165:(.text+0x185cb2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65185:(.text+0x185cc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x185d04): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x185d6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65154:(.text+0x185d98): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x185dae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65211:(.text+0x185ddc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65296:(.text+0x185e5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x185e86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65375:(.text+0x185f28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x185f6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x185f90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x185fb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x186000): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x18600e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x186044): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x186062): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18608e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1860a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1860e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65294:(.text+0x186146): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65294:(.text+0x186174): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64584:(.text+0x18618a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64617:(.text+0x1861b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24223:(.text+0x186236): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x186262): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x186304): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64797:(.text+0x18634a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18636c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64806:(.text+0x18638e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1863d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1863e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18641c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18643a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18645e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x186474): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1864b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18651e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18654c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x186564): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x186592): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64750:(.text+0x186612): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64754:(.text+0x18663e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1866a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64587:(.text+0x1866cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x186730): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x186752): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x186774): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1867bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64779:(.text+0x186844): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64728:(.text+0x186858): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x186896): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64802:(.text+0x1868fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64809:(.text+0x18692a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x186940): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x18696e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64745:(.text+0x1869ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x186a18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x186a80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64750:(.text+0x186aa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64754:(.text+0x186b0a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64724:(.text+0x186b2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64728:(.text+0x186b4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64867:(.text+0x186b96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x186c1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x186c32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x186c70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x186cd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65064:(.text+0x186d04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x186d1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x186d48): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x186dc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x186df2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x186e5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x186e80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x186ee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x186f06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x186f28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x186f70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65028:(.text+0x186ff8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65031:(.text+0x18700c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65037:(.text+0x18704a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1870b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64902:(.text+0x1870de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1870f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x187122): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1871a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1871cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64985:(.text+0x187234): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65000:(.text+0x18725a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65064:(.text+0x1872be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65078:(.text+0x1872e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65085:(.text+0x187302): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65092:(.text+0x18734a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1873d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1873e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x187424): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18748a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65035:(.text+0x1874b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1874ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1874fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65011:(.text+0x187578): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63735:(.text+0x1875a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x18767c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63839:(.text+0x18769e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1876c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63930:(.text+0x187708): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x187780): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63956:(.text+0x187794): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1877d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18785c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18788a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64008:(.text+0x1878a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1878d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x187924): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1879c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63865:(.text+0x1879fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63899:(.text+0x187a16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63903:(.text+0x187a46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x187a6a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63751:(.text+0x187ada): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63770:(.text+0x187aec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x187b0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63736:(.text+0x187b8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x187bea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x187c0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63852:(.text+0x187c48): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63879:(.text+0x187c76): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63786:(.text+0x187ce8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63953:(.text+0x187d14): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x187dec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63742:(.text+0x187e0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x187e30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x187e78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x187ef0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x187f04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63875:(.text+0x187f42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43649:(.text+0x187fcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x187ffa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43319:(.text+0x188012): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x188040): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x188092): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18812c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x188160): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43886:(.text+0x18817c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1881ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43896:(.text+0x1881d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x188246): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x188258): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x188278): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1882f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x188356): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x188378): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1883ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43960:(.text+0x1883f8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43787:(.text+0x188446): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x1884e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18851c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43944:(.text+0x188538): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x188568): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18858c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1885fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43656:(.text+0x18860e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43658:(.text+0x18862e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43853:(.text+0x1886b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43799:(.text+0x18870c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18872e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43827:(.text+0x18876a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x188798): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43888:(.text+0x1887e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x188880): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43900:(.text+0x1888b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1888d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43903:(.text+0x188902): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x188926): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43658:(.text+0x188996): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43705:(.text+0x1889a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1889c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x188a4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43823:(.text+0x188aa6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43823:(.text+0x188ac8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43827:(.text+0x188b04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54426:(.text+0x188b32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54471:(.text+0x188bc0): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x188bda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54528:(.text+0x188c04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x188c64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54543:(.text+0x188c74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54543:(.text+0x188c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x188cbc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x188cce): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54600:(.text+0x188d4c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x188e16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x188e46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54751:(.text+0x188e52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54754:(.text+0x188e5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54714:(.text+0x188eae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x188f1e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54437:(.text+0x188f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54405:(.text+0x188faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x188fb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54447:(.text+0x188ff6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54459:(.text+0x189006): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1890a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x189118): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54670:(.text+0x18917a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18918e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x189198): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54540:(.text+0x1891c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54541:(.text+0x1891cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1891d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54544:(.text+0x189218): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54550:(.text+0x189248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x189256): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x189260): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x18926a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x189324): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447654:(.text+0x189350): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1893d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18943a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18945c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x18947e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54684:(.text+0x1894c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19172:(.text+0x18953c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19172:(.text+0x189550): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19217:(.text+0x18958e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19324:(.text+0x189618): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19397:(.text+0x189646): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19411:(.text+0x18965e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19626:(.text+0x18968c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19296:(.text+0x18970a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19300:(.text+0x189736): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19343:(.text+0x1897c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19361:(.text+0x189824): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19485:(.text+0x189846): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19470:(.text+0x189868): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19472:(.text+0x1898b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19664:(.text+0x18991a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x189930): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x189970): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19522:(.text+0x1899fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x189a28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19536:(.text+0x189a40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19410:(.text+0x189a6e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19445:(.text+0x189aec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x189b18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x189b94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x189bf6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x189c14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x189c3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x189c84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19533:(.text+0x189cf4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19586:(.text+0x189d0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x189d48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x189dc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x189df6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19662:(.text+0x189e0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19434:(.text+0x189e3a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x189eb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x189ee2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19470:(.text+0x189f5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19522:(.text+0x189fc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x189fde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x18a004): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19329:(.text+0x18a04e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x18a0be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x18a0d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19277:(.text+0x18a112): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32898:(.text+0x18a192): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32898:(.text+0x18a1c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32898:(.text+0x18a1d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32942:(.text+0x18a204): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x18a280): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18a2ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33221:(.text+0x18a328): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33255:(.text+0x18a38a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18a3a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18a3ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18a418): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33246:(.text+0x18a488): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32942:(.text+0x18a49e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32973:(.text+0x18a4dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33015:(.text+0x18a55c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33017:(.text+0x18a58a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33018:(.text+0x18a5a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18a5ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33118:(.text+0x18a64a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18a676): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18a700): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33212:(.text+0x18a762): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18a780): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x18a7a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x18a7f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x18a85a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33098:(.text+0x18a870): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18a8ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18a92e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18a95c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18a972): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18a9a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x18aa1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x18aa48): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18aad2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33196:(.text+0x18ab34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x18ab52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447027:(.text+0x18ab78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32952:(.text+0x18abc2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33098:(.text+0x18ac2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_41setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158070:(.text+0x18ac42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x18ac80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_40setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158173:(.text+0x18ad00): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158173:(.text+0x18ad2e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158182:(.text+0x18ad44): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158211:(.text+0x18ad72): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158231:(.text+0x18adee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_41setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158094:(.text+0x18ae1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158094:(.text+0x18ae96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158094:(.text+0x18aefa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158102:(.text+0x18af1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158103:(.text+0x18af3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158107:(.text+0x18af86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33301:(.text+0x18affe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33306:(.text+0x18b012): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19732:(.text+0x18b050): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19754:(.text+0x18b0da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33375:(.text+0x18b108): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33384:(.text+0x18b120): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18b14e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33291:(.text+0x18b1cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18b1f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x18b274): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x18b2d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_65createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160838:(.text+0x18b2fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160852:(.text+0x18b31c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160898:(.text+0x18b364): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18b3dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_64createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161002:(.text+0x18b3f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_65createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160928:(.text+0x18b42e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18b4b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_65createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160919:(.text+0x18b4e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160921:(.text+0x18b4fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160898:(.text+0x18b52c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_64createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161038:(.text+0x18b580): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_65createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160913:(.text+0x18b5dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160911:(.text+0x18b600): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160895:(.text+0x18b68e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160885:(.text+0x18b6f0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163995:(.text+0x18b73e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164055:(.text+0x18b7a0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164227:(.text+0x18b7fa): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164251:(.text+0x18b826): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164238:(.text+0x18b842): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164251:(.text+0x18b85a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19732:(.text+0x18b886): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19754:(.text+0x18b8ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19754:(.text+0x18b8b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19700:(.text+0x18b8c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19763:(.text+0x18b936): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19763:(.text+0x18b942): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19771:(.text+0x18b94e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164310:(.text+0x18b95a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164368:(.text+0x18b96c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164368: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18b9a8): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164027:(.text+0x18ba1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164068:(.text+0x18ba2a): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18baa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18baae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164153:(.text+0x18babe): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x18bb06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164185:(.text+0x18bb26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18bb3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164193:(.text+0x18bb54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18bb82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164030:(.text+0x18bbd0): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164076:(.text+0x18bc34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18bc50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164058:(.text+0x18bc88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164015:(.text+0x18bcae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164070:(.text+0x18bcc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164081:(.text+0x18bcfa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18bd82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164047:(.text+0x18bdb0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164070:(.text+0x18be1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164141:(.text+0x18be7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164141:(.text+0x18be9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x18bf00): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x18bf3e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164041:(.text+0x18bfd0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164042:(.text+0x18bfe6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164080:(.text+0x18c016): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75447:(.text+0x18c066): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75459:(.text+0x18c070): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c0c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c0d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75515:(.text+0x18c0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75515:(.text+0x18c0ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_18splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75551:(.text+0x18c120): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75607:(.text+0x18c17e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75626:(.text+0x18c19e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x18c1c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_18splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75649:(.text+0x18c1d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x18c1ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75524:(.text+0x18c214): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x18c226): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_18splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75674:(.text+0x18c254): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75482:(.text+0x18c2a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_18splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75551:(.text+0x18c2be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18c2de): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18c2ea): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18c2fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75470:(.text+0x18c314): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75470:(.text+0x18c320): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75507:(.text+0x18c336): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18c350): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18c366): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_18splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75647:(.text+0x18c372): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75647:(.text+0x18c3a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75488:(.text+0x18c3be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75478:(.text+0x18c3f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75483:(.text+0x18c420): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75490:(.text+0x18c47c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c4a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121289:(.text+0x18c4fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x18c6ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_50createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121489:(.text+0x18c6c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121477:(.text+0x18c6d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c71a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121338:(.text+0x18c7f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x18c816): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_50createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121410:(.text+0x18c830): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121410:(.text+0x18c83c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121440:(.text+0x18c852): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121305:(.text+0x18c870): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121338:(.text+0x18c886): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121308:(.text+0x18c8b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_50createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121458:(.text+0x18c906): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121313:(.text+0x18c91a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c9a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c9d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_53createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121520:(.text+0x18ca08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121532:(.text+0x18ca14): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121570:(.text+0x18ca42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_52createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121623:(.text+0x18cab0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121720:(.text+0x18cbde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_53createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121597:(.text+0x18cbfa): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x18cc4a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x18ccc4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_53createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121543:(.text+0x18ccf6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121580:(.text+0x18cd08): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x18cd32): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_52createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121653:(.text+0x18cd4c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121701:(.text+0x18ce26): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_53createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121563:(.text+0x18ce80): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121567:(.text+0x18ce8c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121567:(.text+0x18ce9c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x18cf0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_49setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121121:(.text+0x18cf16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121109:(.text+0x18cf20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121120:(.text+0x18cf2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121109:(.text+0x18cf36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121146:(.text+0x18d1fe): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_79createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127399:(.text+0x18d210): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127469:(.text+0x18d2ca): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127502:(.text+0x18d2f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127513:(.text+0x18d30a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19731:(.text+0x18d340): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19754:(.text+0x18d35a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127541:(.text+0x18d384): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x18d3b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127560:(.text+0x18d3c0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18d3d2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127599:(.text+0x18d3e0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_79createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127476:(.text+0x18d3f4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127476:(.text+0x18d3fe): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18d426): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_79createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127417:(.text+0x18d43a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127502:(.text+0x18d476): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127612:(.text+0x18d484): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x18d4b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_79createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127422:(.text+0x18d4de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127461:(.text+0x18d4f4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18d4fe): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x18d50c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x18d5b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18d668): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121763:(.text+0x18d69e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x18d6b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x18d6e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18d708): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121944:(.text+0x18d76e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121955:(.text+0x18d784): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19709:(.text+0x18d7a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19043:(.text+0x18d828): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122107:(.text+0x18d868): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18d8a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121853:(.text+0x18d8e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18d90e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x18d950): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18da00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18da36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18da52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18da82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18daa6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x18db16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x18db28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18db48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121795:(.text+0x18dbce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121802:(.text+0x18dc0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x18dc4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122011:(.text+0x18dc86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18dcb4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18dcfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19075:(.text+0x18ddac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18dde2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x18ddf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x18de28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18de4c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18deb2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19052:(.text+0x18dec8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121820:(.text+0x18dee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121906:(.text+0x18df6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18dfac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18dfe8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122005:(.text+0x18e024): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122007:(.text+0x18e052): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122009:(.text+0x18e094): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__DMComposite_access': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419650:(.text+0x18e144): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18e17a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62574:(.text+0x18e190): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62615:(.text+0x18e1c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18e1e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x18e24a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x18e260): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18e27e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18e304): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62628:(.text+0x18e344): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62731:(.text+0x18e380): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62717:(.text+0x18e3bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13469:(.text+0x18e3ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18e42c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62589:(.text+0x18e4dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62632:(.text+0x18e512): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62633:(.text+0x18e52e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62579:(.text+0x18e55e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62589:(.text+0x18e582): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18e5f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18e604): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18e624): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x18e6aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62608:(.text+0x18e6ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18e726): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x18e762): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18e790): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62598:(.text+0x18e7da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52729:(.text+0x18e834): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x18e844): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x18e84c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x18e8e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x18e9b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18e9d0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x18ea64): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x18ea74): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x18ea8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18ea9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18eaac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18eab8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18eae0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18eae8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18eb10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18eb28): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18eb38): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52993:(.text+0x18eb48): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18eb7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52825:(.text+0x18eb86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52838:(.text+0x18eb98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18ebca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18ec6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18ec94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18ecb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x18ecd6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52711:(.text+0x18ecf0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52740:(.text+0x18ecf8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18ed40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18ed5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x18ed82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x18eda2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x18edec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52722:(.text+0x18edf8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52764:(.text+0x18ee08): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x18ee1c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x18ee2c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52788:(.text+0x18ee5c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18eed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52721:(.text+0x18eefe): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52837:(.text+0x18ef14): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52930:(.text+0x18ef82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52937:(.text+0x18efb2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52947:(.text+0x18f082): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52721:(.text+0x18f0d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18f0f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x18f12a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18f152): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x18f184): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447027:(.text+0x18f19e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52861:(.text+0x18f1c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52861:(.text+0x18f1d4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52861:(.text+0x18f1e6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53900:(.text+0x18f252): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24223:(.text+0x18f2a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x18f2b4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x18f2c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x18f2e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18f2f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x18f306): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53973:(.text+0x18f348): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53996:(.text+0x18f358): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54032:(.text+0x18f37a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54034:(.text+0x18f38c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18f3a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x18f3c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x18f3d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18f414): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54103:(.text+0x18f426): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54161:(.text+0x18f560): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54009:(.text+0x18f5ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54009:(.text+0x18f5ca): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54010:(.text+0x18f5d2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18f668): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18f73a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54148:(.text+0x18f756): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53923:(.text+0x18f7ea): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x18f7fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x18f810): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53883:(.text+0x18f820): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18f830): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x18f83c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53947:(.text+0x18f864): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18f86c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54022:(.text+0x18f894): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54053:(.text+0x18f8ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54056:(.text+0x18f8bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54060:(.text+0x18f8cc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18f8fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54026:(.text+0x18f90a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53893:(.text+0x18f91c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x18f94e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18f9ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54115:(.text+0x18fa18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x18fa3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54118:(.text+0x18fa5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54112:(.text+0x18fa74): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x18fa7c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x18fac4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18fae2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18fb06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x18fb26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18fb70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x18fb7c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x18fb8c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x18fba0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x18fbb0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54032:(.text+0x18fbe0): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52409:(.text+0x18fc54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x18fc82): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49795:(.text+0x18fc98): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x18fd04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30257:(.text+0x18fd34): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x18fe00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18fe52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52643:(.text+0x18fe70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x18fea6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18fece): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x18ff00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x18ff1a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18ff3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18ff50): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x18ff62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52528:(.text+0x18ffce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x190024): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190030): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190042): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190064): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190070): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190082): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1900c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1900d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1900f6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x190108): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52443:(.text+0x190124): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52443:(.text+0x19013c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19014c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x190190): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1901a2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52594:(.text+0x190308): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52560:(.text+0x190334): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52641:(.text+0x1903f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x190418): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x19045e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52650:(.text+0x190480): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1904a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1904ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1904fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x190530): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19056a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19057e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1905ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52564:(.text+0x190626): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52568:(.text+0x190654): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Hessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51832:(.text+0x19066a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x190698): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x190714): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x190740): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x190804): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x190824): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x190832): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Hessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52058:(.text+0x19086a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52066:(.text+0x19088c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1908ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1908f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x190906): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19093c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x190976): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19098a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Hessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52119:(.text+0x1909c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x190a32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190a60): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190a76): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190aa4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x190b0a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x190c38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x190c54): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Hessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51902:(.text+0x190ca4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51840:(.text+0x190cb4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x190d30): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Hessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51983:(.text+0x190d5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51963:(.text+0x190d6a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52042:(.text+0x190d7c): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51991:(.text+0x190da6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x190dc0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Hessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52073:(.text+0x190e9a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x190eea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x190efa): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x190f06): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x190f16): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x190f84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x190f90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x190f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x190fa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x190fb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:601: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x191270): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44703:(.text+0x19127e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19131a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x191354): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44761:(.text+0x1913c6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1913f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44596:(.text+0x19140c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44609:(.text+0x19142c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x191458): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19147c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x191490): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19149a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1914c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1914ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19150e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44596:(.text+0x191520): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x191552): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x191586): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1915a0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44748:(.text+0x1915b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1915c0): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1915ca): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1915dc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1916ae): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44547:(.text+0x1916c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44662:(.text+0x191744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44687:(.text+0x1917a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44636:(.text+0x1917b8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44708:(.text+0x191836): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1918ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1918f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19190e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x191988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x191994): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46378:(.text+0x191aa6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x191b1c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24223:(.text+0x191b2c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46460:(.text+0x191bc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46607:(.text+0x191c82): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x191c96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46607:(.text+0x191ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46609:(.text+0x191cba): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46617:(.text+0x191ce2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46617:(.text+0x191cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x191d0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x191d30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x191d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x191d7e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x191d88): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x191d92): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46670:(.text+0x191e10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46510:(.text+0x191e58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x191e8a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x191ef6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46654:(.text+0x191ffa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x19209c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46527:(.text+0x1921b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46529:(.text+0x1921c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1921cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46509:(.text+0x1921de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46588:(.text+0x192204): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x192210): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x19223a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x192250): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46607:(.text+0x1922d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46609:(.text+0x1922ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1922f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46614:(.text+0x192300): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46615:(.text+0x192310): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46615:(.text+0x192322): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46621:(.text+0x19233c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46624:(.text+0x192368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46624:(.text+0x192370): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1923a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1923b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1923c6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46554:(.text+0x1923d6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19243a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x192470): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x192478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1924a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46563:(.text+0x1924ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46533:(.text+0x1924e2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46533:(.text+0x1924fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46537:(.text+0x192518): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46680:(.text+0x192532): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46680:(.text+0x192544): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46680:(.text+0x192552): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46703:(.text+0x19256a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46026:(.text+0x192580): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19258c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1925a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1925b8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x1925c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1925da): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1925e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1925ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x1925fc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19260e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x192628): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x192632): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x19263a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46762:(.text+0x192652): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46799:(.text+0x19266c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x19267a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46835:(.text+0x19269e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1926b0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1926c4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x19270e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x192726): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46915:(.text+0x192774): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46920:(.text+0x19279c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1927a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1927c8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1927de): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1927e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19281c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x192828): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x192844): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19284c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x192884): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46972:(.text+0x1928b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1928c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46799:(.text+0x1928dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46802:(.text+0x1928e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19290a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x192916): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19292e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x192960): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19297a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19298c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1929b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1929c0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1929e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x192a00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46684:(.text+0x192a4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x192a64): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x192a6e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x192a78): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x192ae6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x192b72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46750:(.text+0x192b96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46861:(.text+0x192bee): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46861:(.text+0x192bfc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46865:(.text+0x192c2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46890:(.text+0x192ca2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46839:(.text+0x192cb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x192d18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46926:(.text+0x192d2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x192d7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46923:(.text+0x192dc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46923:(.text+0x192de4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x192df2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46920:(.text+0x192e0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x192e9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x192eca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x192f44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46835:(.text+0x192f70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315557:(.text+0x192fd0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x192ffe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315619:(.text+0x193062): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315623:(.text+0x193084): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315649:(.text+0x1930a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315687:(.text+0x1930ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14151:(.text+0x19313c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x193150): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315634:(.text+0x193194): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315634:(.text+0x1931aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1931ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315573:(.text+0x193254): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315590:(.text+0x193282): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315590:(.text+0x19329a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315601:(.text+0x1932c8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315624:(.text+0x19336e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x19339a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x1933f6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446558:(.text+0x193424): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0x193488): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0x1934aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315583:(.text+0x1934cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315578:(.text+0x193514): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x193566): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19357a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315602:(.text+0x1935c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315602:(.text+0x1935da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315598:(.text+0x193618): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x193682): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0x1936b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1936c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315759:(.text+0x1936f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x193774): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_365factorSymbolicILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185804:(.text+0x19380e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x193822): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_364factorSymbolicILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185878:(.text+0x193846): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_365factorSymbolicILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185836:(.text+0x19387a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185819:(.text+0x193908): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185821:(.text+0x193914): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185772:(.text+0x193950): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185814:(.text+0x193998): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185826:(.text+0x1939ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185772:(.text+0x1939da): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185801:(.text+0x193a06): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185801:(.text+0x193a18): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185796:(.text+0x193a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185777:(.text+0x193a58): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x193a88): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154736:(.text+0x193b02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x193b22): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x193b38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154787:(.text+0x193b6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_64getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154820:(.text+0x193ba0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154840:(.text+0x193bca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154858:(.text+0x193bd6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x193c08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x193c16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_64getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154877:(.text+0x193c4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154762:(.text+0x193c7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154762:(.text+0x193c98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154766:(.text+0x193cba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154754:(.text+0x193cdc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154754:(.text+0x193cea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154760:(.text+0x193cf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_64getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154820:(.text+0x193d08): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154894:(.text+0x193d1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x193daa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154772:(.text+0x193de6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154772:(.text+0x193e0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154768:(.text+0x193e52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x193e5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x193e6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x193f26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x193f54): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66861:(.text+0x193f68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x193f8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x193fb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1940a6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1941d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1941f0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x194240): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x194254): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67041:(.text+0x19426c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1942f0): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x19431e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66904:(.text+0x19432e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66813:(.text+0x194340): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66934:(.text+0x19436a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66938:(.text+0x194384): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66811:(.text+0x19445a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1944ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66814:(.text+0x1944bc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66775:(.text+0x1944c8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66761:(.text+0x1944d8): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66915:(.text+0x194546): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x194552): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x19455c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x194566): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66973:(.text+0x194572): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66973: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19483a): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x194848): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66910:(.text+0x1948d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66910:(.text+0x1948e2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66910:(.text+0x1948f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67105:(.text+0x1949a6): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67132:(.text+0x1949e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x194a06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67168:(.text+0x194a1e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x194a3c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x194a66): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67272:(.text+0x194a88): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x194a9c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x194aa6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67282:(.text+0x194ace): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x194ada): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67291:(.text+0x194b12): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x194b20): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x194b4e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67301:(.text+0x194b7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x194b90): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x194b9a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x194ba8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x194c80): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x194cac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67348:(.text+0x194d0e): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67348:(.text+0x194d1c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x194d4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x194db4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x194dd6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67071:(.text+0x194df8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67245:(.text+0x194e40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67081:(.text+0x194e8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67100:(.text+0x194ea2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x194ee6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67081:(.text+0x194efc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x194f3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67193:(.text+0x194fa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67272:(.text+0x194fd4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67221:(.text+0x194fec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x19501a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67297:(.text+0x1950c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1950ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67300:(.text+0x19514c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x19515a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x195188): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1951f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x195214): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x195236): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19527e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446999:(.text+0x1952d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1952e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x195328): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x19533e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67217:(.text+0x19537e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67221:(.text+0x1953e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_insertmode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15565:(.text+0x195416): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453517:(.text+0x19542e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_insertmode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15625:(.text+0x19545c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453523:(.text+0x195504): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_insertmode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15605:(.text+0x195530): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453680:(.text+0x19558e): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453680:(.text+0x19559c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453519:(.text+0x1955cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453563:(.text+0x195636): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453680:(.text+0x195658): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453670:(.text+0x19567a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453670:(.text+0x1956c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25961:(.text+0x195714): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25972:(.text+0x195728): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14269:(.text+0x19576c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x195782): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26031:(.text+0x1957c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19582c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26156:(.text+0x19585a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x195872): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues_fcn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25875:(.text+0x1958a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26031:(.text+0x195918): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26059:(.text+0x195980): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x195a4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x195a68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14287:(.text+0x195a9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x195abe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x195af4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x195b0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x195b4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x195b5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x195b7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x195bae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26059:(.text+0x195bec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26156:(.text+0x195c12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140135:(.text+0x195c50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_272setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140228:(.text+0x195c9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140210:(.text+0x195cc8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x195d18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140184:(.text+0x195d74): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140152:(.text+0x195d98): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_272setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140242:(.text+0x195e0a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140181:(.text+0x195e92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x195eee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140171:(.text+0x195f04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140171:(.text+0x195f18): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140009:(.text+0x195f52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140021:(.text+0x195f5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x195f72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140058:(.text+0x195f7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_270setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140102:(.text+0x195f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x196038): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140073:(.text+0x196052): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140075:(.text+0x19606a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x196078): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140026:(.text+0x196090): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140031:(.text+0x1960a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140043:(.text+0x1960c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140068:(.text+0x1960e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_270setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140116:(.text+0x196106): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140055:(.text+0x1961b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1961e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1961f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140084:(.text+0x196224): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_260setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139494:(.text+0x1962a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139465:(.text+0x1962d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139431:(.text+0x196458): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139432:(.text+0x19646a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139412:(.text+0x196472): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139417:(.text+0x19647e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1964f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x196502): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139426:(.text+0x19650a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139426:(.text+0x196516): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139277:(.text+0x196568): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x19657a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139313:(.text+0x196582): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_258setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139357:(.text+0x19658e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139339:(.text+0x1965d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139294:(.text+0x1965e8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139294:(.text+0x1965f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139294:(.text+0x1965fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139330:(.text+0x196672): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139281:(.text+0x19669a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139291:(.text+0x1966ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_258setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139371:(.text+0x19670e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139286:(.text+0x196732): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139305:(.text+0x196764): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139291:(.text+0x196776): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1967c6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1967dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1967ec): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x196802): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139300:(.text+0x196812): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139339:(.text+0x196828): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178616:(.text+0x196838): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178628:(.text+0x19684e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x19685e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x196874): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x196884): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x19689a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178669:(.text+0x1968bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178671:(.text+0x1968de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x196928): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178685:(.text+0x196946): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x196960): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178640:(.text+0x196984): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178643:(.text+0x19699e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178664:(.text+0x1969ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_276setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178729:(.text+0x1969f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178641:(.text+0x196a24): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x196a68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178649:(.text+0x196aac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178685:(.text+0x196af0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35775:(.text+0x196b32): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35892:(.text+0x196b5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35913:(.text+0x196b7c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35938:(.text+0x196ba4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35976:(.text+0x196bae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyArray_FLAGS': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1574:(.text+0x196bcc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyArray_DIM': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1550:(.text+0x196c08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x196c18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x196c28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x196c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x196c7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x196cac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36219:(.text+0x196cc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36224:(.text+0x196cf4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35829:(.text+0x196d10): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x196d1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35852:(.text+0x196d2e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36031:(.text+0x196d3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36031:(.text+0x196d48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x196d5a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x196d68): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x196d74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36033:(.text+0x196d86): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36035:(.text+0x196d92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x196d9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36307:(.text+0x196db0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36307:(.text+0x196dbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x196dc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x196dda): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x196de4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36315:(.text+0x196df0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36315:(.text+0x196e02): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36280:(.text+0x196ec4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36280:(.text+0x196ef2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x197020): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35979:(.text+0x19704c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19709e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36014:(.text+0x1970bc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1970e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x19714a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36003:(.text+0x197168): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19718e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36055:(.text+0x1971d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36068:(.text+0x197204): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36068:(.text+0x197210): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36085:(.text+0x197250): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x197264): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x197288): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36089:(.text+0x19729e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1972dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35949:(.text+0x19733c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36001:(.text+0x19736a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36014:(.text+0x197380): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1973ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x197452): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1974ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36315:(.text+0x1974d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35587:(.text+0x197554): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35651:(.text+0x1975d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x197636): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19764c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35765:(.text+0x197666): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35543:(.text+0x197698): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1976a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35567:(.text+0x1976b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1976c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1976d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35639:(.text+0x197794): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1977b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1977c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35667:(.text+0x1977d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1977f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35686:(.text+0x197806): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35697:(.text+0x197824): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35700:(.text+0x197840): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35721:(.text+0x197866): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x197914): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35661:(.text+0x197946): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x197960): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x19798e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35663:(.text+0x1979e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36325:(.text+0x197a44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x197a68): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36481:(.text+0x197aea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x197b6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x197bcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36637:(.text+0x197be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36640:(.text+0x197bfc): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36996:(.text+0x197c2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36996:(.text+0x197c36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x197c4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x197c5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x197c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36968:(.text+0x197d2a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36968:(.text+0x197d46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36882:(.text+0x197d5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36919:(.text+0x197d6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36968:(.text+0x197d86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36868:(.text+0x197d9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36868:(.text+0x197dba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36503:(.text+0x197dd6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36919:(.text+0x197dfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x197eaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x197edc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_fcn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35422:(.text+0x197ef6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36566:(.text+0x197f24): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36938:(.text+0x197f7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x197fda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x197ffe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x198084): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x198108): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36610:(.text+0x198166): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19817c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1981ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36774:(.text+0x1981c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36774:(.text+0x1981ce): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36776:(.text+0x1981ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1981f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x198202): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1982e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x198304): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36385:(.text+0x19831c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19832a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x198352): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x198364): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x19837a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36606:(.text+0x198396): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1983d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x198424): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36718:(.text+0x19846c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1984a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1984d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350004:(.text+0x198556): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350017:(.text+0x198582): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x198664): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350137:(.text+0x198684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x198694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350193:(.text+0x1986cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1986ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350081:(.text+0x198710): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x198758): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x198766): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyArray_FLAGS': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1574:(.text+0x19879c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350125:(.text+0x1987d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1987ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350064:(.text+0x198826): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1988aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350162:(.text+0x1988d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350164:(.text+0x1988ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350228:(.text+0x19891c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350032:(.text+0x19896a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350123:(.text+0x198a7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x198a96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350046:(.text+0x198ac6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350051:(.text+0x198aea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x198b20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337074:(.text+0x198b80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337121:(.text+0x198b92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x198bb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337178:(.text+0x198c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x198c40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337231:(.text+0x198c9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x198cbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337243:(.text+0x198cfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337255:(.text+0x198d28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/include/python3.11/object.h:537:(.text+0x198d6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337271:(.text+0x198dd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x198e04): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337090:(.text+0x198e1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337107:(.text+0x198e40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337113:(.text+0x198e74): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x198f16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x198f32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337100:(.text+0x198f4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337101:(.text+0x198f60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337103:(.text+0x198f7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337103:(.text+0x198f92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337140:(.text+0x198fc2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337271:(.text+0x198fee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337271:(.text+0x199034): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337101:(.text+0x199062): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/include/python3.11/object.h:601:(.text+0x199076): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337119:(.text+0x1990a4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337115:(.text+0x1990ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337138:(.text+0x199152): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337150:(.text+0x199186): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315813:(.text+0x19919c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315813:(.text+0x1991c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1991f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x199298): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1992b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315961:(.text+0x1992cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315961:(.text+0x1992e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14151:(.text+0x1992fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14151:(.text+0x199314): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315994:(.text+0x199344): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315890:(.text+0x199370): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1993b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1993e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1993f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x199426): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315846:(.text+0x199470): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1994d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315880:(.text+0x19950a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315834:(.text+0x199526): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x19954c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x199580): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446558:(.text+0x199622): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316013:(.text+0x19963e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x199656): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316024:(.text+0x19966c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0x19968a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0x1996a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315839:(.text+0x1996d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x199702): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0x199748): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0x199776): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0x19978a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315858:(.text+0x1997b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x199808): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19986c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0x1998a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1998b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315880:(.text+0x1998dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316033:(.text+0x199910): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315890:(.text+0x1999b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47306:(.text+0x1999ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47306:(.text+0x1999e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47306:(.text+0x1999fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47329:(.text+0x199a18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x199a2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x199a5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x199a8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30257:(.text+0x199ad0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47388:(.text+0x199afe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47425:(.text+0x199b12): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47461:(.text+0x199b40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x199b8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x199bee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x199c22): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x199c38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47551:(.text+0x199c5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x199c92): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x199d34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x199d50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47603:(.text+0x199d68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47603:(.text+0x199d7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x199d9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47425:(.text+0x199db0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47364:(.text+0x199de0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x199e0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x199e52): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x199e80): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x199e94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47425:(.text+0x199ec2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47322:(.text+0x199f0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x199f70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x199fa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x199fc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47310:(.text+0x199fe8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47322:(.text+0x19a01c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47485:(.text+0x19a0be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47489:(.text+0x19a0da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47491:(.text+0x19a0f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47455:(.text+0x19a108): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19a126): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x19a140): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x19a172): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x19a19e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x19a1e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47520:(.text+0x19a212): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47540:(.text+0x19a226): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19a254): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47545:(.text+0x19a2a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19a308): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47322:(.text+0x19a33e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19a35a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19a380): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19a3b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47461:(.text+0x19a456): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47461:(.text+0x19a472): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47465:(.text+0x19a48a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47465:(.text+0x19a4a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45331:(.text+0x19a4be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45331:(.text+0x19a4d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19a50a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x19a536): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45428:(.text+0x19a57c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x19a5aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45501:(.text+0x19a5be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45556:(.text+0x19a5ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45567:(.text+0x19a63c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45580:(.text+0x19a6a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45589:(.text+0x19a6d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x19a6f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x19a718): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45625:(.text+0x19a74c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19a7ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19a80a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19a822): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45696:(.text+0x19a838): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45699:(.text+0x19a856): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19a870): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45478:(.text+0x19a8a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19a8ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19a914): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19a942): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19a956): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19a984): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45465:(.text+0x19a9d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19aa56): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19aa64): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x19aab0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45380:(.text+0x19aae4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x19aafa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x19ab2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45349:(.text+0x19ab50): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45522:(.text+0x19abda): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45525:(.text+0x19abf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45529:(.text+0x19ac10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45531:(.text+0x19ac36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45506:(.text+0x19ac6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45507:(.text+0x19ac76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19acac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45556:(.text+0x19acfa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45578:(.text+0x19ad1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x19adaa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45589:(.text+0x19add8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19ae52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x19ae7e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19aefe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45501:(.text+0x19af90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45501:(.text+0x19afa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45505:(.text+0x19afdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285373:(.text+0x19affa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285385:(.text+0x19b020): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19b054): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285424:(.text+0x19b07c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x19b11e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_40setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285486:(.text+0x19b134): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285396:(.text+0x19b170): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285391:(.text+0x19b1e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_40setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285488:(.text+0x19b216): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x19b228): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19b256): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x19b2a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x19b388): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x19b3a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x19b3d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_179setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208897:(.text+0x19b3fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208935:(.text+0x19b430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208957:(.text+0x19b494): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208957:(.text+0x19b4a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_178setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208979:(.text+0x19b4c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19b52c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461041:(.text+0x19b550): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_179setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208920:(.text+0x19b576): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208927:(.text+0x19b5d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_178setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209013:(.text+0x19b638): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461189:(.text+0x19b666): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_179setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208920:(.text+0x19b6ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19b768): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19b78a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_129setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205343:(.text+0x19b832): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19b848): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205469:(.text+0x19b960): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x19b974): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x19b98a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x19b9a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19ba34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205523:(.text+0x19ba56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19ba88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19ba90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19ba9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_129setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205357:(.text+0x19baa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205357:(.text+0x19bac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19bad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205450:(.text+0x19bafa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19bb9a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19bbb0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19bbe6): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19bbfa): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19bc08): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19bc36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205436:(.text+0x19bc58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205437:(.text+0x19bc60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19bc6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19bc78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19bc82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19bc8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19bc96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x19bca0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_129setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205348:(.text+0x19bcde): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19bcf4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x19bd54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x19bd72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205418:(.text+0x19bd7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205450:(.text+0x19bd88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x19bdc2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205454:(.text+0x19bdd8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x19be08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205452:(.text+0x19be28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x19be42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205433:(.text+0x19be62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205433:(.text+0x19be7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_129setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205357:(.text+0x19be8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205357:(.text+0x19be96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205436:(.text+0x19beac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x19befe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58320:(.text+0x19bfc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19bfd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58400:(.text+0x19c092): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58409:(.text+0x19c0cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58462:(.text+0x19c108): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58489:(.text+0x19c154): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58489:(.text+0x19c164): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58537:(.text+0x19c16e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58537:(.text+0x19c180): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58547:(.text+0x19c18c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58633:(.text+0x19c198): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57517:(.text+0x19c1a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57517:(.text+0x19c1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58645:(.text+0x19c1c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58696:(.text+0x19c1fa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58698:(.text+0x19c216): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58698:(.text+0x19c220): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58700:(.text+0x19c232): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446757:(.text+0x19c272): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446780:(.text+0x19c282): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446788:(.text+0x19c294): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19c2cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58728:(.text+0x19c302): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19c340): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x19c370): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58311:(.text+0x19c3e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19c40e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58277:(.text+0x19c45e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58284:(.text+0x19c478): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58284:(.text+0x19c48a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58364:(.text+0x19c4f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58865:(.text+0x19c508): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19c52a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19c570): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58645:(.text+0x19c59e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19c5c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58270:(.text+0x19c5dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58296:(.text+0x19c5fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58296:(.text+0x19c60a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58310:(.text+0x19c61e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19c636): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58739:(.text+0x19c66e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58744:(.text+0x19c688): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19c69c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x19c744): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58713:(.text+0x19c74e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19c760): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19c76c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19c77c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19c790): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19c79c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58596:(.text+0x19c7c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57517:(.text+0x19c7ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58598:(.text+0x19c7e2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58617:(.text+0x19c82a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19c976): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58364:(.text+0x19c9ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58272:(.text+0x19c9be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58360:(.text+0x19ca2e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58716:(.text+0x19ca44): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19ca70): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58789:(.text+0x19cab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19cadc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58768:(.text+0x19caee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58739:(.text+0x19cb4a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58365:(.text+0x19cb60): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19cb7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19cb8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19cb9e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58617:(.text+0x19cbfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58296:(.text+0x19cc1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419439:(.text+0x19cc28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58713:(.text+0x19cc3c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_111setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165612:(.text+0x19ccdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165623:(.text+0x19cd08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_110setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165644:(.text+0x19cd6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459524:(.text+0x19cda4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459538:(.text+0x19cde8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x19cdfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_111setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165581:(.text+0x19cea6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459621:(.text+0x19ceee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_110setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165659:(.text+0x19cf20): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x19cf72): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x19d062): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139516:(.text+0x19d088): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139565:(.text+0x19d0d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_262setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139609:(.text+0x19d0de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139626:(.text+0x19d14a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139546:(.text+0x19d18a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x19d1a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x19d1ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19d1c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x19d228): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139543:(.text+0x19d260): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_262setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139609:(.text+0x19d2a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139562:(.text+0x19d2fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139538:(.text+0x19d342): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19d374): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139591:(.text+0x19d3c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_44setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285722:(.text+0x19d4b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285742:(.text+0x19d4dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_45setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285634:(.text+0x19d524): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285639:(.text+0x19d532): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285674:(.text+0x19d59e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_44setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285712:(.text+0x19d5de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285756:(.text+0x19d5f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285757:(.text+0x19d600): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285732:(.text+0x19d616): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_45setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285644:(.text+0x19d67c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285663:(.text+0x19d6b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19d6fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19d752): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x19d79a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296657:(.text+0x19d7cc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296671:(.text+0x19d822): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0x19d918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296743:(.text+0x19d92a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19d984): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x19d992): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x19d9f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296827:(.text+0x19da42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19da58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296827:(.text+0x19da64): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296910:(.text+0x19da7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x19dade): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x19db16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19db5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_211createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296587:(.text+0x19dba8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x19dbf0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x19dc22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_211createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296581:(.text+0x19dc74): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x19dd64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19dd8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296806:(.text+0x19ddd2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x19dde0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296775:(.text+0x19de4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296699:(.text+0x19de8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296743:(.text+0x19dea2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x19deae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x19dec4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x19df2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x19df62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x19dfa8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x19dffc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296855:(.text+0x19e044): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296864:(.text+0x19e076): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296883:(.text+0x19e0c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155784:(.text+0x19e1cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155784:(.text+0x19e1f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155844:(.text+0x19e23a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155846:(.text+0x19e248): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_80setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155897:(.text+0x19e2b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x19e2f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155800:(.text+0x19e30a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155805:(.text+0x19e316): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155811:(.text+0x19e32c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155800:(.text+0x19e392): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_80setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155877:(.text+0x19e3ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155897:(.text+0x19e42a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155810:(.text+0x19e48c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155829:(.text+0x19e4d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19e506): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19e55c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153459:(.text+0x19e616): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153461:(.text+0x19e636): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_46addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153502:(.text+0x19e67c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153512:(.text+0x19e68a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153425:(.text+0x19e6f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153438:(.text+0x19e738): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153438:(.text+0x19e74e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153443:(.text+0x19e75a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153420:(.text+0x19e770): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_46addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153492:(.text+0x19e7a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153536:(.text+0x19e7be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153512:(.text+0x19e802): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x19e852): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153444:(.text+0x19e8a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153444:(.text+0x19e8be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19e8f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153440:(.text+0x19e910): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19e936): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153434:(.text+0x19e96a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153314:(.text+0x19ea2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_44setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153336:(.text+0x19ea4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153346:(.text+0x19ea62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153366:(.text+0x19ea78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153378:(.text+0x19ea96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153259:(.text+0x19eab0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153270:(.text+0x19eae2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153282:(.text+0x19eb0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153269:(.text+0x19eb54): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_44setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153336:(.text+0x19eb82): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153380:(.text+0x19eb96): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153346:(.text+0x19ebc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153272:(.text+0x19ec14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_44setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153366:(.text+0x19ec66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153288:(.text+0x19ec80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19ecb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19ecd2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19ecf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153278:(.text+0x19ed2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311430:(.text+0x19edf0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311439:(.text+0x19ee0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_34insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311461:(.text+0x19ee24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311471:(.text+0x19ee3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311491:(.text+0x19ee58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311503:(.text+0x19ee72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311394:(.text+0x19eea4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311401:(.text+0x19eed0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311424:(.text+0x19ef16): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311395:(.text+0x19ef44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_34insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311461:(.text+0x19ef58): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311471:(.text+0x19ef86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311397:(.text+0x19efd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311395:(.text+0x19f028): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_34insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311491:(.text+0x19f042): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311413:(.text+0x19f078): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f094): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311409:(.text+0x19f0ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f0ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154163:(.text+0x19f1b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154172:(.text+0x19f1ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154172:(.text+0x19f1e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_56setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154194:(.text+0x19f1fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154204:(.text+0x19f21a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154224:(.text+0x19f234): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154117:(.text+0x19f266): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154127:(.text+0x19f292): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154140:(.text+0x19f2d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154122:(.text+0x19f306): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154127:(.text+0x19f31a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_56setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154238:(.text+0x19f348): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154214:(.text+0x19f398): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154122:(.text+0x19f3ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154127:(.text+0x19f404): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154146:(.text+0x19f43a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154146:(.text+0x19f456): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f47c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f4b0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f574): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154319:(.text+0x19f590): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154321:(.text+0x19f5a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154328:(.text+0x19f5be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_58addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154350:(.text+0x19f5dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154360:(.text+0x19f5f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154392:(.text+0x19f628): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154273:(.text+0x19f654): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154290:(.text+0x19f69a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154301:(.text+0x19f6c8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154273:(.text+0x19f6dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_58addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154350:(.text+0x19f70a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154370:(.text+0x19f75e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154286:(.text+0x19f7a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154283:(.text+0x19f7d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f8a6): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311524:(.text+0x19f916): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f95c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_36insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311627:(.text+0x19fb12): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311559:(.text+0x19fc94): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311559:(.text+0x19fca2): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118391:(.text+0x19fcc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118403:(.text+0x19fcd4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118391:(.text+0x19fce2): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118438:(.text+0x19fd00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19fd10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118468:(.text+0x19fde4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118468:(.text+0x19fdf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118407:(.text+0x19fe0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417:(.text+0x19fe32): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118424:(.text+0x19fe44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118430:(.text+0x19fe7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417:(.text+0x19fea2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118412:(.text+0x19feae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118457:(.text+0x19fec6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118457:(.text+0x19fed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118458:(.text+0x19fede): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_54gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118512:(.text+0x19ff14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417:(.text+0x19ff46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x19ff70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417:(.text+0x19ff80): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417:(.text+0x19ff92): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118418:(.text+0x19ffa2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19ffb0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0014): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a001c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0046): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118426:(.text+0x1a006e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118468:(.text+0x1a0092): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_51scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118111:(.text+0x1a00a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0100): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_50scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118218:(.text+0x1a0182): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a0198): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_51scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118188:(.text+0x1a01c2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118188:(.text+0x1a01ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118127:(.text+0x1a01e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118137:(.text+0x1a0208): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118144:(.text+0x1a022e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118150:(.text+0x1a024a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118177:(.text+0x1a02a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_50scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118232:(.text+0x1a02f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_51scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118132:(.text+0x1a0360): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118146:(.text+0x1a044a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118146:(.text+0x1a0456): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_57gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118531:(.text+0x1a0474): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a04a8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a04c2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a04da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a04ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_57gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118583:(.text+0x1a0526): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_56gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118628:(.text+0x1a0552): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118638:(.text+0x1a0566): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a057a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1a058a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_57gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118557:(.text+0x1a05d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118564:(.text+0x1a0602): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118560:(.text+0x1a0704): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118576:(.text+0x1a07a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a07cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_53scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118264:(.text+0x1a0884): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118303:(.text+0x1a08fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_52scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118358:(.text+0x1a0938): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118370:(.text+0x1a095a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_53scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118328:(.text+0x1a097c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118272:(.text+0x1a09b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118284:(.text+0x1a09d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118280:(.text+0x1a0ae2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a0af8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a0b38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0bc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0bf4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_53scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118286:(.text+0x1a0c0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326769:(.text+0x1a0c3a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_258metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326865:(.text+0x1a0d0e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326847:(.text+0x1a0d24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326802:(.text+0x1a0da6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326823:(.text+0x1a0dd4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326790:(.text+0x1a0df4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326835:(.text+0x1a0e20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326836:(.text+0x1a0e3a): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326798:(.text+0x1a0e8e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a0ea0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a0eac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326790:(.text+0x1a0eb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326795:(.text+0x1a0eca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a0ee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_258metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326889:(.text+0x1a0ef0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326889:(.text+0x1a0f04): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326814:(.text+0x1a0f30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326814:(.text+0x1a0f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0f7a): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326810:(.text+0x1a0f88): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0fa6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0fb0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0fc2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326804:(.text+0x1a0fce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326804:(.text+0x1a0fde): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326847:(.text+0x1a0ff2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_85computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274031:(.text+0x1a0ffe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274031:(.text+0x1a1026): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a1030): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_85computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274045:(.text+0x1a1044): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_84computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274162:(.text+0x1a10ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_85computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274113:(.text+0x1a10d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a1140): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_85computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274097:(.text+0x1a1178): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274048:(.text+0x1a11be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274058:(.text+0x1a11d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_84computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274176:(.text+0x1a12b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_85computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274072:(.text+0x1a12dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a1372): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_263metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327071:(.text+0x1a13ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327071:(.text+0x1a13c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a13e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_263metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327121:(.text+0x1a1424): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327125:(.text+0x1a145c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_262metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327167:(.text+0x1a1488): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_263metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327092:(.text+0x1a1502): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327098:(.text+0x1a1530): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327127:(.text+0x1a15bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327085:(.text+0x1a15e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_262metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327179:(.text+0x1a1668): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_263metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327104:(.text+0x1a169e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327104:(.text+0x1a16b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a16d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a171e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a1730): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327094:(.text+0x1a1760): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203766:(.text+0x1a177c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a179c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203816:(.text+0x1a17ce): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203836:(.text+0x1a17e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203838:(.text+0x1a17f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203839:(.text+0x1a1802): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a181e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1a182c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203796:(.text+0x1a187a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1a18a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203830:(.text+0x1a18d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203815:(.text+0x1a18fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203783:(.text+0x1a192a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203800:(.text+0x1a1946): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203800:(.text+0x1a1950): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203806:(.text+0x1a1962): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203836:(.text+0x1a198c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203837:(.text+0x1a19a0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203788:(.text+0x1a19dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1a1a0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_106setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203907:(.text+0x1a1a24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203907:(.text+0x1a1a30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203807:(.text+0x1a1a42): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203807:(.text+0x1a1a4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203808:(.text+0x1a1a56): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203788:(.text+0x1a1a6a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_91computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234525:(.text+0x1a1b7c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234529:(.text+0x1a1b86): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234558:(.text+0x1a1c0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234548:(.text+0x1a1d7c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234493:(.text+0x1a1d90): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234517:(.text+0x1a1dfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234518:(.text+0x1a1e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234503:(.text+0x1a1e2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234522:(.text+0x1a1e32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a1e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a1e6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_83computeHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273879:(.text+0x1a1eee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273881:(.text+0x1a1f02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a1ffa): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2008): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_83computeHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273889:(.text+0x1a2088): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273926:(.text+0x1a20c2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273937:(.text+0x1a20d0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273939:(.text+0x1a2114): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_82computeHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274012:(.text+0x1a2172): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274012:(.text+0x1a2188): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_83computeHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273908:(.text+0x1a2192): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273889:(.text+0x1a21b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273894:(.text+0x1a21c4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273913:(.text+0x1a21f8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414444:(.text+0x1a2274): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a2292): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27224:(.text+0x1a22a6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27381:(.text+0x1a22da): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1a23c2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27279:(.text+0x1a23d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27281:(.text+0x1a23e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a23ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a243c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13469:(.text+0x1a24b6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a24de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1a24ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27362:(.text+0x1a24f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27233:(.text+0x1a24fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a2508): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_30__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120252:(.text+0x1a2532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120252: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27325:(.text+0x1a2704): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27325:(.text+0x1a270e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27331:(.text+0x1a2736): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27335:(.text+0x1a2752): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27298:(.text+0x1a277c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27360:(.text+0x1a27e0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x1a27ec): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x1a27f6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x1a2800): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27307:(.text+0x1a2868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27309:(.text+0x1a2876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a28ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414454:(.text+0x1a28f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27307:(.text+0x1a2984): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27303:(.text+0x1a29ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_319restoreLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181860:(.text+0x1a29e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181912:(.text+0x1a2a8e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181876:(.text+0x1a2b22): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181886:(.text+0x1a2c80): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181895:(.text+0x1a2d98): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334608:(.text+0x1a2dd0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2e30): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334670:(.text+0x1a2e46): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_58migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334704:(.text+0x1a2eae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a2ec0): undefined reference to `PyNumber_TrueDivide' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a2efa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334634:(.text+0x1a2f9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334629:(.text+0x1a2faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334635:(.text+0x1a2fb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334674:(.text+0x1a2fc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334674:(.text+0x1a2fce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334672: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334637:(.text+0x1a3022): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a3050): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334629:(.text+0x1a305e): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334649:(.text+0x1a3132): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a313e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3154): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3160): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a316c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334643: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_305multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180365:(.text+0x1a3246): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180367:(.text+0x1a325a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180367:(.text+0x1a3266): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180369:(.text+0x1a3272): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_304multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180397:(.text+0x1a327e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180397:(.text+0x1a328a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a3296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_305multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180379:(.text+0x1a32ac): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180379:(.text+0x1a32bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180317:(.text+0x1a32d4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180327:(.text+0x1a32f8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180340:(.text+0x1a3328): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180340:(.text+0x1a3348): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180357:(.text+0x1a3362): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180367:(.text+0x1a33a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180368:(.text+0x1a33ae): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180368:(.text+0x1a33c0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180369:(.text+0x1a33d6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180369:(.text+0x1a33e2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a342e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_305multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180327:(.text+0x1a344c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_304multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180411:(.text+0x1a3474): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_305multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180346:(.text+0x1a3492): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180346:(.text+0x1a34ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180346:(.text+0x1a34c4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a34ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3516): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3520): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a352a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3534): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a3662): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_301multTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180071:(.text+0x1a36a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180094:(.text+0x1a3710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180109:(.text+0x1a3720): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180071:(.text+0x1a3732): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180076:(.text+0x1a374a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180121:(.text+0x1a376c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180122:(.text+0x1a3778): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180123:(.text+0x1a3790): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180123:(.text+0x1a379c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180119:(.text+0x1a37b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a37f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_300multTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180165:(.text+0x1a3832): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180165:(.text+0x1a3848): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a389c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a38ae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a38c4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3906): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_297multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179871:(.text+0x1a39ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179859:(.text+0x1a39de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179876:(.text+0x1a3a02): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a3a36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_297multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179825:(.text+0x1a3afc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179875:(.text+0x1a3b28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179876:(.text+0x1a3b42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179877:(.text+0x1a3b5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179877:(.text+0x1a3b78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179838:(.text+0x1a3ba8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a3bf2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_296multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179919:(.text+0x1a3c06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_297multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179854:(.text+0x1a3c34): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179854:(.text+0x1a3c48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3c76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328084:(.text+0x1a3d42): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a3d58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328105:(.text+0x1a3dda): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_278localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328145:(.text+0x1a3e08): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328115:(.text+0x1a3e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328058:(.text+0x1a3e54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328070:(.text+0x1a3e6e): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328091:(.text+0x1a3ec4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328058:(.text+0x1a3ed6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328058:(.text+0x1a3ee2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328058:(.text+0x1a3eec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328103:(.text+0x1a3f00): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328101:(.text+0x1a3f1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328104:(.text+0x1a3f34): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328105:(.text+0x1a3f48): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328058:(.text+0x1a3fa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328063:(.text+0x1a3fb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a3fc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_278localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328147:(.text+0x1a3fcc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328147:(.text+0x1a3fde): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328147:(.text+0x1a3fea): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328082:(.text+0x1a3ff8): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328082:(.text+0x1a4012): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328082:(.text+0x1a4022): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4036): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4042): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328078:(.text+0x1a406a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4074): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4088): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327908:(.text+0x1a40f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a411c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327960:(.text+0x1a4184): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_276globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328004:(.text+0x1a41bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327986:(.text+0x1a4202): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327924:(.text+0x1a4218): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327975:(.text+0x1a42f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327976:(.text+0x1a431e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a4396): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_276globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328018:(.text+0x1a43b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327953:(.text+0x1a43e6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327953:(.text+0x1a43f8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327949:(.text+0x1a4438): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a444e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4466): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327943:(.text+0x1a4496): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4500): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4512): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_423solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189500:(.text+0x1a4566): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_422solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189530:(.text+0x1a457c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_423solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189512:(.text+0x1a45b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189460:(.text+0x1a45f2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189461:(.text+0x1a4608): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189467:(.text+0x1a461a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189467:(.text+0x1a4626): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189473:(.text+0x1a463a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189461:(.text+0x1a4690): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189501:(.text+0x1a46aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189501:(.text+0x1a46b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189502:(.text+0x1a46ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189461:(.text+0x1a475c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_422solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189544:(.text+0x1a4788): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4800): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a481e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4850): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_423solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189469:(.text+0x1a4862): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_425solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189563:(.text+0x1a48a2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a48b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a48d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_425solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189623:(.text+0x1a4900): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_424solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189659:(.text+0x1a496a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189671:(.text+0x1a497c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_425solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189589:(.text+0x1a49d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189590:(.text+0x1a49e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189602:(.text+0x1a4a1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189584:(.text+0x1a4a5c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189629:(.text+0x1a4a72): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189629:(.text+0x1a4a84): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189630:(.text+0x1a4a90): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189631:(.text+0x1a4aa4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189592:(.text+0x1a4afa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a4b14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_425solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189589:(.text+0x1a4b20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189589:(.text+0x1a4b34): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a4bc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_425solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189604:(.text+0x1a4bf2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297400:(.text+0x1a4c6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297400:(.text+0x1a4c88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297459:(.text+0x1a4cba): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1a4ccc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297477:(.text+0x1a4d0c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297479:(.text+0x1a4d22): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297488:(.text+0x1a4d3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a4d6a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1a4dd4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297578:(.text+0x1a4de6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297678:(.text+0x1a4e3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a4e50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297699:(.text+0x1a4e8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:45:(.text+0x1a4eca): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297701:(.text+0x1a4ee0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297459:(.text+0x1a4ef2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297533:(.text+0x1a4efe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297535:(.text+0x1a4f12): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297438:(.text+0x1a4f68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a4f82): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297519:(.text+0x1a4f8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a4fa2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a5034): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a5060): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1a50d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297768:(.text+0x1a50f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297601:(.text+0x1a5128): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a513a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297647:(.text+0x1a517a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297647:(.text+0x1a5190): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297491:(.text+0x1a51a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297794:(.text+0x1a51d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297431:(.text+0x1a5242): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297431:(.text+0x1a5254): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297456:(.text+0x1a52a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297473:(.text+0x1a52be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297678:(.text+0x1a52f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a5334): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297768:(.text+0x1a534a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297647:(.text+0x1a535c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297647:(.text+0x1a5368): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447964:(.text+0x1a537c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297445:(.text+0x1a53d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a53ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297451:(.text+0x1a53f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297452:(.text+0x1a540c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a549e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297456:(.text+0x1a54ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148584:(.text+0x1a5542): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148630:(.text+0x1a5560): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a5592): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a55a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148637:(.text+0x1a55e4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1a55fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148685:(.text+0x1a5612): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148712:(.text+0x1a5642): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1a56ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1a56be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a5712): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a5728): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1a5762): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148719:(.text+0x1a57a2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148752:(.text+0x1a57b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a57ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a57d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a57ea): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1a5840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1a585a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148590:(.text+0x1a5866): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148681:(.text+0x1a587a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148602:(.text+0x1a590c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148609:(.text+0x1a5938): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148605:(.text+0x1a59b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148605:(.text+0x1a59ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1a5a00): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a5a12): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148622:(.text+0x1a5a52): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148623:(.text+0x1a5a68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a5a80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148611:(.text+0x1a5ab0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126637:(.text+0x1a5b1a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126651:(.text+0x1a5b2c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1a5b80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a5b96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126718:(.text+0x1a5bd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1a5c10): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1a5c26): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x1a5c38): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x1a5c44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a5c58): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_74createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126789:(.text+0x1a5cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126807:(.text+0x1a5cc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19720:(.text+0x1a5cd4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19743:(.text+0x1a5ce8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_74createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126875:(.text+0x1a5d7c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x1a5ee0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_74createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126798:(.text+0x1a5efc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126671:(.text+0x1a5f52): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126671:(.text+0x1a5f64): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126675:(.text+0x1a5f78): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126708:(.text+0x1a5f92): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1a6032): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a605c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x1a606c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x1a607e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126682:(.text+0x1a60ac): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a60ca): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x1a61b6): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49795:(.text+0x1a61e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1a61f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1a61fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1a6206): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a6210): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a6262): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x1a6272): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30248:(.text+0x1a6282): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1a6290): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x1a62a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x1a62be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1a62c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53098:(.text+0x1a62e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1a6302): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53161: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53135:(.text+0x1a6580): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a65d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53290:(.text+0x1a65f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a661c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a6632): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a6640): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53038:(.text+0x1a678e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a67a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a67ba): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a67cc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1a67f2): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53006:(.text+0x1a681e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1a6834): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1a6886): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1a68ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1a68c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53086:(.text+0x1a68cc): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53098:(.text+0x1a68f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a6900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53197:(.text+0x1a693a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53199:(.text+0x1a694c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53197:(.text+0x1a697e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53167:(.text+0x1a69b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1a69ca): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53243:(.text+0x1a69d4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53243:(.text+0x1a69e6): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53260:(.text+0x1a6a9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1a6af4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1a6b0a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a6b74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1a6b90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1a6bb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a6bea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1a6c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53201:(.text+0x1a6c30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53171:(.text+0x1a6c72): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53175:(.text+0x1a6c96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304993:(.text+0x1a6cb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305043:(.text+0x1a6d06): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305063:(.text+0x1a6d1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_60globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305094:(.text+0x1a6d3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a6d54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305074:(.text+0x1a6d86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305074:(.text+0x1a6d90): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305074:(.text+0x1a6da2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305020:(.text+0x1a6dac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a6dda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1a6dee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a6e1c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305015:(.text+0x1a6e78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305063:(.text+0x1a6ece): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305064:(.text+0x1a6ee4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305053:(.text+0x1a6f4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305034:(.text+0x1a6f6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a6f90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305039:(.text+0x1a6fc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a6ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a700a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288742:(.text+0x1a704c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288742:(.text+0x1a7070): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288756:(.text+0x1a708a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_94globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288853:(.text+0x1a70e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288862:(.text+0x1a70f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288873:(.text+0x1a7114): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288823:(.text+0x1a712e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288772:(.text+0x1a7160): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288772:(.text+0x1a716a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a717c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1a7186): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a71b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288808:(.text+0x1a71c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1a71f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288776:(.text+0x1a7244): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288813:(.text+0x1a727a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_94globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288876:(.text+0x1a72aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288783:(.text+0x1a731e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288788:(.text+0x1a7380): undefined reference to `_PyDict_NewPresized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288788:(.text+0x1a7392): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a73b0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a73ca): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288778:(.text+0x1a73e0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305146:(.text+0x1a73fa): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305159:(.text+0x1a7410): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305158:(.text+0x1a742a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1a7440): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305199:(.text+0x1a745a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305217:(.text+0x1a7470): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_62naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305257:(.text+0x1a748a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a74a0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a74ba): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305227:(.text+0x1a74d0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305227:(.text+0x1a74ea): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305176:(.text+0x1a7500): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305176:(.text+0x1a751a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1a752e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a7548): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a755c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1a75a0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305163:(.text+0x1a75b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305205:(.text+0x1a75fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305217:(.text+0x1a7632): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305214:(.text+0x1a763e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305214:(.text+0x1a7666): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305204:(.text+0x1a7690): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_62naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305257:(.text+0x1a76a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305257:(.text+0x1a76b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305187:(.text+0x1a76c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a76da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305192:(.text+0x1a770a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305192:(.text+0x1a7730): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a773a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a7746): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305182:(.text+0x1a7778): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305227:(.text+0x1a7784): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289060:(.text+0x1a77c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289048:(.text+0x1a77ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289097:(.text+0x1a77e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289101:(.text+0x1a77f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_98localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289149:(.text+0x1a7820): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289159:(.text+0x1a782a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a783c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_98localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289168:(.text+0x1a7844): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289179:(.text+0x1a785e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289129:(.text+0x1a787c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289129:(.text+0x1a788e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a78ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a78f8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289112:(.text+0x1a790a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289114:(.text+0x1a7918): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289114:(.text+0x1a7924): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1a7938): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289107:(.text+0x1a799a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289118:(.text+0x1a79a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289119:(.text+0x1a79b8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289119:(.text+0x1a79c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289119:(.text+0x1a79d4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289070:(.text+0x1a7a1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289094:(.text+0x1a7ab4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_97localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288907:(.text+0x1a7b60): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288965:(.text+0x1a7b94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_96localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289015:(.text+0x1a7bea): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289029:(.text+0x1a7d9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_97localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288917:(.text+0x1a7dbc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288922:(.text+0x1a7dcc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288955:(.text+0x1a7dde): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288937:(.text+0x1a7e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_96localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289015:(.text+0x1a7e2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_97localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288917:(.text+0x1a7e36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288917:(.text+0x1a7e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288923:(.text+0x1a7e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122168: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19732:(.text+0x1a8060): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19771:(.text+0x1a80a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19052:(.text+0x1a80c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122547:(.text+0x1a80e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1a80fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a8138): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_57createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122275:(.text+0x1a8154): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1a816e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458615:(.text+0x1a8192): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_57createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122241:(.text+0x1a81b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1a8204): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1a8216): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a8234): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1a824c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1a8264): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122415:(.text+0x1a829c): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122426:(.text+0x1a8354): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1a8426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_57createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122221:(.text+0x1a8474): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122221:(.text+0x1a8480): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122222:(.text+0x1a8490): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122523:(.text+0x1a85a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122528:(.text+0x1a85ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a8650): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1a86b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122456:(.text+0x1a875a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122407:(.text+0x1a87c2): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_57createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122215:(.text+0x1a88ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1a88f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x1a88fe): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x1a8910): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1a8958): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122491:(.text+0x1a89c0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x1a8aa8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a8aec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a8af6): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1a8b04): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1a8b22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458722:(.text+0x1a8b36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1a8b46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCreateMPICUDAWithArrays': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:967:(.text+0x1a8b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:967:(.text+0x1a8b72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:967:(.text+0x1a8b7e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a8b94): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122578:(.text+0x1a8ba4): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCreateSeqCUDAWithArrays': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:958:(.text+0x1a8bc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:958:(.text+0x1a8bd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122612:(.text+0x1a8c48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a8c58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122670:(.text+0x1a8c90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122685:(.text+0x1a8c9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a8cb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122743:(.text+0x1a8ccc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122750:(.text+0x1a8cee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122752:(.text+0x1a8d20): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25766:(.text+0x1a8da4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122940:(.text+0x1a8db6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122968:(.text+0x1a8e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19763:(.text+0x1a8e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122979:(.text+0x1a8e36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19043:(.text+0x1a8e50): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a8e5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123049:(.text+0x1a8e72): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122851:(.text+0x1a8f28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122743:(.text+0x1a8f4e): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1a8f64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a8fc8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1a8fda): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1a9018): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122917:(.text+0x1a9024): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a903a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a904a): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1a905c): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a907e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x1a90f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122702:(.text+0x1a9134): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122711:(.text+0x1a917a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122760:(.text+0x1a91d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122723:(.text+0x1a920a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122729:(.text+0x1a923a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122735:(.text+0x1a924c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122735:(.text+0x1a9254): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122740:(.text+0x1a928e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1a92be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1a92f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123014:(.text+0x1a9304): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123025:(.text+0x1a932e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123028:(.text+0x1a9350): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123014:(.text+0x1a9374): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19029:(.text+0x1a9398): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a93de): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19033:(.text+0x1a93ec): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19075:(.text+0x1a93fe): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1a941a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1a9422): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458565:(.text+0x1a9446): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458615:(.text+0x1a9464): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a946e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122905:(.text+0x1a94a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122905:(.text+0x1a94ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x1a94be): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x1a94c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1a953e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a954a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1a9570): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a957e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1a9590): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a95ac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1a95b4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a95d8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1a95f6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a9608): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1a961a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1a9648): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19029:(.text+0x1a9654): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x1a9690): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1a96b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122989:(.text+0x1a96c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1a96ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a96fc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1a9770): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123025:(.text+0x1a978a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:601:(.text+0x1a9810): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122777:(.text+0x1a981c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x1a982e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a9866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122851:(.text+0x1a9872): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1a987e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1a9890): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCreateMPIHIPWithArrays': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:968:(.text+0x1a9906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCreateSeqHIPWithArrays': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:959:(.text+0x1a994c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:959:(.text+0x1a9958): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123092:(.text+0x1a999a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123112:(.text+0x1a99bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123114: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9a56): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9a68): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295186:(.text+0x1a9a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a9ac4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_192clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295221:(.text+0x1a9ad6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295231:(.text+0x1a9af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a9b2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1a9b36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295140:(.text+0x1a9b76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295150:(.text+0x1a9b98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295157:(.text+0x1a9ba2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295163:(.text+0x1a9bd4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_192clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295268:(.text+0x1a9c5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295221:(.text+0x1a9c76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295153:(.text+0x1a9caa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1a9cce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295169:(.text+0x1a9d38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9d76): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9d82): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9dae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9dc0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1a9e12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294973:(.text+0x1a9e24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9e46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9e52): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9e68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295032:(.text+0x1a9ea4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a9f0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_190setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295089:(.text+0x1a9f2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1a9f38): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1a9f4a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294977:(.text+0x1a9f7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294987:(.text+0x1a9f90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294988:(.text+0x1a9faa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294987:(.text+0x1aa028): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_190setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295104:(.text+0x1aa056): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294990:(.text+0x1aa0bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295006:(.text+0x1aa142): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295006:(.text+0x1aa15e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aa192): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aa1b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47613:(.text+0x1aa220): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46050:(.text+0x1aa25e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1aa26a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x1aa296): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aa2a8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1aa2fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1aa30c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aa32e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x1aa33a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47708:(.text+0x1aa350): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47771:(.text+0x1aa38c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1aa3f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1aa414): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1aa420): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1aa432): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47860:(.text+0x1aa462): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aa478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47864:(.text+0x1aa492): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aa510): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1aa53e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47922:(.text+0x1aa5e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47620:(.text+0x1aa658): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47905:(.text+0x1aa690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aa6a6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa6ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa6fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa706): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x1aa720): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1aa732): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa760): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa7a2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47745:(.text+0x1aa7ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1aa7c6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa7d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aa7ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x1aa7fc): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x1aa80c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1aa8dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47617:(.text+0x1aa8f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1aa956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47630:(.text+0x1aa964): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1aa978): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47802:(.text+0x1aa9b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47807:(.text+0x1aa9dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47809:(.text+0x1aa9f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47787:(.text+0x1aaa46): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47875:(.text+0x1aaa5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1aaa80): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1aaa8c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1aaab4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47858:(.text+0x1aaafc): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47865:(.text+0x1aab24): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47872:(.text+0x1aab60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47872:(.text+0x1aab6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47869:(.text+0x1aaba2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1aabb6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1aabcc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47622:(.text+0x1aac14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47629:(.text+0x1aac24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1aac40): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1aac4a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1aac56): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47781:(.text+0x1aad4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_29__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120148:(.text+0x1aadbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aae14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1aae32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_28__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120193:(.text+0x1aae96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27024:(.text+0x1aaea6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1aaeb8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1aaed8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1aaee4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27040:(.text+0x1aaefc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1aaf08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1aaf20): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27053:(.text+0x1aaf68): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27063:(.text+0x1aaf80): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13469:(.text+0x1aafd4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13485:(.text+0x1aafe6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ab006): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ab062): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ab0de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ab12a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ab1a2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27085:(.text+0x1ab266): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27095:(.text+0x1ab2aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27059:(.text+0x1ab2dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ab2e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27120:(.text+0x1ab33a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x1ab346): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x1ab35c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27120:(.text+0x1ab368): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1ab408): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ab41e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27063:(.text+0x1ab4d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27063:(.text+0x1ab4e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269866:(.text+0x1ab53a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269879:(.text+0x1ab548): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ab5ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269934:(.text+0x1ab5d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270007:(.text+0x1ab628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ab654): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270063:(.text+0x1ab668): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1ab672): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1ab69a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x1ab6ca): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1ab6d8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ab71c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270091:(.text+0x1ab732): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ab774): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ab782): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ab794): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269943:(.text+0x1ab7b8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ab7d2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1ab7f0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1ab7fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1ab812): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ab828): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1ab836): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1ab84e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ab86e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1ab882): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1ab88c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ab8b4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ab8f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ab904): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ab90e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ab918): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ab95c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270253:(.text+0x1aba0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270259:(.text+0x1aba7c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1abab4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269884:(.text+0x1abaca): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270035:(.text+0x1abb16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270036:(.text+0x1abb22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270040:(.text+0x1abb2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270040:(.text+0x1abb38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1abb48): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269889:(.text+0x1abb5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270183:(.text+0x1abb8a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270021:(.text+0x1abbd0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269894:(.text+0x1abbdc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269897:(.text+0x1abbf4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1abc00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270197:(.text+0x1abc18): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270199:(.text+0x1abc2c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270011:(.text+0x1abc3c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1abd0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1abd24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269894:(.text+0x1abd86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269907:(.text+0x1abd90): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269927:(.text+0x1abd9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269949:(.text+0x1abdb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1abdf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269913:(.text+0x1abe00): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269909:(.text+0x1abe50): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270231:(.text+0x1abe64): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269950:(.text+0x1abe8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1abe98): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1abec0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1abf08): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1abf30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1abf60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1abfac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1abfba): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1abfce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1abff4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ac004): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1ac044): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1ac060): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270197:(.text+0x1ac06a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270197:(.text+0x1ac076): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270151:(.text+0x1ac16a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270017:(.text+0x1ac1dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185030:(.text+0x1ac236): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1ac25a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1ac294): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ac2a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ac2b8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ac2ca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185100:(.text+0x1ac302): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185101:(.text+0x1ac318): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1ac324): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1ac33c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_354reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185156:(.text+0x1ac348): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ac360): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185047:(.text+0x1ac3ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185052:(.text+0x1ac3c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_354reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185170:(.text+0x1ac482): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185170:(.text+0x1ac48c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185052:(.text+0x1ac49e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185057:(.text+0x1ac4b4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185071:(.text+0x1ac4e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185076:(.text+0x1ac56e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185076:(.text+0x1ac58a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1ac5be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ac5e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137227:(.text+0x1ac64c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ac68a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ac696): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137289:(.text+0x1ac6c2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137291:(.text+0x1ac6d4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_228isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137334:(.text+0x1ac726): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ac738): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137304:(.text+0x1ac75a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137304:(.text+0x1ac766): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137243:(.text+0x1ac77c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137260:(.text+0x1ac7b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137266:(.text+0x1ac7de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137271:(.text+0x1ac7f0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137282:(.text+0x1ac7fa): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137293:(.text+0x1ac844): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137294:(.text+0x1ac860): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137294:(.text+0x1ac86c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x1ac87e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_228isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137348:(.text+0x1ac8b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137256:(.text+0x1ac8d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137272:(.text+0x1ac950): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137272:(.text+0x1ac97e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1aca14): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137324:(.text+0x1aca40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1acaae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1acac6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_235waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137707:(.text+0x1acaee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1acb66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_235waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137722:(.text+0x1acb88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137671:(.text+0x1acbc6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137678:(.text+0x1acbe8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137684:(.text+0x1acc02): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137700:(.text+0x1acc1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137666:(.text+0x1acc3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137711:(.text+0x1acc66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137709:(.text+0x1acc90): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137690:(.text+0x1acd80): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137690:(.text+0x1acdae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1acdc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_235waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137686:(.text+0x1acdf2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ace08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_235waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137680:(.text+0x1ace36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1acebc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349790:(.text+0x1acee8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349765:(.text+0x1acf56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1acf6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1acf96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1ad00e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349866:(.text+0x1ad030): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349868:(.text+0x1ad06e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349882:(.text+0x1ad090): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349880:(.text+0x1ad0aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349882:(.text+0x1ad0c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ad0e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349847:(.text+0x1ad10e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ad138): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349986:(.text+0x1ad228): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ad256): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ad26c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349750:(.text+0x1ad29a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349910:(.text+0x1ad2b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1ad2de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349802:(.text+0x1ad364): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349803:(.text+0x1ad390): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349775:(.text+0x1ad3fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349762:(.text+0x1ad416): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ad43e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349936:(.text+0x1ad4b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ad4d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349935:(.text+0x1ad516): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349782:(.text+0x1ad538): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349787:(.text+0x1ad552): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349787:(.text+0x1ad56e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ad58c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349894:(.text+0x1ad5b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349960:(.text+0x1ad5e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ad6d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349771:(.text+0x1ad6fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1ad714): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349950:(.text+0x1ad742): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349950:(.text+0x1ad758): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1ad786): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x1ad80c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x1ad838): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30248:(.text+0x1ad8a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30233:(.text+0x1ad8be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1ad8e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ad95e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1ad980): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1ad9be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47232:(.text+0x1ad9e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ad9fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47232:(.text+0x1ada16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47234:(.text+0x1ada34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47238:(.text+0x1ada5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1ada88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1adb78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47296:(.text+0x1adba6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47099:(.text+0x1adbbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47117:(.text+0x1adbea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47127:(.text+0x1adc00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1adc2e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1adccc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1adce2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1add64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1add70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1addfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ade14): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1ade80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47041:(.text+0x1adeb0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46991:(.text+0x1adee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1adf06): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1adf18): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1adf26): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1adf30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47065:(.text+0x1adf44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46999:(.text+0x1adf50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1adf64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47173:(.text+0x1adf8e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47176:(.text+0x1adfa2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47178:(.text+0x1adfae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47143:(.text+0x1adfea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47154:(.text+0x1adff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47249:(.text+0x1ae034): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1ae042): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ae074): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47205:(.text+0x1ae07e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ae090): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ae09c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ae0ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47207:(.text+0x1ae0c0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47209:(.text+0x1ae0cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47232:(.text+0x1ae0f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ae0fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ae112): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47246:(.text+0x1ae17e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47249:(.text+0x1ae1aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ae212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1ae24a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1ae290): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1ae2a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47154:(.text+0x1ae356): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ae47e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ae490): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_219computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262647:(.text+0x1ae4a0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262586:(.text+0x1ae558): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262636:(.text+0x1ae588): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262596:(.text+0x1ae678): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262597:(.text+0x1ae686): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ae6e4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ae6f8): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ae740): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ae74c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1ae76a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1ae776): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1ae78c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1ae8fa): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250101:(.text+0x1ae920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250108:(.text+0x1ae944): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250108:(.text+0x1ae956): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250096:(.text+0x1ae9ae): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250142:(.text+0x1ae9f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_50computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250172:(.text+0x1aea2e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250104:(.text+0x1aea78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250101:(.text+0x1aeabe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250102:(.text+0x1aeac8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1aead2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250116:(.text+0x1aeb56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aeb82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250215:(.text+0x1aebf6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250277:(.text+0x1aec8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250292:(.text+0x1aed1e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1aed38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250241:(.text+0x1aed76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250248:(.text+0x1aed90): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250236:(.text+0x1aedf6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250281:(.text+0x1aee10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250282:(.text+0x1aee1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250282:(.text+0x1aee2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1aee58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_52computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250312:(.text+0x1aee6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250244:(.text+0x1aeebc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250241:(.text+0x1aeeea): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250260:(.text+0x1aef2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250260:(.text+0x1aef40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aef70): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aef7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aef8c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aef94): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250250:(.text+0x1aefe4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1aeff6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1aeffe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1af012): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105433:(.text+0x1af066): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105434:(.text+0x1af070): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1af082): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105470:(.text+0x1af08e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1af09a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1af0fc): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_22createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105584:(.text+0x1af10a): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0x1af12a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x1af134): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_22createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105594:(.text+0x1af146): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105496:(.text+0x1af160): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105496:(.text+0x1af172): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105448:(.text+0x1af184): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105451:(.text+0x1af1ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1af1b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1af1ca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105470:(.text+0x1af228): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105455:(.text+0x1af2a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_22createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105534:(.text+0x1af2f2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105467:(.text+0x1af3b6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1af3f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105496:(.text+0x1af42c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272030:(.text+0x1af434): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272030:(.text+0x1af440): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272119:(.text+0x1af500): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1af5c8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1af626): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_60setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272166:(.text+0x1af670): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272057:(.text+0x1af6de): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272121:(.text+0x1af6f8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_60setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272241:(.text+0x1af75a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272069:(.text+0x1af7c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272109:(.text+0x1af876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272083:(.text+0x1af8e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272083:(.text+0x1af8f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272084:(.text+0x1af8fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272089:(.text+0x1af91a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1af9e6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147284:(.text+0x1afa58): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1afaa6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1afb1a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1afb40): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x1afb70): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1afb7e): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1afb86): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1afb9c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147353:(.text+0x1afbf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x1afc0a): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1afc94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1afca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147322:(.text+0x1afce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1afcec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1afcf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1afd04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147324: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1afdc0): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1afe00): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147338:(.text+0x1afe3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147350:(.text+0x1afe52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147335:(.text+0x1afe70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x1afe80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1afe8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1aff7a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1aff92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1affaa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147231:(.text+0x1afff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147232:(.text+0x1b000a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147226:(.text+0x1b0052): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147244:(.text+0x1b00b8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147232:(.text+0x1b0140): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1b0160): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1b01b0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b01fc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1b0228): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1b025a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147338:(.text+0x1b033c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b0364): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147256:(.text+0x1b0394): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b03bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b03e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147252:(.text+0x1b03ee): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147252:(.text+0x1b03f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b0406): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b041c): undefined reference to `PyObject_IsInstance' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b0428): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b0430): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1b0450): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1b049a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1b04cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1b04d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1b04fa): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1b052c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1b0538): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b057e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b05a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147335:(.text+0x1b05c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147334:(.text+0x1b05d4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b05e6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137495:(.text+0x1b0710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137495:(.text+0x1b0718): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137495:(.text+0x1b0724): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137507:(.text+0x1b073c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b076c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b077e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137555:(.text+0x1b0790): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137559:(.text+0x1b07b4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137546:(.text+0x1b07c0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x1b07d4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1b085e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137511:(.text+0x1b086a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137528:(.text+0x1b0892): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137528:(.text+0x1b08a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137550:(.text+0x1b08e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137516:(.text+0x1b090a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_232axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137592:(.text+0x1b0950): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137592:(.text+0x1b095e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137521:(.text+0x1b09c8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137524:(.text+0x1b09e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b09f2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b0a00): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137521:(.text+0x1b0a20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137540:(.text+0x1b0a42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b0a7c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b0aa4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137536:(.text+0x1b0aae): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b0ac2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1b0b1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269359:(.text+0x1b0d12): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b0d28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269203:(.text+0x1b0d9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269303:(.text+0x1b0daa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b0dc6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b0df4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b0e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269163:(.text+0x1b0e34): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269227:(.text+0x1b0e46): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b0e52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1b0e5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x1b0e70): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x1b0e7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269364:(.text+0x1b0e8e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269175:(.text+0x1b0f30): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269178:(.text+0x1b0f3a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269178:(.text+0x1b0f4c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269182:(.text+0x1b0f5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269170:(.text+0x1b0f76): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269214:(.text+0x1b0fd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269217:(.text+0x1b0fe0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x1b0ff0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x1b1004): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b1010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x1b1038): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269189:(.text+0x1b1042): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269190:(.text+0x1b1056): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1b1062): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b106e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269195:(.text+0x1b1086): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269196:(.text+0x1b1094): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269505:(.text+0x1b112e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269518:(.text+0x1b113c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269564:(.text+0x1b1160): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1b1176): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b1182): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b11a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269582:(.text+0x1b11ae): undefined reference to `_PyDict_Pop' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269584:(.text+0x1b11c2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269586:(.text+0x1b11ce): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269588:(.text+0x1b11ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b11fe): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1b1232): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b123c): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1b124e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b125a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269698:(.text+0x1b126e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269709:(.text+0x1b128c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269709:(.text+0x1b1296): undefined reference to `_PyDict_Pop' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269720:(.text+0x1b12aa): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b12b6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x1b12e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x1b12ea): undefined reference to `_PyDict_Pop' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x1b12fe): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b130a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269564:(.text+0x1b1334): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269664:(.text+0x1b133e): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b1380): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b138a): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269524:(.text+0x1b13ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269524:(.text+0x1b13c4): undefined reference to `_PyDict_Pop' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269588:(.text+0x1b13d8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269588:(.text+0x1b13e4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724:(.text+0x1b1402): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724:(.text+0x1b140a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724:(.text+0x1b142e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269536:(.text+0x1b1498): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269561:(.text+0x1b154a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269576:(.text+0x1b1568): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269578:(.text+0x1b1574): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724:(.text+0x1b1580): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b15a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724:(.text+0x1b15b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b1656): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b1662): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x1b168e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_73setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232730:(.text+0x1b169a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232730:(.text+0x1b16c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232743: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_73setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232823:(.text+0x1b1874): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232823:(.text+0x1b1898): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_72setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232899:(.text+0x1b1906): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b1928): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b1934): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b1940): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_72setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232965:(.text+0x1b194c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_73setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232802:(.text+0x1b1a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232768: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_72setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232945:(.text+0x1b1b8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b1bca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b1bfa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_67setFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154925:(.text+0x1b1c70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154975:(.text+0x1b1cda): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154984:(.text+0x1b1cf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154963:(.text+0x1b1d0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b1d6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b1daa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_67setFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154929:(.text+0x1b1de8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154952:(.text+0x1b1e62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154940:(.text+0x1b1ea0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_66setFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155083:(.text+0x1b1ed0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b1f46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_66setFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155068:(.text+0x1b1fb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_67setFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154958:(.text+0x1b1fc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154958:(.text+0x1b1fe4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2044): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_67setFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154984:(.text+0x1b2080): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1b20be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_82createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162693:(.text+0x1b213c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162596:(.text+0x1b21d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b220a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2226): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162634:(.text+0x1b2256): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b227a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162624:(.text+0x1b22ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162636:(.text+0x1b22fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162637:(.text+0x1b231c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b23a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162608:(.text+0x1b23e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162593:(.text+0x1b2404): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2440): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162602:(.text+0x1b246e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_213setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173318:(.text+0x1b24b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173351:(.text+0x1b254e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2584): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b25a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_213setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173395:(.text+0x1b25d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1b25f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_213setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173367:(.text+0x1b2664): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173388:(.text+0x1b2676): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173361:(.text+0x1b2696): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173389:(.text+0x1b271c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173373:(.text+0x1b275c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b277e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b27ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b27e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171744:(.text+0x1b282a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171805:(.text+0x1b2878): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_190setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171859:(.text+0x1b289a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171777:(.text+0x1b28d4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171777:(.text+0x1b28e2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b290c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171762:(.text+0x1b299e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_190setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171862:(.text+0x1b29c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171812:(.text+0x1b29ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171769:(.text+0x1b2a0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171787:(.text+0x1b2a20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171787:(.text+0x1b2a34): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171774:(.text+0x1b2a8a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171799:(.text+0x1b2acc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171830:(.text+0x1b2b96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172500:(.text+0x1b2bf6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_200setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172546:(.text+0x1b2c16): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172557:(.text+0x1b2c22): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172472:(.text+0x1b2c56): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172475:(.text+0x1b2c6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1b2caa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2cc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172519:(.text+0x1b2cf4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172460:(.text+0x1b2d18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_200setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172560:(.text+0x1b2d4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172510:(.text+0x1b2d7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172467:(.text+0x1b2dd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172472:(.text+0x1b2ddc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172467:(.text+0x1b2e1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172512:(.text+0x1b2e34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172493:(.text+0x1b2e54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2e9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2eba): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172487:(.text+0x1b2ecc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2ed4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172481:(.text+0x1b2f1c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_199setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172305:(.text+0x1b2f44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172319:(.text+0x1b2f76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172364:(.text+0x1b2f98): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172391:(.text+0x1b2fda): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172391:(.text+0x1b2fe6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172338:(.text+0x1b2ff8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172335:(.text+0x1b3000): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1b3040): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b304c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b305e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_199setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172380:(.text+0x1b3068): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b3096): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_199setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172330:(.text+0x1b30f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172348:(.text+0x1b3158): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172342:(.text+0x1b3178): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172342:(.text+0x1b3184): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172373:(.text+0x1b31b8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172355:(.text+0x1b31ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172360:(.text+0x1b320c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3222): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_199setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172350:(.text+0x1b3256): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b327a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172344:(.text+0x1b32ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_221setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173893:(.text+0x1b32dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_220setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173983:(.text+0x1b3332): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b333e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_221setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173912:(.text+0x1b3380): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173912:(.text+0x1b3396): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b33b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_221setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173956:(.text+0x1b3400): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b341c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_221setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173897:(.text+0x1b342e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173897:(.text+0x1b3436): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173904:(.text+0x1b347e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173949:(.text+0x1b34a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173922:(.text+0x1b34d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173916:(.text+0x1b34fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173933:(.text+0x1b353c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173949:(.text+0x1b3548): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173929:(.text+0x1b355a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173929:(.text+0x1b3562): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173934:(.text+0x1b35a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b35ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b35c0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b35ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b35f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173455:(.text+0x1b365c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173541:(.text+0x1b36de): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b3732): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b376a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173532:(.text+0x1b3786): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b37a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_214setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173573:(.text+0x1b37dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173480:(.text+0x1b3840): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173498:(.text+0x1b385a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173485:(.text+0x1b3874): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173485:(.text+0x1b3880): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173524:(.text+0x1b38da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173505:(.text+0x1b38f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173510:(.text+0x1b390c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173510:(.text+0x1b3922): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3940): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b395a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b398c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173494:(.text+0x1b39b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174074:(.text+0x1b3a3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_222setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174131:(.text+0x1b3a68): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174102:(.text+0x1b3a7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174049:(.text+0x1b3aa8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3af4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_222setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174134:(.text+0x1b3b76): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174086:(.text+0x1b3bca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174059:(.text+0x1b3c02): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174046:(.text+0x1b3c1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174053:(.text+0x1b3c40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174085:(.text+0x1b3c74): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3cd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3cf2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174061:(.text+0x1b3d0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3d18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174102:(.text+0x1b3d72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1b3d8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_193setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171881:(.text+0x1b3da4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171895:(.text+0x1b3dba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171939:(.text+0x1b3dd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_192setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171985:(.text+0x1b3df2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_193setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171967:(.text+0x1b3e24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171914:(.text+0x1b3e4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171958:(.text+0x1b3ed2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171899:(.text+0x1b3f00): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_192setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171999:(.text+0x1b3f12): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_193setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171906:(.text+0x1b3f40): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171918:(.text+0x1b3fd8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b40d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_193setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171920:(.text+0x1b40ee): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_167monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258462:(.text+0x1b4170): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b4204): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_167monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258440:(.text+0x1b4332): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_166monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258604:(.text+0x1b43b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_167monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258459:(.text+0x1b449e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116916:(.text+0x1b45f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_36createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116997:(.text+0x1b467a): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117018:(.text+0x1b46a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b46b8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1b46c6): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b46ec): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b470c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116875:(.text+0x1b47da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116920:(.text+0x1b4800): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116918:(.text+0x1b4828): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116883:(.text+0x1b48a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b48b4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116880:(.text+0x1b48c4): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116880:(.text+0x1b48da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b48e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_36createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117043:(.text+0x1b48f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117043:(.text+0x1b4900): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117043:(.text+0x1b490c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116899: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181716:(.text+0x1b4c00): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181716:(.text+0x1b4c0e): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181754:(.text+0x1b4c78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181704:(.text+0x1b4cb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181741:(.text+0x1b4cc2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_316getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181815:(.text+0x1b4cfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181704:(.text+0x1b4d32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_316getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181789:(.text+0x1b4d4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181804:(.text+0x1b4d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181804:(.text+0x1b4d68): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181728:(.text+0x1b4d7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b4dca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124698:(.text+0x1b4df2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1b4e16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b4e70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1b4e7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124919: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125073:(.text+0x1b4fba): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1b4fe2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1b5048): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b507a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125187:(.text+0x1b5090): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125197:(.text+0x1b50ac): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125218:(.text+0x1b50e8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1b5128): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1b513a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1b514c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124818:(.text+0x1b5184): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125175:(.text+0x1b518e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b51b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124757:(.text+0x1b51e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b51f6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b520a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1b5226): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b523c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124715:(.text+0x1b5250): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124715:(.text+0x1b525a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124723:(.text+0x1b5264): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125026:(.text+0x1b535e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1b5458): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b5474): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124857:(.text+0x1b54f6): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124723:(.text+0x1b558a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b56b8): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1b573c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1b5824): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125084:(.text+0x1b597e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1b5a00): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124771:(.text+0x1b5a2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1b5a3e): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125062:(.text+0x1b5a4c): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_139setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206388:(.text+0x1b5a72): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206389:(.text+0x1b5a92): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_138setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206502:(.text+0x1b5b60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_139setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206445:(.text+0x1b5b86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b5bae): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460649:(.text+0x1b5c2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b5c3a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_139setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206392:(.text+0x1b5c4a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206400:(.text+0x1b5c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206403:(.text+0x1b5c6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206403:(.text+0x1b5c78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206403:(.text+0x1b5c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206424:(.text+0x1b5c92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206469: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460796:(.text+0x1b5f82): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_filemode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21233:(.text+0x1b5f90): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21434:(.text+0x1b5ffa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21318:(.text+0x1b6032): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21331:(.text+0x1b6044): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21357:(.text+0x1b607c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21383:(.text+0x1b60b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21395:(.text+0x1b60cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21415:(.text+0x1b60e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21415:(.text+0x1b60ea): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21434:(.text+0x1b60fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453971:(.text+0x1b614c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_filemode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21429:(.text+0x1b6174): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454025:(.text+0x1b6198): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453964:(.text+0x1b61f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453964:(.text+0x1b61fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b633c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_filemode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21357:(.text+0x1b6364): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1b63ca): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454062:(.text+0x1b63fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1b6412): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x1b642e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b646a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_71setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96489:(.text+0x1b64aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96472:(.text+0x1b64bc): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_70setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96509:(.text+0x1b64ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_71setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96455:(.text+0x1b6506): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96455:(.text+0x1b6510): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_70setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96523:(.text+0x1b653a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_71setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96463:(.text+0x1b6566): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96463:(.text+0x1b6578): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b658c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_71setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96467:(.text+0x1b65a8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96467:(.text+0x1b65be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b65d2): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b65dc): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b65e6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b6692): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b6708): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_18createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93132:(.text+0x1b6724): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93160:(.text+0x1b6758): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b677c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93041:(.text+0x1b67e8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93006:(.text+0x1b6836): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_18createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93091:(.text+0x1b6866): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93203:(.text+0x1b6878): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93203:(.text+0x1b6880): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93110:(.text+0x1b688c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93016:(.text+0x1b68c0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b68d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93049:(.text+0x1b6914): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93019:(.text+0x1b6926): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b6948): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b6964): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_18createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93169:(.text+0x1b698c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93024:(.text+0x1b6998): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93035:(.text+0x1b69f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93035:(.text+0x1b6a16): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b6a22): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b6a34): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92753:(.text+0x1b6a66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92753:(.text+0x1b6a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92768:(.text+0x1b6a96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92856:(.text+0x1b6b38): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92887:(.text+0x1b6b66): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92934:(.text+0x1b6bd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92806:(.text+0x1b6c46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1b6c62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92776:(.text+0x1b6c96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92856:(.text+0x1b6cba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92814:(.text+0x1b6d26): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92781:(.text+0x1b6d74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b6da4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b6db6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b6dbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92925:(.text+0x1b6dca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92790:(.text+0x1b6dfe): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92943:(.text+0x1b6e14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92800:(.text+0x1b6e52): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92800:(.text+0x1b6e64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1b6e86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92830:(.text+0x1b6ea2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92064:(.text+0x1b6eca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92051:(.text+0x1b6ed6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b6f36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92119:(.text+0x1b6f54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92119:(.text+0x1b6f60): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92104:(.text+0x1b6f72): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_10createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92175:(.text+0x1b6fa4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92175:(.text+0x1b6fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92199:(.text+0x1b6fd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92128:(.text+0x1b7076): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b70a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92113:(.text+0x1b7186): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b719a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92079:(.text+0x1b71c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92082:(.text+0x1b71ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_10createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92247:(.text+0x1b7244): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92088:(.text+0x1b7264): undefined reference to `PySequence_Contains' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92094:(.text+0x1b729c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b72f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92128:(.text+0x1b7304): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7384): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7398): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97474:(.text+0x1b73b8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b74b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97483:(.text+0x1b74d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97459:(.text+0x1b74fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7526): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97424:(.text+0x1b7534): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97434:(.text+0x1b7550): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97621:(.text+0x1b7584): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97621:(.text+0x1b758e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97528:(.text+0x1b75a0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97540:(.text+0x1b75a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97452:(.text+0x1b75d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b75e4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97467:(.text+0x1b7620): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97437:(.text+0x1b7634): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97434:(.text+0x1b763e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97437:(.text+0x1b764a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b7674): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b7684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97587:(.text+0x1b7690): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97442:(.text+0x1b769c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97442:(.text+0x1b76a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b76c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97448: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92521:(.text+0x1b7794): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1b77a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1b77ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b77d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92562:(.text+0x1b7826): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92612:(.text+0x1b7830): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92643:(.text+0x1b7876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92662:(.text+0x1b7892): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20027:(.text+0x1b78a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92699:(.text+0x1b78e8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92586:(.text+0x1b793e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1b7986): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92532:(.text+0x1b79b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92734:(.text+0x1b79fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92532:(.text+0x1b7a2c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92570:(.text+0x1b7a46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92662:(.text+0x1b7a60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92532:(.text+0x1b7a72): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92569:(.text+0x1b7a86): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92570:(.text+0x1b7a92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92537:(.text+0x1b7a9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92540:(.text+0x1b7aac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92556:(.text+0x1b7b84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92556:(.text+0x1b7b90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92708:(.text+0x1b7ba2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_13createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92301:(.text+0x1b7bfe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92314:(.text+0x1b7c2a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_12createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92454:(.text+0x1b7d28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x1b7d4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_13createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92378:(.text+0x1b7d88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92354:(.text+0x1b7daa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b7dc4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1b7de0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_13createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92324:(.text+0x1b7dfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_12createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92404:(.text+0x1b7e28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92423:(.text+0x1b7e52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_13createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92348:(.text+0x1b7f68): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1b7f96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7fae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_227setValuesBlockedLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174317:(.text+0x1b7fdc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174316:(.text+0x1b7ff4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174365:(.text+0x1b8022): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174336:(.text+0x1b80a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1b80d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_227setValuesBlockedLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174373:(.text+0x1b81d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174333:(.text+0x1b81f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174340:(.text+0x1b8232): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174328:(.text+0x1b8254): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174333:(.text+0x1b826e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174374:(.text+0x1b828a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174354:(.text+0x1b82a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174358:(.text+0x1b82d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b82fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_204setValuesBlockedCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172844:(.text+0x1b8412): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_205setValuesBlockedCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172759:(.text+0x1b8440): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172759:(.text+0x1b8458): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b8486): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1b849e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_205setValuesBlockedCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172806:(.text+0x1b84cc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172754:(.text+0x1b856e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172780:(.text+0x1b8666): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172784:(.text+0x1b868a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b870a): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1b88bc): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b8ae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173742:(.text+0x1b8b18): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173742:(.text+0x1b8b26): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1b8b3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173755:(.text+0x1b8b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173742:(.text+0x1b8b54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1b8b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173800:(.text+0x1b8b6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173805: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_218setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173857:(.text+0x1b8ba0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173828:(.text+0x1b8bb2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173819:(.text+0x1b8c58): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_218setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173860:(.text+0x1b8ce0): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173810:(.text+0x1b8d1a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173812:(.text+0x1b8d28): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173785:(.text+0x1b8d4e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173772:(.text+0x1b8d6c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b8e38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b8e60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b8e96): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181146:(.text+0x1b8eee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181159:(.text+0x1b8efa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181146:(.text+0x1b8f06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181159:(.text+0x1b8f12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1b8f1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:142: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1b91b2): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b91c0): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1b9222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1b9260): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181437:(.text+0x1b92a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181486:(.text+0x1b92d2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181503:(.text+0x1b92e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x1b9348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b9374): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181519:(.text+0x1b9390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181538:(.text+0x1b93a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181475:(.text+0x1b93c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b95aa): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1b95e2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1b960a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x1b9638): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1b964e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1b967c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181206:(.text+0x1b96c8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181329:(.text+0x1b973e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181330:(.text+0x1b9750): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181234:(.text+0x1b9762): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181234:(.text+0x1b97a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181389:(.text+0x1b97ac): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181174:(.text+0x1b97d6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181208:(.text+0x1b9806): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181328:(.text+0x1b9818): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181174:(.text+0x1b982e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181177:(.text+0x1b9850): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181177:(.text+0x1b985a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1b9864): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1b9964): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x1b9a5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181421:(.text+0x1b9a80): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181569:(.text+0x1b9b00): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181578:(.text+0x1b9cb2): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181234:(.text+0x1b9ed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1b9f0e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x1b9f1c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328578:(.text+0x1b9f34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b9f40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b9f4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b9f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b9f60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328595:(.text+0x1b9f96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328583:(.text+0x1b9fa8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ba04e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328557:(.text+0x1ba0d6): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328570:(.text+0x1ba110): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328570:(.text+0x1ba11e): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328587:(.text+0x1ba144): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328552:(.text+0x1ba162): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_286sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328687:(.text+0x1ba22e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328687:(.text+0x1ba256): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328560:(.text+0x1ba28c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328558:(.text+0x1ba2e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ba2f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_286sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328687:(.text+0x1ba2fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328687:(.text+0x1ba308): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328687:(.text+0x1ba314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:601: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56713:(.text+0x1ba5a8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56727:(.text+0x1ba5b6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ba618): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ba656): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456778:(.text+0x1ba696): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456617:(.text+0x1ba6c8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ba6dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56727:(.text+0x1ba73e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456780:(.text+0x1ba76a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456778:(.text+0x1ba786): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456778:(.text+0x1ba796): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1ba7b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456780: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_24setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302562:(.text+0x1ba9a0): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_25setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302510:(.text+0x1ba9d8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1baa00): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302881:(.text+0x1baa2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1baa44): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1baa72): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302941:(.text+0x1baabe): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1bab34): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302896:(.text+0x1bab46): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302904:(.text+0x1bab58): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302911:(.text+0x1bab98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302911:(.text+0x1baba2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302904:(.text+0x1babcc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_32setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303007:(.text+0x1babfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302973:(.text+0x1bac0e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302904:(.text+0x1bac24): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1bac46): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_32setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302983:(.text+0x1bac50): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1bac5a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214973:(.text+0x1bad40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bad6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461623:(.text+0x1bae0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1bae82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461629:(.text+0x1baea4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1baee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214996:(.text+0x1baf06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214999:(.text+0x1baf20): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215003:(.text+0x1baf36): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215003:(.text+0x1baf5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461669:(.text+0x1baf7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461786:(.text+0x1bafa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_264setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215075:(.text+0x1bb0ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214996:(.text+0x1bb0dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461669:(.text+0x1bb0f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1bb120): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461786:(.text+0x1bb136): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215009:(.text+0x1bb164): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1bb1ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1bb216): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33448:(.text+0x1bb2b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33598:(.text+0x1bb32c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33609:(.text+0x1bb34e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bb38e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33731:(.text+0x1bb3b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33751:(.text+0x1bb3ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bb3e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33780:(.text+0x1bb404): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33822:(.text+0x1bb426): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33825:(.text+0x1bb450): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33872:(.text+0x1bb558): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33902:(.text+0x1bb586): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33911:(.text+0x1bb59c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33657:(.text+0x1bb5ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33742:(.text+0x1bb5e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bb60e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bb682): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34068:(.text+0x1bb6bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34105:(.text+0x1bb704): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1bb798): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33631:(.text+0x1bb7ea): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bb81c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bb82a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33603:(.text+0x1bb84e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33671:(.text+0x1bb86a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33968:(.text+0x1bb9aa): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1bba74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34032:(.text+0x1bba90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bba9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34043:(.text+0x1bbaa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34043:(.text+0x1bbab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34043: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34215:(.text+0x1bbb14): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1bbb32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33902:(.text+0x1bbb3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33601:(.text+0x1bbb56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33612:(.text+0x1bbb6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1bbb7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1bbc26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33901:(.text+0x1bbc3c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1bbc82): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1bbc8e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bbc9e): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bbcac): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bbcb8): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bbd12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34012:(.text+0x1bbdec): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33968:(.text+0x1bbe00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34212:(.text+0x1bbe16): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33979:(.text+0x1bbe2a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34068:(.text+0x1bbe42): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33624:(.text+0x1bbe6e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34142:(.text+0x1bbe8c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33948:(.text+0x1bbe9e): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33660:(.text+0x1bbf16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34068:(.text+0x1bbf42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1bbfa4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34222:(.text+0x1bbfc0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33608:(.text+0x1bbfdc): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33611:(.text+0x1bc004): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/object.h:538:(.text+0x1bc02e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159502:(.text+0x1bc046): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159502:(.text+0x1bc054): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1bc066): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159531:(.text+0x1bc070): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bc09c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159542:(.text+0x1bc0b6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159542:(.text+0x1bc0ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_58setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159588:(.text+0x1bc100): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1bc10c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159522:(.text+0x1bc136): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_58setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159612:(.text+0x1bc160): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159613:(.text+0x1bc172): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159525:(.text+0x1bc188): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159525:(.text+0x1bc196): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159529:(.text+0x1bc1ae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159529:(.text+0x1bc1c6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159529:(.text+0x1bc1dc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1bc204): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31593:(.text+0x1bc210): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31593:(.text+0x1bc22c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31641:(.text+0x1bc246): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1bc276): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1bc2ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31708:(.text+0x1bc2bc): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1bc2c6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31711:(.text+0x1bc2d2): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31720:(.text+0x1bc30e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bc318): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bc326): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31781:(.text+0x1bc41e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bc48e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1bc4b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31847:(.text+0x1bc548): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31847:(.text+0x1bc550): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bc572): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bc614): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bc646): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bc658): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31910:(.text+0x1bc678): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1bc69a): undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bc6da): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bc6f6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bc70c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31978:(.text+0x1bc740): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:538:(.text+0x1bc756): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bc788): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bc7b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31874:(.text+0x1bc7da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31667:(.text+0x1bc818): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31670:(.text+0x1bc824): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31674:(.text+0x1bc836): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31674:(.text+0x1bc840): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31670:(.text+0x1bc858): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bc89c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31969:(.text+0x1bc8b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bc8c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bc902): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31645:(.text+0x1bc92a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31934:(.text+0x1bc958): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bc9ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31793:(.text+0x1bc9f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bca3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bca72): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31820:(.text+0x1bcac2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31781:(.text+0x1bcb7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31735:(.text+0x1bcbae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31749:(.text+0x1bcbc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31808:(.text+0x1bcbde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1bcc12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446999:(.text+0x1bcc2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bcc62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1bcc7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1bcca2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447027:(.text+0x1bccf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31651:(.text+0x1bcd24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31874:(.text+0x1bcd3c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31654:(.text+0x1bcd6a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_14__itruediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156658:(.text+0x1bcdb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1bce06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_div': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32370:(.text+0x1bce3a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_rdiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32638:(.text+0x1bce8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1bcf44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x1bcf76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_div': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32389:(.text+0x1bcf88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_24__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157172:(.text+0x1bcfa6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1bcfda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1bcff6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1bd02a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1bd046): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1bd06a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185331:(.text+0x1bd0be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185389:(.text+0x1bd0ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185412:(.text+0x1bd104): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_358factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185467:(.text+0x1bd132): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185364:(.text+0x1bd182): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1bd1d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185408:(.text+0x1bd204): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185412:(.text+0x1bd254): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185356:(.text+0x1bd30e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185368:(.text+0x1bd340): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185356:(.text+0x1bd352): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185386:(.text+0x1bd370): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185381:(.text+0x1bd3a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bd3c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bd3f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bd410): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bd434): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60125:(.text+0x1bd488): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60151:(.text+0x1bd4b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60212:(.text+0x1bd4ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457249:(.text+0x1bd4fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60207:(.text+0x1bd54c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1bd59a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457249:(.text+0x1bd5ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60165:(.text+0x1bd61e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bd6d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457368:(.text+0x1bd70a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457209:(.text+0x1bd71c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x1bd73a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bd76e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457362:(.text+0x1bd78a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60165:(.text+0x1bd7be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457368:(.text+0x1bd7da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bd7fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1bd852): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_5setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330927:(.text+0x1bd880): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1bd898): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bd8c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_4setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330986:(.text+0x1bd99c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331010:(.text+0x1bd9a8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235575:(.text+0x1bda9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462273:(.text+0x1bdba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462282:(.text+0x1bdbd0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1bdbe4): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462327:(.text+0x1bdc00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462327:(.text+0x1bdc08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235579:(.text+0x1bdc20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235584:(.text+0x1bdc2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1bdc40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1bdc58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462207:(.text+0x1bdc64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462266: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235587:(.text+0x1bdd4a): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1bdd58): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1bddee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235613:(.text+0x1bde96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1bdea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1bdeae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462372:(.text+0x1bdeba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bdf4c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220459:(.text+0x1bdf5a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_72setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220488:(.text+0x1bdfd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462174:(.text+0x1be024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462086:(.text+0x1be02c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1be048): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220433:(.text+0x1be052): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x1be072): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220439:(.text+0x1be086): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x1be0ba): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462174:(.text+0x1be12c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462174:(.text+0x1be140): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462077:(.text+0x1be154): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220439:(.text+0x1be186): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x1be22a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462176:(.text+0x1be23e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1be298): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1be2da): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1be2ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220468:(.text+0x1be302): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1be336): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1be3a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_157setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257840:(.text+0x1be3c4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257840:(.text+0x1be3d8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463050:(.text+0x1be40a): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463111:(.text+0x1be4d0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_157setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257820:(.text+0x1be4f8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257826:(.text+0x1be504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x1be510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x1be520): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1be52a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1be534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463050: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463057:(.text+0x1be5c4): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_156setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257869:(.text+0x1be5d2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_157setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257823:(.text+0x1be61a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257823:(.text+0x1be626): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257827:(.text+0x1be65a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257827:(.text+0x1be668): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257827:(.text+0x1be674): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257827:(.text+0x1be680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463111:(.text+0x1be68c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463111:(.text+0x1be698): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_30setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248792:(.text+0x1be89e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248793:(.text+0x1be8aa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462665:(.text+0x1be8d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462661:(.text+0x1be91c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_31setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248738:(.text+0x1be92a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462719:(.text+0x1be93e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462658:(.text+0x1be9b0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1be9d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462660:(.text+0x1be9e2): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462674:(.text+0x1be9ec): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462674:(.text+0x1be9f8): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1beb28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1beb74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:538:(.text+0x1beba0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_33setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198731:(.text+0x1bec2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bec72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bec88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1bed22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459734:(.text+0x1bed7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459659:(.text+0x1bee0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459718:(.text+0x1bee20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459718:(.text+0x1bee32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_32setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198800:(.text+0x1beea8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198824:(.text+0x1beec0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_33setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198754:(.text+0x1beee4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_32setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198810:(.text+0x1bef16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x1befb2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1befe2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1beffc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1bf01c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1bf03c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_175reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322373:(.text+0x1bf08c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bf0cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_175reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322413:(.text+0x1bf114): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_174reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322442:(.text+0x1bf170): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1bf200): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPlexReorderDefaultFlag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463541:(.text+0x1bf212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463541:(.text+0x1bf224): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463480:(.text+0x1bf29a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bf2b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPlexReorderDefaultFlag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463496:(.text+0x1bf2d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463487:(.text+0x1bf308): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_175reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322400:(.text+0x1bf3a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPlexReorderDefaultFlag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463541:(.text+0x1bf3d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463541:(.text+0x1bf3ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1bf40e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x1bf42e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:538:(.text+0x1bf47e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1bf4be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1bf572): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1bf586): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x1bf598): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bf5a8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1bf5de): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1bf5e6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1bf5f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x1bf63c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bf64a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30257:(.text+0x1bf66c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bf680): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48106:(.text+0x1bf6d2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48113:(.text+0x1bf6e0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1bf744): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48174:(.text+0x1bf752): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1bf766): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1bf7ca): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1bf7e0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48214:(.text+0x1bf84a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bf8c6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1bf918): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bf9c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bf9d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bf9e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bf9ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48062:(.text+0x1bf9fa): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48089:(.text+0x1bfa36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48090:(.text+0x1bfa44): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48091:(.text+0x1bfa56): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bfa7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bfa88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30248:(.text+0x1bfa94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48040:(.text+0x1bfaa6): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bfaf8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48250:(.text+0x1bfb8c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1bfb9e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47980:(.text+0x1bfc26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1bfc3c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1bfc4c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1bfca6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bfd30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48217:(.text+0x1bfd48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48217:(.text+0x1bfd5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1bfd6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1bfdb4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1bfefe): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48174:(.text+0x1bff2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1bff3c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1bff80): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1c003c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c00a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c00b2): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48134:(.text+0x1c00d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c010e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c0126): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c013a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446999:(.text+0x1c0148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1c0158): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c0170): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48141:(.text+0x1c0186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48113:(.text+0x1c01f0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175146:(.text+0x1c0272): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175191:(.text+0x1c0282): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_236setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175237:(.text+0x1c0294): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1c02b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1c02c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_236setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175254:(.text+0x1c02f4): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175254:(.text+0x1c0308): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175219:(.text+0x1c031a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175163:(.text+0x1c0330): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1c0364): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1c0372): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1c03ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_236setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175237:(.text+0x1c03fe): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175158:(.text+0x1c044a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175163:(.text+0x1c0456): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175183:(.text+0x1c0464): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175188:(.text+0x1c049a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175188:(.text+0x1c04ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175158: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175176:(.text+0x1c04e0): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175158:(.text+0x1c04ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175163:(.text+0x1c04f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175164:(.text+0x1c0506): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175158:(.text+0x1c0536): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175163:(.text+0x1c0544): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c058c): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c05b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c05c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175172:(.text+0x1c05f0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1c061c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174878:(.text+0x1c0666): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1c0684): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1c06a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174906:(.text+0x1c0702): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174853:(.text+0x1c0724): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1c0738): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c0788): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174897:(.text+0x1c0792): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174897:(.text+0x1c07a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1c07c8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174838:(.text+0x1c07fe): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_232setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174924:(.text+0x1c0816): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174850:(.text+0x1c0820): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174871:(.text+0x1c0850): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174875:(.text+0x1c0864): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174875:(.text+0x1c0884): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174863:(.text+0x1c08be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174857:(.text+0x1c08ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174857:(.text+0x1c08f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174857:(.text+0x1c0900): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174850:(.text+0x1c090c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174845:(.text+0x1c0914): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1c0930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_232setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174924:(.text+0x1c0942): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c098a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_137getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167012:(.text+0x1c0a24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c0a68): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_infotype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32868:(.text+0x1c0adc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_MatInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450783:(.text+0x1c0b0a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450784:(.text+0x1c0b52): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450785:(.text+0x1c0b78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450787:(.text+0x1c0b8a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450790:(.text+0x1c0bc4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450791:(.text+0x1c0bd2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450794:(.text+0x1c0c00): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450797:(.text+0x1c0c2c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450799:(.text+0x1c0c46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450803:(.text+0x1c0c98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450806:(.text+0x1c0cb6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c0ccc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c0d58): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c0dba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_136getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167097:(.text+0x1c0df8): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1c0e34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_137getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167040:(.text+0x1c0e60): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167030:(.text+0x1c0f52): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167030:(.text+0x1c0f66): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167030:(.text+0x1c0f7a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c0f92): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1c0fc0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_136getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167087:(.text+0x1c0fd4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455598:(.text+0x1c0fec): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455602:(.text+0x1c1042): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455445:(.text+0x1c105a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1c1078): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455598:(.text+0x1c10b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455598:(.text+0x1c10ce): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455602:(.text+0x1c10ee): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455602:(.text+0x1c10f6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1c112e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/object.h:133:(.text+0x1c1142): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_137getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167055:(.text+0x1c1156): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127090:(.text+0x1c128e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127099:(.text+0x1c129a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c12a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x1c12b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x1c12c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127037:(.text+0x1c1394): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127037:(.text+0x1c139c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127037:(.text+0x1c13a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c13ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1c13be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14968:(.text+0x1c13ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127346:(.text+0x1c1510): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1c15b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1c15c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127172:(.text+0x1c15da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c15ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c15fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127297: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127145:(.text+0x1c1842): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126958:(.text+0x1c1856): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126958:(.text+0x1c1864): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126964:(.text+0x1c1874): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126964:(.text+0x1c1888): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126970:(.text+0x1c18c4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127014:(.text+0x1c18ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126963:(.text+0x1c18f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126963:(.text+0x1c1900): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126963:(.text+0x1c1910): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126963:(.text+0x1c1922): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126977:(.text+0x1c1936): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126982: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126988:(.text+0x1c196a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126994:(.text+0x1c199e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1c1a48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c1ab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127131:(.text+0x1c1ac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127268:(.text+0x1c1ad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127062:(.text+0x1c1adc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127346:(.text+0x1c1ae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x1c1af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c1b18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1c1b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127059:(.text+0x1c1b92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127164:(.text+0x1c1bfa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c1c0e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127062:(.text+0x1c1c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19720:(.text+0x1c1c26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1c1c32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c1c5a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1c1c82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127131:(.text+0x1c1c8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c1d8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c1d98): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127241:(.text+0x1c1dc2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127037:(.text+0x1c1de6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203234:(.text+0x1c1e32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203297:(.text+0x1c1e5a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203455:(.text+0x1c1f2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203487:(.text+0x1c1f76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c1fe2): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c1fec): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447081:(.text+0x1c200a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203638:(.text+0x1c21a8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c2242): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464691:(.text+0x1c2286): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c22d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203712:(.text+0x1c22e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203297:(.text+0x1c22fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203300:(.text+0x1c231e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464692:(.text+0x1c23aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c23d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1c23e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c2424): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c245a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203344:(.text+0x1c2516): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1c253e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203509:(.text+0x1c254a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203511:(.text+0x1c2556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c2560): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1c2574): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203541:(.text+0x1c258c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c2598): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1c25c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x1c2642): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203712:(.text+0x1c264e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203712:(.text+0x1c2658): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1c2664): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203721:(.text+0x1c2676): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203721: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203721:(.text+0x1c26b8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203730:(.text+0x1c26c2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203730:(.text+0x1c26cc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1c278e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458575:(.text+0x1c27ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c2840): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c284e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203326:(.text+0x1c288c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1c28d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464730:(.text+0x1c2906): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c29ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464699:(.text+0x1c29de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203593:(.text+0x1c2a2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203258:(.text+0x1c2a44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203264:(.text+0x1c2a5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203258:(.text+0x1c2a76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203263:(.text+0x1c2a8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203314:(.text+0x1c2aa2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203263:(.text+0x1c2ac4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203270:(.text+0x1c2ae2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203272:(.text+0x1c2b08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203288:(.text+0x1c2b4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203467:(.text+0x1c2bba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1c2be8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1c2bfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203473:(.text+0x1c2c28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c2c6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464704:(.text+0x1c2cf2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464704:(.text+0x1c2d00): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203605:(.text+0x1c2d40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1c2d86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203612:(.text+0x1c2dba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c2e7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c2e92): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1c2ede): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458575:(.text+0x1c2ef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c2f10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203455:(.text+0x1c2f2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c2f40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c2f56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1c2f78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c2f96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458575:(.text+0x1c2fbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203351:(.text+0x1c3002): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1c306e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203605:(.text+0x1c309c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203608:(.text+0x1c30ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1c30dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c311e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203632:(.text+0x1c316e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203610:(.text+0x1c31b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c31be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203522:(.text+0x1c31f8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203523:(.text+0x1c3204): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c3238): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203593:(.text+0x1c324e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203454:(.text+0x1c32be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1c32e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c333c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1c3348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141275:(.text+0x1c33bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141311:(.text+0x1c33d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141289:(.text+0x1c3422): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141292:(.text+0x1c3438): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1c346c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c348e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c3500): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141342:(.text+0x1c3512): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141342:(.text+0x1c351a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1c3570): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1c35a0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141279:(.text+0x1c35c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141289:(.text+0x1c35d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141289:(.text+0x1c35de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141296:(.text+0x1c35f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141332:(.text+0x1c3642): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141330:(.text+0x1c3658): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1c366c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1c3680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_290strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141398:(.text+0x1c36aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141398:(.text+0x1c36b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141284:(.text+0x1c36c8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141284:(.text+0x1c36d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141322:(.text+0x1c36ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c3758): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c3762): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141284:(.text+0x1c376e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141308:(.text+0x1c3780): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_290strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141364:(.text+0x1c37e6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c37f8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c380e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c3820): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141298:(.text+0x1c382a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1c383c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1c3848): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1c385c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141417:(.text+0x1c3868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141429:(.text+0x1c38a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1c38ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141466:(.text+0x1c38c2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1c3938): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c3964): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_292strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141529:(.text+0x1c39ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141550:(.text+0x1c39ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1c3b14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141487:(.text+0x1c3b36): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1c3b6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_292strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141529:(.text+0x1c3b88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141485:(.text+0x1c3ba6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141444:(.text+0x1c3bca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1c3bf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_292strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141539:(.text+0x1c3c22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141459:(.text+0x1c3c40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c3d12): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1c3d40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24520:(.text+0x1c3d58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x1c3d86): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c3d9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c3dcc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24611:(.text+0x1c3e24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24664:(.text+0x1c3e60): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24687:(.text+0x1c3e90): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1c3eec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1c3ef4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24746:(.text+0x1c3f1c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1c3fbc): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1c4066): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1c40ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24746:(.text+0x1c411c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c412e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x1c4136): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24677:(.text+0x1c4160): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24746:(.text+0x1c416c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c419a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x1c41b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24707:(.text+0x1c41ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1c41fa): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.11/object.h:601:(.text+0x1c4210): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c427a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c428e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24746:(.text+0x1c42ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1c4336): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c4346): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c4350): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c4362): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x1c438e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24646:(.text+0x1c43a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:538:(.text+0x1c43fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24633:(.text+0x1c447c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_8__iadd__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119355:(.text+0x1c44c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_add': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25276:(.text+0x1c44e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c4508): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_add': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25321:(.text+0x1c451a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25321:(.text+0x1c4532): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25321:(.text+0x1c4562): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25315:(.text+0x1c4572): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25315:(.text+0x1c457a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25315:(.text+0x1c4586): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_19__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119629:(.text+0x1c459c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x1c45bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c45d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_radd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25530:(.text+0x1c462c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_18__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119714:(.text+0x1c4666): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119670:(.text+0x1c4678): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1c46b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1c46e4): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1c46fc): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1c4712): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1c4728): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1c473a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1c4758): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1c4762): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_18__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119695:(.text+0x1c476e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x1c4780): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c4796): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c47a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1c47ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1c47f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1c486a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x1c4876): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c4888): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1c48f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c495e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373123:(.text+0x1c498a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373231:(.text+0x1c49e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1c4a04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c4b4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c4b6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373276:(.text+0x1c4bba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373117:(.text+0x1c4bd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1c4bee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373276:(.text+0x1c4c16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373277:(.text+0x1c4c30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1c4c46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373277:(.text+0x1c4c7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1c4d12): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c4d40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373154:(.text+0x1c4d56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c4d84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373128:(.text+0x1c4d9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1c4dc8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373136:(.text+0x1c4e24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1c4e80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373046:(.text+0x1c4ea4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373276:(.text+0x1c4f24): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373276:(.text+0x1c4f32): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1c4fa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c507c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c5090): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373158:(.text+0x1c50e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1c50fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373133:(.text+0x1c5112): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373133:(.text+0x1c5120): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c513e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372985:(.text+0x1c5154): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373136:(.text+0x1c516a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373136:(.text+0x1c5180): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x1c51be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c522c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24864:(.text+0x1c525e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24875:(.text+0x1c527c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24908:(.text+0x1c529c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24931:(.text+0x1c52ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24997:(.text+0x1c5314): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c545e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24870:(.text+0x1c547a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c549e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1c54d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1c5502): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24921:(.text+0x1c5580): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c55b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24951:(.text+0x1c55e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24867:(.text+0x1c55fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c5618): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1c5638): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.11/object.h:601:(.text+0x1c5658): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24990:(.text+0x1c56c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1c56f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c573c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24874:(.text+0x1c5886): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24877:(.text+0x1c58a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_11__isub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119373:(.text+0x1c58c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10__isub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119418:(.text+0x1c58fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_sub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25351:(.text+0x1c592a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25370:(.text+0x1c59a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1c59d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c5a10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_20__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119773:(.text+0x1c5a22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_21__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119741:(.text+0x1c5a40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_rsub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25565:(.text+0x1c5a60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c5a80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_21__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119741:(.text+0x1c5aea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_20__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119773:(.text+0x1c5b18): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119774:(.text+0x1c5bc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c5c1e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_59setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286780:(.text+0x1c5cfc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286850:(.text+0x1c5d2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c5dbc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c5dd0): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c5e42): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_59setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286860:(.text+0x1c5e4a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_58setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286942:(.text+0x1c600c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_59setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286848:(.text+0x1c6014): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286821:(.text+0x1c6094): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286826:(.text+0x1c60e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1c6120): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117532:(.text+0x1c6242): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117534:(.text+0x1c6258): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c62dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117476:(.text+0x1c6324): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117507:(.text+0x1c637c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117488:(.text+0x1c63bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117489:(.text+0x1c63c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117501:(.text+0x1c63d4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117501:(.text+0x1c63e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117488:(.text+0x1c63ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117491:(.text+0x1c63f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117495:(.text+0x1c6424): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117488:(.text+0x1c644e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117488:(.text+0x1c645c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117483:(.text+0x1c6472): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117536:(.text+0x1c6494): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c65dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117503:(.text+0x1c65e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117503:(.text+0x1c65f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6600): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6610): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c66cc): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c66dc): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_49reduceEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118021:(.text+0x1c66fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118008:(.text+0x1c6712): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_48reduceEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118068:(.text+0x1c675a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_49reduceEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117996:(.text+0x1c6822): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117977:(.text+0x1c6860): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117990:(.text+0x1c6890): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117984:(.text+0x1c68d0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117984:(.text+0x1c68ea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117977:(.text+0x1c68fc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117972:(.text+0x1c690c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117972:(.text+0x1c6922): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118002:(.text+0x1c6a08): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6a3a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6a80): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_49reduceEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117992:(.text+0x1c6a92): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6ab6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117785:(.text+0x1c6b16): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6b78): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117858:(.text+0x1c6b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117860:(.text+0x1c6bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117845:(.text+0x1c6bb8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_46reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117895:(.text+0x1c6bec): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117802:(.text+0x1c6c74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117809:(.text+0x1c6d00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117814:(.text+0x1c6d42): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117863:(.text+0x1c6df8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117860:(.text+0x1c6e1a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117860:(.text+0x1c6e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1c6e70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6ed8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6ee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6ef2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117829:(.text+0x1c6f3c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6f4a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6f74): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117823:(.text+0x1c6f88): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117823:(.text+0x1c6f9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c6ffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c7008): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117693:(.text+0x1c7030): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117682:(.text+0x1c7060): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117699:(.text+0x1c7072): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_44bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117732:(.text+0x1c7092): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117732:(.text+0x1c709e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117752:(.text+0x1c70c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117710:(.text+0x1c7108): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117639:(.text+0x1c711c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117639:(.text+0x1c7136): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117670:(.text+0x1c7164): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117670:(.text+0x1c7172): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117670:(.text+0x1c7184): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117654:(.text+0x1c7208): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117700:(.text+0x1c72a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c7382): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c7390): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c73aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c73b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c73c2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c73d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117660:(.text+0x1c742c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117660:(.text+0x1c7440): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_daelementtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57091:(.text+0x1c74d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57016:(.text+0x1c756c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57107:(.text+0x1c7586): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57047:(.text+0x1c75d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57052:(.text+0x1c75e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1c75f6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_daelementtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57065:(.text+0x1c7604): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1c7732): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c773e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c775e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457013:(.text+0x1c77be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x1c77f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c7978): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_77setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306040:(.text+0x1c79a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1c7a1e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_77setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306016:(.text+0x1c7a2c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_76setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306071:(.text+0x1c7a54): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306095:(.text+0x1c7a72): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_77setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306029:(.text+0x1c7ad4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_81getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306201:(.text+0x1c7b44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1c7b66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306278:(.text+0x1c7ba6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306334:(.text+0x1c7bc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1c7be8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306380:(.text+0x1c7c0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13839:(.text+0x1c7c3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1c7c4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x1c7c64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1c7c90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447255:(.text+0x1c7cca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c7cd6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c7cf6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1c7d02): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306256: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c7e56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0x1c7e84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306438:(.text+0x1c7e9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306447:(.text+0x1c7eca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306389:(.text+0x1c7f52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_81getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306217:(.text+0x1c7f80): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306433:(.text+0x1c80ca): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306433:(.text+0x1c8104): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x1c8196): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_81getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306226:(.text+0x1c81e4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306469:(.text+0x1c822c): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306447:(.text+0x1c825e): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c8270): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306503:(.text+0x1c829a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c82b4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56968:(.text+0x1c8400): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_72setInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305896:(.text+0x1c842a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56877:(.text+0x1c8446): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c846a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1c847e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c848e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:142: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c8606): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c8612): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_73setInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305826:(.text+0x1c867a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56877:(.text+0x1c8686): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1c86b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456857:(.text+0x1c86ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c874e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456857:(.text+0x1c8764): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_73setInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305830:(.text+0x1c87a8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305830:(.text+0x1c87b4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305830:(.text+0x1c87c4): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456817:(.text+0x1c884e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1c8862): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1c886e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c8898): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1c88b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c88d0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56928:(.text+0x1c890c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456970:(.text+0x1c892c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456970:(.text+0x1c893a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1c899a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1c89da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456976:(.text+0x1c89e8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391024:(.text+0x1c89fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1c8a4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1c8a68): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1c8a84): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366275:(.text+0x1c8aac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0x1c8ad8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391089:(.text+0x1c8aec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391089:(.text+0x1c8af6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391092:(.text+0x1c8b08): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c8b3a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1c8b46): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1c8b5c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1c8b66): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1c8b8e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1c8b98): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391158:(.text+0x1c8baa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391161:(.text+0x1c8bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391161:(.text+0x1c8bd0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c8be0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422493:(.text+0x1c8c14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391076:(.text+0x1c8c24): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1c8c52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392886:(.text+0x1c8c7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392942:(.text+0x1c8c90): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392924:(.text+0x1c8ca6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392961:(.text+0x1c8cc2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1c8cd8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392202:(.text+0x1c8cf6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1c8d02): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1c8d1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389171:(.text+0x1c8d38): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c8d66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0x1c8d92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1c8d9c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1c8da6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c8db6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x1c8e0e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392257:(.text+0x1c8e18): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392257:(.text+0x1c8e22): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1c8efc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392988:(.text+0x1c8f5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392943:(.text+0x1c8faa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392383:(.text+0x1c9028): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391152:(.text+0x1c90c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392476:(.text+0x1c9144): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389171:(.text+0x1c9156): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1c9166): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c9182): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0x1c91b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1c91b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1c91c4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1c91fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1c9202): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x1c920e): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1c922a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1c9236): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c9242): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392533:(.text+0x1c924e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392535:(.text+0x1c9266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c9282): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392566:(.text+0x1c929a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1c92cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1c92f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1c9320): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1c932c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392597:(.text+0x1c935e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392826:(.text+0x1c93fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x1c942c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391152:(.text+0x1c945c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391135:(.text+0x1c9472): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1c9496): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0x1c94ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c94de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1c9502): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392248:(.text+0x1c9580): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c95ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391152:(.text+0x1c9604): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c9664): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c96b2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c9730): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1c97c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392826:(.text+0x1c984c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393098:(.text+0x1c985e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393138:(.text+0x1c986e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x1c988a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391124:(.text+0x1c98b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392250:(.text+0x1c98c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392250:(.text+0x1c98cc): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392222:(.text+0x1c9902): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1c990a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392961:(.text+0x1c9916): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c9932): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c993e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c994a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c9956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1c996e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1c998a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392826:(.text+0x1c99a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c99d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1c99f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c9a26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c9a32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392566:(.text+0x1c9a64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392819:(.text+0x1c9b02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c9b32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c9b62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c9b78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c9b9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1c9bc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392826:(.text+0x1c9be4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392659:(.text+0x1c9c08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392760:(.text+0x1c9c86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1c9cb4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1c9d0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392619:(.text+0x1c9d6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1c9db8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x1c9e36): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x1c9ece): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392580:(.text+0x1c9f52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1c9f64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1c9f74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392580:(.text+0x1c9f90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1c9fbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1c9fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392671:(.text+0x1c9fd2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392347:(.text+0x1ca008): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ca010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392356:(.text+0x1ca01c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ca038): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392365:(.text+0x1ca044): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392365:(.text+0x1ca050): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ca05c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392619:(.text+0x1ca074): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ca090): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ca0a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ca0da): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ca0fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392721:(.text+0x1ca12e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392722:(.text+0x1ca13a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392745:(.text+0x1ca16c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392784:(.text+0x1ca20a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392671:(.text+0x1ca23a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392729:(.text+0x1ca26a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1ca280): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1ca2a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x1ca2c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392762:(.text+0x1ca2ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ca310): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392749:(.text+0x1ca38e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1ca3bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:601:(.text+0x1ca404): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37345:(.text+0x1ca43a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37367:(.text+0x1ca46a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37419:(.text+0x1ca4c2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455635:(.text+0x1ca4fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455641:(.text+0x1ca582): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455631:(.text+0x1ca5ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455668:(.text+0x1ca5e6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455681:(.text+0x1ca5f8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ca600): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37367:(.text+0x1ca618): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455798:(.text+0x1ca688): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455641:(.text+0x1ca6a8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455789:(.text+0x1ca6f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455794:(.text+0x1ca73a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455794:(.text+0x1ca746): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37433:(.text+0x1ca758): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37440:(.text+0x1ca7ae): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ca7ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455681:(.text+0x1ca7da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455798:(.text+0x1ca7ea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455798:(.text+0x1ca7fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1ca818): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455788:(.text+0x1ca826): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ca840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatFactorInfoDefaults': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:309:(.text+0x1ca8ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:309:(.text+0x1ca916): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:322:(.text+0x1ca920): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37547:(.text+0x1ca934): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37547:(.text+0x1ca93e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x1ca952): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x1ca95c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1ca96e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37583:(.text+0x1ca994): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1ca9c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x1ca9f6): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37667:(.text+0x1caa16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x1caa2e): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1caa4e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1caa9e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1caaa6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x1caaca): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1cab04): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x1cab2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37964:(.text+0x1cabca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1cabd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1cabe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1cabee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1cabfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1cac24): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cac66): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1cac7c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cac96): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38085:(.text+0x1cacfa): undefined reference to `PyImport_Import' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37496:(.text+0x1cad5c): undefined reference to `PyModule_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cad68): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cad7c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cadb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cadc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cadd4): undefined reference to `PyImport_Import' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37496:(.text+0x1cadfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38070:(.text+0x1cae16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37495:(.text+0x1cae80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1caec8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37750:(.text+0x1caed8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37499:(.text+0x1caee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38006:(.text+0x1caf1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38006:(.text+0x1caf28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1caf30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37987:(.text+0x1caf3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37987:(.text+0x1caf42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37601:(.text+0x1caf52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37643:(.text+0x1caf88): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37498:(.text+0x1caf94): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37708:(.text+0x1cb00e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Keys': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447459:(.text+0x1cb05e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38016:(.text+0x1cb06a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38018:(.text+0x1cb07a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38021:(.text+0x1cb08e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cb0a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38032:(.text+0x1cb0b4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38032:(.text+0x1cb0be): undefined reference to `PyImport_Import' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cb0da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38037:(.text+0x1cb0ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cb136): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cb146): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cb164): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cb194): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cb1b4): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cb1c2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cb22e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cb24c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cb256): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cb268): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cb28e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cb2a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Keys': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447459:(.text+0x1cb2bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatFactorInfoDefaults': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:300:(.text+0x1cb324): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:300:(.text+0x1cb330): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37524:(.text+0x1cb344): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37496:(.text+0x1cb352): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1cb366): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1cb38e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186282:(.text+0x1cb398): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cb3ca): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1cb3d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cb3e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cb3f8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186337:(.text+0x1cb40c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186337:(.text+0x1cb416): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_372factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186370:(.text+0x1cb43e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186379:(.text+0x1cb460): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186391:(.text+0x1cb46c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1cb478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cb4ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186298:(.text+0x1cb4c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186341:(.text+0x1cb528): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_372factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186393:(.text+0x1cb548): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186394:(.text+0x1cb554): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186307:(.text+0x1cb574): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cb596): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_372factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186379:(.text+0x1cb5d4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186314:(.text+0x1cb5de): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186314:(.text+0x1cb5ea): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cb68c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_366factorCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185984:(.text+0x1cb71c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186004:(.text+0x1cb748): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_367factorCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185920:(.text+0x1cb7b8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185923:(.text+0x1cb7ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185944:(.text+0x1cb7ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185915:(.text+0x1cb83e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185921:(.text+0x1cb894): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185928:(.text+0x1cb8c4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185933:(.text+0x1cb8f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185933:(.text+0x1cb908): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185613:(.text+0x1cb928): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185613:(.text+0x1cb932): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185626:(.text+0x1cb944): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cb96c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185663:(.text+0x1cb980): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185683:(.text+0x1cb98c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185694:(.text+0x1cb9ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185694:(.text+0x1cb9f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185694:(.text+0x1cba08): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cba60): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cba6a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cba7c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185679:(.text+0x1cba94): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185679:(.text+0x1cbaa8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1cbab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185640:(.text+0x1cbae8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185640:(.text+0x1cbaf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185647:(.text+0x1cbb06): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_362factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185736:(.text+0x1cbb72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185635:(.text+0x1cbb9e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185640:(.text+0x1cbc0e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185659:(.text+0x1cbc24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185659:(.text+0x1cbc40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185694:(.text+0x1cbc94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cbcea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185260:(.text+0x1cbd1a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_356factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185298:(.text+0x1cbd48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185309:(.text+0x1cbd5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185270:(.text+0x1cbd7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185270:(.text+0x1cbd88): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185219:(.text+0x1cbd9a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cbdbe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1cbdd2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cbdde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1cbe3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185206:(.text+0x1cbe46): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185206:(.text+0x1cbe5a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185259:(.text+0x1cbeb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185259:(.text+0x1cbebc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185260:(.text+0x1cbece): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_356factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185289:(.text+0x1cbee6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185312:(.text+0x1cbefa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185312:(.text+0x1cbf06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185249:(.text+0x1cbf3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1cbf44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_356factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185298:(.text+0x1cbf58): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cbfc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cbff0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1cc060): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1cc076): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cc092): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1cc0e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204877:(.text+0x1cc13c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1cc16c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204826:(.text+0x1cc19a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204834:(.text+0x1cc1b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204834:(.text+0x1cc1d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204835:(.text+0x1cc1da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204838:(.text+0x1cc1ec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204843:(.text+0x1cc214): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_120setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204912:(.text+0x1cc228): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1cc234): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204834:(.text+0x1cc292): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204834:(.text+0x1cc29c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1cc2b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_120setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204931:(.text+0x1cc308): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204931:(.text+0x1cc312): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204849:(.text+0x1cc324): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204849:(.text+0x1cc33c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cc350): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1cc35c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182654:(.text+0x1cc390): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1cc39a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182654:(.text+0x1cc3ae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x1cc41a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455043:(.text+0x1cc446): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182681:(.text+0x1cc4b6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182684:(.text+0x1cc4cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cc4e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182720:(.text+0x1cc53c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1cc592): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1cc5c2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_330axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182756:(.text+0x1cc5f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cc606): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182681:(.text+0x1cc626): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182681:(.text+0x1cc630): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182688:(.text+0x1cc642): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182713:(.text+0x1cc66a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182724:(.text+0x1cc67e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182724:(.text+0x1cc68a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x1cc6e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32729:(.text+0x1cc6f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32729:(.text+0x1cc706): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1cc75e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1cc768): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182695:(.text+0x1cc77a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182696:(.text+0x1cc792): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182681:(.text+0x1cc7a6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182700:(.text+0x1cc7b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x1cc7e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x1cc7f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455206:(.text+0x1cc804): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1cc870): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cc89c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182822:(.text+0x1cc90c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182821:(.text+0x1cc922): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182858:(.text+0x1cc93e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32701:(.text+0x1cc992): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_332aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182921:(.text+0x1cc9e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182836:(.text+0x1cca18): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cca46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1cca5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cca7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cca86): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182875:(.text+0x1cca98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x1ccac0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_332aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182931:(.text+0x1ccad4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ccae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455053:(.text+0x1ccb3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x1ccb48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_332aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182911:(.text+0x1ccb5c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182843:(.text+0x1ccbb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182868:(.text+0x1ccbbe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32702:(.text+0x1ccbd0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182879:(.text+0x1ccbe8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182831:(.text+0x1ccbfc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182831:(.text+0x1ccc08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455210:(.text+0x1ccc3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x1ccc46): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32729:(.text+0x1ccc5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1cccc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182851:(.text+0x1cccf2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455206:(.text+0x1ccd62): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x1ccd78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1ccd94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ccde8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1cce3e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173148:(.text+0x1cce6e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cce9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173193:(.text+0x1cceb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_210setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173246:(.text+0x1cced2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173255:(.text+0x1ccedc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x1cceee): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_210setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173275:(.text+0x1ccf16): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173285:(.text+0x1ccf2a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173285:(.text+0x1ccf36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173167:(.text+0x1ccf94): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173167:(.text+0x1ccf9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1ccfb2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173211:(.text+0x1cd00a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173211:(.text+0x1cd014): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1cd026): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173152:(.text+0x1cd03e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_210setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173245:(.text+0x1cd052): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173245:(.text+0x1cd05e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173265:(.text+0x1cd092): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173265:(.text+0x1cd09c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173275:(.text+0x1cd0b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173159:(.text+0x1cd11c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173159:(.text+0x1cd148): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173205:(.text+0x1cd1b6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173184:(.text+0x1cd1cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173189:(.text+0x1cd1e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1cd23c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd290): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd2c0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171560:(.text+0x1cd2ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171560:(.text+0x1cd304): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171573:(.text+0x1cd324): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171560:(.text+0x1cd32e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171618:(.text+0x1cd340): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_188setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171671:(.text+0x1cd362): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171681:(.text+0x1cd376): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x1cd382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_188setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171723:(.text+0x1cd3de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1cd3e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171646:(.text+0x1cd3fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1cd454): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1cd45e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd470): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd488): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171637:(.text+0x1cd49c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171637:(.text+0x1cd4a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171578:(.text+0x1cd4dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171578:(.text+0x1cd4e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_188setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171671:(.text+0x1cd4fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171725:(.text+0x1cd566): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171609:(.text+0x1cd592): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171597:(.text+0x1cd602): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171597:(.text+0x1cd618): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171585:(.text+0x1cd634): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171615:(.text+0x1cd688): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1cd6de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd70e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd73c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd752): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171599:(.text+0x1cd772): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171646:(.text+0x1cd77c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41387:(.text+0x1cd78e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41387:(.text+0x1cd7b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41387:(.text+0x1cd7ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41387:(.text+0x1cd7d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1cd834): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1cd83e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x1cd852): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22563:(.text+0x1cd8aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22587:(.text+0x1cd8b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1cd8c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41473:(.text+0x1cd8de): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41487:(.text+0x1cd8f2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41510:(.text+0x1cd8fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41546:(.text+0x1cd932): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1cd93c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1cd950): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x1cd9a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41616:(.text+0x1cdb18): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cdb98): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41640:(.text+0x1cdc42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1cdcae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1cdcba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41655:(.text+0x1cdcc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41655:(.text+0x1cdd08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41655:(.text+0x1cdd1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1cddde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1cdde6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1cddf2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1cde32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1cde56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41690:(.text+0x1cde94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cdea6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1cdeb0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1cdeea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1cdef4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1cdfc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cdfd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1cdfe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447574: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41755:(.text+0x1ce04c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41755:(.text+0x1ce07c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41755:(.text+0x1ce096): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41513:(.text+0x1ce0c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41396:(.text+0x1ce0e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ce0fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41461:(.text+0x1ce120): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41425:(.text+0x1ce138): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41437:(.text+0x1ce158): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ce178): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ce206): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1ce256): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41425:(.text+0x1ce284): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ce296): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ce2c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41449:(.text+0x1ce36a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x1ce3a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41473:(.text+0x1ce404): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41536:(.text+0x1ce41a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41576:(.text+0x1ce468): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41393:(.text+0x1ce4be): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41605:(.text+0x1ce4fa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ce556): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ce56c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ce5e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ce634): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41396:(.text+0x1ce646): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ce682): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450717:(.text+0x1ce6d6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1ce6ec): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41655:(.text+0x1ce728): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1ce734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1ce740): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1ce74c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41657:(.text+0x1ce75e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1ce82a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41688:(.text+0x1ce876): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41685:(.text+0x1ce8e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1ce8f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1ce900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41641:(.text+0x1ce914): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41705:(.text+0x1ce920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41705:(.text+0x1ce92c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41396:(.text+0x1ce978): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41567:(.text+0x1ce986): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1ce9ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1ce9c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41584:(.text+0x1ce9d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41584:(.text+0x1ce9e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41395:(.text+0x1ce9f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ce9fa): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41574:(.text+0x1cea08): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41576:(.text+0x1cea92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41755:(.text+0x1ceaac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41546:(.text+0x1ceabe): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41550:(.text+0x1ceae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41550:(.text+0x1ceaf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41550:(.text+0x1ceb00): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x1ceb26): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x1ceb30): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x1ceb42): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x1ceb4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x1ceb56): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x1ceb68): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x1ceba4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cebb0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40096:(.text+0x1cebf0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40120:(.text+0x1cec04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x1cec0e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cec36): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1cec4e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40672:(.text+0x1cec68): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40745:(.text+0x1cecac): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40804:(.text+0x1cecee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40804:(.text+0x1cecf8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40806:(.text+0x1ced0a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x1ced2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40809:(.text+0x1ced54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ced5e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450700:(.text+0x1ced84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450704:(.text+0x1ceda6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450708:(.text+0x1cedb0): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450708:(.text+0x1cedba): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450708:(.text+0x1cedc4): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40834:(.text+0x1cef04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450712:(.text+0x1cef76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40839:(.text+0x1cefce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40839:(.text+0x1cefec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40854:(.text+0x1cf052): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40854:(.text+0x1cf062): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40854:(.text+0x1cf074): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40854:(.text+0x1cf096): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40854:(.text+0x1cf0a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1cf0ba): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1cf0c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cf0de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40859:(.text+0x1cf128): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40859:(.text+0x1cf140): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40864:(.text+0x1cf19a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1cf1ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1cf1ce): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40887:(.text+0x1cf202): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1cf298): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1cf2b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cf2fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1cf332): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447574:(.text+0x1cf372): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447574:(.text+0x1cf37e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cf42c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40712:(.text+0x1cf444): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cf47c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cf4ba): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cf4cc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40709:(.text+0x1cf512): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cf52c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cf544): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cf55a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cf574): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cf590): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cf5a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1cf5ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40592:(.text+0x1cf5fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40936:(.text+0x1cf626): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cf66a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1cf67c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40146:(.text+0x1cf6b8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40146:(.text+0x1cf6c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40596:(.text+0x1cf6dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40648:(.text+0x1cf6f2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x1cf700): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0x1cf72e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40593:(.text+0x1cf740): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x1cf76e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40768:(.text+0x1cf7ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cf850): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40721:(.text+0x1cf868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40749:(.text+0x1cf8b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1cf8ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40806:(.text+0x1cf92a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cf936): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40813:(.text+0x1cf9e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cf9fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40596:(.text+0x1cfa34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1cfa72): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1cfa84): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1cfaca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40840:(.text+0x1cfae4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450718:(.text+0x1cfafc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1cfb12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cfb2c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1cfb48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1cfb60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1cfb86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40861:(.text+0x1cfbb4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40887:(.text+0x1cfbde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40894:(.text+0x1cfc22): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40895:(.text+0x1cfc34): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40898:(.text+0x1cfc70): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1cfc7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40904:(.text+0x1cfc94): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40904:(.text+0x1cfcaa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40904:(.text+0x1cfcb8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1cfce6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40596:(.text+0x1cfcf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1cfd26): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40592:(.text+0x1cfd78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40827:(.text+0x1cfdc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1cfdfc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_269setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139897:(.text+0x1cfeea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1cff5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cff74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_268setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139966:(.text+0x1d0024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139966:(.text+0x1d002c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d0058): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451511:(.text+0x1d0060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_269setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139869:(.text+0x1d01fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139907:(.text+0x1d022e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1d0244): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_269setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139888:(.text+0x1d0278): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139889:(.text+0x1d028e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139869:(.text+0x1d02a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139893:(.text+0x1d02bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1d02f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d0314): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1d039e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1d03b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139114:(.text+0x1d0404): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139154:(.text+0x1d0432): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1d0446): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139129:(.text+0x1d0474): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d04c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139151:(.text+0x1d0528): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1d0646): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139124:(.text+0x1d0752): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1d0866): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1d087a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_256setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139201:(.text+0x1d088c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d08b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1d09d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d09e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d09ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d0a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412168:(.text+0x1d0a48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453436:(.text+0x1d0a64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412198:(.text+0x1d0a98): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412274:(.text+0x1d0abc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d0aee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412283:(.text+0x1d0afa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d0b0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412245:(.text+0x1d0bf6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d0c02): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412251:(.text+0x1d0c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d0c54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464113:(.text+0x1d0c88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464122:(.text+0x1d0c96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412113:(.text+0x1d0cbc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412123:(.text+0x1d0cce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412136:(.text+0x1d0d18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412151:(.text+0x1d0d3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1d0d60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464047:(.text+0x1d0d80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d0de6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d0df0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412309:(.text+0x1d0e04): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d0e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d0e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412118:(.text+0x1d0e7a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412118:(.text+0x1d0e86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d0ea0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d0ec0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464109:(.text+0x1d0ed2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464108:(.text+0x1d0f00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464113:(.text+0x1d0f20): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464122:(.text+0x1d0f2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412152:(.text+0x1d0f44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d0f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d0fc8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412285:(.text+0x1d0fde): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ImportFrom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446964:(.text+0x1d1044): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d105a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x1d1068): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d10c8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d10e2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x1d10f0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412142:(.text+0x1d1188): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412142:(.text+0x1d1196): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d11b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d11bc): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d11ca): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412138:(.text+0x1d11e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d1212): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d122c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d124c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412132:(.text+0x1d1256): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412309:(.text+0x1d1268): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1d12f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x1d135a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d137e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1d140a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_261metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326985:(.text+0x1d1490): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326985:(.text+0x1d149c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_260metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327016:(.text+0x1d14c4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d14d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_261metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326937:(.text+0x1d1538): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326932:(.text+0x1d1544): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326956:(.text+0x1d156c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326956:(.text+0x1d157e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326937:(.text+0x1d15b2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326938:(.text+0x1d15ba): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326950:(.text+0x1d15de): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326937:(.text+0x1d15e6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326937:(.text+0x1d15f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326940:(.text+0x1d1602): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326944:(.text+0x1d162c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326987:(.text+0x1d16ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326988:(.text+0x1d16da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1d1702): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1d1714): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_260metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327040:(.text+0x1d173c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d17a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d17d6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d17ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d17fc): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1812): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_261metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326946:(.text+0x1d184a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326946:(.text+0x1d1860): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1d1894): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1d18b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d18da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_265metricIntersection3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327269:(.text+0x1d18fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327273:(.text+0x1d1920): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327275:(.text+0x1d1944): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_264metricIntersection3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327306:(.text+0x1d1974): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_265metricIntersection3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327288:(.text+0x1d19a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327215:(.text+0x1d19be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327215:(.text+0x1d19d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327246:(.text+0x1d1a18): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327251:(.text+0x1d1a2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327265:(.text+0x1d1a40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327227:(.text+0x1d1a5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327227:(.text+0x1d1a8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327230:(.text+0x1d1aaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327222:(.text+0x1d1b04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327222:(.text+0x1d1b10): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327228:(.text+0x1d1b22): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327275:(.text+0x1d1b2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327275:(.text+0x1d1b38): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327276:(.text+0x1d1b4a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327276:(.text+0x1d1b54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327277:(.text+0x1d1b60): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327277:(.text+0x1d1b72): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1c56): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1c84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1c9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1cc8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1cde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327236:(.text+0x1d1d0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1d1daa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40111:(.text+0x1d1e20): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1d1e5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40250:(.text+0x1d1e7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40313:(.text+0x1d1eaa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40323:(.text+0x1d1ece): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d1f6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d1f7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450704:(.text+0x1d1fa8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450708:(.text+0x1d1fba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40391:(.text+0x1d202a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40391:(.text+0x1d2036): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40391:(.text+0x1d205a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40393:(.text+0x1d206c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40418:(.text+0x1d20c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40420:(.text+0x1d20ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40422:(.text+0x1d20fc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40422:(.text+0x1d210e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d2130): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d2138): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450700:(.text+0x1d215c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450702:(.text+0x1d216e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450706:(.text+0x1d21d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450706:(.text+0x1d21e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40427:(.text+0x1d2212): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40427:(.text+0x1d2224): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40440:(.text+0x1d2298): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40440:(.text+0x1d22ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40440:(.text+0x1d22be): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1d22d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1d22e4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d22fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40272:(.text+0x1d230a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40287:(.text+0x1d2320): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40226:(.text+0x1d2370): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d23b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40480:(.text+0x1d23f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40480:(.text+0x1d243c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1d248c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d24bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1d24d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1d24f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40510:(.text+0x1d250a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40519:(.text+0x1d254a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1d255c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1d2590): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1d259c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d25ae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d25ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d25c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1d25d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d25e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d25f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d2602): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d260e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d261a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1d262c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d2642): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d26a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40573:(.text+0x1d26b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40576:(.text+0x1d26c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40576:(.text+0x1d26ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450705:(.text+0x1d27b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1d27de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1d27f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40202:(.text+0x1d2820): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d2834): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d2862): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d2876): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x1d28a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40173:(.text+0x1d2994): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d29c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d2ca0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d2da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40392:(.text+0x1d2db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40418:(.text+0x1d2dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40420:(.text+0x1d2df6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d2e02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40516:(.text+0x1d2e74): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40522:(.text+0x1d2e98): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40522:(.text+0x1d2eb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40440:(.text+0x1d2ecc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40525:(.text+0x1d2eee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1d2f08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1d2f22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40442: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1d2f8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40172:(.text+0x1d2f9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40327:(.text+0x1d30fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40327:(.text+0x1d310e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40964:(.text+0x1d3126): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40964:(.text+0x1d3150): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40964:(.text+0x1d315c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40964: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22563:(.text+0x1d323c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x1d3252): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41065:(.text+0x1d3280): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41114:(.text+0x1d32a8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41117:(.text+0x1d32b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41125:(.text+0x1d32ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41185:(.text+0x1d3314): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.11/cpython/bytesobject.h:37:(.text+0x1d3332): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41187:(.text+0x1d3344): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450708:(.text+0x1d33b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41192:(.text+0x1d341c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41224:(.text+0x1d3514): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450700:(.text+0x1d3542): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450700:(.text+0x1d355c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450708:(.text+0x1d358a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450712:(.text+0x1d35a4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450706:(.text+0x1d35bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41228:(.text+0x1d3610): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41230:(.text+0x1d363c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41230:(.text+0x1d364a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41241:(.text+0x1d3678): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1d36d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d36f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41088:(.text+0x1d3720): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41101:(.text+0x1d3740): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41102:(.text+0x1d374e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41039:(.text+0x1d377c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1d37cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41281:(.text+0x1d37d6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41281:(.text+0x1d37fc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41281:(.text+0x1d3822): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1d3842): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1d384c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1d3856): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41320:(.text+0x1d3944): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1d3972): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d3c50): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40984:(.text+0x1d3d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41039:(.text+0x1d3d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x1d3d6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41051:(.text+0x1d3da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d3db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41154:(.text+0x1d3e24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41119:(.text+0x1d3e48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41120:(.text+0x1d3e60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41100:(.text+0x1d3e7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41183:(.text+0x1d3e9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d3eb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41128:(.text+0x1d3ed2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d3f3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d3f4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d40aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d40be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d40d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d4100): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41281:(.text+0x1d410c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41221:(.text+0x1d41ec): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d4202): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41311:(.text+0x1d4230): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41316:(.text+0x1d4258): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41316:(.text+0x1d4264): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41228:(.text+0x1d427e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41241:(.text+0x1d42c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1d42e2): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41326:(.text+0x1d42f4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1d4364): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d43cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41124:(.text+0x1d44c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41128:(.text+0x1d44f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41128:(.text+0x1d450c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328862:(.text+0x1d453a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328905:(.text+0x1d4554): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d456c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328924:(.text+0x1d45c0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328927:(.text+0x1d45ec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328928:(.text+0x1d45fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1d4628): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328866:(.text+0x1d4688): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328878:(.text+0x1d46a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328897:(.text+0x1d46d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328916:(.text+0x1d46f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328873:(.text+0x1d46fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328891:(.text+0x1d472c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328885:(.text+0x1d477c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328885:(.text+0x1d4786): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328873:(.text+0x1d47ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328926:(.text+0x1d47d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328924:(.text+0x1d47f2): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328927:(.text+0x1d47fc): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328927:(.text+0x1d4806): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d48f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d491e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328887:(.text+0x1d499e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328708:(.text+0x1d49d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328781:(.text+0x1d4a5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328785:(.text+0x1d4a8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328787:(.text+0x1d4aa6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_288globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328816:(.text+0x1d4ac0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d4ada): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1d4b10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328725:(.text+0x1d4b2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328732:(.text+0x1d4b40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328738:(.text+0x1d4b58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328744:(.text+0x1d4c2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328783:(.text+0x1d4c9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328787:(.text+0x1d4cca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328788:(.text+0x1d4ce2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d4d10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_288globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328830:(.text+0x1d4d28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328762:(.text+0x1d4d56): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328762:(.text+0x1d4d6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d4d9c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328752:(.text+0x1d4df8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69482:(.text+0x1d4ede): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69560:(.text+0x1d4f42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d4f66): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x1d4faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d501c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d50dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1d510c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1d5126): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69744:(.text+0x1d5144): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d5174): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d518c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d51ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69781:(.text+0x1d51c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69784:(.text+0x1d51ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69768:(.text+0x1d5262): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d5290): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d52a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d52d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d52e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d5310): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d537e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d53aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x1d541e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1d5434): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1d544c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69482:(.text+0x1d546c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69537:(.text+0x1d54be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69581:(.text+0x1d54da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69586:(.text+0x1d54fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69554:(.text+0x1d553a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69615:(.text+0x1d5586): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69565:(.text+0x1d55b6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1d55f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1d5614): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1d561e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69637:(.text+0x1d5630): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69643:(.text+0x1d5652): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69649:(.text+0x1d5666): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69649:(.text+0x1d5672): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69683:(.text+0x1d56cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69689:(.text+0x1d56fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69691:(.text+0x1d5712): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69691:(.text+0x1d571c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d5730): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1d578a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x1d5794): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1d57a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1d57b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1d57c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1d57e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d57fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d5806): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d581a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d58a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x1d58d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1d5948): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69584:(.text+0x1d595e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69588:(.text+0x1d598e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69652:(.text+0x1d59e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1d59fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1d5a1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x1d5a5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69698:(.text+0x1d5aaa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1d5ada): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69590:(.text+0x1d5b04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1d5b32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69560:(.text+0x1d5b52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69560:(.text+0x1d5b5c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69560:(.text+0x1d5b6e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69666:(.text+0x1d5b96): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69669:(.text+0x1d5baa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69669:(.text+0x1d5bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423225:(.text+0x1d5c12): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423236:(.text+0x1d5c40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d5c5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1d5c64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401860:(.text+0x1d5c78): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d5cd2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401915:(.text+0x1d5cdc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401917:(.text+0x1d5cee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401917:(.text+0x1d5cfa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423233:(.text+0x1d5d0e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1d5d28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450970:(.text+0x1d5d44): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450970:(.text+0x1d5d4e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401907:(.text+0x1d5d62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402215:(.text+0x1d5dee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450977:(.text+0x1d5e1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401960:(.text+0x1d5ea8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401989:(.text+0x1d5ebe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402167:(.text+0x1d5ede): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0x1d5f32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401864:(.text+0x1d5f48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401881:(.text+0x1d5f6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1d5fae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d5fbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401893:(.text+0x1d6008): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1d6038): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401908:(.text+0x1d605e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402229:(.text+0x1d608a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402229:(.text+0x1d609e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402229:(.text+0x1d60a8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401888:(.text+0x1d60ba): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401877:(.text+0x1d60e4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1d60f8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6154): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401883:(.text+0x1d6182): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1d6198): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451068:(.text+0x1d61a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423245:(.text+0x1d61b6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172018:(.text+0x1d620e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172033:(.text+0x1d6218): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172032:(.text+0x1d622a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172035:(.text+0x1d6244): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172086:(.text+0x1d6258): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6264): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d629a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172108:(.text+0x1d62a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172108:(.text+0x1d62b8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1d6332): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_194setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172149:(.text+0x1d6360): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172052:(.text+0x1d63d8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172059:(.text+0x1d63e6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172098:(.text+0x1d641c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172072:(.text+0x1d64a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172079:(.text+0x1d64d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172083:(.text+0x1d64f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172083:(.text+0x1d650a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6528): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172067:(.text+0x1d655e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6574): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d658a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172061:(.text+0x1d65a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6652): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6666): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1d66f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_216setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173723:(.text+0x1d6726): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173723:(.text+0x1d673e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_217setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173621:(.text+0x1d676c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173627:(.text+0x1d6784): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173633:(.text+0x1d67b2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173675:(.text+0x1d67f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173629:(.text+0x1d6820): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173651:(.text+0x1d6880): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173657:(.text+0x1d68b4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173657:(.text+0x1d68dc): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6900): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_203setValuesBlockedIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172579:(.text+0x1d6996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d69fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_202setValuesBlockedIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172707:(.text+0x1d6a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_203setValuesBlockedIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172678:(.text+0x1d6a92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172600:(.text+0x1d6b1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172608:(.text+0x1d6b28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172608:(.text+0x1d6b34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172613:(.text+0x1d6b3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172613:(.text+0x1d6b46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172614:(.text+0x1d6b54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172614:(.text+0x1d6b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172613:(.text+0x1d6b68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1d6c12): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_203setValuesBlockedIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172633:(.text+0x1d6c34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172639:(.text+0x1d6c66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172640:(.text+0x1d6c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172644:(.text+0x1d6c78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172644:(.text+0x1d6c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172644:(.text+0x1d6c8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172644:(.text+0x1d6c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172644:(.text+0x1d6ca4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172644:(.text+0x1d6cac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6cba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6d22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_203setValuesBlockedIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172622:(.text+0x1d6d32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172622:(.text+0x1d6d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172678:(.text+0x1d6d58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174153:(.text+0x1d6d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174168:(.text+0x1d6d7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1d6d82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x1d6d90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174167:(.text+0x1d6d98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174153:(.text+0x1d6da6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1d6dae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174221:(.text+0x1d6dbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6de4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6dfe): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174243:(.text+0x1d6e0c): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174252:(.text+0x1d6e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174221:(.text+0x1d6e86): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174173:(.text+0x1d6eae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_224setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174284:(.text+0x1d6ec2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174284:(.text+0x1d6edc): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174174:(.text+0x1d6eea): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174194:(.text+0x1d6f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174200:(.text+0x1d6f7a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174187:(.text+0x1d6fa2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1d6fda): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174207:(.text+0x1d7008): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d708c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d70a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d70d6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d70ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174252:(.text+0x1d7128): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34232:(.text+0x1d713c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34232:(.text+0x1d7146): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34253:(.text+0x1d716e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34258:(.text+0x1d7182): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34298:(.text+0x1d71a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34371:(.text+0x1d71d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1d71e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34395:(.text+0x1d7204): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34440:(.text+0x1d7230): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34450:(.text+0x1d7244): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d7260): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34605:(.text+0x1d7270): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34587:(.text+0x1d7288): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d72a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d72c6): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d72d0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34631:(.text+0x1d72da): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34640:(.text+0x1d72e4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34640:(.text+0x1d72ee): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34640:(.text+0x1d72f8): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d7302): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d730c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34663:(.text+0x1d7318): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34663:(.text+0x1d745a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34452:(.text+0x1d7486): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34998:(.text+0x1d74da): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d753a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34924:(.text+0x1d7554): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34924:(.text+0x1d757e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34422:(.text+0x1d75c6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d75fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7634): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d764a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d770c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34961:(.text+0x1d7738): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34467:(.text+0x1d7790): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d7802): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d7838): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1d78ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34687:(.text+0x1d78be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34687:(.text+0x1d78d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34703:(.text+0x1d78f0): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d7930): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34709:(.text+0x1d7946): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1d7978): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34759:(.text+0x1d79b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34764:(.text+0x1d7a12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1d7a78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d7a8e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34739:(.text+0x1d7ab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35029:(.text+0x1d7abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d7ae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1d7b20): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1d7b32): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34799:(.text+0x1d7b48): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34821:(.text+0x1d7bc0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1d7c36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d7c5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d7c8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34884:(.text+0x1d7c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d7dc4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34482:(.text+0x1d7e0a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34455:(.text+0x1d7e86): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34550:(.text+0x1d7e9c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d7ed6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d7ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d7f28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d7f46): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34415:(.text+0x1d8074): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34759:(.text+0x1d80ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d8128): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34762:(.text+0x1d813e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1d817a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1d8182): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34879:(.text+0x1d818e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34818:(.text+0x1d8198): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34520:(.text+0x1d8264): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34523:(.text+0x1d827c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34263:(.text+0x1d828c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35043:(.text+0x1d8298): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34522:(.text+0x1d82a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34394: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34515:(.text+0x1d82e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34398:(.text+0x1d82f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34398:(.text+0x1d8300): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34492:(.text+0x1d8314): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34492:(.text+0x1d8324): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34492:(.text+0x1d8330): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34495: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_61setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159680:(.text+0x1d8424): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159645:(.text+0x1d8460): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159658:(.text+0x1d84e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159658:(.text+0x1d84f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158749:(.text+0x1d8566): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158748:(.text+0x1d857e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158809:(.text+0x1d85c8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_50createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158865:(.text+0x1d85e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35082:(.text+0x1d8624): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35113:(.text+0x1d86ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35146:(.text+0x1d86b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35146:(.text+0x1d86c2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_50createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158884:(.text+0x1d86d4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158773:(.text+0x1d8710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1d8720): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1d8746): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158756:(.text+0x1d87a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158756:(.text+0x1d87aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158756:(.text+0x1d87ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_50createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158865:(.text+0x1d87c4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d87d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158770:(.text+0x1d8806): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158771:(.text+0x1d8814): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158785:(.text+0x1d8858): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158791:(.text+0x1d8874): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158801:(.text+0x1d889e): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158801:(.text+0x1d88a8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158801:(.text+0x1d88ba): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158770:(.text+0x1d88dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158819:(.text+0x1d88ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35082:(.text+0x1d8904): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158778:(.text+0x1d8910): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158779:(.text+0x1d8926): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158779:(.text+0x1d8930): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158837:(.text+0x1d8942): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_57createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159324:(.text+0x1d8964): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159309:(.text+0x1d8970): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159326:(.text+0x1d8986): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159379:(.text+0x1d89b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_56createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159440:(.text+0x1d89d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159440:(.text+0x1d89e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159440:(.text+0x1d89ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0x1d89f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_57createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159412:(.text+0x1d8a3c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159382:(.text+0x1d8a92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35113:(.text+0x1d8aae): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_57createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159345:(.text+0x1d8afc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1d8b3a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_57createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159401:(.text+0x1d8b70): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159403:(.text+0x1d8b7e): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159331:(.text+0x1d8ba4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_56createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159440:(.text+0x1d8bc2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_57createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159358:(.text+0x1d8c38): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73757:(.text+0x1d8d90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73778:(.text+0x1d8dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73778:(.text+0x1d8db6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1d8dc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1d8dde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1d8df8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73793:(.text+0x1d8e0c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d8ef6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0x1d8f20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d8f2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447960:(.text+0x1d8f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447960:(.text+0x1d8f44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x1d8f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:772: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12244:(.text+0x1d8fd6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73919:(.text+0x1d8fec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73921:(.text+0x1d900c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73924:(.text+0x1d9062): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d906e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1d908a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73934:(.text+0x1d90bc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d90c8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d90d8): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73940:(.text+0x1d90e6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d90f4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74211:(.text+0x1d9192): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d91e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74223:(.text+0x1d9210): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74223:(.text+0x1d921e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d9246): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73888:(.text+0x1d9276): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1d9284): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d92ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x1d92fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0x1d930a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d931c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74052:(.text+0x1d9368): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d937c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74059:(.text+0x1d93a8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d93bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74075:(.text+0x1d93e4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74079:(.text+0x1d940c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74081:(.text+0x1d9418): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1d942c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74088:(.text+0x1d943a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74090:(.text+0x1d944c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1d9472): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1d947e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1d9494): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74119:(.text+0x1d94b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74035:(.text+0x1d94c0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73787:(.text+0x1d94ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d953c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d9558): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d9562): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d958a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d95ba): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d95c4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d95d2): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d95e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d95f0): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73791:(.text+0x1d95fa): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1d9604): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73999:(.text+0x1d9706): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73999:(.text+0x1d9712): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d9720): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1d977e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d9792): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74120:(.text+0x1d9828): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d9858): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d987c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d98a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d98b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1d98c2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.11/cpython/listobject.h:46:(.text+0x1d98e4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74034:(.text+0x1d9946): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74117:(.text+0x1d9950): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d9964): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d998c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d9996): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d99aa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d99b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73937:(.text+0x1d99c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1d9a00): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d9a0e): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73978:(.text+0x1d9a2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73978:(.text+0x1d9a36): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1d9a48): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73921:(.text+0x1d9a54): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74119:(.text+0x1d9a68): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73728:(.text+0x1d9a74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73726:(.text+0x1d9a9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1d9aa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73727:(.text+0x1d9aba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447961:(.text+0x1d9af8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74105:(.text+0x1d9b3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74109:(.text+0x1d9b7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74149:(.text+0x1d9bc0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d9be2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d9c4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1d9c66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74096:(.text+0x1d9c82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447963:(.text+0x1d9cd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73868:(.text+0x1d9d02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1d9d3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1d9dbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74016:(.text+0x1d9dfe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1d9e54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73940:(.text+0x1d9e9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447964:(.text+0x1d9ebc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1d9f24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74044:(.text+0x1d9f3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1d9f5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74046:(.text+0x1d9fb2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74134:(.text+0x1d9fda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1da02e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73942:(.text+0x1da0aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74081:(.text+0x1da0ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445718:(.text+0x1da12c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1da172): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1da194): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1da1fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74109:(.text+0x1da218): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74110:(.text+0x1da234): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1da28a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_1getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73637:(.text+0x1da2b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73652:(.text+0x1da2ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1da376): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1da3d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_1getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73690:(.text+0x1da3f6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73661:(.text+0x1da48a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39496:(.text+0x1da57c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39496:(.text+0x1da596): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39496:(.text+0x1da5ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39536:(.text+0x1da5bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39540:(.text+0x1da5d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1da5f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39548:(.text+0x1da606): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1da628): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1da64e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39655:(.text+0x1da6b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39836:(.text+0x1da6e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39840:(.text+0x1da6fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1da72a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39886:(.text+0x1da778): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscMemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454918:(.text+0x1da7d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39913:(.text+0x1da7f8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39922:(.text+0x1da88c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1da97e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1da998): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455004:(.text+0x1da9b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39997:(.text+0x1da9be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1da9d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1da9f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40012:(.text+0x1daa08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40024:(.text+0x1daa2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1daa50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1daaba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40068:(.text+0x1daaea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1daafe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dab2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscStrstr': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:406:(.text+0x1dab7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dabd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dabfa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dacac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39536:(.text+0x1dada2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1dadbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dadd4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dade2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40056:(.text+0x1dadfa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dae16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dae2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dae50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dae76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40051:(.text+0x1daefa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1daf2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39567:(.text+0x1daf3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1daf6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39585:(.text+0x1dafba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39595:(.text+0x1db016): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39600:(.text+0x1db03a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1db0ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1db1c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1db1da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39866:(.text+0x1db1f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39866:(.text+0x1db200): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39867:(.text+0x1db218): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39871:(.text+0x1db234): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39875:(.text+0x1db24a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40052:(.text+0x1db26c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40051:(.text+0x1db292): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39510:(.text+0x1db2fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1db32c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1db340): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40050:(.text+0x1db36e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39842:(.text+0x1db3bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39594:(.text+0x1db418): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40051:(.text+0x1db43c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1db4d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39737:(.text+0x1db5c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40050:(.text+0x1db5dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1db5f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1db602): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1db61a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1db636): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40052:(.text+0x1db64c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39739:(.text+0x1db66e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39504:(.text+0x1db694): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40051:(.text+0x1db6fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40051:(.text+0x1db72e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40024:(.text+0x1db742): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39600:(.text+0x1db770): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39867:(.text+0x1db7b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1db7ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1db81a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39946:(.text+0x1db850): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1db85c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40068:(.text+0x1db888): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39836:(.text+0x1db8a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39842:(.text+0x1db8e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `MatGetCurrentMemType': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:273:(.text+0x1db900): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1db986): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1db99e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39510:(.text+0x1db9b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_457__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193055:(.text+0x1db9b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193095:(.text+0x1db9f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193097:(.text+0x1dba1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193111:(.text+0x1dba4c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193164:(.text+0x1dba98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193168:(.text+0x1dbab6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193178:(.text+0x1dbac2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1dbad4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dbadc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dbb24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dbb56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193166:(.text+0x1dbb62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dbb74): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193101:(.text+0x1dbbb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193103:(.text+0x1dbbc0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193178:(.text+0x1dbbd2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dbbec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193207:(.text+0x1dbbfe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dbc10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dbc4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_457__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193060:(.text+0x1dbc54): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193061:(.text+0x1dbc66): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193138:(.text+0x1dbca8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dbcde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193143:(.text+0x1dbd0e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193167:(.text+0x1dbd44): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193178:(.text+0x1dbd50): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193114:(.text+0x1dbd7c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1dbd96): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dbdd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dbdf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dbe7a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dbe92): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dbea4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dbeac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dbee4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dbf12): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1dbf40): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193107:(.text+0x1dbf8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193107:(.text+0x1dbfaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193107:(.text+0x1dbfb6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193113:(.text+0x1dbfc8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193113:(.text+0x1dbfd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250355:(.text+0x1dc018): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250368:(.text+0x1dc04a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250369:(.text+0x1dc056): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1dc068): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250438:(.text+0x1dc0aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1dc0b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1dc0c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_54computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250486:(.text+0x1dc0e0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250509:(.text+0x1dc0f2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250520:(.text+0x1dc104): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1dc13e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc148): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1dc15a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250437:(.text+0x1dc208): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1dc240): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250385:(.text+0x1dc2a2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250425:(.text+0x1dc2b8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250388:(.text+0x1dc31e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250380:(.text+0x1dc374): undefined reference to `PyNumber_Negative' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250409:(.text+0x1dc386): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250405:(.text+0x1dc3c2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1dc41a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc430): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc4a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250394:(.text+0x1dc4ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250555:(.text+0x1dc500): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1dc612): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250619:(.text+0x1dc658): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250623:(.text+0x1dc6ac): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250624:(.text+0x1dc6c2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250572:(.text+0x1dc788): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250573:(.text+0x1dc794): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250585:(.text+0x1dc7a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250585:(.text+0x1dc7ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250572:(.text+0x1dc7b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250575: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250597:(.text+0x1dc88c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1dc8dc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc958): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250581:(.text+0x1dc964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250635:(.text+0x1dc970): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167324:(.text+0x1dc97c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167324:(.text+0x1dc988): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167367:(.text+0x1dc9cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dc9da): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dca0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dca1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dca26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dca32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167368:(.text+0x1dca3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167387:(.text+0x1dca4a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32687:(.text+0x1dca76): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32701:(.text+0x1dca84): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167397:(.text+0x1dcb04): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dcb42): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dcb52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167381:(.text+0x1dcb5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167383:(.text+0x1dcb6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167383:(.text+0x1dcb7a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455053:(.text+0x1dcba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dcbb0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1dcbd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1dcbe2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674:(.text+0x1dcbec): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_140copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167549:(.text+0x1dcbfe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167549:(.text+0x1dcc08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1dcc12): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167341:(.text+0x1dcc24): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167387:(.text+0x1dcc72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167387:(.text+0x1dcc7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dcc8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455049:(.text+0x1dcc96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674:(.text+0x1dcca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167387:(.text+0x1dccd4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32687:(.text+0x1dcce8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167344:(.text+0x1dccf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167344:(.text+0x1dcd00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167349:(.text+0x1dcd0a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dcd32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1dcd3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dcd48): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455210:(.text+0x1dcd76): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1dcdd4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x1dce16): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dce58): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_140copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167470:(.text+0x1dce7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1dce86): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1dce98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1dcec8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674:(.text+0x1dceee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674:(.text+0x1dcf18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x1dcf22): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x1dcf48): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167360:(.text+0x1dcf74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167364:(.text+0x1dcf7e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167364:(.text+0x1dcf88): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167364:(.text+0x1dcf92): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455210:(.text+0x1dd0c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455212:(.text+0x1dd136): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148995:(.text+0x1dd190): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dd1b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149055:(.text+0x1dd1f4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149122:(.text+0x1dd28a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149143:(.text+0x1dd29a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x1dd2ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dd2c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149153:(.text+0x1dd2ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149072:(.text+0x1dd2e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149072:(.text+0x1dd2f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1dd300): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148999:(.text+0x1dd316): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148999:(.text+0x1dd322): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149060:(.text+0x1dd33a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149060:(.text+0x1dd346): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149062:(.text+0x1dd35e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149014:(.text+0x1dd3f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149014:(.text+0x1dd3fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149024:(.text+0x1dd43c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149024:(.text+0x1dd454): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149012:(.text+0x1dd4a4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149057:(.text+0x1dd4e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149061:(.text+0x1dd4f4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1dd506): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1dd51c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149177:(.text+0x1dd546): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149036:(.text+0x1dd554): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149036:(.text+0x1dd562): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dd598): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dd5ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1dd6e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77488:(.text+0x1dd716): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77497:(.text+0x1dd738): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77474:(.text+0x1dd756): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dd760): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1dd772): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1dd77e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1dd792): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77582:(.text+0x1dd7dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457591:(.text+0x1dd7e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457650:(.text+0x1dd7fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447398:(.text+0x1dd83c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscLogEventFindId': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:96:(.text+0x1dd86c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83802:(.text+0x1dd8d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83815:(.text+0x1dd8de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dd8e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dd8fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dd908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dd914): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1dd91e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x1dd932): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dd966): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457653:(.text+0x1dd974): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457657:(.text+0x1dd980): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457657:(.text+0x1dd98a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457754:(.text+0x1dd99e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dd9de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77481:(.text+0x1dda40): undefined reference to `PyObject_IsInstance' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1dda70): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1dda88): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x1ddab0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77452:(.text+0x1ddb20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscLogEventFindId': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:98:(.text+0x1ddb4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:98:(.text+0x1ddb60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77632:(.text+0x1ddb76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77641:(.text+0x1ddb8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77659:(.text+0x1ddb96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1ddbd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83737:(.text+0x1ddc2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1ddc94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1ddc9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1ddcf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457650:(.text+0x1ddd0a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457650:(.text+0x1ddd1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ddd3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77584:(.text+0x1ddd42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457652:(.text+0x1ddd4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ddd54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ddd5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457657:(.text+0x1ddd6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457666:(.text+0x1dddc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dddf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77659:(.text+0x1dde04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77452:(.text+0x1dde10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77458:(.text+0x1dde20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x1dde8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x1dde96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77688:(.text+0x1ddea0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ddea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77470:(.text+0x1ddeb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77470:(.text+0x1ddecc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x1ddef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x1ddf00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x1ddf0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x1ddf16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x1ddf36): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x1ddf44): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457711:(.text+0x1ddf82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83739:(.text+0x1ddf98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1ddfb4): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ddfc2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x1de00a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1de020): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457749:(.text+0x1de058): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1de066): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x1de0cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1de0e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1de0fc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1de126): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1de13a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1de168): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_81createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162308:(.text+0x1de184): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162308:(.text+0x1de18e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162321:(.text+0x1de1b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1de1c0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1de1d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1de1de): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1de206): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_81createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162381:(.text+0x1de212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162367:(.text+0x1de238): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162385:(.text+0x1de24a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162385:(.text+0x1de256): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162385:(.text+0x1de268): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_80createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162513:(.text+0x1de2c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1de330): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_81createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162332:(.text+0x1de3c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162386:(.text+0x1de51c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_80createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162547:(.text+0x1de548): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1de5d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_81createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162352:(.text+0x1de60a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162346:(.text+0x1de652): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162346:(.text+0x1de668): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184278:(.text+0x1de73c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184280:(.text+0x1de748): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184263:(.text+0x1de754): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1de7a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_344matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184328:(.text+0x1de836): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1de83e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_344matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184348:(.text+0x1de84a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1de85e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_344matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184319:(.text+0x1de866): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184218:(.text+0x1de872): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184218:(.text+0x1de88a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184282:(.text+0x1de892): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184282:(.text+0x1de89e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184283:(.text+0x1de8b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184283:(.text+0x1de8c2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184284:(.text+0x1de8cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184284:(.text+0x1de8da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1de8e8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184249:(.text+0x1de960): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184271:(.text+0x1de972): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184230:(.text+0x1de9ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184233:(.text+0x1de9ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1dea18): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184255:(.text+0x1dea60): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184245:(.text+0x1deae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184250:(.text+0x1deaee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184251:(.text+0x1deafa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_344matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184348:(.text+0x1deb06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184348:(.text+0x1deb10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1deb32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184239:(.text+0x1deb4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159118:(.text+0x1deb6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1deb9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_54createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159257:(.text+0x1dec2c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159291:(.text+0x1decda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159156:(.text+0x1decf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1ded12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1ded32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ded56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159210:(.text+0x1ded7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1ded96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159140:(.text+0x1dede2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159148:(.text+0x1dee26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159153:(.text+0x1dee70): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159160:(.text+0x1dee88): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159168:(.text+0x1deea6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1def46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1def76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159162:(.text+0x1def8a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159162:(.text+0x1def94): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35082:(.text+0x1df06e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_53createBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159028:(.text+0x1df09a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158965:(.text+0x1df124): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1df15c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_53createBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159019:(.text+0x1df1a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1df1ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_53createBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158975:(.text+0x1df270): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158976:(.text+0x1df2ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125862:(.text+0x1df4d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125865:(.text+0x1df4e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125863:(.text+0x1df4f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1df504): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1df522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1df542): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454792:(.text+0x1df566): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125729:(.text+0x1df5fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1df62c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125992:(.text+0x1df698): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125992:(.text+0x1df6b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126071:(.text+0x1df6d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1df6ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126091:(.text+0x1df71e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1df770): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1df77e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1df8bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1df8e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1df8f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458841:(.text+0x1df91a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126261:(.text+0x1df998): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1dfa36): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dfa44): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1dfad6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1dfae2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454795:(.text+0x1dfb28): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454799:(.text+0x1dfb34): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dfb62): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x1dfb74): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126316:(.text+0x1dfbcc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126605:(.text+0x1dfbd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dfc00): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dfc12): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454853:(.text+0x1dfc68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125781:(.text+0x1dfcb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dfcbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126296:(.text+0x1dfcec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x1dfcfe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126340:(.text+0x1dfd4e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dfd60): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dfd68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126343:(.text+0x1dfd74): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464691:(.text+0x1dfd9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1dfdaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dfde2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447082:(.text+0x1dfdfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454792:(.text+0x1dfe2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126605:(.text+0x1dfe52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1dfe84): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dfe9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dfeaa): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dfec0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dfed0): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1dfee6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1dff46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464733:(.text+0x1dff6a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1dff80): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1dffe2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126041:(.text+0x1e000a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e002c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1e0054): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126170:(.text+0x1e0076): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126170:(.text+0x1e00a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125743:(.text+0x1e00d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126002:(.text+0x1e00fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126002:(.text+0x1e0114): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125734:(.text+0x1e0150): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458887:(.text+0x1e0162): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459000:(.text+0x1e0186): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125695:(.text+0x1e01aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125780:(.text+0x1e01ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126190:(.text+0x1e01ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e0258): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126129:(.text+0x1e0264): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126129:(.text+0x1e0276): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e0280): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464699:(.text+0x1e028c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1e029e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126081:(.text+0x1e02a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126081:(.text+0x1e02b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e02c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1e02d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126151:(.text+0x1e02dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126151:(.text+0x1e02ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126395:(.text+0x1e0402): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e0430): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126606:(.text+0x1e04da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458843:(.text+0x1e052e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125935:(.text+0x1e05be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125695:(.text+0x1e05d0): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125698:(.text+0x1e05e2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125780:(.text+0x1e05ea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125992:(.text+0x1e0612): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125855:(.text+0x1e0650): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125870:(.text+0x1e0664): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e0690): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126230:(.text+0x1e06f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126259:(.text+0x1e0748): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126259:(.text+0x1e0758): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e076a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e077a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e07a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126071:(.text+0x1e07b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126264:(.text+0x1e07d4): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e0814): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125700:(.text+0x1e0848): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126318:(.text+0x1e08d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126318:(.text+0x1e08de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e08ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e0908): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e091a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1e0932): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e09a0): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e09ac): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126569:(.text+0x1e0a70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126588:(.text+0x1e0a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126578:(.text+0x1e0a94): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126588:(.text+0x1e0ab8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126393:(.text+0x1e0b12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126605:(.text+0x1e0b1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e0b70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126606:(.text+0x1e0baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126397:(.text+0x1e0bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126399: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464732:(.text+0x1e0c12): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e0c34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e0c42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1e0c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125734:(.text+0x1e0c82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464696:(.text+0x1e0c9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126404:(.text+0x1e0cb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459004:(.text+0x1e0cd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126608:(.text+0x1e0cf0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e0d06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e0d36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125894:(.text+0x1e0d84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e0da8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125743:(.text+0x1e0db4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126012:(.text+0x1e0dc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e0dcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125743:(.text+0x1e0dea): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e0df8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e0e78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464730:(.text+0x1e0e9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e0ef4): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e0f02): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e0f86): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126298:(.text+0x1e102a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e1038): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e1046): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126402:(.text+0x1e106e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458994:(.text+0x1e10ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126607:(.text+0x1e10e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125862:(.text+0x1e1100): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126606:(.text+0x1e1144): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125903:(.text+0x1e1158): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126376:(.text+0x1e116a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126606:(.text+0x1e117e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125868:(.text+0x1e1198): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236130:(.text+0x1e11c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236186:(.text+0x1e1200): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e121e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e1232): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236203:(.text+0x1e1252): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236212:(.text+0x1e127a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236190:(.text+0x1e128a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_112callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236238:(.text+0x1e1296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1e12ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1e12da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1e12ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:413:(.text+0x1e132e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:415:(.text+0x1e1338): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:416:(.text+0x1e1360): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1e1382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236147:(.text+0x1e13b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236178:(.text+0x1e13f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236178:(.text+0x1e140e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236194:(.text+0x1e1418): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236197:(.text+0x1e1426): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236172:(.text+0x1e1456): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236172:(.text+0x1e1460): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236172:(.text+0x1e146a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e1518): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_112callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236248:(.text+0x1e1568): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236258:(.text+0x1e159c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:416:(.text+0x1e1628): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e1640): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_112callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236297:(.text+0x1e166e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236184:(.text+0x1e16dc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e16f6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e1708): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1e17d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e17fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `SNESConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:416:(.text+0x1e186c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:413:(.text+0x1e1896): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:413:(.text+0x1e18b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:415:(.text+0x1e18ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:415:(.text+0x1e18f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:414:(.text+0x1e1910): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66319:(.text+0x1e193e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66344:(.text+0x1e1962): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66357:(.text+0x1e1986): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66376:(.text+0x1e19d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x1e19e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x1e19f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66436:(.text+0x1e1a1a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66462:(.text+0x1e1a2e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66465:(.text+0x1e1a38): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e1a66): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66527:(.text+0x1e1a78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e1aa6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1e1ab8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1e1b1e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e1ba4): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e1bb2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x1e1bf2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0x1e1c20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1e1c5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e1c74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66749:(.text+0x1e1ca4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20894:(.text+0x1e1cc8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e1d14): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e1d2e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e1d40): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e1de8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e1df4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1e1e26): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1e1e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66493:(.text+0x1e1ea4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66500:(.text+0x1e1ed4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66502:(.text+0x1e1eea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66496:(.text+0x1e1f08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e1f3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66355:(.text+0x1e1f54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66357:(.text+0x1e1f68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e1f74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66373:(.text+0x1e1f88): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e1f9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66376:(.text+0x1e1ffe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66326:(.text+0x1e2012): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66448:(.text+0x1e2040): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66527:(.text+0x1e206e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66465:(.text+0x1e2080): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1e20ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e20c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e20ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66535:(.text+0x1e2100): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66549:(.text+0x1e2164): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66552:(.text+0x1e21b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66586:(.text+0x1e21e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1e2288): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66603:(.text+0x1e22a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1e22ce): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66559:(.text+0x1e234e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66570:(.text+0x1e2368): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e237a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66325:(.text+0x1e23b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66493:(.text+0x1e2486): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1e24aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1e2524): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1e2554): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1e256e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1e25a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446985:(.text+0x1e25be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1e25d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e25ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66589:(.text+0x1e261e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1e2642): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66472:(.text+0x1e2692): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66472:(.text+0x1e269e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1e26b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e271a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66569:(.text+0x1e272e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66569:(.text+0x1e2738): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66476:(.text+0x1e2766): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338839:(.text+0x1e277a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338854:(.text+0x1e27a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338866:(.text+0x1e27bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1e285c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_12setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339069:(.text+0x1e288a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e28f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_12setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339160:(.text+0x1e2910): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339160:(.text+0x1e291c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e295c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338969:(.text+0x1e29b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338926:(.text+0x1e29e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338926:(.text+0x1e29fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e2a18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e2a32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_12setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339128:(.text+0x1e2a6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e2a80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e2a96): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e2ab2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e2bbe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338870:(.text+0x1e2bd4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_12setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339048:(.text+0x1e2c3c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339160:(.text+0x1e2c4e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338887:(.text+0x1e2ca8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338943:(.text+0x1e2cd6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338881:(.text+0x1e2cec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338900:(.text+0x1e2d1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338901:(.text+0x1e2d30): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338911:(.text+0x1e2d5e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338912:(.text+0x1e2d74): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338917:(.text+0x1e2d86): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338919:(.text+0x1e2d9c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338923:(.text+0x1e2dae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338923:(.text+0x1e2dc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_12setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339189:(.text+0x1e2df2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e2e14): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e2e20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e2e36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338895:(.text+0x1e2e4c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338895:(.text+0x1e2e58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338969:(.text+0x1e2e6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339827:(.text+0x1e2e84): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339923:(.text+0x1e2f08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340015:(.text+0x1e2f36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e2fa0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340117:(.text+0x1e2fba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340145:(.text+0x1e2fc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e3006): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340206:(.text+0x1e305e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e308e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e30a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339957:(.text+0x1e30c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339957:(.text+0x1e30dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339917:(.text+0x1e3118): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340086:(.text+0x1e312a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e3140): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340131:(.text+0x1e315c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1e3264): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e327a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339858:(.text+0x1e32e2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e32f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340166:(.text+0x1e334e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339869:(.text+0x1e337c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339869:(.text+0x1e3392): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339869:(.text+0x1e33c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339930:(.text+0x1e33d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339881:(.text+0x1e3404): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339881:(.text+0x1e341a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339888:(.text+0x1e342c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339893:(.text+0x1e3440): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339894:(.text+0x1e3452): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339899:(.text+0x1e3466): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339906:(.text+0x1e3494): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339911:(.text+0x1e34b6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339911:(.text+0x1e34c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339911:(.text+0x1e34d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340195:(.text+0x1e34ee): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340041:(.text+0x1e34fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340132:(.text+0x1e3510): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e3526): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339333:(.text+0x1e3578): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_16setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339563:(.text+0x1e3684): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e36ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e3710): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_16setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339683:(.text+0x1e3754): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339463:(.text+0x1e37e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e388c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e38bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e38d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e38ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e390c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339383:(.text+0x1e393e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e3956): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e3972): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e398e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339446:(.text+0x1e39b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_16setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339698:(.text+0x1e3a2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339654:(.text+0x1e3a58): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339365:(.text+0x1e3a6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339375:(.text+0x1e3a9a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339381:(.text+0x1e3aae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339435:(.text+0x1e3adc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339440:(.text+0x1e3af0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339387:(.text+0x1e3b1e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339401:(.text+0x1e3b66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339406:(.text+0x1e3b78): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339412:(.text+0x1e3b9c): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339417:(.text+0x1e3bc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e3c28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e3c3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e3c54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339389:(.text+0x1e3c6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339463:(.text+0x1e3c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99354:(.text+0x1e3c80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99400:(.text+0x1e3d22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99409:(.text+0x1e3d9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99409:(.text+0x1e3da2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99369:(.text+0x1e3df8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1e3e02): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1e3e14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e3e4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458333:(.text+0x1e3e52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99370:(.text+0x1e3e5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99375:(.text+0x1e3e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99383:(.text+0x1e3e6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99394:(.text+0x1e3e76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458340:(.text+0x1e3e8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_22setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99441:(.text+0x1e3e96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99375:(.text+0x1e3ea4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99375:(.text+0x1e3eac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99378:(.text+0x1e3eba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e3ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_22setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99474:(.text+0x1e3ee4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e3ef2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_22setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99442:(.text+0x1e3f06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99379:(.text+0x1e3f1e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99380:(.text+0x1e3f2c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e3f6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e3f7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_22setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99441:(.text+0x1e3f96): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99384:(.text+0x1e3fa4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_22setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99441:(.text+0x1e3ffa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458177:(.text+0x1e402e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458223:(.text+0x1e403e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e40a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1e40bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e40d4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_22setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99441:(.text+0x1e40e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1e4136): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458331:(.text+0x1e414a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e4154): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1e4170): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458330:(.text+0x1e417a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458342:(.text+0x1e41a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1e41ac): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e41c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e41ca): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e41f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e41fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368006:(.text+0x1e420a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1e4236): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12255:(.text+0x1e4250): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e4268): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1e42ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368092:(.text+0x1e42de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368094:(.text+0x1e42ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368097:(.text+0x1e42f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368104:(.text+0x1e4304): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e430e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368152:(.text+0x1e432a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1e4344): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368164:(.text+0x1e436e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368189:(.text+0x1e439c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368198:(.text+0x1e43ba): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e43c4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368062:(.text+0x1e43ce): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e43e8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e43f2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e43fe): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368062:(.text+0x1e4492): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368273:(.text+0x1e4556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1e45a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0x1e45d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368081:(.text+0x1e46c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e4704): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e4710): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x1e4740): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368012:(.text+0x1e4752): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368164:(.text+0x1e478e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368012:(.text+0x1e47a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e47d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e47ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e47f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e483e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368129:(.text+0x1e4866): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368100:(.text+0x1e489a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368420:(.text+0x1e48b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e48c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e48d4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e48fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e4916): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e4930): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e4946): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e4978): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368152:(.text+0x1e4996): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368257:(.text+0x1e49dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368297:(.text+0x1e4a9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368072:(.text+0x1e4aca): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368011:(.text+0x1e4adc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368072:(.text+0x1e4b2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_HasAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448957:(.text+0x1e4b5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e4bae): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1e4c40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0x1e4c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e4ca0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368343:(.text+0x1e4ce8): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368297:(.text+0x1e4d20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368136:(.text+0x1e4d5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368134:(.text+0x1e4d72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368304:(.text+0x1e4ea6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368104:(.text+0x1e4ed2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e4f26): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e4fba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e4fd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349669:(.text+0x1e5016): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463667:(.text+0x1e505e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_48setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349711:(.text+0x1e5094): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349640:(.text+0x1e50d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349646:(.text+0x1e50e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_48setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349699:(.text+0x1e5202): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e52c0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1e52c8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e52ec): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463784:(.text+0x1e5346): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e5350): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_27setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248535:(.text+0x1e53d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_26setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248603:(.text+0x1e54c0): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248604:(.text+0x1e54ce): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e5508): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1e558e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e5706): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x1e5762): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x1e576e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462572:(.text+0x1e577a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462570:(.text+0x1e5786): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462572:(.text+0x1e5792): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462572:(.text+0x1e579c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e57a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_27setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248584:(.text+0x1e57b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1e57c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462572:(.text+0x1e57ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e57e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462572:(.text+0x1e57f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206264:(.text+0x1e581c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206274:(.text+0x1e5832): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206264: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5868): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206304:(.text+0x1e589a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206304:(.text+0x1e58a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206304:(.text+0x1e58b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206313:(.text+0x1e58ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206313: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460493:(.text+0x1e590c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_136setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206357:(.text+0x1e59a6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206287:(.text+0x1e5a3c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460606:(.text+0x1e5a8a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_136setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206343:(.text+0x1e5aa0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460610:(.text+0x1e5aba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206291:(.text+0x1e5af2): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460601:(.text+0x1e5b88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e5bf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460600:(.text+0x1e5c68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1e5c8c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_151setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207121:(.text+0x1e5ca2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5cb4): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5cca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5cd2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_151setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207148:(.text+0x1e5cec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207159:(.text+0x1e5d10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460885:(.text+0x1e5d52): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460885:(.text+0x1e5d5e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e5d90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460845:(.text+0x1e5daa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_151setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207131:(.text+0x1e5de0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_150setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207203:(.text+0x1e5e0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x1e5e28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460885:(.text+0x1e5e6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e5e7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_151setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207133:(.text+0x1e5ea4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207133:(.text+0x1e5eb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e5eec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461002:(.text+0x1e5f10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_151setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207137:(.text+0x1e5f34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207137:(.text+0x1e5f54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460845:(.text+0x1e5f78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1e6086): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1e60ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200819:(.text+0x1e60dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6118): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6128): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6134): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200859:(.text+0x1e6148): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200861:(.text+0x1e6162): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459859:(.text+0x1e6196): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200833:(.text+0x1e6214): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200834:(.text+0x1e6228): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200840:(.text+0x1e6234): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1e6282): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1e6298): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459905:(.text+0x1e62b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200839:(.text+0x1e62dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460018:(.text+0x1e6320): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460018:(.text+0x1e6332): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e6380): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200846:(.text+0x1e63a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e640e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1e642c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459905:(.text+0x1e644e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460018:(.text+0x1e6466): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460024:(.text+0x1e647c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460022:(.text+0x1e6496): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1e64c8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e657c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257728:(.text+0x1e65b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257737:(.text+0x1e65ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462795:(.text+0x1e65de): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462845:(.text+0x1e65fc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_154setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257767:(.text+0x1e661e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e6634): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462805:(.text+0x1e6644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257714:(.text+0x1e6690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462795:(.text+0x1e66ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462799:(.text+0x1e6700): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462845:(.text+0x1e671a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257711:(.text+0x1e674e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462805:(.text+0x1e681c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e6846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1e6856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e6862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1e6872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462953: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_28pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94178:(.text+0x1e6b00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x1e6b12): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1e6b36): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457989:(.text+0x1e6b5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457989:(.text+0x1e6bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458102:(.text+0x1e6bd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e6bee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0x1e6c04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0x1e6c10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e6c1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1e6cbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458108:(.text+0x1e6d34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0x1e6d3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458108:(.text+0x1e6d92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458096:(.text+0x1e6d9c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1e6dae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1e6de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:772:(.text+0x1e6dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202008:(.text+0x1e6df6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202008:(.text+0x1e6dfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6e06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6e10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6e28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6e30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202019:(.text+0x1e6e3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202019:(.text+0x1e6e46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202019:(.text+0x1e6e54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202028:(.text+0x1e6e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460051:(.text+0x1e6e7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460055:(.text+0x1e6e8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460101:(.text+0x1e6ea0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_82setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202048:(.text+0x1e6eb8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202058:(.text+0x1e6ec6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201993:(.text+0x1e6f04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201999:(.text+0x1e6f18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202005:(.text+0x1e6f30): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_82setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202048:(.text+0x1e6f3e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460055:(.text+0x1e6f94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e6fc8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201999:(.text+0x1e6fd8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e7040): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460218:(.text+0x1e7058): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e7070): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202006:(.text+0x1e7084): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1e70d2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e70e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e70f0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x1e710c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x1e7116): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e713e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460101:(.text+0x1e7148): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460214:(.text+0x1e715c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460214:(.text+0x1e7166): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460218:(.text+0x1e718e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e719a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e71a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1e71d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1e71ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1e7204): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258623:(.text+0x1e724a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258701:(.text+0x1e727c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258701:(.text+0x1e7288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258701:(.text+0x1e7294): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258710:(.text+0x1e72a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258784:(.text+0x1e72ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e72ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258784:(.text+0x1e72e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1e730e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x1e733c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258701:(.text+0x1e735a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258704:(.text+0x1e7364): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_b': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14525:(.text+0x1e736e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e7388): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e7392): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258827:(.text+0x1e739e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258926:(.text+0x1e7436): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258735:(.text+0x1e7524): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e7550): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e75a4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e75f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258969:(.text+0x1e7610): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258980:(.text+0x1e763a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e7682): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e76b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e76f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258726:(.text+0x1e7706): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258969:(.text+0x1e77ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258645:(.text+0x1e77f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_b': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14563:(.text+0x1e784a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258892:(.text+0x1e789e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e78b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258656:(.text+0x1e78e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258662:(.text+0x1e792a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258720:(.text+0x1e795e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258668:(.text+0x1e7998): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258656:(.text+0x1e79ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258698:(.text+0x1e7a52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258698:(.text+0x1e7a5c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258969:(.text+0x1e7ac6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30510:(.text+0x1e7c0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1e7cc0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e7ce2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1e7cfa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30596:(.text+0x1e7d18): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1e7d4c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30654:(.text+0x1e7d6a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30680:(.text+0x1e7d9e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1e7dfa): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1e7e8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e7e96): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30726:(.text+0x1e7ebc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1e7ec4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30732:(.text+0x1e7eec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30734:(.text+0x1e7ef4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e7f10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1e7f18): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1e7f30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1e7f38): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1e7f4e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1e7f5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1e7f66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1e7f6e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1e7f94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e7f9c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e7fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e7fde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e7fee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e7ffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30537:(.text+0x1e8008): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e8026): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1e8248): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e826c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e8284): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30619:(.text+0x1e82a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30626:(.text+0x1e82d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30599:(.text+0x1e8308): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e8388): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e8394): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1e83a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e83c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1e83d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1e83fa): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1e8408): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30809:(.text+0x1e8432): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30761:(.text+0x1e8450): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30761:(.text+0x1e848a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e84a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1e84c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1e84ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1e850c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30810:(.text+0x1e8530): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30772: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30619:(.text+0x1e85e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1e862c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1e8634): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30622:(.text+0x1e863e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1e864e): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x1e8668): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30603:(.text+0x1e8692): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30640:(.text+0x1e86cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30476:(.text+0x1e86e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_6__iadd__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156385:(.text+0x1e8726): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_7__iadd__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156366:(.text+0x1e8734): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_6__iadd__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156402:(.text+0x1e873e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_7__iadd__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156366:(.text+0x1e8764): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_add': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32006:(.text+0x1e8778): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e8792): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_add': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32033:(.text+0x1e87ba): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32027:(.text+0x1e87d8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32027:(.text+0x1e87e2): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32027:(.text+0x1e87fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e8820): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_17__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156676:(.text+0x1e882a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_16__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156705:(.text+0x1e8832): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1e883c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1e884c): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_16__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156718:(.text+0x1e8888): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_radd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32439:(.text+0x1e88b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32439:(.text+0x1e88ce): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_16__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156743:(.text+0x1e88d8): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156761:(.text+0x1e88ee): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_17__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156685:(.text+0x1e88fe): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x1e893a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1e896e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1e8988): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1e8a3e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1e8ac6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_231setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174704:(.text+0x1e8aee): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_230setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174772:(.text+0x1e8b20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174782:(.text+0x1e8b34): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_231setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174732:(.text+0x1e8b8e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174721:(.text+0x1e8bf6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1e8c22): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1e8cae): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_230setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174799:(.text+0x1e8d0c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174799:(.text+0x1e8d98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174799:(.text+0x1e8da6): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_231setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174671:(.text+0x1e8db8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174689:(.text+0x1e8e18): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174679:(.text+0x1e8e36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174679:(.text+0x1e8e4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174683:(.text+0x1e8e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174683:(.text+0x1e8e72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174671:(.text+0x1e8e80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174677: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_231setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174715:(.text+0x1e8ec4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e8fc8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e9008): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e9018): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e9028): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174685:(.text+0x1e9040): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_235setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174972:(.text+0x1e908a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174959:(.text+0x1e909a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e90c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1e90d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_234setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175085:(.text+0x1e90e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175095: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1e91e2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e91f2): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1e9234): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_234setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175112:(.text+0x1e92d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e92e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_235setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174984:(.text+0x1e9382): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174989:(.text+0x1e93ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174992:(.text+0x1e940c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174984:(.text+0x1e9468): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175030:(.text+0x1e948a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175009:(.text+0x1e949c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_234setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175112:(.text+0x1e950e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1e9548): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1e9554): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e95b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_235setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174998:(.text+0x1e95f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174998:(.text+0x1e9602): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319642:(.text+0x1e9612): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319642:(.text+0x1e9630): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319642:(.text+0x1e9640): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319718:(.text+0x1e967c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1e968e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1e9698): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e96ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e96b6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319740:(.text+0x1e96de): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319719:(.text+0x1e96ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_142distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319801:(.text+0x1e9776): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319915:(.text+0x1e97b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e97ec): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319766:(.text+0x1e97f6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319766:(.text+0x1e9800): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319748:(.text+0x1e988a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319748:(.text+0x1e9894): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1e98e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1e9916): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319670:(.text+0x1e9982): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319745:(.text+0x1e99b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319697:(.text+0x1e9b0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319732:(.text+0x1e9b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319691:(.text+0x1e9b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319691:(.text+0x1e9b54): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319687:(.text+0x1e9b6e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319687:(.text+0x1e9b80): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1e9b9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e9c38): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_142distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319802:(.text+0x1e9c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319818:(.text+0x1e9c6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e9cc6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e9cf6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e9d0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319693:(.text+0x1e9d42): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319766:(.text+0x1e9d58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320140:(.text+0x1e9d6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320164:(.text+0x1e9d86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320140:(.text+0x1e9db4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320235:(.text+0x1e9dd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e9e1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320336:(.text+0x1e9e26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1e9e3a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1e9fe0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1e9ff8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320478:(.text+0x1ea012): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320565:(.text+0x1ea024): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1ea070): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320596:(.text+0x1ea088): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320610:(.text+0x1ea126): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320235:(.text+0x1ea13e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320730:(.text+0x1ea1b4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320742:(.text+0x1ea1c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ea1ea): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1ea1fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ea2aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ea2be): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ea2ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ea2fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ea306): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320195:(.text+0x1ea312): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320198:(.text+0x1ea31e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320198: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1ea35e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ea370): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320261:(.text+0x1ea3ac): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ea3b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ea3d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320179:(.text+0x1ea406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320768:(.text+0x1ea450): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320297:(.text+0x1ea46e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320377:(.text+0x1ea47a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320391:(.text+0x1ea492): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320415:(.text+0x1ea49c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320299:(.text+0x1ea4ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320693:(.text+0x1ea4e0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320180:(.text+0x1ea4f2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320196:(.text+0x1ea538): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320190:(.text+0x1ea546): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320208:(.text+0x1ea55c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320252:(.text+0x1ea572): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320195:(.text+0x1ea580): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320202:(.text+0x1ea598): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320250:(.text+0x1ea5b4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320253:(.text+0x1ea5c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320209:(.text+0x1ea5d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320210:(.text+0x1ea5ee): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320214:(.text+0x1ea5fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320216:(.text+0x1ea614): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320227:(.text+0x1ea642): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320227:(.text+0x1ea650): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320232:(.text+0x1ea666): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320232:(.text+0x1ea67e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320619:(.text+0x1ea6ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1ea6ce): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320532:(.text+0x1ea6dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320619:(.text+0x1ea724): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ea730): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1ea74a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320532:(.text+0x1ea772): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320532:(.text+0x1ea77e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1ea798): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ea81c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320336:(.text+0x1ea84c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x1ea8a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320581:(.text+0x1ea9ba): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320297:(.text+0x1ea9d0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320455:(.text+0x1eaa00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320596:(.text+0x1eaa22): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320596:(.text+0x1eaa32): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320742:(.text+0x1eaa50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320299:(.text+0x1eaa5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320675:(.text+0x1eaa8a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320676:(.text+0x1eaaa0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eaad4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320645:(.text+0x1eab04): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1eab26): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320455:(.text+0x1eab56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320297:(.text+0x1eab8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320283:(.text+0x1eab96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145951:(.text+0x1eaba8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145951:(.text+0x1eabb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145951:(.text+0x1eabbc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145951:(.text+0x1eabce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1eabfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146028:(.text+0x1eac12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eac32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eac4c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146052:(.text+0x1eac5e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146092:(.text+0x1eacda): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1eacf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1ead02): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146028:(.text+0x1ead14): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1ead2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1ead46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1ead54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1eaddc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1eadee): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1eadfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1eae22): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1eae34): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1eae5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1eae64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1eae78): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146191:(.text+0x1eaf38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146131:(.text+0x1eafb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1eafe0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146160:(.text+0x1eb03a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1eb14e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1eb164): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1eb194): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1eb1b6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1eb1c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x1eb1e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1eb1f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145975:(.text+0x1eb21e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145983:(.text+0x1eb234): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145983:(.text+0x1eb268): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146001:(.text+0x1eb298): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146041:(.text+0x1eb2ba): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145988:(.text+0x1eb2ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145991:(.text+0x1eb31e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145991:(.text+0x1eb32a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1eb33c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1eb346): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146014:(.text+0x1eb350): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146015:(.text+0x1eb362): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146025:(.text+0x1eb38e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146025:(.text+0x1eb3a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146025:(.text+0x1eb3c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1eb3e0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1eb3f2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146191:(.text+0x1eb46e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1eb48a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146111:(.text+0x1eb496): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1eb4a8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1eb4c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146121:(.text+0x1eb4da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146131:(.text+0x1eb4e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eb570): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eb582): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eb590): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eb5b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eb5c8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1eb5ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1eb5f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1eb60c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146327:(.text+0x1eb6cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1eb70c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1eb766): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146345:(.text+0x1eb7ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1eb824): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1eb838): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146401:(.text+0x1eb84c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x1eb854): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1eb87c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1eb8be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1eb8d2): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1eb8fe): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451524:(.text+0x1eb9e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1eb9fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1eba0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1eba20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146451:(.text+0x1eba4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1eba5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x1eba78): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146431:(.text+0x1ebab8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ebaf2): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ebb80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ebb8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ebb98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ebbb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ebbc8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ebbe0): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ebc52): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ebc5e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ebd2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146269:(.text+0x1ebd36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146271:(.text+0x1ebd40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146283:(.text+0x1ebd72): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146338:(.text+0x1ebdfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146282:(.text+0x1ebe06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146289:(.text+0x1ebe3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1ebe86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ebe96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ebefa): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146318:(.text+0x1ebf1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146319:(.text+0x1ebf2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146319:(.text+0x1ebf36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ebf78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146401:(.text+0x1ebfa8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ebfc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ebfe6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146411:(.text+0x1ec006): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ec052): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec07c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec09a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146309:(.text+0x1ec0b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec0da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec0e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146303:(.text+0x1ec0f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec0fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec11e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec12c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1ec1bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1ec1e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243019:(.text+0x1ec234): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243019:(.text+0x1ec242): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243108:(.text+0x1ec2ca): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ec374): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243256:(.text+0x1ec382): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243256:(.text+0x1ec390): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ec3ba): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243292:(.text+0x1ec412): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243301:(.text+0x1ec42e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243310:(.text+0x1ec472): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243122:(.text+0x1ec486): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243331:(.text+0x1ec4a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x1ec4b4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1ec4dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243345:(.text+0x1ec518): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1ec52c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ec54c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ec574): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243353:(.text+0x1ec584): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243363:(.text+0x1ec590): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1ec5b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1ec5d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243411:(.text+0x1ec5e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243411: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243416:(.text+0x1ec62e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243416:(.text+0x1ec638): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243426:(.text+0x1ec65e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ec688): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ec6a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ec6fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ec704): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ec70e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ec718): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243034:(.text+0x1ec748): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243039:(.text+0x1ec752): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243039:(.text+0x1ec75c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243070:(.text+0x1ec816): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243093:(.text+0x1ec850): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243040:(.text+0x1ec89c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243446:(.text+0x1ec8ec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1ec934): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243482:(.text+0x1ec966): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243483:(.text+0x1ec974): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ec996): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ec9ae): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243107:(.text+0x1eca36): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1eca52): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243244:(.text+0x1eca92): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1ecbc4): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243347:(.text+0x1ecc04): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ecd24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243292:(.text+0x1ecd30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243132:(.text+0x1ecd40): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243282:(.text+0x1ecd5c): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243356:(.text+0x1ecd9c): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243455:(.text+0x1ecea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243282:(.text+0x1ecfa6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ecfe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ecff2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ecffe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243054:(.text+0x1ed00a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243054:(.text+0x1ed016): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243363:(.text+0x1ed18a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243366:(.text+0x1ed1a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1ed1f2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211280:(.text+0x1ed1fe): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1ed20e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211339:(.text+0x1ed21c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ed228): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211360:(.text+0x1ed27a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211505:(.text+0x1ed2ce): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211451:(.text+0x1ed31a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211505:(.text+0x1ed32e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211529:(.text+0x1ed376): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ed382): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211541:(.text+0x1ed396): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211553:(.text+0x1ed3ba): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211553:(.text+0x1ed3d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ed3e6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211571:(.text+0x1ed426): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211383:(.text+0x1ed44a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211592:(.text+0x1ed458): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211594:(.text+0x1ed46a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211606:(.text+0x1ed4d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1ed4e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211611:(.text+0x1ed518): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ed538): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211614:(.text+0x1ed546): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211624:(.text+0x1ed55a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ed582): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211582:(.text+0x1ed632): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ed648): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ed666): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211284:(.text+0x1ed67c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ed6ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ed6c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ed6e0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211287:(.text+0x1ed6ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211295:(.text+0x1ed706): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211301:(.text+0x1ed72e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211300:(.text+0x1ed73a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211303:(.text+0x1ed754): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211313:(.text+0x1ed786): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211313:(.text+0x1ed79c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211325:(.text+0x1ed7bc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211325:(.text+0x1ed7d2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211336:(.text+0x1ed7f2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211295:(.text+0x1ed81e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211295:(.text+0x1ed838): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211300:(.text+0x1ed844): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211301:(.text+0x1ed85e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211698:(.text+0x1ed878): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211698:(.text+0x1ed884): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211698:(.text+0x1ed89e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211707:(.text+0x1ed8ac): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211707:(.text+0x1ed8be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ed91a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211743:(.text+0x1ed92e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ed968): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1ed974): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ed99e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ed9f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ed9fe): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1eda10): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211529:(.text+0x1edaa0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211592:(.text+0x1edaaa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1edad4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1edaf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x1edafe): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211594:(.text+0x1edb08): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1edb14): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211606:(.text+0x1edb3c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1edb46): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1edb50): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211660:(.text+0x1edcce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211543:(.text+0x1edd48): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211628:(.text+0x1edd7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ede0a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1ede48): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1ede50): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211716:(.text+0x1ede7e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1edee0): undefined reference to `PyBytes_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1edf20): undefined reference to `PyObject_Malloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1edfe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1edff6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee008): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211641:(.text+0x1ee04a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ee0c2): undefined reference to `PyBytes_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1ee0e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1ee0f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211649:(.text+0x1ee10c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211649:(.text+0x1ee11a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211543:(.text+0x1ee12a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211624:(.text+0x1ee146): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211627:(.text+0x1ee16c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317412:(.text+0x1ee18c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317412:(.text+0x1ee1a0): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317412:(.text+0x1ee1b0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317477:(.text+0x1ee1dc): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317480:(.text+0x1ee248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_106labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317534:(.text+0x1ee29a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317544:(.text+0x1ee2a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317554:(.text+0x1ee2b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317554:(.text+0x1ee2c4): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317566:(.text+0x1ee2d4): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317512:(.text+0x1ee2fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317431:(.text+0x1ee32e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317439:(.text+0x1ee346): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317445:(.text+0x1ee366): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317457:(.text+0x1ee3a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317463:(.text+0x1ee3b0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317490:(.text+0x1ee3f4): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317439:(.text+0x1ee400): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317451:(.text+0x1ee416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317451:(.text+0x1ee420): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317444:(.text+0x1ee43a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317447:(.text+0x1ee44c): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ee53e): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_106labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317554:(.text+0x1ee54c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317554:(.text+0x1ee554): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317475:(.text+0x1ee578): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee600): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317465:(.text+0x1ee616): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee63e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee660): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316087:(.text+0x1ee6da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1ee6fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316102:(.text+0x1ee712): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316154:(.text+0x1ee728): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316160:(.text+0x1ee746): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_92setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316234:(.text+0x1ee778): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316262:(.text+0x1ee78c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316274:(.text+0x1ee7a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316284:(.text+0x1ee7cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee84c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee862): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316154:(.text+0x1ee892): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1ee8b6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316106:(.text+0x1ee8cc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316180:(.text+0x1ee8fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316180:(.text+0x1ee906): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316177:(.text+0x1ee912): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_92setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316299:(.text+0x1ee942): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316299:(.text+0x1ee950): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316180:(.text+0x1ee976): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316180:(.text+0x1ee98c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316115:(.text+0x1ee9c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316115:(.text+0x1ee9d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316120:(.text+0x1eea0c): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316165:(.text+0x1eea56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316168:(.text+0x1eea62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316123:(.text+0x1eea7c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316127:(.text+0x1eeab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316115:(.text+0x1eeac0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316146:(.text+0x1eeadc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316151:(.text+0x1eeb02): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_92setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316299:(.text+0x1eeb38): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316299:(.text+0x1eeb56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eeb72): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eeb7c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eeb8e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316141:(.text+0x1eeb98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eebc6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eebe2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eebec): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eebfe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128495:(.text+0x1eec36): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eec96): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128546:(.text+0x1eecb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128546:(.text+0x1eecc0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128555:(.text+0x1eecd2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128555:(.text+0x1eecde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128555:(.text+0x1eece8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459070:(.text+0x1eed16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_92setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128576:(.text+0x1eed4c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1eed62): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128521:(.text+0x1eedc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128521:(.text+0x1eedd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128525:(.text+0x1eede8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128525:(.text+0x1eedf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128539:(.text+0x1eee14): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128513:(.text+0x1eee2c): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128519:(.text+0x1eee3c): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459033:(.text+0x1eee94): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459083:(.text+0x1eeeb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459083:(.text+0x1eeebe): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1eeed0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128518:(.text+0x1eeee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128518:(.text+0x1eeef2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459196:(.text+0x1eef22): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459043:(.text+0x1eefb8): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eefc6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eefee): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128527:(.text+0x1ef002): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ef01e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ef02c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1ef03c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459191:(.text+0x1ef04e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ef066): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459196:(.text+0x1ef096): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459200:(.text+0x1ef0ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ef114): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_55insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350308:(.text+0x1ef212): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350290:(.text+0x1ef21e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463863:(.text+0x1ef256): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_54insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350330:(.text+0x1ef262): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463823:(.text+0x1ef2a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_55insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350271:(.text+0x1ef2d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350271:(.text+0x1ef2ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350274:(.text+0x1ef308): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350278:(.text+0x1ef326): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350272:(.text+0x1ef35e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_54insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350364:(.text+0x1ef374): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1ef3ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463976:(.text+0x1ef458): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_54insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350350:(.text+0x1ef486): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463980:(.text+0x1ef498): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_55insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350284:(.text+0x1ef4c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350284:(.text+0x1ef4d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463823:(.text+0x1ef506): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ef518): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_55insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350280:(.text+0x1ef546): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463971:(.text+0x1ef59c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1ef654): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1ef666): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1ef690): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1ef6ae): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ef700): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312176:(.text+0x1ef73c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312185:(.text+0x1ef754): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_42setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312207:(.text+0x1ef774): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463275:(.text+0x1ef7a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312151:(.text+0x1ef850): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312155:(.text+0x1ef880): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312148:(.text+0x1ef89a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312149:(.text+0x1ef8b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_42setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312241:(.text+0x1ef8d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1ef8f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1ef90e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312161:(.text+0x1efa08): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312161:(.text+0x1efa1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1efa58): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1efa64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312157:(.text+0x1efa84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x1efac4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463275:(.text+0x1efb10): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463388:(.text+0x1efb26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463392:(.text+0x1efb44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312185:(.text+0x1efb72): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253371:(.text+0x1efc16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1efc44): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1efc56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253455:(.text+0x1efc84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253439:(.text+0x1efc96): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253461:(.text+0x1efcc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1efcd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_82computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253502:(.text+0x1efd04): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1efd16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253472:(.text+0x1efd44): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253404:(.text+0x1efdbe): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253422:(.text+0x1efe04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253398:(.text+0x1efe54): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1efeae): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253460:(.text+0x1efef8): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253462:(.text+0x1eff32): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253457:(.text+0x1eff44): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_82computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253492:(.text+0x1eff76): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253457:(.text+0x1eff9c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f004a): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f006a): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f00b0): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61515:(.text+0x1f01fc): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1f0242): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1f0398): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1f03a8): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61381:(.text+0x1f03c4): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61424:(.text+0x1f0406): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61298:(.text+0x1f052a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f0654): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f0694): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f06a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f06ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61516:(.text+0x1f06b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61516:(.text+0x1f06c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61286: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61323:(.text+0x1f08c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61439:(.text+0x1f08dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61485:(.text+0x1f093e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61485:(.text+0x1f094a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f095a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61582:(.text+0x1f096e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61444:(.text+0x1f097a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1f0a34): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61492:(.text+0x1f0a8c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61277:(.text+0x1f0aa0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61271:(.text+0x1f0aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61351:(.text+0x1f0aec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61271:(.text+0x1f0af8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61401:(.text+0x1f0b10): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61277:(.text+0x1f0b3e): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f0b70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61477:(.text+0x1f0b7e): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61579:(.text+0x1f0bbe): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61323:(.text+0x1f0cde): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1f0d1e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331207:(.text+0x1f0d8e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331218:(.text+0x1f0dc0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f0e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331195:(.text+0x1f0e8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_8setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331244:(.text+0x1f0ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331294:(.text+0x1f0ed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331294:(.text+0x1f0eea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331269:(.text+0x1f0efe): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331294:(.text+0x1f0f24): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331192:(.text+0x1f0f4c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331192:(.text+0x1f0f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331195:(.text+0x1f0f66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f1024): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334775:(.text+0x1f103e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334786:(.text+0x1f107e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f109a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334841:(.text+0x1f10ce): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334860:(.text+0x1f10dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334860:(.text+0x1f10f4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334885:(.text+0x1f113c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x1f1152): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f1178): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334751:(.text+0x1f11a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334816:(.text+0x1f11f2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334816:(.text+0x1f11fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334924:(.text+0x1f1218): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334796:(.text+0x1f1226): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334757:(.text+0x1f1238): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334760:(.text+0x1f125c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1f1272): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334924:(.text+0x1f1298): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f12ae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334880:(.text+0x1f12fa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334882:(.text+0x1f130a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f1324): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x1f1354): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1f1360): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1f137a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/include/python3.11/object.h:537:(.text+0x1f13a2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f13b8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334860:(.text+0x1f13de): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334764:(.text+0x1f13f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1f142a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1f144e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1f145e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370858:(.text+0x1f1478): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370858:(.text+0x1f1492): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370858:(.text+0x1f149e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370871:(.text+0x1f14b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1f14cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1f14ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0x1f14fe): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370910:(.text+0x1f152c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f15f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1f1612): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1f161e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_IS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365849:(.text+0x1f1648): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365849:(.text+0x1f167e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1f16b0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f16d2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1f1790): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f17b4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f17be): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f17ca): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x1f1800): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1f180a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f1824): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1f19da): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1f1a1e): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1f1a40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f1a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f1a96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370879:(.text+0x1f1ab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f1af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f1b0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f1b4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f1b5c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f1d18): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371121:(.text+0x1f1d2a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_IS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365886:(.text+0x1f1e34): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371083:(.text+0x1f1e66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371249:(.text+0x1f1e7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1f1e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371203:(.text+0x1f1eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371138:(.text+0x1f1ed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365886: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_IS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365886:(.text+0x1f1f04): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371205:(.text+0x1f1f10): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371205:(.text+0x1f1f1e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1f1f66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1f2022): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371266:(.text+0x1f203a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371030:(.text+0x1f204e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1f2072): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370975:(.text+0x1f2128): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370975:(.text+0x1f213c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370984:(.text+0x1f214c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370990:(.text+0x1f215c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370995:(.text+0x1f2166): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370997:(.text+0x1f2172): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370995:(.text+0x1f217a): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370996:(.text+0x1f2184): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1f21ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1f21c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f21d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f21dc): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f21f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371271:(.text+0x1f2256): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1f2274): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1f2282): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41765:(.text+0x1f230c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41952:(.text+0x1f2434): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f245e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41956:(.text+0x1f246c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x1f25aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1f261e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1f2632): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1f263e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f2674): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f2680): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42065:(.text+0x1f26a6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41957:(.text+0x1f26fa): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41955:(.text+0x1f2722): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f2730): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f2744): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f2750): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1f275a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42118:(.text+0x1f2782): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f2792): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1f27a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f27de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42130:(.text+0x1f27fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f2832): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f283c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f2848): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f288e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f28b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x1f28f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40146:(.text+0x1f2936): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41773:(.text+0x1f2940): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41805:(.text+0x1f294e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41867:(.text+0x1f29da): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41868:(.text+0x1f29e4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41911:(.text+0x1f2a00): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f2aee): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41964:(.text+0x1f2b28): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1f2b46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1f2c0a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1f2c20): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f2da4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1f2db0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1f2dbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f2dc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f2de4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41771:(.text+0x1f2e20): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41918:(.text+0x1f2e32): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41984:(.text+0x1f2f5e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41890:(.text+0x1f2f6c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453713:(.text+0x1f3078): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_scattermode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15760:(.text+0x1f3098): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15776:(.text+0x1f30b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15721:(.text+0x1f30d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15722:(.text+0x1f30e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453715: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x1f3122): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453713:(.text+0x1f314a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453759:(.text+0x1f315e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f317a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_scattermode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15708:(.text+0x1f318e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453872:(.text+0x1f31ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1f31da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453715:(.text+0x1f328c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f32a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f32ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f32b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f32c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x1f32ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453867:(.text+0x1f32e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f32f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_scattermode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15735:(.text+0x1f331c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f337e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1f338c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1f3426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_297ghostUpdateBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141707:(.text+0x1f348e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141664:(.text+0x1f3552): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_296ghostUpdateBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141763:(.text+0x1f35b6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141739:(.text+0x1f35c4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141968:(.text+0x1f36fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_300ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142044:(.text+0x1f3752): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142055:(.text+0x1f3766): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141993:(.text+0x1f377c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141993:(.text+0x1f3788): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f37ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141971:(.text+0x1f3802): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141950:(.text+0x1f3834): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141955:(.text+0x1f385c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141959:(.text+0x1f3866): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_300ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142015:(.text+0x1f387a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142058:(.text+0x1f3886): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142058:(.text+0x1f3892): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141986:(.text+0x1f389c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141950:(.text+0x1f38c4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141977:(.text+0x1f38d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141950:(.text+0x1f38f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f391c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_300ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142044:(.text+0x1f3926): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141960:(.text+0x1f3932): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141961:(.text+0x1f3950): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_299ghostUpdateEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141782:(.text+0x1f39b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141794:(.text+0x1f39d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141825:(.text+0x1f39fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141850:(.text+0x1f3a62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f3a98): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f3aa2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_299ghostUpdateEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141839:(.text+0x1f3ab6): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141841:(.text+0x1f3ac8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141841:(.text+0x1f3ad2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141825:(.text+0x1f3ae4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141817:(.text+0x1f3c00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141817:(.text+0x1f3c0a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_29scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150278:(.text+0x1f3c70): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150292:(.text+0x1f3c94): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150355:(.text+0x1f3d1c): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150357:(.text+0x1f3d2a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150361:(.text+0x1f3d52): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_28scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150394:(.text+0x1f3d72): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_29scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150372:(.text+0x1f3dba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_28scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150428:(.text+0x1f3e68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_29scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150304:(.text+0x1f3e98): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150349:(.text+0x1f3eb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150304:(.text+0x1f3ecc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150349:(.text+0x1f3eea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150334:(.text+0x1f3f96): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150348:(.text+0x1f3fa2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f3fbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_28scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150414:(.text+0x1f3fc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f401e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f403e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_25begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149940:(.text+0x1f4084): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149954:(.text+0x1f409c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149953:(.text+0x1f40b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1f40d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_25begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150023:(.text+0x1f4160): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_24begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150066:(.text+0x1f418e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150076:(.text+0x1f41a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_25begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150034:(.text+0x1f41ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150034:(.text+0x1f41e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149959:(.text+0x1f420e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149959:(.text+0x1f4220): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150024:(.text+0x1f424e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149966:(.text+0x1f4298): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150011:(.text+0x1f42f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149974:(.text+0x1f431a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f43c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_33scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150675:(.text+0x1f44e8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1f44fc): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_33scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150675:(.text+0x1f461c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150635:(.text+0x1f4636): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150699:(.text+0x1f4650): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150667:(.text+0x1f4854): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150656:(.text+0x1f48a8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_31scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150460:(.text+0x1f4904): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150528:(.text+0x1f4998): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150511:(.text+0x1f49a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150530:(.text+0x1f49b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150531:(.text+0x1f49c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_30scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150563:(.text+0x1f49cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_31scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150541:(.text+0x1f4a30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150473:(.text+0x1f4bbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150478:(.text+0x1f4bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150503:(.text+0x1f4bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150503:(.text+0x1f4be6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150503:(.text+0x1f4bf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150520: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_27end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150109:(.text+0x1f4d06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1f4d2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1f4d46): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f4d54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_27end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150188:(.text+0x1f4d92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_26end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150235:(.text+0x1f4df0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150245:(.text+0x1f4e06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f4e1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_27end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150203:(.text+0x1f4e34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1f4e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_27end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150128:(.text+0x1f4e74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150128:(.text+0x1f4e7e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150192:(.text+0x1f4e90): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150140:(.text+0x1f4f3e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150180:(.text+0x1f4f54): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150160:(.text+0x1f5064): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150160:(.text+0x1f506c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f5084): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f5090): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_255assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176860:(.text+0x1f5108): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f5144): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32792:(.text+0x1f51a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455239:(.text+0x1f51b0): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455243:(.text+0x1f51be): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455249:(.text+0x1f5292): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_255assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176900:(.text+0x1f52da): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x1f52e8): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455239:(.text+0x1f5374): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455243:(.text+0x1f5382): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x1f539a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f53ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_255assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176886:(.text+0x1f53e2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x1f5426): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455397:(.text+0x1f54de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x1f54fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x1f550e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455408:(.text+0x1f5522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f5550): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f5560): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1f5578): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455408:(.text+0x1f55b2): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455276:(.text+0x1f56bc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x1f56d4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x1f571a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_252assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176838:(.text+0x1f573c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_253assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176797:(.text+0x1f5748): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176797:(.text+0x1f5752): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176797:(.text+0x1f575c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1f5766): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32820:(.text+0x1f5802): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1f586a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x1f590a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x1f591e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f5964): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f599e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f59ac): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1f5a68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1f5a74): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1f5a88): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455396:(.text+0x1f5ac0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30891:(.text+0x1f5ae8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1f5af6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1f5b02): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1f5b16): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1f5b24): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30906:(.text+0x1f5b4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f5b60): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30933:(.text+0x1f5b88): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1f5bde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f5c2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31333:(.text+0x1f5c42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30980:(.text+0x1f5c5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1f5c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f5d42): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1f5d62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f5d8e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f5dc2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1f5e26): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31165:(.text+0x1f5f00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f5f2e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f606c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f6078): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31253:(.text+0x1f60a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f613c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f6148): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31324:(.text+0x1f6172): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f61ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30893:(.text+0x1f61d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f623c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1f6248): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f6272): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1f6296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f62a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f62ac): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f62be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31214:(.text+0x1f638c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31214:(.text+0x1f6398): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31018:(.text+0x1f63de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1f644a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31045:(.text+0x1f6454): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31045:(.text+0x1f6460): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30865:(.text+0x1f6478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f64a6): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f64b0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1f64bc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31091:(.text+0x1f64c6): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31091:(.text+0x1f64d0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30866:(.text+0x1f64dc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1f64fa): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30944:(.text+0x1f6504): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f651a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31251:(.text+0x1f6742): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30873:(.text+0x1f6782): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31225:(.text+0x1f67b0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1f67c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1f68a4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1f68fc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31002:(.text+0x1f6954): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_8__isub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156448:(.text+0x1f6986): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_9__isub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156429:(.text+0x1f6994): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_8__isub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156465:(.text+0x1f69ba): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_sub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32043:(.text+0x1f69d8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1f6e32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1f6e82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55051:(.text+0x1f6e9c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456452:(.text+0x1f6ee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55338:(.text+0x1f7004): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456465:(.text+0x1f7070): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f7080): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55208:(.text+0x1f70f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456425:(.text+0x1f7106): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55237:(.text+0x1f7128): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f7140): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f714c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f7268): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456582:(.text+0x1f727e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1f72d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f72e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456572:(.text+0x1f730e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55353:(.text+0x1f7322): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55353:(.text+0x1f734c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55436:(.text+0x1f7364): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55436:(.text+0x1f7378): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f7388): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55438:(.text+0x1f739a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f73aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55494:(.text+0x1f73c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55506:(.text+0x1f73da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55529:(.text+0x1f73f2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55709:(.text+0x1f7402): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55709:(.text+0x1f740e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f741a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f749c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f74ac): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f74bc): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55766:(.text+0x1f7514): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f7526): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f756c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55397:(.text+0x1f7580): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55723:(.text+0x1f75a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55736:(.text+0x1f75b6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55436:(.text+0x1f75e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55436:(.text+0x1f75f2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55506:(.text+0x1f768a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55393:(.text+0x1f769c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f7760): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f776e): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55641:(.text+0x1f7794): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1f77b8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x1f77c8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f77d8): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f77f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f7808): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55436:(.text+0x1f7824): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f7860): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1f7878): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55723:(.text+0x1f7896): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55530:(.text+0x1f78a2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55551:(.text+0x1f78b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55556:(.text+0x1f78d4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f78ec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55395:(.text+0x1f7914): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55581:(.text+0x1f7920): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55619:(.text+0x1f7940): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55614:(.text+0x1f795c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55587:(.text+0x1f7984): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55607:(.text+0x1f799a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55533:(.text+0x1f79a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55641:(.text+0x1f79c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55679:(.text+0x1f7a1e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55397:(.text+0x1f7a34): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1f7a52): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1f7a68): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1f7aa6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1f7ab2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f7ace): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f7b16): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f7b22): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1f7b3e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f7b4c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1f7b62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55621:(.text+0x1f7bea): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55688:(.text+0x1f7bf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55621:(.text+0x1f7c12): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55621:(.text+0x1f7c20): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1f7c38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55688:(.text+0x1f7c78): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55686:(.text+0x1f7c84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55688:(.text+0x1f7ca0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55369:(.text+0x1f7cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55368:(.text+0x1f7cdc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55688:(.text+0x1f7cf2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55688:(.text+0x1f7d14): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55688:(.text+0x1f7d24): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55542:(.text+0x1f7d4e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55542:(.text+0x1f7d5e): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55651:(.text+0x1f7dd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_6setBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331150:(.text+0x1f7fa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text+0x1f803a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1f805c): undefined reference to `PyCapsule_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308131:(.text+0x1f8082): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308212:(.text+0x1f8100): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308212:(.text+0x1f8116): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1f815e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x1f8180): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f8190): undefined reference to `PyNumber_Multiply' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308223:(.text+0x1f81e4): undefined reference to `PyCapsule_SetName' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f82f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_4createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308366:(.text+0x1f832e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f833a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1f8346): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_4createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308363:(.text+0x1f835c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308393:(.text+0x1f8386): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308391:(.text+0x1f83b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308488:(.text+0x1f840c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308259:(.text+0x1f8426): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f84fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f8508): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308240:(.text+0x1f8512): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308149:(.text+0x1f8560): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308153:(.text+0x1f8570): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308161:(.text+0x1f8580): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308161:(.text+0x1f8594): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308167:(.text+0x1f85a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308167: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308181:(.text+0x1f8688): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308186:(.text+0x1f869e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308197:(.text+0x1f86d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308209:(.text+0x1f8728): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_4createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308424:(.text+0x1f87ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308434:(.text+0x1f880e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308453:(.text+0x1f8840): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x1f885a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1f8894): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1f88a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308174:(.text+0x1f88d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308175:(.text+0x1f88ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_4createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308338:(.text+0x1f8904): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308414:(.text+0x1f8922): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308405:(.text+0x1f892e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308424:(.text+0x1f893a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308434:(.text+0x1f894c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308259:(.text+0x1f8988): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f89e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f89f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_21setBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302264:(.text+0x1f8a12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302266:(.text+0x1f8a28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302268:(.text+0x1f8a34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302275:(.text+0x1f8a40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302275:(.text+0x1f8a52): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_20setBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302297:(.text+0x1f8a62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302324:(.text+0x1f8a72): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1f8aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_21setBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302260:(.text+0x1f8ae2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_2duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300922:(.text+0x1f8c78): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300922:(.text+0x1f8c92): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300857:(.text+0x1f8ca8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300886:(.text+0x1f8cbc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301060:(.text+0x1f8d6c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301100:(.text+0x1f8daa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300804:(.text+0x1f8e3a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300735:(.text+0x1f8e4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300765:(.text+0x1f8e5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300765:(.text+0x1f8e6c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1f8e9c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_2duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301069:(.text+0x1f8f76): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1f8f98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1f8fc8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1f8fda): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300762:(.text+0x1f90aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300781:(.text+0x1f90dc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300744:(.text+0x1f90f6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_2duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1f9150): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300745:(.text+0x1f924c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300745:(.text+0x1f9260): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300762:(.text+0x1f92ae): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300762:(.text+0x1f92ca): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180430:(.text+0x1f9310): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180446:(.text+0x1f9328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180447:(.text+0x1f9332): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180430:(.text+0x1f9344): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1f93ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1f93fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1f9432): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180524:(.text+0x1f943e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180519:(.text+0x1f9462): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451508:(.text+0x1f952e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1f954a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1f9674): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1f96e6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1f96fe): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_306SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180683:(.text+0x1f9746): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180473:(.text+0x1f975e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180476:(.text+0x1f9778): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180476:(.text+0x1f9782): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1f9794): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f97a8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f97bc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1f9808): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1f981c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1f9836): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1f9846): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1f9858): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1f9a16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180486:(.text+0x1f9a9a): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180540:(.text+0x1f9aac): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180492:(.text+0x1f9b12): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180506:(.text+0x1f9b70): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180511:(.text+0x1f9b7e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180512:(.text+0x1f9b90): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180516:(.text+0x1f9bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180516:(.text+0x1f9bcc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1f9bd4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1f9bfe): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f9c46): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1f9c58): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1f9c9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1f9cac): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1f9cd2): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1fa060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97316:(.text+0x1fa06e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fa084): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96936:(.text+0x1fa0a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96905:(.text+0x1fa0da): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x1fa138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97037:(.text+0x1fa142): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97102:(.text+0x1fa232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fa23e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fa24a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fa25e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1fa272): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97135:(.text+0x1fa2b6): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1fa2ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1fa2de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fa2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97155:(.text+0x1fa318): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1fa324): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:142: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97215:(.text+0x1fa3ac): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97228:(.text+0x1fa3ba): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fa3da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1fa40c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa41c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa432): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96863:(.text+0x1fa46c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96863:(.text+0x1fa486): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97322:(.text+0x1fa4c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97003:(.text+0x1fa4de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fa506): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1fa514): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fa54c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fa558): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1fa56c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fa57c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97143:(.text+0x1fa584): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97137:(.text+0x1fa5a2): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fa5b4): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fa5c4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97041:(.text+0x1fa5d4): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96870:(.text+0x1fa5ea): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96919:(.text+0x1fa60e): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96870:(.text+0x1fa62c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96890:(.text+0x1fa63c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96891:(.text+0x1fa652): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96884:(.text+0x1fa67c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96918:(.text+0x1fa68a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96918:(.text+0x1fa692): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96870:(.text+0x1fa6a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96902:(.text+0x1fa6c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97320:(.text+0x1fa710): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fa73a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97126:(.text+0x1fa750): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97126:(.text+0x1fa762): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97082:(.text+0x1fa774): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97085:(.text+0x1fa794): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97089:(.text+0x1fa7b0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97089:(.text+0x1fa7c2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97062:(.text+0x1fa7ee): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97100:(.text+0x1fa7fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97100:(.text+0x1fa812): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97285:(.text+0x1fa9a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1fa9f6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97069:(.text+0x1faa08): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97214:(.text+0x1faa8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97321:(.text+0x1faa9c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97305:(.text+0x1faab2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96918:(.text+0x1fab02): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96919:(.text+0x1fab0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1fab24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97171:(.text+0x1fab4c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97181:(.text+0x1fab58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96879:(.text+0x1fab72): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fac82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x1facb8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fad02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97199:(.text+0x1fad64): undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1fad8a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1fad96): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97066:(.text+0x1fadb6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1fadde): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326588:(.text+0x1fae9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326602:(.text+0x1faeac): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1faec2): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453017:(.text+0x1faf94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_256metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326716:(.text+0x1fafbe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1fb010): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:36:(.text+0x1fb01c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326694:(.text+0x1fb03a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x1fb0a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326682:(.text+0x1fb0f2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326683:(.text+0x1fb0fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326684:(.text+0x1fb11c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1fb140): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1fb152): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326653:(.text+0x1fb33e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1fb366): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x1fb398): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1fb43a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1fb44a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251947:(.text+0x1fb516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1fb522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x1fb54e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_68computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252007:(.text+0x1fb586): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fb63e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251941:(.text+0x1fb65a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1fb676): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1fb680): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1fb690): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1fb6a2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x1fb6d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251872:(.text+0x1fb6f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251872:(.text+0x1fb704): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251945:(.text+0x1fb718): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251947:(.text+0x1fb750): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1fb76c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_68computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251987:(.text+0x1fb780): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1fb7a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fb7b6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1fb7c2): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251873:(.text+0x1fb800): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251881:(.text+0x1fb80e): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251887:(.text+0x1fb83c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251881:(.text+0x1fb84a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251899:(.text+0x1fb864): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251899:(.text+0x1fb870): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251905:(.text+0x1fb88a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251933:(.text+0x1fb8a0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251935:(.text+0x1fb8ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251893:(.text+0x1fb8c4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251893:(.text+0x1fb8d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1fb8e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1fb8f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251912:(.text+0x1fb91c): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251917:(.text+0x1fb936): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fb962): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_68computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252007:(.text+0x1fb96e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fb9bc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fba2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fba64): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1fba98): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326393:(.text+0x1fbaee): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326407:(.text+0x1fbafc): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1fbb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1fbbae): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326488:(.text+0x1fbbbc): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_254metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326521:(.text+0x1fbbd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326533:(.text+0x1fbc0a): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326534:(.text+0x1fbc18): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326535:(.text+0x1fbc34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1fbc6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fbc7e): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326499:(.text+0x1fbcaa): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x1fbcfa): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326413:(.text+0x1fbd44): undefined reference to `PyExc_UnboundLocalError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326413:(.text+0x1fbd62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_254metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x1fbe42): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x1fbe5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326430:(.text+0x1fbf6c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fbf82): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326458:(.text+0x1fbff8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1fc018): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1fc026): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_254metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x1fc040): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x1fc070): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x1fc082): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc0c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc10e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc116): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118866:(.text+0x1fc1a0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118931:(.text+0x1fc1d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc1dc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc1e4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc204): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118950:(.text+0x1fc222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_60fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118981:(.text+0x1fc27a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118991:(.text+0x1fc28c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119028:(.text+0x1fc2c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1fc2d0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fc2e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118884:(.text+0x1fc30a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118898:(.text+0x1fc332): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118923:(.text+0x1fc3aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118944:(.text+0x1fc3d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fc448): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_60fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119043:(.text+0x1fc4a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119001:(.text+0x1fc4bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fc4dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fc51a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1fc576): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118929:(.text+0x1fc5f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc626): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fc6b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118913:(.text+0x1fc6e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_60fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119010:(.text+0x1fc730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x1fc784): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x1fc7be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1fc7d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_59fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118755:(.text+0x1fc8ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118764:(.text+0x1fc8f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_58fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118833:(.text+0x1fc966): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118845:(.text+0x1fc97c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_59fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118689:(.text+0x1fc998): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118704:(.text+0x1fc9ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118722:(.text+0x1fca42): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118746:(.text+0x1fca72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118703:(.text+0x1fca88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118710:(.text+0x1fcaa8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118710:(.text+0x1fcab2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118706:(.text+0x1fcac4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fcaec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fcb00): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fcb0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_58fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118796:(.text+0x1fcb4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118796:(.text+0x1fcb56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x1fcb6a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_58fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118824:(.text+0x1fcc02): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fcc2e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_59fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118734:(.text+0x1fcc9e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118734:(.text+0x1fccb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fccd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fcd24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fcd7a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1fcdaa): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_58fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118815:(.text+0x1fcdd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fcdee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fce0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_59fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118712:(.text+0x1fce18): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1fce2a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1fce52): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x1fce66): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1fce72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316319:(.text+0x1fced0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316319:(.text+0x1fceda): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316319:(.text+0x1fceee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316406:(.text+0x1fcf46): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316408:(.text+0x1fcf50): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316430:(.text+0x1fcf62): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316432:(.text+0x1fcf7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_94setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316482:(.text+0x1fcf8e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316497:(.text+0x1fcf9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316550:(.text+0x1fcfce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316550:(.text+0x1fcfd8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316560:(.text+0x1fcfec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1fd068): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fd08e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316428:(.text+0x1fd0ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1fd0c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_94setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316575:(.text+0x1fd1a8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316575:(.text+0x1fd1d4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316575:(.text+0x1fd1de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316363:(.text+0x1fd20a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316364:(.text+0x1fd218): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316366:(.text+0x1fd2da): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316363:(.text+0x1fd306): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fd374): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fd3ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316390:(.text+0x1fd3e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fd406): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fd442): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fd49c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57219:(.text+0x1fd518): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57422:(.text+0x1fd546): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fd5ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/include/python3.11/object.h:538:(.text+0x1fd606): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fd616): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x1fd61e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57357:(.text+0x1fd6be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57436:(.text+0x1fd88c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57243:(.text+0x1fd89c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57266:(.text+0x1fd8ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57269:(.text+0x1fd8ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fd8da): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57249:(.text+0x1fd908): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57294:(.text+0x1fd918): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57320:(.text+0x1fd928): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57322:(.text+0x1fd930): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57327:(.text+0x1fd95a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fd962): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57196:(.text+0x1fd98a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x1fd998): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57255:(.text+0x1fd9aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57354:(.text+0x1fd9b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57385:(.text+0x1fd9c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fda0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57423:(.text+0x1fda3e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x1fda92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x1fdb46): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fdb7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57276:(.text+0x1fdbaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fdbd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1fdbe6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x1fdbee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0x1fdc2a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:601:(.text+0x1fdc48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fdc6a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fdc88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fdcac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57401:(.text+0x1fdccc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57276:(.text+0x1fdd0e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1fdd1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57269:(.text+0x1fdd30): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1fdd40): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x1fdd70): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57304:(.text+0x1fddec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x1fde22): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57255:(.text+0x1fde44): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57307:(.text+0x1fde90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174508:(.text+0x1fdf78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174564:(.text+0x1fdfc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1fdfd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174493:(.text+0x1fdffe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174613:(.text+0x1fe032): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174517:(.text+0x1fe06a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451510:(.text+0x1fe082): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174574:(.text+0x1fe09a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174586:(.text+0x1fe0ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451515:(.text+0x1fe0ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174564:(.text+0x1fe17a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174627:(.text+0x1fe194): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1fe1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1fe1de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fe1ea): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174595:(.text+0x1fe1fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174486:(.text+0x1fe228): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174502:(.text+0x1fe234): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1fe246): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174463:(.text+0x1fe296): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174468:(.text+0x1fe2bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174471:(.text+0x1fe2ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1fe2e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174476:(.text+0x1fe2f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174482:(.text+0x1fe31c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174487:(.text+0x1fe356): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fe368): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_Mat_Stencil_5index___set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39166:(.text+0x1fe3f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39191:(.text+0x1fe44a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_17setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301943:(.text+0x1fe528): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_16setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302018:(.text+0x1fe558): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fe5ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_16setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302056:(.text+0x1fe5fe): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_17setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301921:(.text+0x1fe670): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_16setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301970:(.text+0x1fe678): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fe83c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fe844): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1fe8c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x1fe910): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1fe950): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_13setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301585:(.text+0x1fea72): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301585:(.text+0x1fea88): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1feb0e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x1feb56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299832:(.text+0x1febb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299958:(.text+0x1febf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299958:(.text+0x1febfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299961:(.text+0x1fec08): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299965:(.text+0x1fec16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299967:(.text+0x1fec22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299969:(.text+0x1fec2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1fec58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1fec82): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299996:(.text+0x1fec90): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300049:(.text+0x1feca6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x1fecc8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300377:(.text+0x1fee12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300403:(.text+0x1fee1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300404:(.text+0x1fee2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300404:(.text+0x1fee36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300418:(.text+0x1fee46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57662: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300525:(.text+0x1fef02): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300555:(.text+0x1fef12): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300594:(.text+0x1fef30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300613:(.text+0x1fef48): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300613:(.text+0x1fef92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300019:(.text+0x1ff058): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300339:(.text+0x1ff098): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300339:(.text+0x1ff0ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ff10c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ff126): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ff138): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ff148): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ff15e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ff23c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ff270): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447735:(.text+0x1ff2b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447757:(.text+0x1ff2ca): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57790:(.text+0x1ff2ee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447735:(.text+0x1ff34e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57983:(.text+0x1ff3b2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ff3da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447735:(.text+0x1ff3e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447746:(.text+0x1ff3f4): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58012:(.text+0x1ff428): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ff4b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58097:(.text+0x1ff540): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ff584): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300092:(.text+0x1ff63e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300131:(.text+0x1ff660): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1ff688): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ff6b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1ff724): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300525:(.text+0x1ff732): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300418:(.text+0x1ff73e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300418:(.text+0x1ff78c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300431:(.text+0x1ff79a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299908:(.text+0x1ff7c4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299909:(.text+0x1ff7d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299985:(.text+0x1ff7ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299892:(.text+0x1ff84e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299895:(.text+0x1ff85a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299914:(.text+0x1ff882): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299920:(.text+0x1ff8b4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299925:(.text+0x1ff8c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299927:(.text+0x1ff8e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299932:(.text+0x1ff8f2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299938:(.text+0x1ff91c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299943:(.text+0x1ff95e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299944:(.text+0x1ff972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299950:(.text+0x1ff98c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299955:(.text+0x1ff9ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299955:(.text+0x1ff9c8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299896:(.text+0x1ff9da): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57674:(.text+0x1ffa5e): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57722:(.text+0x1ffb04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58078:(.text+0x1ffbe6): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ffbf4): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300261:(.text+0x1ffc0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300613:(.text+0x1ffc18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ffc26): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447770:(.text+0x1ffc3c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x1ffc92): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447737:(.text+0x1ffca6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300613:(.text+0x1ffd42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1ffdde): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1ffdf8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57817:(.text+0x1ffe4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x1ffe56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57833:(.text+0x1ffe6a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57833:(.text+0x1ffe78): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Generic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447728:(.text+0x1fffb2): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x1fffc0): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x1fffe0): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299907:(.text+0x200042): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20007e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57749:(.text+0x2001de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20023a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x200270): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2002b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2003d0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300418:(.text+0x200482): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60750:(.text+0x200494): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2004a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x2004c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61042:(.text+0x200540): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x200558): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x200578): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2005aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61018:(.text+0x20066e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20069a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2006ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2006e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60898:(.text+0x200704): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x200724): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61071:(.text+0x200770): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x200796): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2007a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x2007b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61043:(.text+0x2007ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20080a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61030:(.text+0x20084c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60788:(.text+0x200950): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60948:(.text+0x200972): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60984:(.text+0x20099c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x2009e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60788:(.text+0x2009fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61017:(.text+0x200a0c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60902:(.text+0x200a50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x200a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x200a98): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x200aaa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x200aca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x200b1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60788:(.text+0x200b62): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60870:(.text+0x200b74): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x200bae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x200c16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x200c56): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60914:(.text+0x200c62): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60982:(.text+0x200c7c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60995:(.text+0x200c94): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x200cb2): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60979:(.text+0x200cc0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60988:(.text+0x200d28): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x200d36): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60962:(.text+0x200da4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60898:(.text+0x200dbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60898:(.text+0x200dd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x200dee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60849:(.text+0x200e04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60849: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331506:(.text+0x200f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x200fbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331471:(.text+0x200fd6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331491:(.text+0x200ff8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331531:(.text+0x20102a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331480:(.text+0x2010c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331580:(.text+0x2010e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x201184): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20119c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331422:(.text+0x201244): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x201250): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_11setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331334:(.text+0x201288): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331341:(.text+0x2012c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437:(.text+0x2012f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437:(.text+0x201328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437:(.text+0x201336): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_11setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331337:(.text+0x201350): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331337:(.text+0x20136e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437:(.text+0x201392): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x2013b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330000:(.text+0x2013da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330000:(.text+0x2013fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330019: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x20146e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330264:(.text+0x2014f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330344:(.text+0x20154c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330395:(.text+0x201562): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330463:(.text+0x2015ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330482:(.text+0x2015c4): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330595:(.text+0x201674): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447609:(.text+0x2016e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447650:(.text+0x2016f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x201700): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x20170c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447650:(.text+0x201746): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x2017be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330168:(.text+0x20184a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x20185a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x201890): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x20189a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x2018ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x20195e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20198a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x201998): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447657:(.text+0x201a4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330678:(.text+0x201a76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x201ac6): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330598:(.text+0x201ad2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x201b2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x201b4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x201b5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x201b98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330032:(.text+0x201bae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x201c8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330782:(.text+0x201cde): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330395:(.text+0x201d10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x201d6c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x201e06): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330424:(.text+0x201e1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330189:(.text+0x201e28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330070:(.text+0x201e62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330076:(.text+0x201e88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330077:(.text+0x201e96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330088:(.text+0x201ed6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330106:(.text+0x201f38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330112:(.text+0x201f54): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330116:(.text+0x201f6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330117:(.text+0x201f9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330144:(.text+0x201fba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x202000): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330264:(.text+0x2020ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330782:(.text+0x2020d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x202128): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330596:(.text+0x202134): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x202158): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x202194): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330604:(.text+0x2021b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2021c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2021fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447660:(.text+0x202214): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x202316): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330064:(.text+0x202342): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2023ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396005:(.text+0x2023e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396005:(.text+0x202402): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x20243e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396108:(.text+0x202454): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396263:(.text+0x20252e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396278:(.text+0x20255a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396292:(.text+0x2025c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.11/cpython/listobject.h:34:(.text+0x2025fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20261a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x202656): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396356:(.text+0x20266c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396302:(.text+0x202746): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396325:(.text+0x202772): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0x2027de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x202816): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396296:(.text+0x202832): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20286e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x202884): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20295e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20298a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2029f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396186:(.text+0x202a2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x202a4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396412:(.text+0x202a86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x202a9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x202b76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396053:(.text+0x202ba2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396400:(.text+0x202c0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396287:(.text+0x202c46): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396129:(.text+0x202c62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x202c9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x202cb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396263:(.text+0x202d8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x202dba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396275:(.text+0x202e26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396292:(.text+0x202e5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396296:(.text+0x202e7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x202eb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0x202ecc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396182:(.text+0x202fa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396054:(.text+0x202fd2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396189:(.text+0x20303e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x203076): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x203092): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396296:(.text+0x2030ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396296:(.text+0x2030e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_3createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307655:(.text+0x203250): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2032e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x20336c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307801:(.text+0x203382): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307893:(.text+0x2033ae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307893:(.text+0x2033bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453023:(.text+0x203582): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453019:(.text+0x20358e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_3createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307675:(.text+0x20359a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307905:(.text+0x203664): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307905:(.text+0x203670): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307678: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_3createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307690:(.text+0x2036a4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307692:(.text+0x20375e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307720:(.text+0x2037d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x203816): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x203890): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x2038d6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x2039ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307945:(.text+0x203a9c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x203b4c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x203bb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x203c54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x203c92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x203c9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307987:(.text+0x203caa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307987: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x203ec4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x2040c6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_133restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131084:(.text+0x2041d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20421e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCUDARestoreArrayRead': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:979:(.text+0x2042d8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131268:(.text+0x204362): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x2043a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131299:(.text+0x2043b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131301:(.text+0x2043bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131301:(.text+0x2043c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_133restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131087:(.text+0x20444e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131098:(.text+0x20447c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131095:(.text+0x204516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x20454a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x2046d2): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2046ea): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x204724): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x2047a4): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x2047b2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x2047fc): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x204818): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458734:(.text+0x204852): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecCUDARestoreArray': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:973:(.text+0x204866): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x20488e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131219:(.text+0x20489a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131315:(.text+0x204916): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_137restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131606:(.text+0x204924): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131646:(.text+0x20497a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x20498a): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20499a): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_137restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131661:(.text+0x2049ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_136restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131717:(.text+0x204a16): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131737:(.text+0x204a48): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x204a94): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_136restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131853:(.text+0x204ab8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_137restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131625:(.text+0x204cb2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131631:(.text+0x204cc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x204d24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_137restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131643:(.text+0x204dec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x204e04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x204e10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x204e26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x204ea2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x204ee4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x204f2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x204fc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecHIPRestoreArray': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:974:(.text+0x204ff2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `VecHIPRestoreArrayWrite': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:986:(.text+0x205050): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_136restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131812:(.text+0x205086): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93223:(.text+0x2050cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x2050e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x205244): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2052dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93759:(.text+0x205360): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x205376): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93346:(.text+0x2053a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93346:(.text+0x2053b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x205576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x205582): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93550:(.text+0x20558e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x205658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x205664): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93635: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93637:(.text+0x205698): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93329:(.text+0x205752): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93775:(.text+0x2057c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20580a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x205884): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x2058cc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93296:(.text+0x2059d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93268:(.text+0x205a24): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93772:(.text+0x205ade): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93483:(.text+0x205b68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93523:(.text+0x205baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93525:(.text+0x205bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93772:(.text+0x205bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93525:(.text+0x205bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93462: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93624:(.text+0x205c54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x205c82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93685:(.text+0x205d1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x205d50): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x205e5e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93604:(.text+0x205ec2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93669:(.text+0x205f78): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x2060e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93601:(.text+0x206180): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67373:(.text+0x2061bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20892:(.text+0x2061f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67432:(.text+0x20622e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67563:(.text+0x2062c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2062f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67570: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscStrallocpy': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:151:(.text+0x20648c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67826:(.text+0x2064d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67826:(.text+0x2064da): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscStrallocpy': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:151:(.text+0x206528): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67811:(.text+0x206566): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67976:(.text+0x2065e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x206698): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67991:(.text+0x2066b0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2066ea): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67884:(.text+0x20676a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67886:(.text+0x206778): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x2067c2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2067de): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x206818): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text+0x20682c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x206854): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x206860): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x2068a4): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2068b2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x206908): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x206918): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x206928): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20695a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68045:(.text+0x20699c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2069b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x206a64): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x206a86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67416:(.text+0x206aee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67418:(.text+0x206b08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x206b24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67418:(.text+0x206b78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67475:(.text+0x206bba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67529:(.text+0x206bf6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67568:(.text+0x206cac): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67512:(.text+0x206cd8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67708:(.text+0x206d36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67576:(.text+0x206d6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67582:(.text+0x206db2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67383:(.text+0x206dc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x206f2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67605:(.text+0x206fc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x207046): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67898:(.text+0x20705c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x207088): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x207096): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x20725c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x207268): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x207274): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x20733e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20734a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67546:(.text+0x20737e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67953:(.text+0x207438): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67639:(.text+0x2074aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67536:(.text+0x2074f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67508:(.text+0x20756a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67603:(.text+0x2075b2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422921:(.text+0x2076be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399525:(.text+0x20770a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399531:(.text+0x2077c4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399563:(.text+0x20784e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399632:(.text+0x207890): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399674:(.text+0x20789c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399707:(.text+0x2078a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399752:(.text+0x2078b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399835:(.text+0x20793a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464693:(.text+0x207968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399716:(.text+0x207a02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x207a36): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399842:(.text+0x207b40): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399877:(.text+0x207ba4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x207c58): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x207d12): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x207ddc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399565:(.text+0x207e12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x207e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_fill_contig_strides_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410422:(.text+0x207ee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410431:(.text+0x207ef0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400043: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399944:(.text+0x208044): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399516:(.text+0x208190): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399518:(.text+0x2081a8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399522:(.text+0x2081e2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x208262): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399683:(.text+0x208270): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2082ba): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2082d6): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x208310): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x208324): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x20834c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x208358): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20839c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2083aa): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399730:(.text+0x208400): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399869:(.text+0x208410): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399877:(.text+0x208420): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x208452): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x208494): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x2084b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x20855c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20857e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399964:(.text+0x2085e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400007:(.text+0x208600): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400009:(.text+0x20861c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399810:(.text+0x208670): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2086b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399500:(.text+0x2086ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2087a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399752:(.text+0x2087d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_tp_new_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422929:(.text+0x20882e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x208864): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/object.h:601:(.text+0x2088aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x2088c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_73computeIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252346:(.text+0x208a22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13083:(.text+0x208aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x208b3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x208b54): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_73computeIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252330:(.text+0x208b80): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252413:(.text+0x208b8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252353:(.text+0x208d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_72computeIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252478:(.text+0x208d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252478:(.text+0x208d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x208e36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x208e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x208e76): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252355:(.text+0x208f30): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253535:(.text+0x208fa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x208fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x209062): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_84computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253757:(.text+0x2090aa): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x2091b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253564:(.text+0x209202): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253608:(.text+0x2092bc): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253661:(.text+0x209346): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253663:(.text+0x20938a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253663:(.text+0x209396): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253664:(.text+0x2093a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253664:(.text+0x2093ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253664: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_84computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253711:(.text+0x209436): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253721:(.text+0x209466): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253584:(.text+0x209504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x209538): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x209648): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2096ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68055:(.text+0x209760): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68156:(.text+0x20981a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2098e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68263:(.text+0x20991a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x209956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x2099ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x2099f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68335: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscStrallocpy': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:151:(.text+0x209b4c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x209c98): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68789:(.text+0x209cb0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x209cea): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x209d6a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68400:(.text+0x209d78): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68598:(.text+0x209dc2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68607:(.text+0x209dde): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x209e18): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x209e2c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x209e54): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68624:(.text+0x209e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text+0x209ea4): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x209eb2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68828:(.text+0x209f08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68254:(.text+0x209f18): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x209f28): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x209f5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x209f9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x209fb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20a064): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20a086): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20a0ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20a108): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20a124): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20a178): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68100:(.text+0x20a1ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20a1f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x20a2ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68060:(.text+0x20a2d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68170:(.text+0x20a336): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68218:(.text+0x20a36c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68187:(.text+0x20a3b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68066:(.text+0x20a3c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68431:(.text+0x20a52a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x20a5c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x20a64c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x20a662): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20a68e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68687:(.text+0x20a69c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68828:(.text+0x20a862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x20a86e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68066:(.text+0x20a87a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68544:(.text+0x20a94a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x20a956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68544: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68546:(.text+0x20a98a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68369:(.text+0x20aa44): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x20aab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68522:(.text+0x20aafe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20ab80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x20abc8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x20acd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x20ad20): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x20adec): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x20ae76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x20aeb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x20aec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20aedc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20aee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68213:(.text+0x20af7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20affe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68061:(.text+0x20b040): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20b04a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68754:(.text+0x20b14c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68192:(.text+0x20b240): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PetscStrallocpy': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:151:(.text+0x20b2ee): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.11/object.h:133:(.text+0x20b39e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38844:(.text+0x20b40a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415610:(.text+0x20b4a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20b4de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38727:(.text+0x20b4ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38727:(.text+0x20b4f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38736: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20b722): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38496:(.text+0x20b986): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x20b99e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38871:(.text+0x20b9d8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20ba58): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38545:(.text+0x20ba66): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20bab0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20baca): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x20bb06): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20bb1e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20bb46): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20bb52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20bb98): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20bba6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20bbfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38738:(.text+0x20bc0e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x20bc1e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38756:(.text+0x20bc50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38794:(.text+0x20bc92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38798:(.text+0x20bcae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38823:(.text+0x20bd5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x20bd7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38497:(.text+0x20bde4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20bdfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38509:(.text+0x20be1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38664:(.text+0x20be6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38670:(.text+0x20beb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38497:(.text+0x20beec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38771:(.text+0x20bfa2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38496:(.text+0x20bfce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38823:(.text+0x20c02c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20c062): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38631:(.text+0x20c0a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38642:(.text+0x20c0be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x20c220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38666:(.text+0x20c2be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38542:(.text+0x20c342): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415610:(.text+0x20c358): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38496:(.text+0x20c384): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38642:(.text+0x20c392): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x20c558): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20c564): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20c570): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20c640): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20c64c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text+0x20c680): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13485:(.text+0x20c73a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20c7ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x20c7f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38229:(.text+0x20c876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20c8be): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38140:(.text+0x20c9c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20ca16): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20cae2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38299:(.text+0x20cb6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20cbae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20cbba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38149:(.text+0x20cbd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20cbde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:538: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x20cc74): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20ccf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38342:(.text+0x20cd36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38357:(.text+0x20cd40): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38100:(.text+0x20ce40): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x20cea4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38212:(.text+0x20cf58): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20d012): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38363:(.text+0x20d0de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38203:(.text+0x20d114): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20d150): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38415:(.text+0x20d1ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38414:(.text+0x20d1f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:601: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38409:(.text+0x20d356): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x20d4a6): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x20d4be): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38374:(.text+0x20d4f8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38370:(.text+0x20d578): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38370:(.text+0x20d586): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252040:(.text+0x20d5d0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252040:(.text+0x20d5ea): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252134:(.text+0x20d626): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x20d63e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20d666): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252158:(.text+0x20d672): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252164:(.text+0x20d6b8): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252164:(.text+0x20d6c6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x20d71e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x20d72e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_70computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252233:(.text+0x20d73e): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252269:(.text+0x20d770): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252185:(.text+0x20d7b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x20d7ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252101:(.text+0x20d87a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252107:(.text+0x20d89c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252164:(.text+0x20d904): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252165:(.text+0x20d91e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252166:(.text+0x20d93a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_70computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252213:(.text+0x20d98e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252283:(.text+0x20d9d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252126:(.text+0x20da0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x20dac2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x20daee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20db4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20db82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20dbc8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20dbde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19732:(.text+0x20de82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160000:(.text+0x20dec4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160172:(.text+0x20dffe): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160347:(.text+0x20e088): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20e0a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160493:(.text+0x20e13e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160506:(.text+0x20e160): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19061:(.text+0x20e1c6): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160604:(.text+0x20e1e2): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160678:(.text+0x20e216): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160698:(.text+0x20e264): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x20e2ae): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x20e366): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20e372): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20e37e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20e392): undefined reference to `PyBytes_AsStringAndSize' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20e454): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159909:(.text+0x20e4f4): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20e524): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20e52c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20e556): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20e5bc): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20e60a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20e658): undefined reference to `Py_AtExit' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20eaec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20eaf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160622:(.text+0x20eb28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text+0x20eb3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text+0x20eb4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text+0x20eb5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20eb6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:537:(.text+0x20ebb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160086:(.text+0x20ec00): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:537:(.text+0x20ec2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20ec52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20ec7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160347:(.text+0x20ecb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160135:(.text+0x20ecc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160145:(.text+0x20ed30): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20ed56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x20ed74): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160375:(.text+0x20edc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160394:(.text+0x20edf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160394:(.text+0x20ee02): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20ee14): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160408:(.text+0x20ee4e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:537:(.text+0x20ee64): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160179:(.text+0x20ee8e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20eed0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20eed8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20ef04): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x20f026): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x20f036): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x20f04a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159966:(.text+0x20f064): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19029:(.text+0x20f074): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160602:(.text+0x20f100): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159975:(.text+0x20f190): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160177:(.text+0x20f1b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160294:(.text+0x20f1be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160294:(.text+0x20f1d4): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160295:(.text+0x20f1f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160047:(.text+0x20f212): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_63createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159805:(.text+0x20f23a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159806:(.text+0x20f24c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160119:(.text+0x20f280): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160806:(.text+0x20f2d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160178:(.text+0x20f324): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_63createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159811:(.text+0x20f332): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159811:(.text+0x20f344): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160205:(.text+0x20f382): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160241:(.text+0x20f3ce): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160243:(.text+0x20f40e): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160245:(.text+0x20f41a): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160245:(.text+0x20f422): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160245:(.text+0x20f434): undefined reference to `PyByteArray_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20f440): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20f448): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20f512): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20f522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160050:(.text+0x20f532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20f540): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160687:(.text+0x20f59e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:537: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20f614): undefined reference to `PySys_WriteStderr' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20f640): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160221:(.text+0x20f66a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.11/object.h:538:(.text+0x20f67a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20f688): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20f6b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.11/object.h:538:(.text+0x20f71a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x20f72c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160622:(.text+0x20f75e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20f78e): undefined reference to `_PyByteArray_empty_string' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20f7b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20f7c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20f7d0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160806:(.text+0x20f7ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160678:(.text+0x20f842): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160806:(.text+0x20f864): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20f892): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160371:(.text+0x20f8b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20f93e): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20f94e): undefined reference to `PyByteArray_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160373:(.text+0x20f956): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160375:(.text+0x20f984): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20f992): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160026:(.text+0x20f9d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160495:(.text+0x20fa24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160806:(.text+0x20fad2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160405:(.text+0x20fafc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20fb22): undefined reference to `PyErr_NoMemory' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x20fb32): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x20fb78): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160101:(.text+0x20fbbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160101:(.text+0x20fbc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text+0x20fbd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160245:(.text+0x20fc06): undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447024:(.text+0x20fc1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_SetVtable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449160:(.text.unlikely+0x9a): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449168:(.text.unlikely+0xb2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_copy_spec_to_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428753:(.text.unlikely+0xee): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428753:(.text.unlikely+0xf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428754:(.text.unlikely+0x10a): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428757:(.text.unlikely+0x118): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428758:(.text.unlikely+0x124): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428758:(.text.unlikely+0x12a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ExportFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464454:(.text.unlikely+0x16e): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464454:(.text.unlikely+0x176): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464454:(.text.unlikely+0x17a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464461:(.text.unlikely+0x19a): undefined reference to `PyModule_AddObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464463:(.text.unlikely+0x1a8): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464464:(.text.unlikely+0x1b6): undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_modinit_function_export_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427842:(.text.unlikely+0xa1a): undefined reference to `PyImport_ImportModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427842:(.text.unlikely+0xa2a): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427843:(.text.unlikely+0xa38): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427843:(.text.unlikely+0xa4a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427843:(.text.unlikely+0xa54): undefined reference to `PyCapsule_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427844:(.text.unlikely+0xa60): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427844:(.text.unlikely+0xa72): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427845:(.text.unlikely+0xa82): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427846:(.text.unlikely+0xaa0): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427846:(.text.unlikely+0xab2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427847:(.text.unlikely+0xacc): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427848:(.text.unlikely+0xaec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427848:(.text.unlikely+0xb04): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427849:(.text.unlikely+0xb24): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427850:(.text.unlikely+0xb34): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427850:(.text.unlikely+0xb46): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427856:(.text.unlikely+0xb54): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `_import_array': /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1480:(.text.unlikely+0xb66): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1488:(.text.unlikely+0xb96): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1489:(.text.unlikely+0xba6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1494:(.text.unlikely+0xbd4): undefined reference to `PyThreadState_Get' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1494:(.text.unlikely+0xbda): undefined reference to `PyInterpreterState_GetID' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1498:(.text.unlikely+0xbfa): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1499:(.text.unlikely+0xc0c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1502:(.text.unlikely+0xc2e): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1506:(.text.unlikely+0xc36): undefined reference to `PyModule_NewObject' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1507:(.text.unlikely+0xc46): undefined reference to `PyModule_GetDict' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_setup_reduce_is_named': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449294:(.text.unlikely+0xd56): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428768:(.text.unlikely+0xd60): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428768:(.text.unlikely+0xd6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_check_single_interpreter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428734:(.text.unlikely+0xd7e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428734:(.text.unlikely+0xd8c): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428746:(.text.unlikely+0xdb2): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0xdc4): undefined reference to `_PyObject_GenericGetAttrWithDict' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428774:(.text.unlikely+0xdda): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428776:(.text.unlikely+0xde4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428777:(.text.unlikely+0xdea): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428781:(.text.unlikely+0xe20): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428781:(.text.unlikely+0xe2a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428782:(.text.unlikely+0xe32): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428782:(.text.unlikely+0xe42): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428782:(.text.unlikely+0xe4a): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428783:(.text.unlikely+0xe6e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428784:(.text.unlikely+0xe76): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text.unlikely+0xec8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CalculateMetaclass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449385:(.text.unlikely+0xed8): undefined reference to `PyDict_DelItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449387:(.text.unlikely+0xee8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449387:(.text.unlikely+0xf0a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449397:(.text.unlikely+0xf26): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449399:(.text.unlikely+0xf36): undefined reference to `PyDict_DelItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449403:(.text.unlikely+0xf46): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449403:(.text.unlikely+0xf50): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449410:(.text.unlikely+0xf66): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449414:(.text.unlikely+0xf6c): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449419:(.text.unlikely+0xf82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStrNoError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449276:(.text.unlikely+0xfe4): undefined reference to `PyMethodDescr_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_setup_reduce': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449316:(.text.unlikely+0x1032): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449316:(.text.unlikely+0x1042): undefined reference to `PyDescr_NewClassMethod' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text.unlikely+0x1046): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_setup_reduce': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449332:(.text.unlikely+0x1054): undefined reference to `PyClassMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449332:(.text.unlikely+0x1058): undefined reference to `PyClassMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449339:(.text.unlikely+0x1092): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449341:(.text.unlikely+0x10a8): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449340:(.text.unlikely+0x10bc): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449302:(.text.unlikely+0x10c6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449343:(.text.unlikely+0x10d0): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449343:(.text.unlikely+0x10d4): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449343:(.text.unlikely+0x10dc): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449344:(.text.unlikely+0x10f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449348:(.text.unlikely+0x110c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449350:(.text.unlikely+0x1120): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449353:(.text.unlikely+0x114e): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449354:(.text.unlikely+0x115c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449364:(.text.unlikely+0x119e): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449365:(.text.unlikely+0x11b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:602:(.text.unlikely+0x11ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.11/object.h:602:(.text.unlikely+0x11e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.11/object.h:602:(.text.unlikely+0x1206): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_setup_reduce': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449380:(.text.unlikely+0x1230): undefined reference to `PyOS_snprintf' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text.unlikely+0x123a): undefined reference to `PyErr_WarnEx' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_Method_ClassMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449509:(.text.unlikely+0x128a): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449521:(.text.unlikely+0x12ac): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_Py3MetaclassPrepare': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449428:(.text.unlikely+0x12fc): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449435:(.text.unlikely+0x132c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449443:(.text.unlikely+0x136c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449452:(.text.unlikely+0x1394): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449454:(.text.unlikely+0x13d6): undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_Py3ClassCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449481:(.text.unlikely+0x13fe): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_ImportType_0_29_36': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449180:(.text.unlikely+0x1422): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449180:(.text.unlikely+0x143c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449198:(.text.unlikely+0x1482): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449229:(.text.unlikely+0x14aa): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449247:(.text.unlikely+0x14ec): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449253:(.text.unlikely+0x1514): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_modinit_type_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427866:(.text.unlikely+0x1556): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427873:(.text.unlikely+0x157e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427878:(.text.unlikely+0x15c0): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427886:(.text.unlikely+0x15e8): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427889:(.text.unlikely+0x1632): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427900:(.text.unlikely+0x165a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427904:(.text.unlikely+0x169c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427907:(.text.unlikely+0x16c4): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427916:(.text.unlikely+0x1706): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427925:(.text.unlikely+0x172e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427929:(.text.unlikely+0x1770): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427938:(.text.unlikely+0x1798): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427942:(.text.unlikely+0x17da): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427945:(.text.unlikely+0x1802): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427954:(.text.unlikely+0x1844): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427958:(.text.unlikely+0x186c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427967:(.text.unlikely+0x18ae): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427969:(.text.unlikely+0x18d6): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427980:(.text.unlikely+0x1918): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427983:(.text.unlikely+0x1940): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427994:(.text.unlikely+0x198a): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427995:(.text.unlikely+0x19b2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428001:(.text.unlikely+0x19f4): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428009:(.text.unlikely+0x1a1c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428014:(.text.unlikely+0x1a5e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428022:(.text.unlikely+0x1a86): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428026:(.text.unlikely+0x1ac8): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428029:(.text.unlikely+0x1ae8): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428038:(.text.unlikely+0x1b26): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428041:(.text.unlikely+0x1b46): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428050:(.text.unlikely+0x1b84): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428052:(.text.unlikely+0x1ba4): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428057:(.text.unlikely+0x1be2): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428065:(.text.unlikely+0x1c02): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428069:(.text.unlikely+0x1c40): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428071:(.text.unlikely+0x1c60): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428082:(.text.unlikely+0x1ca6): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428085:(.text.unlikely+0x1cc6): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428093:(.text.unlikely+0x1d04): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428096:(.text.unlikely+0x1d24): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428106:(.text.unlikely+0x1d5e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428107:(.text.unlikely+0x1d7e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428112:(.text.unlikely+0x1dbc): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428120:(.text.unlikely+0x1ddc): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428124:(.text.unlikely+0x1e1a): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428126:(.text.unlikely+0x1e3a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428134:(.text.unlikely+0x1e5a): undefined reference to `PyImport_ImportModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428153:(.text.unlikely+0x1efe): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428154:(.text.unlikely+0x1f1e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428168:(.text.unlikely+0x1f94): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428176:(.text.unlikely+0x1fb4): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428177:(.text.unlikely+0x1fc8): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428180:(.text.unlikely+0x1fe0): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428182:(.text.unlikely+0x1ff6): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428183:(.text.unlikely+0x2006): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428192:(.text.unlikely+0x2040): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428195:(.text.unlikely+0x2060): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428197:(.text.unlikely+0x2076): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428204:(.text.unlikely+0x2086): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428205:(.text.unlikely+0x209a): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428206:(.text.unlikely+0x20b2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428208:(.text.unlikely+0x20d0): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428210:(.text.unlikely+0x20e2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428218:(.text.unlikely+0x20f8): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428219:(.text.unlikely+0x210a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428220:(.text.unlikely+0x2120): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428222:(.text.unlikely+0x2132): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428224:(.text.unlikely+0x2148): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428225:(.text.unlikely+0x215a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428232:(.text.unlikely+0x216e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428233:(.text.unlikely+0x2188): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428239:(.text.unlikely+0x21ca): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428247:(.text.unlikely+0x21f2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428253:(.text.unlikely+0x2234): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428261:(.text.unlikely+0x2256): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428266:(.text.unlikely+0x229c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428275:(.text.unlikely+0x22be): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428280:(.text.unlikely+0x2304): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428281:(.text.unlikely+0x232e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428290:(.text.unlikely+0x2374): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428290:(.text.unlikely+0x239e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428301:(.text.unlikely+0x23e4): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428304:(.text.unlikely+0x2406): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428315:(.text.unlikely+0x2454): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428318:(.text.unlikely+0x2476): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428325:(.text.unlikely+0x2496): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428326:(.text.unlikely+0x24ae): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428335:(.text.unlikely+0x24fc): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428349:(.text.unlikely+0x253e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428358:(.text.unlikely+0x2584): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428374:(.text.unlikely+0x25c8): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428392:(.text.unlikely+0x261e): undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428402: more undefined references to `PyType_Ready' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_modinit_type_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428467:(.text.unlikely+0x289a): undefined reference to `PyThreadState_Get' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428470:(.text.unlikely+0x28a8): undefined reference to `_PyInterpreterState_GetConfig' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428471:(.text.unlikely+0x28b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428471:(.text.unlikely+0x28ca): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428478:(.text.unlikely+0x28de): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428482:(.text.unlikely+0x2912): undefined reference to `PyUnicode_InternFromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428483:(.text.unlikely+0x2926): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428485:(.text.unlikely+0x292c): undefined reference to `PyUnicode_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428485:(.text.unlikely+0x2938): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428485:(.text.unlikely+0x2948): undefined reference to `PyObject_Hash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428492:(.text.unlikely+0x295a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428493:(.text.unlikely+0x2968): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428494:(.text.unlikely+0x297a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428497:(.text.unlikely+0x2986): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428496:(.text.unlikely+0x2992): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428497:(.text.unlikely+0x29a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428499:(.text.unlikely+0x29ae): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428498:(.text.unlikely+0x29bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428499: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_modinit_type_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428588:(.text.unlikely+0x2c38): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428588:(.text.unlikely+0x2c3c): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428591:(.text.unlikely+0x2c48): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428590:(.text.unlikely+0x2c5e): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428591:(.text.unlikely+0x2c66): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428593:(.text.unlikely+0x2c7c): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428593:(.text.unlikely+0x2c84): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428600:(.text.unlikely+0x2c9a): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428602:(.text.unlikely+0x2ca4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428602:(.text.unlikely+0x2cba): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428610:(.text.unlikely+0x2cc2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428618:(.text.unlikely+0x2cd8): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428620:(.text.unlikely+0x2ce2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428619:(.text.unlikely+0x2cf8): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428624:(.text.unlikely+0x2d0c): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428625:(.text.unlikely+0x2d20): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428627:(.text.unlikely+0x2d34): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428634:(.text.unlikely+0x2d4a): undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428636: more undefined references to `PyDict_SetItemString' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_modinit_type_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428641:(.text.unlikely+0x2d9a): undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428642:(.text.unlikely+0x2daa): undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428643:(.text.unlikely+0x2db8): undefined reference to `PyCode_NewEmpty' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428644:(.text.unlikely+0x2dca): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428651:(.text.unlikely+0x2dd4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428651:(.text.unlikely+0x2de2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428669:(.text.unlikely+0x2e6e): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427690:(.text.unlikely+0x2ef2): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427692:(.text.unlikely+0x2f08): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InitStrings': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464502:(.text.unlikely+0x2f18): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464502:(.text.unlikely+0x2f26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464504:(.text.unlikely+0x2f30): undefined reference to `PySlice_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464506:(.text.unlikely+0x2f40): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464508:(.text.unlikely+0x2f50): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464511:(.text.unlikely+0x2f60): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464514:(.text.unlikely+0x2f70): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464518:(.text.unlikely+0x2f80): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427694: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427695:(.text.unlikely+0x2f9e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427696:(.text.unlikely+0x2fac): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427696:(.text.unlikely+0x2fbc): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427697:(.text.unlikely+0x2fcc): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427698:(.text.unlikely+0x2fde): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427699:(.text.unlikely+0x2fea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427700:(.text.unlikely+0x2ff8): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427701:(.text.unlikely+0x3012): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427706:(.text.unlikely+0x3068): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427710:(.text.unlikely+0x30b0): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427711:(.text.unlikely+0x30c2): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427712: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427722:(.text.unlikely+0x3194): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427722:(.text.unlikely+0x31a0): undefined reference to `PySlice_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427723:(.text.unlikely+0x31b2): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427724:(.text.unlikely+0x31c4): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427725:(.text.unlikely+0x31d6): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427726:(.text.unlikely+0x31f0): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427727:(.text.unlikely+0x3202): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427728: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427731:(.text.unlikely+0x326a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427732:(.text.unlikely+0x3274): undefined reference to `PySlice_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427736:(.text.unlikely+0x3288): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427736:(.text.unlikely+0x3290): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyCode_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383:(.text.unlikely+0x32a2): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383:(.text.unlikely+0x32b4): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383:(.text.unlikely+0x32c6): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393:(.text.unlikely+0x32d8): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383:(.text.unlikely+0x32ee): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyCode_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404:(.text.unlikely+0x33c8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406:(.text.unlikely+0x33f4): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407:(.text.unlikely+0x3404): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407:(.text.unlikely+0x3412): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408:(.text.unlikely+0x3422): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408:(.text.unlikely+0x3432): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InitCachedConstants': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426814:(.text.unlikely+0x401a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426814:(.text.unlikely+0x4024): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426814:(.text.unlikely+0x402a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426826:(.text.unlikely+0x4070): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426835:(.text.unlikely+0x40a0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426913:(.text.unlikely+0x416e): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426924:(.text.unlikely+0x417a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426924:(.text.unlikely+0x4184): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426935:(.text.unlikely+0x4190): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426935:(.text.unlikely+0x41a4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426979:(.text.unlikely+0x41e8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426990:(.text.unlikely+0x4202): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427001:(.text.unlikely+0x421c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427012:(.text.unlikely+0x4230): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427023:(.text.unlikely+0x4240): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427100:(.text.unlikely+0x42da): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427166:(.text.unlikely+0x4362): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427166:(.text.unlikely+0x4370): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427188:(.text.unlikely+0x439c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427199:(.text.unlikely+0x43a6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427232:(.text.unlikely+0x43f0): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427441:(.text.unlikely+0x4592): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427452:(.text.unlikely+0x45a4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427452:(.text.unlikely+0x45ae): undefined reference to `Py_GetVersion' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427474:(.text.unlikely+0x45c8): undefined reference to `PyOS_snprintf' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427551:(.text.unlikely+0x4666): undefined reference to `PyOS_snprintf' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427551:(.text.unlikely+0x4670): undefined reference to `PyErr_WarnEx' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427562:(.text.unlikely+0x467e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427562:(.text.unlikely+0x4698): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427565:(.text.unlikely+0x46ba): undefined reference to `PyUnicode_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427565:(.text.unlikely+0x46d2): undefined reference to `PyImport_AddModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427574:(.text.unlikely+0x46ec): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427574:(.text.unlikely+0x4700): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427583:(.text.unlikely+0x4716): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427583:(.text.unlikely+0x4728): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427583:(.text.unlikely+0x473e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427583:(.text.unlikely+0x4746): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427592:(.text.unlikely+0x4750): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427592:(.text.unlikely+0x475a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427592:(.text.unlikely+0x4766): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427592:(.text.unlikely+0x4780): undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427601:(.text.unlikely+0x47c0): undefined reference to `PyModule_GetDict' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427610:(.text.unlikely+0x47de): undefined reference to `PyImport_AddModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427610:(.text.unlikely+0x47fc): undefined reference to `PyImport_AddModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427630:(.text.unlikely+0x4822): undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427641:(.text.unlikely+0x4846): undefined reference to `PyImport_GetModuleDict' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427663:(.text.unlikely+0x4864): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427672:(.text.unlikely+0x4892): undefined reference to `PyDict_GetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427675:(.text.unlikely+0x48b6): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427681:(.text.unlikely+0x48e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_InitCachedBuiltins': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425888:(.text.unlikely+0x4954): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425893:(.text.unlikely+0x49a4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425895:(.text.unlikely+0x49d4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425898:(.text.unlikely+0x4a04): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425900:(.text.unlikely+0x4a34): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425901:(.text.unlikely+0x4a48): undefined reference to `PySet_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__GetNameInClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449540:(.text.unlikely+0x4a6c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449540:(.text.unlikely+0x4a7a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449542:(.text.unlikely+0x4a90): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_GetGlobalNameAfterAttributeLookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449534:(.text.unlikely+0x4aa4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449537:(.text.unlikely+0x4aba): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx__GetNameInClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449547:(.text.unlikely+0x4ace): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449547:(.text.unlikely+0x4aec): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text.unlikely+0x4b20): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_S_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12524:(.text.unlikely+0x4b50): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:602:(.text.unlikely+0x4b7c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_S_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12556:(.text.unlikely+0x4bbe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:602:(.text.unlikely+0x4bce): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_S_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12500:(.text.unlikely+0x4be4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12518:(.text.unlikely+0x4bee): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100288:(.text.unlikely+0x4c04): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100314:(.text.unlikely+0x4c26): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100326:(.text.unlikely+0x4c3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100339:(.text.unlikely+0x4c66): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x4c7c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.11/cpython/tupleobject.h:23:(.text.unlikely+0x4c9e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100351:(.text.unlikely+0x4cb4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.11/object.h:142:(.text.unlikely+0x4cd6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text.unlikely+0x4cec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100356:(.text.unlikely+0x4d0e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100361:(.text.unlikely+0x4d24): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100361:(.text.unlikely+0x4d46): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100364:(.text.unlikely+0x4d5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100364:(.text.unlikely+0x4d7e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x4d98): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100378:(.text.unlikely+0x4dba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100381:(.text.unlikely+0x4dd4): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100386:(.text.unlikely+0x4df6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100384:(.text.unlikely+0x4e10): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100393:(.text.unlikely+0x4e32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:601:(.text.unlikely+0x4e4c): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100409:(.text.unlikely+0x4e5c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100418:(.text.unlikely+0x4e76): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100428:(.text.unlikely+0x4e90): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100447:(.text.unlikely+0x4eba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text.unlikely+0x4ed4): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x4ef6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100458:(.text.unlikely+0x4f10): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100378:(.text.unlikely+0x4f32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100398:(.text.unlikely+0x4f70): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100480:(.text.unlikely+0x4fbe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.11/object.h:602:(.text.unlikely+0x4fe0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:602:(.text.unlikely+0x4ff6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:602:(.text.unlikely+0x5018): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100458:(.text.unlikely+0x502e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100326:(.text.unlikely+0x5050): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100447:(.text.unlikely+0x5066): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100490:(.text.unlikely+0x5088): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428795:(.text.unlikely+0x50a2): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428795:(.text.unlikely+0x50c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428812:(.text.unlikely+0x50de): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428812:(.text.unlikely+0x50ee): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_check_binary_version': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464419:(.text.unlikely+0x5108): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464422:(.text.unlikely+0x5122): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464427:(.text.unlikely+0x514c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464436:(.text.unlikely+0x5166): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464439:(.text.unlikely+0x5188): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464444:(.text.unlikely+0x51be): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428833:(.text.unlikely+0x520c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428834:(.text.unlikely+0x522e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_FetchCommonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447996:(.text.unlikely+0x5244): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:772:(.text.unlikely+0x5266): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_FetchCommonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448001:(.text.unlikely+0x527c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448007:(.text.unlikely+0x529e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448007:(.text.unlikely+0x52b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448014:(.text.unlikely+0x52d6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448015:(.text.unlikely+0x52ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448016:(.text.unlikely+0x530e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x5324): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text.unlikely+0x5346): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.11/object.h:502:(.text.unlikely+0x5360): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428872:(.text.unlikely+0x5370): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428874:(.text.unlikely+0x538a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x53a4): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428878:(.text.unlikely+0x53ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428887:(.text.unlikely+0x53f0): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428883:(.text.unlikely+0x5412): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428883:(.text.unlikely+0x542c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428894:(.text.unlikely+0x544e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428889:(.text.unlikely+0x5468): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428889:(.text.unlikely+0x548a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_modinit_global_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427750:(.text.unlikely+0x54a4): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427757:(.text.unlikely+0x54c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427763:(.text.unlikely+0x54e0): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428900:(.text.unlikely+0x5502): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428917:(.text.unlikely+0x551c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428931:(.text.unlikely+0x553e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428943:(.text.unlikely+0x557c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428964:(.text.unlikely+0x55ca): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428967:(.text.unlikely+0x55ec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428976:(.text.unlikely+0x5602): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428978:(.text.unlikely+0x5610): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0x566e): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429011:(.text.unlikely+0x5688): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429033:(.text.unlikely+0x56e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429047:(.text.unlikely+0x5738): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429060:(.text.unlikely+0x5788): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429071:(.text.unlikely+0x57be): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429095:(.text.unlikely+0x5818): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429095:(.text.unlikely+0x582e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429105:(.text.unlikely+0x5866): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429107:(.text.unlikely+0x587c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429119:(.text.unlikely+0x58b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429119:(.text.unlikely+0x58ca): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429131:(.text.unlikely+0x5902): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429131:(.text.unlikely+0x5918): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429143:(.text.unlikely+0x5950): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429144:(.text.unlikely+0x5966): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429155:(.text.unlikely+0x599e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451134:(.text.unlikely+0x59b4): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429168:(.text.unlikely+0x59ec): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429177:(.text.unlikely+0x5a02): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429189:(.text.unlikely+0x5a3a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429196:(.text.unlikely+0x5a50): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429206:(.text.unlikely+0x5a88): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429213:(.text.unlikely+0x5aa6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429224:(.text.unlikely+0x5ade): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429230:(.text.unlikely+0x5af4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429247:(.text.unlikely+0x5b2c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429247:(.text.unlikely+0x5b42): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429264:(.text.unlikely+0x5b7a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429264:(.text.unlikely+0x5b90): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429281:(.text.unlikely+0x5bc8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429281:(.text.unlikely+0x5bde): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429298:(.text.unlikely+0x5c16): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429298:(.text.unlikely+0x5c2c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429308:(.text.unlikely+0x5c64): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429310:(.text.unlikely+0x5c7a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429322:(.text.unlikely+0x5cb2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429324:(.text.unlikely+0x5cc8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429336:(.text.unlikely+0x5d00): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429337:(.text.unlikely+0x5d16): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451172:(.text.unlikely+0x5d1a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451172:(.text.unlikely+0x5d5e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451172:(.text.unlikely+0x5da4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429372:(.text.unlikely+0x5dba): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429382:(.text.unlikely+0x5df2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429389:(.text.unlikely+0x5e08): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429400:(.text.unlikely+0x5e40): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429406:(.text.unlikely+0x5e56): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429417:(.text.unlikely+0x5e8e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429423:(.text.unlikely+0x5ea4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429434:(.text.unlikely+0x5ede): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429440:(.text.unlikely+0x5ef4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429450:(.text.unlikely+0x5f2c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429452:(.text.unlikely+0x5f42): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429464:(.text.unlikely+0x5f7a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429466:(.text.unlikely+0x5f90): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429478:(.text.unlikely+0x5fc8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429479:(.text.unlikely+0x5fde): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429490:(.text.unlikely+0x6016): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451210:(.text.unlikely+0x602c): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429503:(.text.unlikely+0x6064): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429512:(.text.unlikely+0x607a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451210:(.text.unlikely+0x60b2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429526:(.text.unlikely+0x60c8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429536:(.text.unlikely+0x6100): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429538:(.text.unlikely+0x6116): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429538:(.text.unlikely+0x611a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429548:(.text.unlikely+0x613a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429555:(.text.unlikely+0x6152): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429565:(.text.unlikely+0x618c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429572:(.text.unlikely+0x61a2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429572:(.text.unlikely+0x61c8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429582:(.text.unlikely+0x61de): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429589:(.text.unlikely+0x6204): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429589:(.text.unlikely+0x621a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429606:(.text.unlikely+0x6240): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429606:(.text.unlikely+0x6256): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429616:(.text.unlikely+0x627c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429623:(.text.unlikely+0x6292): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429633:(.text.unlikely+0x62b8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429640:(.text.unlikely+0x62ce): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429657:(.text.unlikely+0x6332): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429667:(.text.unlikely+0x634a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429674:(.text.unlikely+0x6362): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429675:(.text.unlikely+0x638a): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429684:(.text.unlikely+0x63a0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429686:(.text.unlikely+0x63c2): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429688:(.text.unlikely+0x63d8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429698:(.text.unlikely+0x63ea): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429698:(.text.unlikely+0x63fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429700:(.text.unlikely+0x6402): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429710:(.text.unlikely+0x6426): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429724:(.text.unlikely+0x6476): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text.unlikely+0x6490): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_SetDefaultsTuple': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448635:(.text.unlikely+0x64cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429733:(.text.unlikely+0x6508): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429743:(.text.unlikely+0x6544): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429746:(.text.unlikely+0x6580): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429757: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429827:(.text.unlikely+0x671a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429830:(.text.unlikely+0x6734): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429841:(.text.unlikely+0x6770): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429854:(.text.unlikely+0x67ac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429875:(.text.unlikely+0x67ea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429889:(.text.unlikely+0x6840): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429901:(.text.unlikely+0x6860): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429902:(.text.unlikely+0x6876): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429913:(.text.unlikely+0x689e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429923:(.text.unlikely+0x68b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429926:(.text.unlikely+0x68d4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429927:(.text.unlikely+0x68ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429937:(.text.unlikely+0x690a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429947:(.text.unlikely+0x6920): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429950:(.text.unlikely+0x6940): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429952:(.text.unlikely+0x6956): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429961:(.text.unlikely+0x6976): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429973:(.text.unlikely+0x698c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429974:(.text.unlikely+0x699a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429975:(.text.unlikely+0x69b4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429985:(.text.unlikely+0x69ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429995:(.text.unlikely+0x69ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429998:(.text.unlikely+0x6a00): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429999:(.text.unlikely+0x6a20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430009:(.text.unlikely+0x6a36): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430019:(.text.unlikely+0x6a56): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430022:(.text.unlikely+0x6a6c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430023:(.text.unlikely+0x6a8c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430033:(.text.unlikely+0x6aa2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430045:(.text.unlikely+0x6aca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430046:(.text.unlikely+0x6ae0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430048:(.text.unlikely+0x6b00): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430057:(.text.unlikely+0x6b16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430070:(.text.unlikely+0x6b36): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430070:(.text.unlikely+0x6b4c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430081:(.text.unlikely+0x6b6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430091:(.text.unlikely+0x6b82): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430094:(.text.unlikely+0x6ba2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430095:(.text.unlikely+0x6bb8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430105:(.text.unlikely+0x6bd8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430115:(.text.unlikely+0x6bee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430117:(.text.unlikely+0x6bfc): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430118:(.text.unlikely+0x6c16): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430120:(.text.unlikely+0x6c2c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430139:(.text.unlikely+0x6c4c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430141:(.text.unlikely+0x6c62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430142:(.text.unlikely+0x6c82): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430144:(.text.unlikely+0x6c98): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430163:(.text.unlikely+0x6cb8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430166:(.text.unlikely+0x6cce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430168:(.text.unlikely+0x6cf6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430177:(.text.unlikely+0x6d0c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430189:(.text.unlikely+0x6d2c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430190:(.text.unlikely+0x6d42): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430192:(.text.unlikely+0x6d62): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430204:(.text.unlikely+0x6d78): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430214:(.text.unlikely+0x6d98): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430216:(.text.unlikely+0x6dae): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430217:(.text.unlikely+0x6dce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430226:(.text.unlikely+0x6de4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430239:(.text.unlikely+0x6e04): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430239:(.text.unlikely+0x6e1a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430250:(.text.unlikely+0x6e3a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430260:(.text.unlikely+0x6e50): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430262:(.text.unlikely+0x6e5e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430263:(.text.unlikely+0x6e78): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430264:(.text.unlikely+0x6e8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430274:(.text.unlikely+0x6eae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430286:(.text.unlikely+0x6ec4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430287:(.text.unlikely+0x6ee4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430289:(.text.unlikely+0x6efc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430308:(.text.unlikely+0x6f24): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430311:(.text.unlikely+0x6f3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430313:(.text.unlikely+0x6f5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430322:(.text.unlikely+0x6f74): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430334:(.text.unlikely+0x6f94): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430335:(.text.unlikely+0x6fac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430337:(.text.unlikely+0x6fcc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430346:(.text.unlikely+0x6fe4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430359:(.text.unlikely+0x7004): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430359:(.text.unlikely+0x701c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430370:(.text.unlikely+0x703c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430380:(.text.unlikely+0x7054): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430383:(.text.unlikely+0x7074): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430394:(.text.unlikely+0x70b2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430418:(.text.unlikely+0x7108): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430418:(.text.unlikely+0x7116): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430430:(.text.unlikely+0x7130): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430431:(.text.unlikely+0x7146): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430433:(.text.unlikely+0x7166): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430442:(.text.unlikely+0x717c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430455:(.text.unlikely+0x71a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430456:(.text.unlikely+0x71ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430466:(.text.unlikely+0x71da): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430476:(.text.unlikely+0x71f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430479:(.text.unlikely+0x7210): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430481:(.text.unlikely+0x722a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430490:(.text.unlikely+0x723c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430500:(.text.unlikely+0x724e): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430502:(.text.unlikely+0x7260): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430504:(.text.unlikely+0x7288): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430517:(.text.unlikely+0x72b0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430531:(.text.unlikely+0x72e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430556:(.text.unlikely+0x7308): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430558:(.text.unlikely+0x7322): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430560:(.text.unlikely+0x7342): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430569:(.text.unlikely+0x7364): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430582:(.text.unlikely+0x73a2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430595:(.text.unlikely+0x73f4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430597:(.text.unlikely+0x7402): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430598:(.text.unlikely+0x741c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430608:(.text.unlikely+0x7432): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430610:(.text.unlikely+0x745a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430611:(.text.unlikely+0x7470): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430621:(.text.unlikely+0x7490): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430623:(.text.unlikely+0x74a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430625:(.text.unlikely+0x74c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430637:(.text.unlikely+0x74e0): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430648:(.text.unlikely+0x7500): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430662:(.text.unlikely+0x751a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430676:(.text.unlikely+0x753a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430685:(.text.unlikely+0x7554): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430694:(.text.unlikely+0x7574): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430703:(.text.unlikely+0x758e): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430712:(.text.unlikely+0x75ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430724:(.text.unlikely+0x75e4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430738:(.text.unlikely+0x763a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430740:(.text.unlikely+0x7658): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430762:(.text.unlikely+0x768c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430762:(.text.unlikely+0x76a2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430774:(.text.unlikely+0x76d6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430774:(.text.unlikely+0x76ec): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430786:(.text.unlikely+0x7720): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430786:(.text.unlikely+0x7736): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430798:(.text.unlikely+0x776e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430799:(.text.unlikely+0x7784): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430810:(.text.unlikely+0x77bc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430811:(.text.unlikely+0x77d2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430822:(.text.unlikely+0x780a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430832:(.text.unlikely+0x7828): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430835:(.text.unlikely+0x7860): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430844:(.text.unlikely+0x7876): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430847:(.text.unlikely+0x78ae): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430856:(.text.unlikely+0x78c4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430882:(.text.unlikely+0x796e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430883:(.text.unlikely+0x7988): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430894:(.text.unlikely+0x79c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430906:(.text.unlikely+0x7a04): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430918:(.text.unlikely+0x7a42): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430928:(.text.unlikely+0x7a80): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430940:(.text.unlikely+0x7abe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430954:(.text.unlikely+0x7b14): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430956:(.text.unlikely+0x7b2a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430980:(.text.unlikely+0x7bae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430992:(.text.unlikely+0x7bec): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430992:(.text.unlikely+0x7c0c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430993:(.text.unlikely+0x7c1a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431004:(.text.unlikely+0x7c46): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431005:(.text.unlikely+0x7c54): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431016:(.text.unlikely+0x7c80): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431016:(.text.unlikely+0x7c8e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431028:(.text.unlikely+0x7cba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431028:(.text.unlikely+0x7cc8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431052:(.text.unlikely+0x7d60): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431064:(.text.unlikely+0x7d90): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431076:(.text.unlikely+0x7de2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x7df6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431088:(.text.unlikely+0x7e04): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431089:(.text.unlikely+0x7e32): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431098:(.text.unlikely+0x7e40): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431100:(.text.unlikely+0x7e6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431101:(.text.unlikely+0x7e7c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431112:(.text.unlikely+0x7eaa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x7f04): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431136:(.text.unlikely+0x7f18): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431136:(.text.unlikely+0x7f26): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431146:(.text.unlikely+0x7f54): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431148:(.text.unlikely+0x7f62): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x7f90): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431160:(.text.unlikely+0x7f9e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x7fcc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x8016): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431194:(.text.unlikely+0x8060): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431196:(.text.unlikely+0x8076): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431196:(.text.unlikely+0x807c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431208:(.text.unlikely+0x80c8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x80de): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431220:(.text.unlikely+0x80f2): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431220:(.text.unlikely+0x810c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x8122): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431233:(.text.unlikely+0x8160): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431244:(.text.unlikely+0x8176): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x81aa): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431256:(.text.unlikely+0x81c0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431257:(.text.unlikely+0x81e6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431268:(.text.unlikely+0x81fc): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x8234): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431280:(.text.unlikely+0x824a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431280:(.text.unlikely+0x825e): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431292:(.text.unlikely+0x8280): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431292:(.text.unlikely+0x8296): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431304:(.text.unlikely+0x82d4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431304:(.text.unlikely+0x82ea): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0x82fe): undefined reference to `PyCMethod_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431316:(.text.unlikely+0x8318): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431316:(.text.unlikely+0x832e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431328:(.text.unlikely+0x836c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431338:(.text.unlikely+0x838a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431364:(.text.unlikely+0x842c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431365:(.text.unlikely+0x8446): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431376:(.text.unlikely+0x8484): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431388:(.text.unlikely+0x84c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431400:(.text.unlikely+0x84f8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431412:(.text.unlikely+0x854e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431422:(.text.unlikely+0x8564): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431425:(.text.unlikely+0x85a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431436:(.text.unlikely+0x85c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431438:(.text.unlikely+0x85d8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451296:(.text.unlikely+0x85fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431450:(.text.unlikely+0x8638): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431474:(.text.unlikely+0x86ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431486:(.text.unlikely+0x86f4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431498:(.text.unlikely+0x872a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431515:(.text.unlikely+0x8778): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431522:(.text.unlikely+0x878e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431536:(.text.unlikely+0x87c2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431536:(.text.unlikely+0x87d8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431542:(.text.unlikely+0x8864): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431552:(.text.unlikely+0x887e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431560:(.text.unlikely+0x88bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431570:(.text.unlikely+0x88fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431574:(.text.unlikely+0x8938): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431586:(.text.unlikely+0x8976): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431598: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431634:(.text.unlikely+0x8a76): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431651:(.text.unlikely+0x8acc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431661:(.text.unlikely+0x8ae2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431685:(.text.unlikely+0x8b4a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431686:(.text.unlikely+0x8b64): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431702:(.text.unlikely+0x8ba2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431714:(.text.unlikely+0x8be0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x8c1e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431739:(.text.unlikely+0x8c5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431741: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431815:(.text.unlikely+0x8e04): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431815:(.text.unlikely+0x8e1e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431836:(.text.unlikely+0x8e5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431850:(.text.unlikely+0x8e9a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431863:(.text.unlikely+0x8ed8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431874:(.text.unlikely+0x8f16): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431888: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431907:(.text.unlikely+0x8f9a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431936:(.text.unlikely+0x8ff0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431936:(.text.unlikely+0x9012): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431946:(.text.unlikely+0x9028): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431948:(.text.unlikely+0x904a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431960:(.text.unlikely+0x9080): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431972:(.text.unlikely+0x90d6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431972:(.text.unlikely+0x90ec): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431984:(.text.unlikely+0x9120): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431984:(.text.unlikely+0x9136): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432006:(.text.unlikely+0x91ac): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432008:(.text.unlikely+0x91c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432020:(.text.unlikely+0x9204): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432024:(.text.unlikely+0x9242): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432044:(.text.unlikely+0x9280): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432056:(.text.unlikely+0x92ce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432056:(.text.unlikely+0x92e4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432082:(.text.unlikely+0x9366): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432098:(.text.unlikely+0x93a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432116:(.text.unlikely+0x93e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451324:(.text.unlikely+0x9420): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432152:(.text.unlikely+0x945e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432154:(.text.unlikely+0x948a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432154:(.text.unlikely+0x94a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432160:(.text.unlikely+0x94e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text.unlikely+0x9520): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432203:(.text.unlikely+0x955e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x95b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451362:(.text.unlikely+0x95ca): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:35:(.text.unlikely+0x95fe): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451362:(.text.unlikely+0x9614): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.11/cpython/tupleobject.h:36:(.text.unlikely+0x964c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.11/object.h:770:(.text.unlikely+0x9662): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432289:(.text.unlikely+0x969a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432290:(.text.unlikely+0x96b0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432320:(.text.unlikely+0x972e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432338:(.text.unlikely+0x976c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432354:(.text.unlikely+0x97aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432373:(.text.unlikely+0x97d6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432376:(.text.unlikely+0x97f0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x982e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0x9874): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432414:(.text.unlikely+0x98b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432428:(.text.unlikely+0x98f8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432431: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432496:(.text.unlikely+0x9a98): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432498:(.text.unlikely+0x9ab2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432509:(.text.unlikely+0x9af8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432522:(.text.unlikely+0x9b36): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432526:(.text.unlikely+0x9b74): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432538:(.text.unlikely+0x9bb2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432551: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432624:(.text.unlikely+0x9d5a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432624:(.text.unlikely+0x9d74): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432636:(.text.unlikely+0x9db2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432648:(.text.unlikely+0x9df0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432660:(.text.unlikely+0x9e2e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432663:(.text.unlikely+0x9e6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432675: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432737:(.text.unlikely+0xa014): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432747:(.text.unlikely+0xa02e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432750:(.text.unlikely+0xa06c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432762:(.text.unlikely+0xa0aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0xa0e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432786:(.text.unlikely+0xa126): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432789: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432863:(.text.unlikely+0xa2ce): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432873:(.text.unlikely+0xa2e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432876:(.text.unlikely+0xa326): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432887:(.text.unlikely+0xa364): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432899:(.text.unlikely+0xa3a2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432911:(.text.unlikely+0xa3e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432921: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432983:(.text.unlikely+0xa588): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432983:(.text.unlikely+0xa5a2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432995:(.text.unlikely+0xa5e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433007:(.text.unlikely+0xa626): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433017:(.text.unlikely+0xa664): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433029:(.text.unlikely+0xa6a2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433032: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433091:(.text.unlikely+0xa84a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433101:(.text.unlikely+0xa864): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433104:(.text.unlikely+0xa8a2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433115:(.text.unlikely+0xa8e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433127:(.text.unlikely+0xa91e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433139:(.text.unlikely+0xa95c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433149: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433201:(.text.unlikely+0xab04): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433211:(.text.unlikely+0xab1e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451672:(.text.unlikely+0xab5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433235:(.text.unlikely+0xab9a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433239:(.text.unlikely+0xabd8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433251:(.text.unlikely+0xac2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433262:(.text.unlikely+0xac4c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433262:(.text.unlikely+0xac62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433265:(.text.unlikely+0xac8c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433275:(.text.unlikely+0xaca2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433284:(.text.unlikely+0xacc4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433293:(.text.unlikely+0xacda): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433295:(.text.unlikely+0xacfc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433305:(.text.unlikely+0xad12): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433307:(.text.unlikely+0xad34): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433307:(.text.unlikely+0xad4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433317:(.text.unlikely+0xad6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433319:(.text.unlikely+0xad82): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433319:(.text.unlikely+0xad92): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433329:(.text.unlikely+0xadac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433331:(.text.unlikely+0xadc2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433332:(.text.unlikely+0xade4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433341:(.text.unlikely+0xadfa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433343:(.text.unlikely+0xae1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433344:(.text.unlikely+0xae32): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433355:(.text.unlikely+0xae54): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0xae6a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433358:(.text.unlikely+0xae8c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433368:(.text.unlikely+0xaea2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433377:(.text.unlikely+0xaecc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433379:(.text.unlikely+0xaee2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433389:(.text.unlikely+0xaf04): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433391:(.text.unlikely+0xaf1a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433391:(.text.unlikely+0xaf3c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433401:(.text.unlikely+0xaf52): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433403:(.text.unlikely+0xaf74): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433404:(.text.unlikely+0xaf8a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433415:(.text.unlikely+0xafac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433415:(.text.unlikely+0xafc2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433425:(.text.unlikely+0xafe4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433427:(.text.unlikely+0xaffa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433427:(.text.unlikely+0xb00a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433428:(.text.unlikely+0xb024): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433437:(.text.unlikely+0xb03a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433439:(.text.unlikely+0xb05c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433449:(.text.unlikely+0xb072): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433451:(.text.unlikely+0xb094): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433451:(.text.unlikely+0xb0aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433461:(.text.unlikely+0xb0cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433463:(.text.unlikely+0xb0e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433464:(.text.unlikely+0xb10c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433473:(.text.unlikely+0xb122): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433475:(.text.unlikely+0xb144): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433485:(.text.unlikely+0xb15a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433487:(.text.unlikely+0xb17c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433487:(.text.unlikely+0xb192): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433499:(.text.unlikely+0xb1b4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433499:(.text.unlikely+0xb1ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433501:(.text.unlikely+0xb1ec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433502:(.text.unlikely+0xb202): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433512:(.text.unlikely+0xb224): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433516:(.text.unlikely+0xb262): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433539:(.text.unlikely+0xb2b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433540:(.text.unlikely+0xb2c8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433549:(.text.unlikely+0xb2e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433561:(.text.unlikely+0xb2f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433562:(.text.unlikely+0xb31a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433573:(.text.unlikely+0xb334): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433582:(.text.unlikely+0xb356): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433584:(.text.unlikely+0xb370): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433594:(.text.unlikely+0xb39a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433597:(.text.unlikely+0xb3d0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433609:(.text.unlikely+0xb41e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433620:(.text.unlikely+0xb440): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433620:(.text.unlikely+0xb456): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433630:(.text.unlikely+0xb478): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433632:(.text.unlikely+0xb48e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433632:(.text.unlikely+0xb4b0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433644:(.text.unlikely+0xb4e6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433656:(.text.unlikely+0xb534): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433657:(.text.unlikely+0xb556): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433666:(.text.unlikely+0xb56c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433668:(.text.unlikely+0xb57c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433668:(.text.unlikely+0xb596): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433678:(.text.unlikely+0xb5ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433680:(.text.unlikely+0xb5ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433680:(.text.unlikely+0xb5e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433690:(.text.unlikely+0xb606): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433692:(.text.unlikely+0xb628): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433702:(.text.unlikely+0xb64a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433704:(.text.unlikely+0xb66e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433705:(.text.unlikely+0xb688): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433716:(.text.unlikely+0xb6aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433717:(.text.unlikely+0xb6ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433726:(.text.unlikely+0xb6e8): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433728:(.text.unlikely+0xb70a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433738:(.text.unlikely+0xb72e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433740:(.text.unlikely+0xb748): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433750:(.text.unlikely+0xb76a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433752:(.text.unlikely+0xb78e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433764:(.text.unlikely+0xb7cc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433776:(.text.unlikely+0xb822): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433776:(.text.unlikely+0xb832): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433776:(.text.unlikely+0xb84c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433786:(.text.unlikely+0xb862): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433788:(.text.unlikely+0xb884): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433789:(.text.unlikely+0xb89a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433800:(.text.unlikely+0xb8c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433810:(.text.unlikely+0xb8fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433824:(.text.unlikely+0xb970): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433836:(.text.unlikely+0xb9ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433848:(.text.unlikely+0xb9ec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433858:(.text.unlikely+0xba2a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433870:(.text.unlikely+0xba68): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433873: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433884:(.text.unlikely+0xbad2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433885:(.text.unlikely+0xbaec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433896:(.text.unlikely+0xbb2a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433908:(.text.unlikely+0xbb70): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433920:(.text.unlikely+0xbbae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433930:(.text.unlikely+0xbbec): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433944:(.text.unlikely+0xbc66): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433956:(.text.unlikely+0xbca4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433968:(.text.unlikely+0xbce2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433980:(.text.unlikely+0xbd20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433990:(.text.unlikely+0xbd5e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433992:(.text.unlikely+0xbd8a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434002:(.text.unlikely+0xbda4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434005:(.text.unlikely+0xbde2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434016:(.text.unlikely+0xbe28): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434028:(.text.unlikely+0xbe66): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434040:(.text.unlikely+0xbea4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434050: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434101:(.text.unlikely+0xc044): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434112:(.text.unlikely+0xc05e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434122:(.text.unlikely+0xc0a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434134:(.text.unlikely+0xc0e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434136:(.text.unlikely+0xc120): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434148:(.text.unlikely+0xc15e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434160:(.text.unlikely+0xc19c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434172:(.text.unlikely+0xc1f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434182:(.text.unlikely+0xc214): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434184:(.text.unlikely+0xc22a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434184:(.text.unlikely+0xc24c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434194:(.text.unlikely+0xc262): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434196:(.text.unlikely+0xc284): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434196:(.text.unlikely+0xc29a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434206:(.text.unlikely+0xc2bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434208:(.text.unlikely+0xc2d2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434208:(.text.unlikely+0xc2e2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434218:(.text.unlikely+0xc2fc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434220:(.text.unlikely+0xc312): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434230:(.text.unlikely+0xc33c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434232:(.text.unlikely+0xc372): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434244:(.text.unlikely+0xc3c0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434254:(.text.unlikely+0xc3e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434256:(.text.unlikely+0xc3f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434257:(.text.unlikely+0xc41a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434266:(.text.unlikely+0xc430): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434268:(.text.unlikely+0xc452): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434269:(.text.unlikely+0xc468): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434280:(.text.unlikely+0xc48a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434280:(.text.unlikely+0xc4a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434290:(.text.unlikely+0xc4c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434292:(.text.unlikely+0xc4d8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434292:(.text.unlikely+0xc4fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434302:(.text.unlikely+0xc510): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434304:(.text.unlikely+0xc532): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434305:(.text.unlikely+0xc54a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434314:(.text.unlikely+0xc55a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434316:(.text.unlikely+0xc574): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434316:(.text.unlikely+0xc58c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434326:(.text.unlikely+0xc5b6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434328:(.text.unlikely+0xc5ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434338:(.text.unlikely+0xc5f0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434341:(.text.unlikely+0xc62e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434362:(.text.unlikely+0xc684): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434364:(.text.unlikely+0xc69a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434374:(.text.unlikely+0xc6ce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434376:(.text.unlikely+0xc6e4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434377:(.text.unlikely+0xc718): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434386:(.text.unlikely+0xc72e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434389:(.text.unlikely+0xc762): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434398:(.text.unlikely+0xc778): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434401:(.text.unlikely+0xc7ac): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434410:(.text.unlikely+0xc7c2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434413:(.text.unlikely+0xc7f6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434422:(.text.unlikely+0xc80c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434424:(.text.unlikely+0xc840): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434434:(.text.unlikely+0xc856): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434436:(.text.unlikely+0xc88a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434446:(.text.unlikely+0xc8a0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434448:(.text.unlikely+0xc8d4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434458:(.text.unlikely+0xc8ea): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434460:(.text.unlikely+0xc91e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434470:(.text.unlikely+0xc934): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434472:(.text.unlikely+0xc948): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434472:(.text.unlikely+0xc958): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434482:(.text.unlikely+0xc97e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434484:(.text.unlikely+0xc994): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434485:(.text.unlikely+0xc9ba): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434496:(.text.unlikely+0xc9d8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434496:(.text.unlikely+0xc9fe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434506:(.text.unlikely+0xca14): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434508:(.text.unlikely+0xca3a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434509:(.text.unlikely+0xca58): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434557:(.text.unlikely+0xcb86): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434566:(.text.unlikely+0xcba0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434578:(.text.unlikely+0xcbde): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434581:(.text.unlikely+0xcc1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434592:(.text.unlikely+0xcc5a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434606:(.text.unlikely+0xcc98): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434618: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0xcd90): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434666:(.text.unlikely+0xcde6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434666:(.text.unlikely+0xcdfc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434690:(.text.unlikely+0xce68): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434690:(.text.unlikely+0xce82): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434702:(.text.unlikely+0xcec0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434714:(.text.unlikely+0xcefe): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434726:(.text.unlikely+0xcf3c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434736:(.text.unlikely+0xcf7a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434810:(.text.unlikely+0xd122): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434810:(.text.unlikely+0xd13c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434822:(.text.unlikely+0xd17a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434834:(.text.unlikely+0xd1b8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434846:(.text.unlikely+0xd1fe): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434858:(.text.unlikely+0xd23c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434870: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434930:(.text.unlikely+0xd3ec): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434931:(.text.unlikely+0xd406): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434942:(.text.unlikely+0xd444): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434956:(.text.unlikely+0xd482): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434968:(.text.unlikely+0xd4c0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434980:(.text.unlikely+0xd506): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434991: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435064:(.text.unlikely+0xd6ae): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435064:(.text.unlikely+0xd6c8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435076:(.text.unlikely+0xd706): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435088:(.text.unlikely+0xd744): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435102:(.text.unlikely+0xd78a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435114:(.text.unlikely+0xd7c8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435126: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435185:(.text.unlikely+0xd968): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435186:(.text.unlikely+0xd982): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435203:(.text.unlikely+0xd9c8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435204:(.text.unlikely+0xda0e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435221:(.text.unlikely+0xda4c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435232:(.text.unlikely+0xda8a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435235: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435248:(.text.unlikely+0xdb06): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435260:(.text.unlikely+0xdb5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435270:(.text.unlikely+0xdb7e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435272:(.text.unlikely+0xdb94): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatDuplicateOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451862:(.text.unlikely+0xdbb6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435284:(.text.unlikely+0xdbcc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435284:(.text.unlikely+0xdbee): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435294:(.text.unlikely+0xdc08): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435294:(.text.unlikely+0xdc18): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435296:(.text.unlikely+0xdc32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435299:(.text.unlikely+0xdc4c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435310:(.text.unlikely+0xdc6e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435320:(.text.unlikely+0xdc98): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435322:(.text.unlikely+0xdcba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435334:(.text.unlikely+0xdcf0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435346:(.text.unlikely+0xdd3e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435347:(.text.unlikely+0xdd60): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435356:(.text.unlikely+0xdd76): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435358:(.text.unlikely+0xdd98): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435359:(.text.unlikely+0xddae): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435370:(.text.unlikely+0xddd0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435370:(.text.unlikely+0xdde6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435380:(.text.unlikely+0xde08): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435392:(.text.unlikely+0xde46): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435404:(.text.unlikely+0xde9c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435406:(.text.unlikely+0xdebe): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435406:(.text.unlikely+0xded4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435416:(.text.unlikely+0xdee4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435418:(.text.unlikely+0xdefe): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435418:(.text.unlikely+0xdf14): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435428:(.text.unlikely+0xdf3e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435430:(.text.unlikely+0xdf54): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435431:(.text.unlikely+0xdf76): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435442:(.text.unlikely+0xdfac): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435456:(.text.unlikely+0xdffa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435466:(.text.unlikely+0xe01c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435468:(.text.unlikely+0xe032): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435469:(.text.unlikely+0xe054): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435478:(.text.unlikely+0xe06a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435480:(.text.unlikely+0xe094): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435490:(.text.unlikely+0xe0aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435492:(.text.unlikely+0xe0cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435504:(.text.unlikely+0xe10a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435516:(.text.unlikely+0xe160): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435517:(.text.unlikely+0xe182): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435526:(.text.unlikely+0xe198): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435528:(.text.unlikely+0xe1a8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435528:(.text.unlikely+0xe1c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435540:(.text.unlikely+0xe200): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435562:(.text.unlikely+0xe276): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435565:(.text.unlikely+0xe2b4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435576:(.text.unlikely+0xe2f2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435588:(.text.unlikely+0xe328): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435600:(.text.unlikely+0xe376): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435601:(.text.unlikely+0xe398): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435610:(.text.unlikely+0xe3ae): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435612:(.text.unlikely+0xe3d0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435622:(.text.unlikely+0xe3e6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435624:(.text.unlikely+0xe408): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435624:(.text.unlikely+0xe41e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435634:(.text.unlikely+0xe440): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435636:(.text.unlikely+0xe456): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435636:(.text.unlikely+0xe46e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435646:(.text.unlikely+0xe488): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435658:(.text.unlikely+0xe4c6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435670:(.text.unlikely+0xe51c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435672:(.text.unlikely+0xe53e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435672:(.text.unlikely+0xe554): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435682:(.text.unlikely+0xe576): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435684:(.text.unlikely+0xe58c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435685:(.text.unlikely+0xe5ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435694:(.text.unlikely+0xe5c4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435696:(.text.unlikely+0xe5e6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435706:(.text.unlikely+0xe5fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435708:(.text.unlikely+0xe626): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435718:(.text.unlikely+0xe65c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435732:(.text.unlikely+0xe6aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435734:(.text.unlikely+0xe6cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451900:(.text.unlikely+0xe6e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435746:(.text.unlikely+0xe704): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435747:(.text.unlikely+0xe71a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435756:(.text.unlikely+0xe732): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435758:(.text.unlikely+0xe74c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435759:(.text.unlikely+0xe762): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435770:(.text.unlikely+0xe784): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435782:(.text.unlikely+0xe7c2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435794:(.text.unlikely+0xe818): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435795:(.text.unlikely+0xe83a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435806:(.text.unlikely+0xe850): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435806:(.text.unlikely+0xe872): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435816:(.text.unlikely+0xe888): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435818:(.text.unlikely+0xe8aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435819:(.text.unlikely+0xe8c0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435830:(.text.unlikely+0xe8e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435832:(.text.unlikely+0xe8f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatSORType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451938:(.text.unlikely+0xe91a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435845:(.text.unlikely+0xe950): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatSORType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451938:(.text.unlikely+0xe99e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435868:(.text.unlikely+0xe9c0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435869:(.text.unlikely+0xe9d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435878:(.text.unlikely+0xe9ee): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435880:(.text.unlikely+0xea08): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435881:(.text.unlikely+0xea1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435892:(.text.unlikely+0xea40): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435904:(.text.unlikely+0xea7e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435916:(.text.unlikely+0xead4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatSORType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451938:(.text.unlikely+0xeaf6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435928:(.text.unlikely+0xeb0c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435928:(.text.unlikely+0xeb2e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatSORType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451938:(.text.unlikely+0xeb44): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435940:(.text.unlikely+0xeb66): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435940:(.text.unlikely+0xeb7c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435952:(.text.unlikely+0xeb9e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435952:(.text.unlikely+0xebb4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435962:(.text.unlikely+0xebd6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435962:(.text.unlikely+0xebec): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435965:(.text.unlikely+0xec0e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435967:(.text.unlikely+0xec24): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435976:(.text.unlikely+0xec46): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435978:(.text.unlikely+0xec5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435979:(.text.unlikely+0xec74): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435989:(.text.unlikely+0xec8e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435989:(.text.unlikely+0xeca4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435991:(.text.unlikely+0xecc6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436004:(.text.unlikely+0xed04): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0xed56): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436018:(.text.unlikely+0xed78): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436028:(.text.unlikely+0xed8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436030:(.text.unlikely+0xedb0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436030:(.text.unlikely+0xedc6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436041:(.text.unlikely+0xede8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0xedfe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436043:(.text.unlikely+0xee20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436045:(.text.unlikely+0xee36): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0xee58): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436056:(.text.unlikely+0xee6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436067:(.text.unlikely+0xee90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436067:(.text.unlikely+0xeea6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436069:(.text.unlikely+0xeec8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436080:(.text.unlikely+0xeefe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436095:(.text.unlikely+0xef5c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436096:(.text.unlikely+0xef7a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436106:(.text.unlikely+0xefae): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436116:(.text.unlikely+0xefcc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436120:(.text.unlikely+0xf000): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436129:(.text.unlikely+0xf016): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436133:(.text.unlikely+0xf04a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436142:(.text.unlikely+0xf060): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436145:(.text.unlikely+0xf094): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436155:(.text.unlikely+0xf0aa): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436158:(.text.unlikely+0xf0de): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436159:(.text.unlikely+0xf0f4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436177:(.text.unlikely+0xf128): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436186:(.text.unlikely+0xf13e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436204:(.text.unlikely+0xf172): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436213:(.text.unlikely+0xf188): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436231:(.text.unlikely+0xf1bc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436240:(.text.unlikely+0xf1d2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436258:(.text.unlikely+0xf206): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436258:(.text.unlikely+0xf21c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436272:(.text.unlikely+0xf258): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436272:(.text.unlikely+0xf26e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436282:(.text.unlikely+0xf2a2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436284:(.text.unlikely+0xf2b8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436294:(.text.unlikely+0xf2ec): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436296:(.text.unlikely+0xf302): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436306:(.text.unlikely+0xf336): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436308:(.text.unlikely+0xf34c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436368:(.text.unlikely+0xf4c4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436370:(.text.unlikely+0xf4de): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436382:(.text.unlikely+0xf51c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436393:(.text.unlikely+0xf55a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436404:(.text.unlikely+0xf598): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436416:(.text.unlikely+0xf5d6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436426: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436486:(.text.unlikely+0xf77e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436488:(.text.unlikely+0xf798): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436498:(.text.unlikely+0xf7d6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436510:(.text.unlikely+0xf814): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436513:(.text.unlikely+0xf852): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436524:(.text.unlikely+0xf890): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436536: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436594:(.text.unlikely+0xfa38): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436596:(.text.unlikely+0xfa52): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436608:(.text.unlikely+0xfa90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436618:(.text.unlikely+0xface): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436630:(.text.unlikely+0xfb0c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436633:(.text.unlikely+0xfb4a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436644: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436704:(.text.unlikely+0xfcf2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436704:(.text.unlikely+0xfd0c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436716:(.text.unlikely+0xfd4a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436728:(.text.unlikely+0xfd90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436738:(.text.unlikely+0xfdce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436750:(.text.unlikely+0xfe0c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436762: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436812:(.text.unlikely+0xffbc): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436822:(.text.unlikely+0xffd6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436825:(.text.unlikely+0x10014): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436836:(.text.unlikely+0x10052): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436848:(.text.unlikely+0x10090): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436860:(.text.unlikely+0x100ce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436872:(.text.unlikely+0x1011c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436872:(.text.unlikely+0x1013e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436882:(.text.unlikely+0x10154): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436884:(.text.unlikely+0x1017e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436894:(.text.unlikely+0x10194): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436896:(.text.unlikely+0x101b6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436896:(.text.unlikely+0x101cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436906:(.text.unlikely+0x101ee): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436908:(.text.unlikely+0x10204): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436909:(.text.unlikely+0x10226): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436920:(.text.unlikely+0x10240): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436920:(.text.unlikely+0x10258): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436930:(.text.unlikely+0x10272): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436932:(.text.unlikely+0x1028c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436933:(.text.unlikely+0x102b6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436944:(.text.unlikely+0x102da): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436944:(.text.unlikely+0x102f4): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436954:(.text.unlikely+0x10316): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436956:(.text.unlikely+0x10330): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436956:(.text.unlikely+0x10352): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436966:(.text.unlikely+0x1036c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436968:(.text.unlikely+0x1038e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436980:(.text.unlikely+0x103cc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436992:(.text.unlikely+0x1041a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436993:(.text.unlikely+0x1043c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437002:(.text.unlikely+0x10452): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437004:(.text.unlikely+0x1047c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437014:(.text.unlikely+0x10492): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437016:(.text.unlikely+0x104b4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437016:(.text.unlikely+0x104ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437028:(.text.unlikely+0x104ec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437030:(.text.unlikely+0x10502): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437030:(.text.unlikely+0x10512): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451986:(.text.unlikely+0x1052c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437042:(.text.unlikely+0x10542): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437043:(.text.unlikely+0x10564): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437052:(.text.unlikely+0x1057a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437054:(.text.unlikely+0x1059c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451986:(.text.unlikely+0x105b2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437066:(.text.unlikely+0x105d4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437066:(.text.unlikely+0x105ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437083:(.text.unlikely+0x1060c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437083:(.text.unlikely+0x10622): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437084:(.text.unlikely+0x10644): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437094:(.text.unlikely+0x1065a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437100:(.text.unlikely+0x1067c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437110:(.text.unlikely+0x10692): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437117:(.text.unlikely+0x106bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437117:(.text.unlikely+0x106d2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437127:(.text.unlikely+0x106f4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437129:(.text.unlikely+0x1070a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437131:(.text.unlikely+0x1072c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437141:(.text.unlikely+0x10742): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437143:(.text.unlikely+0x10764): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452014:(.text.unlikely+0x1077a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437155:(.text.unlikely+0x1078a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437155:(.text.unlikely+0x107a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452014:(.text.unlikely+0x107ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437167:(.text.unlikely+0x107dc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437168:(.text.unlikely+0x107f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437179:(.text.unlikely+0x10814): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437179:(.text.unlikely+0x1082a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437189:(.text.unlikely+0x1084c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437191:(.text.unlikely+0x10862): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437201:(.text.unlikely+0x10884): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437204:(.text.unlikely+0x108c2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452052:(.text.unlikely+0x1091c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437229:(.text.unlikely+0x10932): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437239:(.text.unlikely+0x1096e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437241:(.text.unlikely+0x1098c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437253:(.text.unlikely+0x109c0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437253:(.text.unlikely+0x109d6): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452052:(.text.unlikely+0x109fc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437265:(.text.unlikely+0x10a12): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437291:(.text.unlikely+0x10ab0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437303:(.text.unlikely+0x10adc): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437303:(.text.unlikely+0x10af6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437315:(.text.unlikely+0x10b34): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437327:(.text.unlikely+0x10b72): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437339:(.text.unlikely+0x10bb0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437349:(.text.unlikely+0x10bee): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437353: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437425:(.text.unlikely+0x10d9e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437427:(.text.unlikely+0x10db8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437437:(.text.unlikely+0x10df6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437449:(.text.unlikely+0x10e34): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437452:(.text.unlikely+0x10e72): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437464:(.text.unlikely+0x10eb0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437477: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437513:(.text.unlikely+0x10fb0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437526:(.text.unlikely+0x11006): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437537:(.text.unlikely+0x11028): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437537:(.text.unlikely+0x1103e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437537:(.text.unlikely+0x1104e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437547:(.text.unlikely+0x11068): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437547:(.text.unlikely+0x1107e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437549:(.text.unlikely+0x110a0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437552:(.text.unlikely+0x110b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437563:(.text.unlikely+0x110d8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437563:(.text.unlikely+0x110ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437575:(.text.unlikely+0x11110): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437575:(.text.unlikely+0x11126): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452204:(.text.unlikely+0x11148): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437587:(.text.unlikely+0x11162): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437588:(.text.unlikely+0x11184): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437599:(.text.unlikely+0x111a6): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452204:(.text.unlikely+0x111d0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437611:(.text.unlikely+0x111ea): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437612:(.text.unlikely+0x1120c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437623:(.text.unlikely+0x11226): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437623:(.text.unlikely+0x11248): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437633:(.text.unlikely+0x11262): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437635:(.text.unlikely+0x11284): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437637:(.text.unlikely+0x1129e): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437647:(.text.unlikely+0x112c0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437661:(.text.unlikely+0x112fe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437673:(.text.unlikely+0x11350): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437673:(.text.unlikely+0x11360): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437683:(.text.unlikely+0x1137a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437685:(.text.unlikely+0x11390): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437685:(.text.unlikely+0x113b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452242:(.text.unlikely+0x113c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437697:(.text.unlikely+0x113ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437698:(.text.unlikely+0x11400): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437707:(.text.unlikely+0x11422): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437709:(.text.unlikely+0x11438): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437721:(.text.unlikely+0x11462): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437723:(.text.unlikely+0x11478): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437723:(.text.unlikely+0x1149a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437735:(.text.unlikely+0x114b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437735:(.text.unlikely+0x114d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452280:(.text.unlikely+0x114e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437747:(.text.unlikely+0x1150a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437748:(.text.unlikely+0x11520): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437759:(.text.unlikely+0x11542): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437759:(.text.unlikely+0x11558): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437769:(.text.unlikely+0x1157a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437771:(.text.unlikely+0x11590): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452280:(.text.unlikely+0x115b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437783:(.text.unlikely+0x115c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437783:(.text.unlikely+0x115d8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437793:(.text.unlikely+0x115f2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437793:(.text.unlikely+0x11608): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437796:(.text.unlikely+0x1162a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437798:(.text.unlikely+0x11640): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437809:(.text.unlikely+0x11662): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437809:(.text.unlikely+0x11678): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437821:(.text.unlikely+0x116a2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437822:(.text.unlikely+0x116b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437833:(.text.unlikely+0x116da): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437833:(.text.unlikely+0x116f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437834:(.text.unlikely+0x11712): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437846:(.text.unlikely+0x11750): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437860:(.text.unlikely+0x117aa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437869:(.text.unlikely+0x117c0): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452356:(.text.unlikely+0x117f4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437883:(.text.unlikely+0x1180a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452356:(.text.unlikely+0x1183e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437895:(.text.unlikely+0x11854): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452356:(.text.unlikely+0x11882): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437907:(.text.unlikely+0x11898): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452356:(.text.unlikely+0x118be): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437919:(.text.unlikely+0x118d4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437920:(.text.unlikely+0x118fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437929:(.text.unlikely+0x11910): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437931:(.text.unlikely+0x11936): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452356:(.text.unlikely+0x1194c): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437943:(.text.unlikely+0x11972): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437944:(.text.unlikely+0x11988): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437955:(.text.unlikely+0x119ae): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437956:(.text.unlikely+0x119c4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437967:(.text.unlikely+0x119ea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437967:(.text.unlikely+0x11a00): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452356:(.text.unlikely+0x11a26): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437979:(.text.unlikely+0x11a3c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437980:(.text.unlikely+0x11a62): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437989:(.text.unlikely+0x11a78): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438015:(.text.unlikely+0x11b0c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438017:(.text.unlikely+0x11b26): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438029:(.text.unlikely+0x11b64): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438041:(.text.unlikely+0x11ba2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438053:(.text.unlikely+0x11be0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438065:(.text.unlikely+0x11c1e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438075: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438128:(.text.unlikely+0x11dce): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438139:(.text.unlikely+0x11de8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438141:(.text.unlikely+0x11e26): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438152:(.text.unlikely+0x11e64): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438156:(.text.unlikely+0x11ea2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438167:(.text.unlikely+0x11ee0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438180: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438232:(.text.unlikely+0x12076): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438232:(.text.unlikely+0x1208e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438243:(.text.unlikely+0x120a8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438243:(.text.unlikely+0x120c2): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438245:(.text.unlikely+0x120e4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438247:(.text.unlikely+0x120fe): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438256:(.text.unlikely+0x12120): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438258:(.text.unlikely+0x1213a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438269:(.text.unlikely+0x1215c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438269:(.text.unlikely+0x12176): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438271:(.text.unlikely+0x12198): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438284:(.text.unlikely+0x121d6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438313:(.text.unlikely+0x12250): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438340:(.text.unlikely+0x12296): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438358:(.text.unlikely+0x122d4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438376:(.text.unlikely+0x12312): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438394:(.text.unlikely+0x1233e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438403:(.text.unlikely+0x12358): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438414:(.text.unlikely+0x12396): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438426:(.text.unlikely+0x123d4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438438:(.text.unlikely+0x12412): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438448:(.text.unlikely+0x12450): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438460: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438486:(.text.unlikely+0x12550): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438510:(.text.unlikely+0x125ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438511:(.text.unlikely+0x125f6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438522:(.text.unlikely+0x12610): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438532:(.text.unlikely+0x1264e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438535:(.text.unlikely+0x1268c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438546:(.text.unlikely+0x126ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438558:(.text.unlikely+0x12708): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438568: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438628:(.text.unlikely+0x128b0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438630:(.text.unlikely+0x128ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438642:(.text.unlikely+0x12908): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438654:(.text.unlikely+0x1295e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438655:(.text.unlikely+0x12980): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438664:(.text.unlikely+0x12996): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438666:(.text.unlikely+0x129b8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438678:(.text.unlikely+0x129ee): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438690:(.text.unlikely+0x12a3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438690:(.text.unlikely+0x12a5e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438700:(.text.unlikely+0x12a74): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438702:(.text.unlikely+0x12a9e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438703:(.text.unlikely+0x12ab4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438714:(.text.unlikely+0x12ad6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438714:(.text.unlikely+0x12aee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438724:(.text.unlikely+0x12b10): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438726:(.text.unlikely+0x12b28): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438727:(.text.unlikely+0x12b4a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438736:(.text.unlikely+0x12b62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438738:(.text.unlikely+0x12b72): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438739:(.text.unlikely+0x12b8c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438748:(.text.unlikely+0x12ba4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438750:(.text.unlikely+0x12bc6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438751:(.text.unlikely+0x12bde): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438762:(.text.unlikely+0x12c00): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438762:(.text.unlikely+0x12c18): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438772:(.text.unlikely+0x12c3a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438774:(.text.unlikely+0x12c52): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438775:(.text.unlikely+0x12c74): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438784:(.text.unlikely+0x12c8c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438786:(.text.unlikely+0x12cae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438796:(.text.unlikely+0x12cc6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438798:(.text.unlikely+0x12cf0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438799:(.text.unlikely+0x12d08): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438810:(.text.unlikely+0x12d2a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438820:(.text.unlikely+0x12d68): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438832:(.text.unlikely+0x12dbe): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438834:(.text.unlikely+0x12de0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438844:(.text.unlikely+0x12df6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438844:(.text.unlikely+0x12e06): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438846:(.text.unlikely+0x12e20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438846:(.text.unlikely+0x12e36): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438856:(.text.unlikely+0x12e58): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438858:(.text.unlikely+0x12e6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438859:(.text.unlikely+0x12e90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438870:(.text.unlikely+0x12ec6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438882:(.text.unlikely+0x12f14): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438892:(.text.unlikely+0x12f36): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438894:(.text.unlikely+0x12f4c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438895:(.text.unlikely+0x12f6e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438904:(.text.unlikely+0x12f84): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438906:(.text.unlikely+0x12fae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438916:(.text.unlikely+0x12fc4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438918:(.text.unlikely+0x12fe6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438918:(.text.unlikely+0x12ffc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438928:(.text.unlikely+0x1301e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438930:(.text.unlikely+0x13034): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438931:(.text.unlikely+0x13056): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438940:(.text.unlikely+0x1306c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438942:(.text.unlikely+0x1307c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438942:(.text.unlikely+0x13096): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438952:(.text.unlikely+0x130ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438954:(.text.unlikely+0x130ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438964:(.text.unlikely+0x1310c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438978:(.text.unlikely+0x1316a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438978:(.text.unlikely+0x13180): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438990:(.text.unlikely+0x131b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438990:(.text.unlikely+0x131ca): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439002:(.text.unlikely+0x131fe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439002:(.text.unlikely+0x13214): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439014:(.text.unlikely+0x13248): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439016:(.text.unlikely+0x1325e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439028:(.text.unlikely+0x13292): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439029:(.text.unlikely+0x132a8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439040:(.text.unlikely+0x132dc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439041:(.text.unlikely+0x132f2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439052:(.text.unlikely+0x1332e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452442:(.text.unlikely+0x13344): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439065:(.text.unlikely+0x13378): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439074:(.text.unlikely+0x1338e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439076:(.text.unlikely+0x133b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439086:(.text.unlikely+0x133ca): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439121:(.text.unlikely+0x134a4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439128:(.text.unlikely+0x134be): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439145:(.text.unlikely+0x134fc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439156:(.text.unlikely+0x1353a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439172:(.text.unlikely+0x13578): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439176:(.text.unlikely+0x135b6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439188: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439249:(.text.unlikely+0x1375e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439260:(.text.unlikely+0x13778): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439270:(.text.unlikely+0x137b6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x137f4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x13832): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439297:(.text.unlikely+0x13870): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439309: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x13a18): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439380:(.text.unlikely+0x13a32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439390:(.text.unlikely+0x13a70): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x13aae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x13aec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x13b32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439438: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439481:(.text.unlikely+0x13cdc): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439491:(.text.unlikely+0x13cfe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439504:(.text.unlikely+0x13d38): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439504:(.text.unlikely+0x13d48): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439513:(.text.unlikely+0x13d62): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439522:(.text.unlikely+0x13d78): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439533:(.text.unlikely+0x13d9a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439533:(.text.unlikely+0x13db0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439545:(.text.unlikely+0x13dda): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439545:(.text.unlikely+0x13df0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439555:(.text.unlikely+0x13e12): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439557:(.text.unlikely+0x13e28): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439557:(.text.unlikely+0x13e4a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439567:(.text.unlikely+0x13e60): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439569:(.text.unlikely+0x13e82): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439570:(.text.unlikely+0x13e98): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439581:(.text.unlikely+0x13eba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439581:(.text.unlikely+0x13ed0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439591:(.text.unlikely+0x13ef2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439593:(.text.unlikely+0x13f08): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439594:(.text.unlikely+0x13f2a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439603:(.text.unlikely+0x13f40): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439605:(.text.unlikely+0x13f62): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439606:(.text.unlikely+0x13f78): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439617:(.text.unlikely+0x13f9a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439617:(.text.unlikely+0x13fb0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439618:(.text.unlikely+0x13fc0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439627:(.text.unlikely+0x13fda): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439629:(.text.unlikely+0x13ff0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439639:(.text.unlikely+0x1401a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439639:(.text.unlikely+0x14030): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439641:(.text.unlikely+0x14052): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439651:(.text.unlikely+0x14068): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439653:(.text.unlikely+0x1408a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439663:(.text.unlikely+0x140b0): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439665:(.text.unlikely+0x140d6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439677:(.text.unlikely+0x14126): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439677:(.text.unlikely+0x1413c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439689:(.text.unlikely+0x14170): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439689:(.text.unlikely+0x1418e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439701:(.text.unlikely+0x141b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439701:(.text.unlikely+0x141ca): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439711:(.text.unlikely+0x141f0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439713:(.text.unlikely+0x14206): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439735:(.text.unlikely+0x1428e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439747:(.text.unlikely+0x142cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439749:(.text.unlikely+0x142f8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439750:(.text.unlikely+0x14312): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439762:(.text.unlikely+0x14358): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439773:(.text.unlikely+0x1438e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439785:(.text.unlikely+0x143dc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439787:(.text.unlikely+0x143f2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439811:(.text.unlikely+0x14464): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439823:(.text.unlikely+0x144aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439835:(.text.unlikely+0x144e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439845:(.text.unlikely+0x14526): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452518:(.text.unlikely+0x14564): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452518: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439871:(.text.unlikely+0x145ce): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439881:(.text.unlikely+0x145e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439898:(.text.unlikely+0x1462e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439905:(.text.unlikely+0x1466c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439922:(.text.unlikely+0x146aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439939:(.text.unlikely+0x146e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439950: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439999:(.text.unlikely+0x1481e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440011:(.text.unlikely+0x14874): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x1488c): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440023:(.text.unlikely+0x148a6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440023:(.text.unlikely+0x148bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440035:(.text.unlikely+0x148e6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440035:(.text.unlikely+0x148fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440045:(.text.unlikely+0x1491e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440047:(.text.unlikely+0x14934): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x14956): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440059:(.text.unlikely+0x1496c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440059:(.text.unlikely+0x1498e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440071:(.text.unlikely+0x149c4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440083:(.text.unlikely+0x14a12): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440093:(.text.unlikely+0x14a34): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440095:(.text.unlikely+0x14a4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x14a6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440107:(.text.unlikely+0x14a82): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440108:(.text.unlikely+0x14aa4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440117:(.text.unlikely+0x14aba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440119:(.text.unlikely+0x14adc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x14af2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440129:(.text.unlikely+0x14b02): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440131:(.text.unlikely+0x14b1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440132:(.text.unlikely+0x14b32): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440143:(.text.unlikely+0x14b5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440143:(.text.unlikely+0x14b72): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440155:(.text.unlikely+0x14b94): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440155:(.text.unlikely+0x14baa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x14bcc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440167:(.text.unlikely+0x14be2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440168:(.text.unlikely+0x14c04): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440177:(.text.unlikely+0x14c1a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440179:(.text.unlikely+0x14c3c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440180:(.text.unlikely+0x14c52): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440191:(.text.unlikely+0x14c74): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440191:(.text.unlikely+0x14c8a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440203:(.text.unlikely+0x14cac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440203:(.text.unlikely+0x14cc2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440213:(.text.unlikely+0x14ce4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440213:(.text.unlikely+0x14cfa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440216:(.text.unlikely+0x14d1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440218:(.text.unlikely+0x14d32): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440229:(.text.unlikely+0x14d5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440231:(.text.unlikely+0x14d9a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440244:(.text.unlikely+0x14df0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x14e0e): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440257:(.text.unlikely+0x14e42): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440266:(.text.unlikely+0x14e58): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440269:(.text.unlikely+0x14e8c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440279:(.text.unlikely+0x14ea2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440281:(.text.unlikely+0x14ec8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440283:(.text.unlikely+0x14ede): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440294:(.text.unlikely+0x14f04): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440294:(.text.unlikely+0x14f1a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440305:(.text.unlikely+0x14f40): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440307:(.text.unlikely+0x14f56): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440309:(.text.unlikely+0x14f7c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440320:(.text.unlikely+0x14f9a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440322:(.text.unlikely+0x14fc0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440331:(.text.unlikely+0x14fd6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440333:(.text.unlikely+0x14ffc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440335:(.text.unlikely+0x15012): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440346:(.text.unlikely+0x15038): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440347:(.text.unlikely+0x1504e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440357:(.text.unlikely+0x15074): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440359:(.text.unlikely+0x1508a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440370:(.text.unlikely+0x150b0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440370:(.text.unlikely+0x150c6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440373:(.text.unlikely+0x150ec): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440383:(.text.unlikely+0x15102): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440392:(.text.unlikely+0x15128): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440401:(.text.unlikely+0x1513e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440410:(.text.unlikely+0x15164): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440412:(.text.unlikely+0x15174): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440412:(.text.unlikely+0x15186): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440422:(.text.unlikely+0x15196): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440448:(.text.unlikely+0x15240): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440448:(.text.unlikely+0x1525a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440460:(.text.unlikely+0x15290): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440472:(.text.unlikely+0x152e6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440473:(.text.unlikely+0x152fc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440485:(.text.unlikely+0x15346): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440496:(.text.unlikely+0x15370): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440496:(.text.unlikely+0x15386): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440508:(.text.unlikely+0x153b0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440509:(.text.unlikely+0x153e6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440530:(.text.unlikely+0x15434): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440532:(.text.unlikely+0x15456): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440532:(.text.unlikely+0x1546c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440542:(.text.unlikely+0x1548e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440545:(.text.unlikely+0x154c4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440556:(.text.unlikely+0x15512): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440566:(.text.unlikely+0x15534): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440568:(.text.unlikely+0x1554a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440568:(.text.unlikely+0x1555a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440578:(.text.unlikely+0x15574): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440581:(.text.unlikely+0x155b2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440602:(.text.unlikely+0x15600): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440604:(.text.unlikely+0x15616): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440614:(.text.unlikely+0x1564a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440616:(.text.unlikely+0x15660): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440626:(.text.unlikely+0x15694): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440628:(.text.unlikely+0x156aa): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440628:(.text.unlikely+0x156d0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440638:(.text.unlikely+0x156e6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440640:(.text.unlikely+0x156fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440662:(.text.unlikely+0x15788): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440664:(.text.unlikely+0x157b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440674:(.text.unlikely+0x157c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440676:(.text.unlikely+0x157ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440676:(.text.unlikely+0x15800): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440693:(.text.unlikely+0x15822): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440693:(.text.unlikely+0x15858): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440711:(.text.unlikely+0x158a6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440721:(.text.unlikely+0x158bc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440744:(.text.unlikely+0x1591c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440745:(.text.unlikely+0x15936): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440761:(.text.unlikely+0x15974): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440773:(.text.unlikely+0x159b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440785:(.text.unlikely+0x159f0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440797:(.text.unlikely+0x15a2e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440809: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440857:(.text.unlikely+0x15baa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440871:(.text.unlikely+0x15c00): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440871:(.text.unlikely+0x15c18): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440881:(.text.unlikely+0x15c32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440883:(.text.unlikely+0x15c48): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440883:(.text.unlikely+0x15c6a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440893:(.text.unlikely+0x15c80): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440895:(.text.unlikely+0x15caa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440907:(.text.unlikely+0x15ce0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440919:(.text.unlikely+0x15d2e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440920:(.text.unlikely+0x15d50): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440929:(.text.unlikely+0x15d66): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440931:(.text.unlikely+0x15d90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440932:(.text.unlikely+0x15da6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440941:(.text.unlikely+0x15dc8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440943:(.text.unlikely+0x15dde): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440946:(.text.unlikely+0x15e00): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440955:(.text.unlikely+0x15e16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440957:(.text.unlikely+0x15e38): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440967:(.text.unlikely+0x15e4e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440969:(.text.unlikely+0x15e70): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440970:(.text.unlikely+0x15e86): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440979:(.text.unlikely+0x15e96): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440981:(.text.unlikely+0x15eb0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440981:(.text.unlikely+0x15ec6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440991:(.text.unlikely+0x15ee8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440993:(.text.unlikely+0x15efe): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440994:(.text.unlikely+0x15f20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441003:(.text.unlikely+0x15f36): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441005:(.text.unlikely+0x15f58): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441006:(.text.unlikely+0x15f6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441017:(.text.unlikely+0x15f90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441017:(.text.unlikely+0x15fa6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441027:(.text.unlikely+0x15fd0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441029:(.text.unlikely+0x15fe6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441039:(.text.unlikely+0x16008): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441041:(.text.unlikely+0x1601e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441042:(.text.unlikely+0x16048): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441051:(.text.unlikely+0x1605e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441053:(.text.unlikely+0x16080): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441054:(.text.unlikely+0x16096): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441065:(.text.unlikely+0x160b8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441065:(.text.unlikely+0x160ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441075:(.text.unlikely+0x160f0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441077:(.text.unlikely+0x16106): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441077:(.text.unlikely+0x16116): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441078:(.text.unlikely+0x16130): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441087:(.text.unlikely+0x16146): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441089:(.text.unlikely+0x16168): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441099:(.text.unlikely+0x1617e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441101:(.text.unlikely+0x161a0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441101:(.text.unlikely+0x161b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441111:(.text.unlikely+0x161d8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441113:(.text.unlikely+0x161ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441114:(.text.unlikely+0x16218): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441123:(.text.unlikely+0x1622e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441125:(.text.unlikely+0x16250): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441127:(.text.unlikely+0x16266): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441137:(.text.unlikely+0x16288): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441139:(.text.unlikely+0x1629e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441149:(.text.unlikely+0x162c0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441151:(.text.unlikely+0x162d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452584:(.text.unlikely+0x162f8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441163:(.text.unlikely+0x1630e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441163:(.text.unlikely+0x16330): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441173:(.text.unlikely+0x16346): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441175:(.text.unlikely+0x16368): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441189:(.text.unlikely+0x163a6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441201:(.text.unlikely+0x163f4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x1640a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441213:(.text.unlikely+0x1643e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x1645c): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441235:(.text.unlikely+0x164aa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441237:(.text.unlikely+0x164c0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441249:(.text.unlikely+0x164fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441249:(.text.unlikely+0x16514): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x1652e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441261:(.text.unlikely+0x16544): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441262:(.text.unlikely+0x1656e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441273:(.text.unlikely+0x165a4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441285:(.text.unlikely+0x165f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441297:(.text.unlikely+0x16614): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441297:(.text.unlikely+0x1662a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x1664c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441309:(.text.unlikely+0x16662): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441310:(.text.unlikely+0x16684): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441319:(.text.unlikely+0x1669a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441321:(.text.unlikely+0x166bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441333:(.text.unlikely+0x166fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441345:(.text.unlikely+0x16748): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441355:(.text.unlikely+0x1676a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441355:(.text.unlikely+0x16780): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441357:(.text.unlikely+0x167a2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441360:(.text.unlikely+0x167b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441369:(.text.unlikely+0x167c8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441371:(.text.unlikely+0x167e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441371:(.text.unlikely+0x167f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441383:(.text.unlikely+0x16822): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441395:(.text.unlikely+0x16858): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441407:(.text.unlikely+0x168ae): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441408:(.text.unlikely+0x168d0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441419:(.text.unlikely+0x168e6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441419:(.text.unlikely+0x16908): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441429:(.text.unlikely+0x1691e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441431:(.text.unlikely+0x16940): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441443:(.text.unlikely+0x16976): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441457:(.text.unlikely+0x169d4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452708:(.text.unlikely+0x169ea): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441469:(.text.unlikely+0x16a1e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452708:(.text.unlikely+0x16a34): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441481:(.text.unlikely+0x16a68): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452708:(.text.unlikely+0x16a7e): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441494:(.text.unlikely+0x16ab2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441503:(.text.unlikely+0x16ac8): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452708:(.text.unlikely+0x16b98): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441541:(.text.unlikely+0x16bb2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441553:(.text.unlikely+0x16bf8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441565:(.text.unlikely+0x16c36): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441567:(.text.unlikely+0x16c74): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x16cb2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441591: more undefined references to `_PyDict_SetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441606:(.text.unlikely+0x16d74): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441619:(.text.unlikely+0x16dc2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441620:(.text.unlikely+0x16dd8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441634:(.text.unlikely+0x16e3c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441645:(.text.unlikely+0x16e7a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441656:(.text.unlikely+0x16eae): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441658:(.text.unlikely+0x16ec8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441669:(.text.unlikely+0x16f06): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441682:(.text.unlikely+0x16f4c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441700:(.text.unlikely+0x16f8a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441727:(.text.unlikely+0x16fc8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441745:(.text.unlikely+0x16ffe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441757:(.text.unlikely+0x1705c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441767:(.text.unlikely+0x1707a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441781:(.text.unlikely+0x170d6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441791:(.text.unlikely+0x17114): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441803:(.text.unlikely+0x17152): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441806:(.text.unlikely+0x17198): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441817:(.text.unlikely+0x171ce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441829:(.text.unlikely+0x1721c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441830:(.text.unlikely+0x17232): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441841:(.text.unlikely+0x17272): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441851:(.text.unlikely+0x1728c): undefined reference to `_PyDict_NewPresized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441853:(.text.unlikely+0x172a8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441853:(.text.unlikely+0x172be): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441863:(.text.unlikely+0x172d4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441865:(.text.unlikely+0x172ea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441865:(.text.unlikely+0x17300): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441875: more undefined references to `PyDict_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441961:(.text.unlikely+0x17548): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441973:(.text.unlikely+0x1759c): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441973:(.text.unlikely+0x175b2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441983:(.text.unlikely+0x175d4): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441985:(.text.unlikely+0x175ea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441995:(.text.unlikely+0x1760c): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441997:(.text.unlikely+0x17622): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441997:(.text.unlikely+0x17644): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442007:(.text.unlikely+0x1765a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442009:(.text.unlikely+0x1767c): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442010:(.text.unlikely+0x17692): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442021:(.text.unlikely+0x176b4): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442021:(.text.unlikely+0x176ca): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442031:(.text.unlikely+0x176ee): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442033:(.text.unlikely+0x17708): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442033:(.text.unlikely+0x1771e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442067:(.text.unlikely+0x177d4): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442067:(.text.unlikely+0x177dc): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442069:(.text.unlikely+0x177e4): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442069:(.text.unlikely+0x177ec): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442069:(.text.unlikely+0x177f4): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442069: more undefined references to `PyThread_allocate_lock' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442081:(.text.unlikely+0x17840): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442081:(.text.unlikely+0x1785a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442091:(.text.unlikely+0x17870): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442093:(.text.unlikely+0x17886): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442093:(.text.unlikely+0x178a0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442103:(.text.unlikely+0x178b6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442105:(.text.unlikely+0x178ca): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442105:(.text.unlikely+0x178e0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text.unlikely+0x17b18): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text.unlikely+0x17b20): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text.unlikely+0x17b32): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442344:(.text.unlikely+0x17e78): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442354:(.text.unlikely+0x17e9e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442358:(.text.unlikely+0x17ede): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442369:(.text.unlikely+0x17f1e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442380:(.text.unlikely+0x17f5e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442384: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442408:(.text.unlikely+0x1801e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442437:(.text.unlikely+0x1807a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442449:(.text.unlikely+0x180ba): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442463:(.text.unlikely+0x18116): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442475:(.text.unlikely+0x18158): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442487:(.text.unlikely+0x181b4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442497:(.text.unlikely+0x181f6): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442513:(.text.unlikely+0x18252): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442524:(.text.unlikely+0x18298): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442547:(.text.unlikely+0x182f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442559:(.text.unlikely+0x1833a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442571:(.text.unlikely+0x18396): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442583:(.text.unlikely+0x183dc): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442595:(.text.unlikely+0x18438): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442607:(.text.unlikely+0x18484): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442631:(.text.unlikely+0x18526): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442643:(.text.unlikely+0x1856e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442655:(.text.unlikely+0x185b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442667:(.text.unlikely+0x185fe): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442679:(.text.unlikely+0x18656): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442691:(.text.unlikely+0x1869e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442704:(.text.unlikely+0x186f6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442716:(.text.unlikely+0x18740): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442730:(.text.unlikely+0x18798): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452774:(.text.unlikely+0x187e2): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452774:(.text.unlikely+0x1883a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452774:(.text.unlikely+0x18888): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442811:(.text.unlikely+0x1894c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442816:(.text.unlikely+0x18994): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452812:(.text.unlikely+0x189dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442849: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442875:(.text.unlikely+0x18ab4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442887:(.text.unlikely+0x18b10): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442899:(.text.unlikely+0x18b58): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442912:(.text.unlikely+0x18bb8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442924:(.text.unlikely+0x18c02): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442947:(.text.unlikely+0x18c5e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442959:(.text.unlikely+0x18ca8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442971:(.text.unlikely+0x18d04): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442984:(.text.unlikely+0x18d4e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443005:(.text.unlikely+0x18daa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443017:(.text.unlikely+0x18df4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443031:(.text.unlikely+0x18e50): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443044:(.text.unlikely+0x18e9a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443048:(.text.unlikely+0x18ef6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443060:(.text.unlikely+0x18f40): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443074:(.text.unlikely+0x18f9c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443087:(.text.unlikely+0x18fea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443124:(.text.unlikely+0x190b0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443148:(.text.unlikely+0x1912c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443161:(.text.unlikely+0x19174): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443165: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444565:(.text.unlikely+0x1b140): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444578:(.text.unlikely+0x1b198): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444613:(.text.unlikely+0x1b1f0): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444636:(.text.unlikely+0x1b248): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444648:(.text.unlikely+0x1b2b0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444672:(.text.unlikely+0x1b346): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444682:(.text.unlikely+0x1b37a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444684:(.text.unlikely+0x1b3a0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444694:(.text.unlikely+0x1b3c8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444708:(.text.unlikely+0x1b424): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444718:(.text.unlikely+0x1b46c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444722:(.text.unlikely+0x1b49a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444759:(.text.unlikely+0x1b55c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444771:(.text.unlikely+0x1b5a4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444783: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444793:(.text.unlikely+0x1b634): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444805:(.text.unlikely+0x1b68c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444817:(.text.unlikely+0x1b6d4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444831:(.text.unlikely+0x1b72c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444841:(.text.unlikely+0x1b776): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x1b7ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444859:(.text.unlikely+0x1b818): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444882:(.text.unlikely+0x1b870): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444918:(.text.unlikely+0x1b976): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445031:(.text.unlikely+0x1bd94): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445054:(.text.unlikely+0x1bdd8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445113:(.text.unlikely+0x1be1c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445125: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429177:(.text.unlikely+0x1c9aa): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429192:(.text.unlikely+0x1c9fc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429192:(.text.unlikely+0x1ca08): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429194:(.text.unlikely+0x1ca5a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429179:(.text.unlikely+0x1ca6a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429208:(.text.unlikely+0x1ca76): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429209:(.text.unlikely+0x1ca82): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429209:(.text.unlikely+0x1ca92): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429209:(.text.unlikely+0x1cac2): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429196:(.text.unlikely+0x1cb18): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429225:(.text.unlikely+0x1cb24): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429226:(.text.unlikely+0x1cb30): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429228:(.text.unlikely+0x1cb86): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429230:(.text.unlikely+0x1cb92): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429228:(.text.unlikely+0x1cb9e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.11/object.h:502:(.text.unlikely+0x1cbf4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/include/python3.11/object.h:502:(.text.unlikely+0x1cc00): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429243:(.text.unlikely+0x1cc0c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429245:(.text.unlikely+0x1cc62): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x1cc6e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429230:(.text.unlikely+0x1cc7e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429259:(.text.unlikely+0x1cc8a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429260:(.text.unlikely+0x1cc96): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/include/python3.11/object.h:502: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429488:(.text.unlikely+0x1d3de): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429500:(.text.unlikely+0x1d430): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x1d43c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429502:(.text.unlikely+0x1d48e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429502:(.text.unlikely+0x1d49a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429538:(.text.unlikely+0x1d4ec): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429538:(.text.unlikely+0x1d4f8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x1d504): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429536:(.text.unlikely+0x1d510): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429526:(.text.unlikely+0x1d51c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429526: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429769:(.text.unlikely+0x1dcd8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430774:(.text.unlikely+0x1dd2a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x1dd36): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429830:(.text.unlikely+0x1dd88): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429830:(.text.unlikely+0x1dd94): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429830:(.text.unlikely+0x1dda0): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429899:(.text.unlikely+0x1ddf2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429899:(.text.unlikely+0x1ddfe): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x1de54): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429974:(.text.unlikely+0x1de60): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x1deb6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430043:(.text.unlikely+0x1dec6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0x1ded2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430070:(.text.unlikely+0x1dede): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430070:(.text.unlikely+0x1deea): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429827:(.text.unlikely+0x1e182): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x1e1d4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429902:(.text.unlikely+0x1e1e0): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429971:(.text.unlikely+0x1e232): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429971:(.text.unlikely+0x1e23e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430046:(.text.unlikely+0x1e290): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430046:(.text.unlikely+0x1e29c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430115:(.text.unlikely+0x1e2f2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430139:(.text.unlikely+0x1e2fe): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430190:(.text.unlikely+0x1e354): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x1e360): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x1e3b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430284:(.text.unlikely+0x1e3c6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430308:(.text.unlikely+0x1e3d2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430311:(.text.unlikely+0x1e3de): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430311:(.text.unlikely+0x1e3ea): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430956:(.text.unlikely+0x1e62e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x1e684): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429841:(.text.unlikely+0x1e690): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429913:(.text.unlikely+0x1e6e6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429913:(.text.unlikely+0x1e6f2): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429985:(.text.unlikely+0x1e748): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x1e754): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x1e7aa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430081:(.text.unlikely+0x1e7b6): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430153:(.text.unlikely+0x1e80c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430177:(.text.unlikely+0x1e81c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430177:(.text.unlikely+0x1e828): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430177:(.text.unlikely+0x1e834): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x1e840): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430201: more undefined references to `PyObject_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-311/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440229:(.text.unlikely+0x2d7aa): undefined reference to `PyModuleDef_Init' collect2: error: ld returned 1 exit status error: command '/usr/bin/mpicc' failed with exit code 1 E: pybuild pybuild:391: build: plugin distutils failed with: exit code=1: /usr/bin/python3.11 setup.py build --force I: pybuild base:305: /usr/bin/python3 setup.py build --force running build running build_src using Cython 0.29.36 cythonizing 'petsc4py/PETSc.pyx' -> 'petsc4py/PETSc.c' running build_py creating /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py copying src/petsc4py/__init__.py -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py copying src/petsc4py/__main__.py -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py copying src/petsc4py/PETSc.py -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py creating /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/lib copying src/petsc4py/lib/__init__.py -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/lib copying src/petsc4py/PETSc.pxd -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py copying src/petsc4py/PETSc.h -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py copying src/petsc4py/PETSc_api.h -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py creating /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/include creating /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/petsc4py.h -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/pyscalar.h -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/pybuffer.h -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/numpy.h -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/include/petsc4py/petsc4py.i -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/include/petsc4py copying src/petsc4py/lib/petsc.cfg -> /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/lib running build_ext PETSC_DIR: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real PETSC_ARCH: version: 3.19.6 release integer-size: 32-bit scalar-type: real precision: double language: CONLY compiler: mpicc linker: mpicc building 'PETSc' extension creating build/temp.linux-riscv64-cpython-312 creating build/temp.linux-riscv64-cpython-312/src creating build/temp.linux-riscv64-cpython-312/src/petsc4py mpicc -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/build/petsc-jCtT3k/petsc-3.19.6+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -fPIC -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -fno-stack-clash-protection -Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/petsc4py-3.19.6-3 -DMPICH_SKIP_MPICXX=1 -DOMPI_SKIP_MPICXX=1 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -Isrc -Isrc/petsc4py/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/usr/include/python3.12 -c src/petsc4py/PETSc.c -o build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o src/petsc4py/PETSc.c: In function ‘__pyx_pymod_exec_PETSc’: src/petsc4py/PETSc.c:428792:30: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without 428792 | static CYTHON_SMALL_CODE int __pyx_pymod_exec_PETSc(PyObject *__pyx_pyinit_module) | ^~~~~~~~~~~~~~~~~~~~~~ mpicc -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,-z,defs -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/build/petsc-jCtT3k/petsc-3.19.6+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o -L/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/lib -Wl,--enable-new-dtags,-R/usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/lib -lpetsc_real -o /<>/.pybuild/cpython3_3.12_petsc4py_real3.19/build/petsc4py/lib/PETSc.cpython-312-riscv64-linux-gnu.so /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text+0xac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_closure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443733:(.text+0x51c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443735:(.text+0x530): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443733:(.text+0x556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443809: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443807:(.text+0x936): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443831:(.text+0xa2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa48): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa9a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0xad2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__Mat_Stencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443859:(.text+0xb08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443833:(.text+0xb3a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text+0xb76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text+0xc2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text+0xc46): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/include/python3.12/object.h:701:(.text+0xc60): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0xc7a): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_init_defaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443871:(.text+0xcd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_kwdefaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443895:(.text+0xd4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_defaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443907:(.text+0xdc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text+0xdf2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443895:(.text+0xe0a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443919:(.text+0xe54): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xebe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_RaiseExpected': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443931:(.text+0xf06): undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CheckKeywordStrings': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443931:(.text+0xf1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443929:(.text+0xf30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf66): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0xf7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CheckKeywordStrings': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443943:(.text+0xfaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0xfba): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443941:(.text+0xfc4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443941:(.text+0xfca): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443931:(.text+0xfe0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xff2): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0x1012): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443955:(.text+0x1044): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text+0x1054): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x106c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443943:(.text+0x107e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443943:(.text+0x1082): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1096): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x109c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0x10a4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443967:(.text+0x10c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443965:(.text+0x10e0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443977:(.text+0x1184): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443977:(.text+0x118c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443967:(.text+0x11a4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1424): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `KSPConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444039:(.text+0x1452): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444039:(.text+0x146a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444027:(.text+0x14a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_get_dict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444051:(.text+0x1510): undefined reference to `PyExc_DeprecationWarning' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444049:(.text+0x1524): undefined reference to `PyErr_WarnFormat' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_sq_item_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text+0x1536): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x154e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0x1572): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x15ae): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444061:(.text+0x15c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text+0x15ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444051:(.text+0x15e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444087:(.text+0x16bc): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444087:(.text+0x16c4): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444085:(.text+0x16ee): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x171c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1728): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1730): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview__slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444099:(.text+0x174c): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0x17d6): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0x1866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453236:(.text+0x186c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444123:(.text+0x1872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc___pyx_scope_struct_1_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444123:(.text+0x188e): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444111:(.text+0x18d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444111:(.text+0x18da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x18e6): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x18ee): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc___pyx_scope_struct__EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444135:(.text+0x1914): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444147:(.text+0x19ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444147:(.text+0x19c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444147:(.text+0x19c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444147:(.text+0x19cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444147:(.text+0x19d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444145:(.text+0x19e4): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444145:(.text+0x19ec): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a14): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444159:(.text+0x1a5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444159:(.text+0x1a60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444159:(.text+0x1a6c): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x1a74): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `MatHasPreallocationAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x1ea2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444207:(.text+0x1eb4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2140): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x34ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x34f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CleanupGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444732:(.text+0x34fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444732:(.text+0x3502): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444734: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445020:(.text+0x41e6): undefined reference to `PyMem_Free' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445139:(.text+0x445c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445139:(.text+0x446a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x447a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445149:(.text+0x448c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445149:(.text+0x449a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445151: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4680): undefined reference to `PyUnicode_InternFromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x46c0): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445254:(.text+0x46dc): undefined reference to `PyObject_Free' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:701:(.text+0x46fa): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_module_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445283:(.text+0x4760): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445283:(.text+0x4766): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445284:(.text+0x478a): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x4792): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x47e4): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x47f4): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_capsule_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449934:(.text+0x4808): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_module_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445318:(.text+0x4882): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444930:(.text+0x48f4): undefined reference to `PyBuffer_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444930:(.text+0x48fa): undefined reference to `PyThread_free_lock' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444942:(.text+0x4916): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_module_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444942:(.text+0x491c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444942:(.text+0x4922): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444944:(.text+0x4928): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444944:(.text+0x4936): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444944:(.text+0x4940): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444988:(.text+0x49a8): undefined reference to `PyObject_Init' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444988:(.text+0x49ae): undefined reference to `PyObject_GC_Track' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445005:(.text+0x4a1a): undefined reference to `PyObject_Init' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444932:(.text+0x4a20): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445030:(.text+0x4d66): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:444932:(.text+0x4d72): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc___pyx_scope_struct_1_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445175:(.text+0x4f6a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445185:(.text+0x4f7c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445185:(.text+0x4f98): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc___pyx_scope_struct__EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445187:(.text+0x4fb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x4fcc): undefined reference to `PyExc_KeyError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445198:(.text+0x4fd8): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445198:(.text+0x4fe2): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text+0x4fea): undefined reference to `PyExc_KeyError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc___pyx_scope_struct__EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445212:(.text+0x4ff6): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445226:(.text+0x5010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `DMDACreateND': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445307:(.text+0x50ba): undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text+0x50c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445307:(.text+0x50d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445318:(.text+0x5100): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445318:(.text+0x5114): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PCHPDDMSetRHSMat': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:12:(.text+0x51ce): undefined reference to `PyMethod_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PCHPDDMHasNeumannMat': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:13:(.text+0x5210): undefined reference to `_PyObject_GC_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PCHPDDMGetCoarseCorrectionType': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:15:(.text+0x52ba): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_traverse__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x5334): undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/hpddm.h:17:(.text+0x536c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:11:(.text+0x537a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCreateMPIViennaCLWithArrays': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/viennacl.h:12:(.text+0x53e2): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:11:(.text+0x5416): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:11:(.text+0x541c): undefined reference to `PyErr_PrintEx' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:11:(.text+0x5422): undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:11:(.text+0x5434): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:11:(.text+0x543c): undefined reference to `PyErr_WriteUnraisable' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyBytes_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:12:(.text+0x546a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:12:(.text+0x5472): undefined reference to `PyErr_WriteUnraisable' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:12:(.text+0x547a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `MatCreateDenseCUDA': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/cuda.h:17:(.text+0x55fa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `MatCreateH2OpusFromMat': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/h2opus.h:11:(.text+0x560c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:12:(.text+0x577c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:12:(.text+0x5790): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:13:(.text+0x57ba): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PCSPAISetMax': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:13:(.text+0x57ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:13:(.text+0x57d6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:13:(.text+0x57ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PCSPAISetVerbose': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:17:(.text+0x590a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/compat/spai.h:18:(.text+0x591e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `vsnprintf': /usr/include/riscv64-linux-gnu/bits/stdio2.h:68:(.text+0x59e6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_fatalerror': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447527:(.text+0x59f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446558:(.text+0x5a58): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446560:(.text+0x5a6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_TypeCharToStandardSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450054:(.text+0x5e16): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ProcessTypeChunk': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450226:(.text+0x5e28): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450208:(.text+0x5f4a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450241:(.text+0x5f5c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450260:(.text+0x6134): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_TypeCharToNativeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450076:(.text+0x6146): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_TypeCharToGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450160:(.text+0x616c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_TypeCharToNativeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450082:(.text+0x6180): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450081:(.text+0x618a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ProcessTypeChunk': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450212:(.text+0x61a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450212:(.text+0x61aa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_copy_strided_to_strided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410006:(.text+0x61bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410063:(.text+0x61c6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410063:(.text+0x61da): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410191:(.text+0x61e4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410201:(.text+0x61f6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410201:(.text+0x6202): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410201:(.text+0x6214): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20076:(.text+0x62d4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x630c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x633a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_15_DMDA_Vec_array_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419540:(.text+0x6346): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6398): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryviewslice_base': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423544:(.text+0x63a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoCheckReals': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:585:(.text+0x63ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:585:(.text+0x63fc): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:585:(.text+0x6406): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:585:(.text+0x640c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:587:(.text+0x6422): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscIsInfOrNanReal': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscmath.h:794:(.text+0x6436): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscmath.h:794:(.text+0x6448): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoCheckReals': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:587:(.text+0x6452): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESLogConvergenceHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/snesimpl.h:245:(.text+0x6488): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESLogHistory': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:448:(.text+0x6496): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450340:(.text+0x64cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0x64da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0x6510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0x651e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450410:(.text+0x6554): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0x6562): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ExpectNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450020:(.text+0x6598): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450343:(.text+0x65da): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450430:(.text+0x65e2): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450439:(.text+0x65f6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450455:(.text+0x662e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_ParseNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450008:(.text+0x6642): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450009:(.text+0x6670): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450419:(.text+0x6692): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450420:(.text+0x66aa): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450425:(.text+0x66be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450371:(.text+0x66c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450371:(.text+0x66da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450387:(.text+0x66e6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450399:(.text+0x6732): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_buffmt_parse_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450303:(.text+0x6768): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450308:(.text+0x6774): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450311:(.text+0x67c2): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_CheckString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450464:(.text+0x6964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_buffmt_parse_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450318:(.text+0x697a): undefined reference to `PyObject_Free' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450331:(.text+0x698e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450331:(.text+0x6994): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450331:(.text+0x699a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450331:(.text+0x69a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450333:(.text+0x69a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450390: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_manager_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15485:(.text+0x69e2): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15504:(.text+0x69ec): undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15522:(.text+0x6a00): undefined reference to `PyObject_GC_Del' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tp_clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90474:(.text+0x6a0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90522:(.text+0x6a50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscDEALLOC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20160:(.text+0x6a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20160:(.text+0x6a62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Sys': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419997:(.text+0x6a74): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419997:(.text+0x6a86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Log': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420110:(.text+0x6ac8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420110:(.text+0x6ad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420110:(.text+0x6ada): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6aec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6afe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6b46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.12/cpython/listobject.h:33:(.text+0x6b4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/cpython/listobject.h:34:(.text+0x6b5e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6b72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IterFinish': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447025:(.text+0x6bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447026:(.text+0x6be8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6bfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x6c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6c70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6cbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422070:(.text+0x6d18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x6d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x6d72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423144:(.text+0x6d84): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445659:(.text+0x6dd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x6dda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445651:(.text+0x6dec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_doc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448054:(.text+0x6e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448054:(.text+0x6e42): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448063:(.text+0x6e54): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__GetModuleGlobalName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447695:(.text+0x6e5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447699:(.text+0x6e6e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447722:(.text+0x6e94): undefined reference to `PyModule_GetDict' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447722:(.text+0x6e9c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x6eae): undefined reference to `PyImport_ImportModuleLevelObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x6ed8): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3638:(.text+0x6ee8): undefined reference to `PyModule_GetDict' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6ef0): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6f02): undefined reference to `PyImport_ImportModuleLevelObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x6f1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x6f26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3648:(.text+0x6f46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0x6f5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3337:(.text+0x6fe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6ff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6ffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x700e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7098): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x70aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x70b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x70c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7164): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448387:(.text+0x7176): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448387:(.text+0x717c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448387:(.text+0x7182): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448389:(.text+0x71bc): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448393:(.text+0x71c4): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x720c): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7214): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__CyFunction_dealloc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448396:(.text+0x725c): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448397:(.text+0x7264): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x72ac): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x72b4): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_kwdefaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448243:(.text+0x72fc): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_defaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448208:(.text+0x7304): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7336): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7342): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_defaults': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448213:(.text+0x737c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_annotations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448282:(.text+0x73ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x74bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc__Vec_LocalForm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419170:(.text+0x74ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x74d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x74da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x74e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x754c): undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_5__releasebuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104389:(.text+0x7582): undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448098:(.text+0x7648): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x765c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_qualname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448110:(.text+0x7664): undefined reference to `PyUnicode_Compare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448121:(.text+0x7674): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448124:(.text+0x768e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448115:(.text+0x76a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448115:(.text+0x76ae): undefined reference to `PyUnicode_Compare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448124:(.text+0x76c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x76dc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7708): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_set_dict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448151:(.text+0x771e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448156:(.text+0x7738): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x779e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Import': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446912:(.text+0x77bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x780c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7818): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Import': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446899:(.text+0x783a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x787e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x78e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc___pyx_scope_struct__EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422711:(.text+0x78ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc__DMComposite_access': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419707:(.text+0x7910): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x7954): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x79b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x79c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x79e6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7a8e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7a9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420666:(.text+0x7abc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420666:(.text+0x7b00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420233:(.text+0x7b64): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420233:(.text+0x7b70): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420233:(.text+0x7b9a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Log': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420121:(.text+0x7bde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Sys': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420008:(.text+0x7c32): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420008:(.text+0x7c3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449019:(.text+0x7c6e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x7c80): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x7c94): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x7ca2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449033:(.text+0x7cba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7d10): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7d36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419489:(.text+0x7d58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419491:(.text+0x7d78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7d82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7d96): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419498:(.text+0x7dc6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419504:(.text+0x7e22): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7e32): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ParseOptionalKeywords': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447110:(.text+0x7e72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447110:(.text+0x7e8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447110:(.text+0x7e90): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447115:(.text+0x7eb2): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447115:(.text+0x7eba): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447117:(.text+0x7ece): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447202:(.text+0x7f02): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447202:(.text+0x7f12): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447202:(.text+0x7f28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447149:(.text+0x7f6a): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447163:(.text+0x7f8a): undefined reference to `PyObject_GC_Track' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447167:(.text+0x7fac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseDoubleKeywordsError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447093:(.text+0x7fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447093:(.text+0x7fd6): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ParseOptionalKeywords': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447201:(.text+0x7fde): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447170:(.text+0x8052): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447177:(.text+0x8060): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447178:(.text+0x806c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447178:(.text+0x8076): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423534:(.text+0x80e2): undefined reference to `PySlice_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423535:(.text+0x80ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x80f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x810c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447578:(.text+0x811c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447583:(.text+0x812e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_clear__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423540:(.text+0x8138): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8150): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8158): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x817c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420653:(.text+0x8196): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420654:(.text+0x81a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x81be): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82020:(.text+0x81da): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420656:(.text+0x81ea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420658:(.text+0x8206): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81999:(.text+0x8216): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420218:(.text+0x8276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420220:(.text+0x827e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420221:(.text+0x8286): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420226:(.text+0x8292): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x829c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79261:(.text+0x82fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79261:(.text+0x8306): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8340): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413633:(.text+0x835e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x8384): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8390): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413638:(.text+0x83c2): undefined reference to `PyErr_GivenExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413640:(.text+0x841c): undefined reference to `PyErr_GivenExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421921:(.text+0x84a4): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421913:(.text+0x84b2): undefined reference to `PyDict_GetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421913:(.text+0x84bc): undefined reference to `PyCapsule_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x84f0): undefined reference to `PyExc_ImportError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421915:(.text+0x84fe): undefined reference to `PyModule_GetName' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8510): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x852e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420447:(.text+0x853a): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420448:(.text+0x8544): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420452:(.text+0x854e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x855c): undefined reference to `PyCapsule_GetName' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x8560): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x8570): undefined reference to `PyModule_GetName' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80990:(.text+0x8586): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420458:(.text+0x8598): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420450:(.text+0x85aa): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8648): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x8654): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x8668): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x869c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x86b2): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x86be): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446979:(.text+0x86e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8710): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x871e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x872c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x87ba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454890:(.text+0x87cc): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x87e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call2Args': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446500:(.text+0x87fc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446515:(.text+0x880e): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8816): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x8836): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x883e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x8848): undefined reference to `PyErr_GivenExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x885a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x8866): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x886e): undefined reference to `PyExc_IndexError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x8882): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call2Args': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446526:(.text+0x88d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x88e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x891e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x892c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423500:(.text+0x8944): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423500:(.text+0x8952): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423507:(.text+0x8964): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423514:(.text+0x89d2): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423514:(.text+0x89dc): undefined reference to `PyErr_NormalizeException' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423516:(.text+0x89e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x89f2): undefined reference to `PyException_SetTraceback' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8a3a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446757:(.text+0x8ac4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446807:(.text+0x8acc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446807:(.text+0x8ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446788:(.text+0x8b0a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8b1a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8b36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446794:(.text+0x8b50): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446788:(.text+0x8b76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x8b84): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8b8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x8ba2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x8bb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446772:(.text+0x8bc8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8c0a): undefined reference to `PyThreadState_Get' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8c32): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446771:(.text+0x8c42): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_struct____pyx_t_8petsc4py_5PETSc_DLDataType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450764:(.text+0x8c52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450764:(.text+0x8c58): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_uint8_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458750:(.text+0x8c66): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_struct____pyx_t_8petsc4py_5PETSc_DLDataType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450766:(.text+0x8c74): undefined reference to `PyObject_Not' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450766:(.text+0x8c88): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8c8e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8c9a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_uint8_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458750:(.text+0x8ca2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_struct____pyx_t_8petsc4py_5PETSc_DLDataType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450769:(.text+0x8cb2): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8cfe): undefined reference to `PyFrame_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_struct____pyx_t_8petsc4py_5PETSc_DLDataType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450779:(.text+0x8d0c): undefined reference to `PyTraceBack_Here' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d62): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8d6a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8d82): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449086:(.text+0x8db6): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x8dd0): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x8dda): undefined reference to `PyUnicode_AsUTF8' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8de8): undefined reference to `PyCode_NewEmpty' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x8e18): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatchesTuple': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449070:(.text+0x8e9e): undefined reference to `PyFrame_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x8ebc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatchesTuple': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449079:(.text+0x8ece): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x8edc): undefined reference to `PyCode_NewEmpty' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x8ef4): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x8f02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8f1c): undefined reference to `PyMem_Realloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x8f40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x8f78): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Cython_ImportFunction': /usr/src/petsc4py-3.19.6-3/src/cython.h:5:(.text+0x8f92): undefined reference to `PyObject_Not' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/cython.h:7:(.text+0x8fa6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/cython.h:7:(.text+0x8fae): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/cython.h:10:(.text+0x8fc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/cython.h:36:(.text+0x8fd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8fe4): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Cython_ImportFunction': /usr/src/petsc4py-3.19.6-3/src/cython.h:53:(.text+0x8ff0): undefined reference to `PyMem_Malloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9030): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x903a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Cython_ImportFunction': /usr/src/petsc4py-3.19.6-3/src/cython.h:45:(.text+0x9060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446881:(.text+0x929e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446881:(.text+0x92a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x931a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464732:(.text+0x9378): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__ArgTypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447232:(.text+0x9446): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x9452): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9470): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__ArgTypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447243:(.text+0x94b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447245:(.text+0x94ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetException': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446136:(.text+0x9580): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446145:(.text+0x959a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446145:(.text+0x95a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9696): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Raise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446393:(.text+0x96ac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x96ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9702): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Raise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446475:(.text+0x9726): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x973e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9748): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x974e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Raise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446496:(.text+0x9780): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449802:(.text+0x97ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449619:(.text+0x9802): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449622:(.text+0x9818): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449645:(.text+0x9860): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449648:(.text+0x9876): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_find_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449681:(.text+0x98d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449682:(.text+0x98e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9932): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x9942): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449838:(.text+0x9954): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449645:(.text+0x9988): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449648:(.text+0x9994): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449810:(.text+0x99ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CreateCodeObjectForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449760:(.text+0x9a08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449790:(.text+0x9a14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_insert_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449707:(.text+0x9a62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449708:(.text+0x9a72): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449714:(.text+0x9a84): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449727:(.text+0x9ab8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449729:(.text+0x9ac4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449826:(.text+0x9adc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449823:(.text+0x9b38): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449823:(.text+0x9b44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_insert_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449724:(.text+0x9b92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9ba2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CreateCodeObjectForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449795:(.text+0x9bb4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CLineForTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449648:(.text+0x9be8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449632:(.text+0x9bf4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449634:(.text+0x9c0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_AddTraceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449812:(.text+0x9c68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_insert_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449696:(.text+0x9c74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_insert_code_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449709:(.text+0x9cd2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9ce4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0x9d18): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368698:(.text+0x9d24): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x9d3c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13820:(.text+0x9d98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x9da4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x9df2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9e02): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13911:(.text+0x9e14): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x9e48): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x9e54): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13401:(.text+0x9e6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13451:(.text+0x9ec8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13451:(.text+0x9ed4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13485:(.text+0x9f22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9f32): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_arange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13510:(.text+0x9f44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x9f78): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x9f84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13503:(.text+0x9f9c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5array___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144311:(.text+0x9ff8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144311:(.text+0xa004): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_6buffer___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144248:(.text+0xa052): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144248:(.text+0xa062): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414518:(.text+0xa074): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13760:(.text+0xa0a8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0xa0b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13810:(.text+0xa0cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa128): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa134): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_67clearDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125307:(.text+0xa182): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125300:(.text+0xa192): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125300:(.text+0xa1a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_66clearDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125352:(.text+0xa1d8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125352:(.text+0xa1e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_67clearDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125300:(.text+0xa1fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_indexed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403638:(.text+0xa258): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403648:(.text+0xa264): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403638:(.text+0xa2b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403665:(.text+0xa2c2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403666:(.text+0xa2d4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_5array_7memview___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400692:(.text+0xa308): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400692:(.text+0xa314): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_array_memview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422980:(.text+0xa32c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa388): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400896:(.text+0xa394): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400890:(.text+0xa3e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400891:(.text+0xa3f2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xa404): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_getattro_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422969:(.text+0xa438): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422970:(.text+0xa444): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422976:(.text+0xa45c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xa4b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_15_DMDA_Vec_array_release': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59033:(.text+0xa4c4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59056:(.text+0xa512): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59061:(.text+0xa522): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_exit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28864:(.text+0xa534): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28887:(.text+0xa568): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28887:(.text+0xa574): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_exit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23488:(.text+0xa58c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23533:(.text+0xa5e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDeviceContext_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361694:(.text+0xa5f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xa642): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xa652): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa664): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xa698): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDeviceContext_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361731:(.text+0xa6a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361731:(.text+0xa6bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa718): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa724): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa772): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xa782): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xa794): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDevice_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361593:(.text+0xa7c8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xa7d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDevice_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361587:(.text+0xa7ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xa848): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa854): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0xa8a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa8b2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa8c4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa8f8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDualSpace_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365109:(.text+0xa904): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365109:(.text+0xa91c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xa978): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xa984): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSpace_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364885:(.text+0xa9d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa9e2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa9f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xaa28): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xaa34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSpace_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364956:(.text+0xaa4c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364951:(.text+0xaaa8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0xaab4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xab02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xab12): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDMLabel_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364760:(.text+0xab24): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xab58): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xab64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xab7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDMLabel_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364797:(.text+0xabd8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364797:(.text+0xabe4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xac32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xac42): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xac54): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xac88): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xac94): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xacac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xad08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xad14): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xad62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xad72): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xad84): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscFE_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364426:(.text+0xadb8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0xadc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xaddc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscFE_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364497:(.text+0xae38): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364497:(.text+0xae44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0xae92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xaea2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xaeb4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaee8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaef4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPartitioner_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364301:(.text+0xaf0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xaf68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xaf74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPartitioner_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364338:(.text+0xafc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364338:(.text+0xafd2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0xafe4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb018): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb024): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb03c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xb098): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xb0a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xb0f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDS_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364185:(.text+0xb102): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364185:(.text+0xb114): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xb148): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xb154): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb16c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb1c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb1d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xb232): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xb244): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0xb278): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xb284): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xb29c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xb2f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:220:(.text+0xb304): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb352): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscAO_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363879:(.text+0xb362): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363879:(.text+0xb374): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363873:(.text+0xb3a8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363873:(.text+0xb3b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xb3cc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb428): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTAO_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363655:(.text+0xb434): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xb482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xb492): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb4a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xb4d8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTAO_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363720:(.text+0xb4e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363720:(.text+0xb4fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb558): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb564): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb5b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xb5c2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xb5d4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb608): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTS_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363573:(.text+0xb614): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xb62c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xb688): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb694): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0xb6e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xb6f2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb704): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb738): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSNES_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363420:(.text+0xb744): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363420:(.text+0xb75c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xb7b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xb7c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscKSP_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363196:(.text+0xb812): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363224:(.text+0xb822): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xb834): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xb868): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xb874): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb88c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscKSP_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363261:(.text+0xb8e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0xb8f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb944): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb954): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPC_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363043:(.text+0xb966): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb99a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xb9a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xb9be): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPC_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363108:(.text+0xba1a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363108:(.text+0xba26): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xba76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xba86): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xba98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xbacc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbad8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xbaf0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xbb4c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xbb58): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xbba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xbbb6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbbc8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362737:(.text+0xbbfa): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362765:(.text+0xbc06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xbc1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362808:(.text+0xbc78): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xbc84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362802:(.text+0xbcac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xbcea): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbd12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSection_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362649:(.text+0xbe02): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362649:(.text+0xbe16): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xbe3c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xbe4e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscScatter_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362502:(.text+0xbf1e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xbf32): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscScatter_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362496:(.text+0xbf58): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362497:(.text+0xbf6a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbfa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xbffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc042): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc048): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscVec_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362349:(.text+0xc05a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362349:(.text+0xc06e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xc0c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc10c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc112): undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc124): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xc180): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc194): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc19e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSF_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362196:(.text+0xc1a8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc1ae): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc1b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xc1c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0xc20e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xc232): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc24a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc254): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc25a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscLGMap_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361972:(.text+0xc27a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xc2c4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xc310): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0xc35a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc3a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc4d8): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc504): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0xc51c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xc554): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc570): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc580): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc596): undefined reference to `PyUnicode_Decode' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscRandom_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361444:(.text+0xc5cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361444:(.text+0xc5de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0xc5f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscViewer_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361297:(.text+0xc6d2): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361297:(.text+0xc6da): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361291:(.text+0xc71c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361291:(.text+0xc728): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc778): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc79e): undefined reference to `PyList_Insert' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc80c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0xc884): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc8bc): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc8de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc8e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360994:(.text+0xc8ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361021:(.text+0xc8f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0xc900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xc92a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xc936): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xc942): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc964): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xc99a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xca0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xca1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscComm_GetPtr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360837:(.text+0xca42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xca5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xca64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xca80): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xca8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcacc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xcade): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xcae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xcb5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xcb6c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xcb7e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xcb88): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xcbd4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xcbe4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xcc3a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscComm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360821:(.text+0xcc4c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360821:(.text+0xcc56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xcc92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_slice_from_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409354:(.text+0xcce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xccfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xcd14): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xcd22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xcd2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xcd30): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcd42): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_slice_from_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409398:(.text+0xcd82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409365:(.text+0xcdb2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409422:(.text+0xcdbe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xce02): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405683:(.text+0xce16): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405683:(.text+0xce30): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405637:(.text+0xcf8c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405637:(.text+0xcf9e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449883:(.text+0xcfbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449885:(.text+0xcfc4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_c_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405605:(.text+0xd006): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405605:(.text+0xd00c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xd020): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405654:(.text+0xd02e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405654:(.text+0xd042): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_4__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28697:(.text+0xd086): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28708:(.text+0xd09c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd0ae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd0b8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_4__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28715:(.text+0xd104): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd114): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_4__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23327:(.text+0xd140): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd152): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xd15c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd19a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd1e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6_PyObj___getattr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366980:(.text+0xd210): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd21e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xd226): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0xd22c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447988:(.text+0xd23e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6_PyObj___getattr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367025:(.text+0xd252): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0xd29a): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xd2a6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd2c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_getattro_8petsc4py_5PETSc__PyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422075:(.text+0xd326): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422076:(.text+0xd334): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422077:(.text+0xd356): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422078:(.text+0xd366): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd3ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xd3c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13156:(.text+0xd3ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405040:(.text+0xd400): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_3__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82046:(.text+0xd42a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_2__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82091:(.text+0xd464): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0xd484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_3__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81025:(.text+0xd492): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_2__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81061:(.text+0xd49e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_3__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81025:(.text+0xd4c0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_3__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79308:(.text+0xd4d2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_2__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79353:(.text+0xd508): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_3__int__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79317:(.text+0xd516): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogEvent_id': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420719:(.text+0xd538): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_2id___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83702:(.text+0xd548): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_2id___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81837:(.text+0xd59c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81837:(.text+0xd5a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81837:(.text+0xd5ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_id': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420286:(.text+0xd5e2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420286:(.text+0xd60c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd646): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd666): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd674): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367521:(.text+0xd680): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367522:(.text+0xd6a2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12230:(.text+0xd6b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd6e4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445724:(.text+0xd6f8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_bytes2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12301:(.text+0xd71c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12255:(.text+0xd72c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0xd780): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12294:(.text+0xd788): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12295:(.text+0xd790): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xd7c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd7ee): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396929:(.text+0xd82a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396942:(.text+0xd84c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396950:(.text+0xd85a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396652:(.text+0xd866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396662:(.text+0xd888): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396674:(.text+0xd89a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd8ca): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xd8de): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396699:(.text+0xd902): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396699:(.text+0xd912): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd966): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd96e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd976): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396916:(.text+0xd9aa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396994:(.text+0xd9d4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396832:(.text+0xda10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396847:(.text+0xda32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xda40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xda4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396862:(.text+0xda6e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xda80): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdab6): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdac4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396769:(.text+0xdae6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396778:(.text+0xdaf6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdb4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdb52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xdb5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396812:(.text+0xdb90): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdbba): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdbf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdc14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0xdc22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdc2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396602:(.text+0xdc50): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448810:(.text+0xdc62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdc92): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_traceback': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396907:(.text+0xdca6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdcca): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdcda): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396979:(.text+0xdd2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396994:(.text+0xdd36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396979:(.text+0xdd3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406048:(.text+0xdd72): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xdd9c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406082:(.text+0xddd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xddfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xde08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0xde14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xde36): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xde48): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xde78): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xde8c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdeb0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdec0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406129:(.text+0xdf14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdf1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406129:(.text+0xdf24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xdf58): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xdf82): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450699:(.text+0xdfbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450704:(.text+0xdfe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_check': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406152:(.text+0xdfee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0xdffa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe01c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xe02e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ValidateAndInit_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450652:(.text+0xe05e): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450653:(.text+0xe072): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450640:(.text+0xe096): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450645:(.text+0xe0a6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_BufFmt_Init': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449985:(.text+0xe0fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449994:(.text+0xe102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449995:(.text+0xe10a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ValidateAndInit_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450647:(.text+0xe13e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450673:(.text+0xe168): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_to_MemoryviewSlice_ds_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450705:(.text+0xe1a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450706:(.text+0xe1c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450706:(.text+0xe1d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450719:(.text+0xe1e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_check_strides': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450562:(.text+0xe202): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xe214): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ValidateAndInit_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450663:(.text+0xe244): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450663:(.text+0xe258): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450663:(.text+0xe27c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450653:(.text+0xe28c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe2e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe2e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe2f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0xe324): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_get_memview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400741:(.text+0xe34e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0xe38a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xe3ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xe3ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe3c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xe3e8): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0xe3fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe42a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe43e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0xe462): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_get_memview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400772:(.text+0xe472): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xe4c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_get_memview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400752:(.text+0xe4ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe4d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400752:(.text+0xe50a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe534): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe570): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0xe592): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xe5a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xe5ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13295:(.text+0xe5ce): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_max_it': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416644:(.text+0xe5e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xe5fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227211:(.text+0xe620): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xe648): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe65a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_max_it': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416652:(.text+0xe69a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227206:(.text+0xe6c6): undefined reference to `PyDict_DelItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe70a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xe712): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xe730): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:243:(.text+0xe738): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe74e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe75a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227211:(.text+0xe7f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_divtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416630:(.text+0xe7fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xe816): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xe866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe89c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe8a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe8c4): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe930): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe958): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe9a4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe9b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe9ea): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6divtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227054:(.text+0xea12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226896:(.text+0xea5e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xea72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xeaa6): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xeab6): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226912:(.text+0xeae2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xeaf0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xeafc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xeb4e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xeb58): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xeb6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xeba0): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xebb0): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xebdc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xebea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xebf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416602:(.text+0xec48): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226735:(.text+0xec52): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226737:(.text+0xec66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xec9a): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xecaa): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xecd6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xece4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xecf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226761:(.text+0xed42): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226761:(.text+0xed4c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416610:(.text+0xed60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xed94): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:243:(.text+0xeda4): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xedd0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xedde): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xedea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_rtol': /usr/include/python3.12/object.h:701:(.text+0xee3c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xee46): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xee5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245870:(.text+0xee8c): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245875:(.text+0xeeb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xef00): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xef14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xef46): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6max_it_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245896:(.text+0xef6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xefba): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:243:(.text+0xefce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf000): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf028): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xf074): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_stol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417015:(.text+0xf088): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245717:(.text+0xf0ba): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xf0e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf12e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf142): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf174): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4stol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245739:(.text+0xf19c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf1e8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf1fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf22e): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf256): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xf2a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417001:(.text+0xf2b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xf2ca): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245582:(.text+0xf3bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf3ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245558:(.text+0xf3f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xf3fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xf402): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf43a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xf444): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf472): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf47a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_atol': /usr/include/python3.12/object.h:701:(.text+0xf4ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xf4b4): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xf4c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xf4ec): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245425:(.text+0xf5de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf60c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245401:(.text+0xf614): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245401:(.text+0xf61c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xf624): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf65c): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xf666): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf694): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf69c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_rtol': /usr/include/python3.12/object.h:701:(.text+0xf6d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf6d6): undefined reference to `PyExc_ImportError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xf6ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266527:(.text+0xf70e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417535:(.text+0xf7c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf7cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4atol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266527:(.text+0xf7ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf86e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf87e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xf88e): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf8a0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xf92a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266372:(.text+0xf94a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0xf976): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xf97e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xf986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf9ca): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf9f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf9fc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266396:(.text+0xfa22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266396:(.text+0xfa2e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfa94): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfad8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xfb2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6Object_set_attr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86304:(.text+0xfb48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscSetPyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20721:(.text+0xfbaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfbe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfbec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscSetPyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20778:(.text+0xfc2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20778:(.text+0xfc3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86321: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6Object_set_attr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86338:(.text+0xfcfa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscGetPyDict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20468:(.text+0xfd0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscSetPyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20811:(.text+0xfd42): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfd6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfdac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscSetPyObj': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20721:(.text+0xfdc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20759:(.text+0xfdc8): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20811:(.text+0xfdda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfe26): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfe34): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfe46): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405086:(.text+0xfe6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_itemsize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423347:(.text+0xfe74): undefined reference to `PyExc_Exception' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405103:(.text+0xfe80): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405103:(.text+0xfe96): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_diverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416710:(.text+0xfefc): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228001:(.text+0xff2e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xff72): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9converged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227916:(.text+0xffa4): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xffb0): undefined reference to `PyNumber_Multiply' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xffee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9converged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227934:(.text+0x10004): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227914:(.text+0x1003c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447660:(.text+0x10088): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447660:(.text+0x10090): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10098): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416702:(.text+0x100aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x100f4): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227867:(.text+0x10118): undefined reference to `PyNumber_InPlaceMultiply' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227846:(.text+0x10142): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x101de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x101e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417101:(.text+0x101ee): undefined reference to `PyNumber_InPlaceMultiply' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246693:(.text+0x10220): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246693:(.text+0x10228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x10244): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1025e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1027c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266761:(.text+0x10284): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447654:(.text+0x10294): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x102f2): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266782:(.text+0x1032a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266782:(.text+0x10332): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_iterating': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417553:(.text+0x10344): undefined reference to `PyNumber_Multiply' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266761:(.text+0x10362): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447660:(.text+0x103b8): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447657:(.text+0x103de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447657:(.text+0x103ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10400): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_9iterating___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281356:(.text+0x10442): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_diverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417107:(.text+0x10488): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246809:(.text+0x104a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246809:(.text+0x104ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x104bc): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246827:(.text+0x1051a): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10546): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1056a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417105:(.text+0x105b6): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_9converged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246760:(.text+0x105dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1063a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266898:(.text+0x10642): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1068e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x10708): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10726): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1072e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417557:(.text+0x1073e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1079c): undefined reference to `PyList_AsTuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x107d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1082a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8diverged___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281490:(.text+0x1084e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x10866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417897:(.text+0x1088a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x108c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1093c): undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Datatype_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18441:(.text+0x109a8): undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10aaa): undefined reference to `PyMem_Malloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Datatype_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18525:(.text+0x10ad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ImportFrom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446964:(.text+0x10b08): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10b1a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Datatype_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18519:(.text+0x10b2a): undefined reference to `PyErr_NoMemory' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18481:(.text+0x10b60): undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18519:(.text+0x10b72): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x10c12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10c1e): undefined reference to `PyMem_Malloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x10c6a): undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Op_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18580:(.text+0x10c88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10cbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Op_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18641:(.text+0x10cd4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18641:(.text+0x10cec): undefined reference to `PyDict_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18592:(.text+0x10cf2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18641:(.text+0x10d48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ImportFrom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446965:(.text+0x10df0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Op_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18566:(.text+0x10e0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404240:(.text+0x10e54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404248:(.text+0x10e5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404310:(.text+0x10e62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404289:(.text+0x10e66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404322:(.text+0x10e72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404364:(.text+0x10e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404394:(.text+0x10e7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x10eb6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_getbuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404208:(.text+0x10ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10f54): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404516:(.text+0x10f64): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10fb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404226:(.text+0x10fb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404225:(.text+0x10fcc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404225:(.text+0x10fd6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404226:(.text+0x10fe8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1101e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1102e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1107a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x11080): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405559:(.text+0x11096): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x110a0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405526:(.text+0x110b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405526:(.text+0x110e8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405578:(.text+0x110f8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11144): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1114a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x11160): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405551:(.text+0x1116a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1117c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x111b2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405559:(.text+0x111c2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_opt2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16190:(.text+0x1120e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16190:(.text+0x11214): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1122a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x11234): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x11246): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1127c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1128c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_opt2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16174:(.text+0x112d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16174:(.text+0x112de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x112f4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_opt2str': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16217:(.text+0x112fe): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16217:(.text+0x11310): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16225:(.text+0x11346): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16217:(.text+0x11356): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16217:(.text+0x113a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16217:(.text+0x113a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x113be): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x113c8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x113da): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:798:(.text+0x113f4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400908:(.text+0x11400): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447082:(.text+0x1142a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400917:(.text+0x11448): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447084:(.text+0x11470): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400958:(.text+0x11492): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400958:(.text+0x1149c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422967:(.text+0x11528): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11534): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422967:(.text+0x11574): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x11580): undefined reference to `PyDict_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1158c): undefined reference to `PyDict_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422963:(.text+0x11598): undefined reference to `PyDict_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422963:(.text+0x115a4): undefined reference to `PyDict_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422963:(.text+0x115b0): undefined reference to `PyDict_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_pycapsule_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15284:(.text+0x115c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15289:(.text+0x115ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15332:(.text+0x1160e): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15402:(.text+0x11628): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15332:(.text+0x11654): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15362:(.text+0x1166e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15396:(.text+0x11680): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15432:(.text+0x1169a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15434:(.text+0x116ac): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15363:(.text+0x116c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15363:(.text+0x116d8): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15364:(.text+0x116f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_manager_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15458:(.text+0x1174c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15485:(.text+0x11758): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_pycapsule_deleter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15437:(.text+0x11796): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_nbytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423349:(.text+0x117a6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x117f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x117fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11820): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405151:(.text+0x11844): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405176:(.text+0x1184e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405176:(.text+0x11860): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x118d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x118e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x11958): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x11960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405264:(.text+0x11968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11980): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405281:(.text+0x11a28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423355:(.text+0x11a84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11a94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404950:(.text+0x11b06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404953:(.text+0x11b0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404953:(.text+0x11b16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0x11b2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x11bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11c0a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404955:(.text+0x11c56): undefined reference to `PyLong_FromVoidPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11ca4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11d14): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x11d24): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404832:(.text+0x11d70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404835:(.text+0x11d76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11d8a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0x11d94): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x11da6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404840:(.text+0x11de2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11df2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x11e3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x11e44): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404859:(.text+0x11e58): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404859:(.text+0x11e62): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_strides': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423335:(.text+0x11e74): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404840:(.text+0x11eaa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404806:(.text+0x11ebc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11ee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404829:(.text+0x11efc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x11f8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/listobject.h:43:(.text+0x11fa4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404718:(.text+0x12032): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1204a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404726:(.text+0x120a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x120ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x120dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404745:(.text+0x12102): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop___pyx_memoryview_shape': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423331:(.text+0x1212a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12150): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1215a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x121f6): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscBuffer_FillInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:54:(.text+0x12504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:56:(.text+0x1250e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:74:(.text+0x12588): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pybuffer.h:75:(.text+0x12590): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1267e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12a1a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x12a58): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x12a68): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x12a92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_memoryview_3__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405992:(.text+0x12aa6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x12ad8): undefined reference to `PyMethodDescr_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12b04): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x12b0c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_memoryview_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406033:(.text+0x12b20): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406033:(.text+0x12b26): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x12b74): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x12b86): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_memoryview___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405961:(.text+0x12ba2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x12bae): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x12bba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_memoryview___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405976:(.text+0x12c14): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_array_3__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401093:(.text+0x12c84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_array_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401118:(.text+0x12c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401118:(.text+0x12c94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x12c9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_array_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401134:(.text+0x12cf0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401134:(.text+0x12cfe): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_array_3__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401102:(.text+0x12d0a): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12d18): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_array___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401077:(.text+0x12dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_array_1__reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401045:(.text+0x12df2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x12e28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x12e6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc__pop_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398166:(.text+0x12e86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398165:(.text+0x12e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x12eb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_pop_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399369:(.text+0x12eba): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13_pop_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399333:(.text+0x12ece): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399333:(.text+0x12ed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399333:(.text+0x12edc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399334:(.text+0x12eee): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_pop_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399372:(.text+0x12f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399147:(.text+0x12ffc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399204:(.text+0x13036): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399217:(.text+0x1304a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399230:(.text+0x1305c): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399201:(.text+0x1314a): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399227:(.text+0x131ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399228:(.text+0x131c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399228:(.text+0x131d0): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x131ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_67get1dCoordinatecArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335291:(.text+0x13214): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1321c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_66get1dCoordinatecArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335321:(.text+0x1324c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335321:(.text+0x13254): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1329c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x132a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_66get1dCoordinatecArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335321:(.text+0x132f2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13396): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_39__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120529:(.text+0x133c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_38__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120575:(.text+0x1340a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120587:(.text+0x1342e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13452): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_38__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120564:(.text+0x134f6): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120604:(.text+0x13520): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120604:(.text+0x1356e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_9__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104559:(.text+0x13592): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_8__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104592:(.text+0x135b6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1365a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_9__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104564:(.text+0x13684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_8__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104594:(.text+0x136ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104634:(.text+0x136f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104634:(.text+0x13716): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_handle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413180:(.text+0x137ba): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6handle___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90301:(.text+0x137e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4Comm_fortran': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412910:(.text+0x13832): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_7fortran___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85369:(.text+0x13856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_4name_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81285:(.text+0x1387a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81285:(.text+0x1391e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x13948): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x13992): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x139b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_4name_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79892:(.text+0x139da): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x13a7e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_9__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59341:(.text+0x13aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_8__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59382:(.text+0x13af2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_9__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59332:(.text+0x13b16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13b50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_11__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28987:(.text+0x13b5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_10__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29023:(.text+0x13ba0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29023:(.text+0x13bac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_11__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23613:(.text+0x13be4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23627:(.text+0x13c14): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13c26): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_10__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23663:(.text+0x13c54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_11__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23618:(.text+0x13c72): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13cae): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc__push_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:398096:(.text+0x13cca): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x13cdc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_push_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399270:(.text+0x13d30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399270:(.text+0x13d38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_push_python_vfprintf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399308:(.text+0x13da8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399308:(.text+0x13db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6Object_get_dict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86354:(.text+0x13dfa): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscGetPyDict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20423:(.text+0x13e1c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x13e2a): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6Object_get_dict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86394:(.text+0x13e58): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscGetPyDict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20468:(.text+0x13e6e): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6Object_get_dict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86388:(.text+0x13e8a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86388:(.text+0x13e96): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413984:(.text+0x13eb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x13eca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413986:(.text+0x13ed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x13ee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413986:(.text+0x13f26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23428: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x14084): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x140a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x140c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15055:(.text+0x140e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x141be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x141ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14762:(.text+0x141f8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x14232): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x142f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x14304): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14832:(.text+0x14332): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1436c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x14432): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14657:(.text+0x1443e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1446c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x144a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14269:(.text+0x1456c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x14578): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x145a6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14396:(.text+0x145de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14694): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x146a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__CallUnboundCMethod0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447442:(.text+0x146ce): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x14708): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x147ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x147da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x14808): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x14842): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14908): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x14914): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14942): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1497c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366457:(.text+0x14a42): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366458:(.text+0x14a4e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14a7c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x14ab6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366486:(.text+0x14b68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x14b74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14bd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x14c7e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366469:(.text+0x14c8a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14cb8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parse_url': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366437:(.text+0x14cf2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatHasOperation_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377728:(.text+0x14db8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447397:(.text+0x14dc4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14df2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0x14e2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatHasOperation_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377841:(.text+0x14ef2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377841:(.text+0x14efe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14f2c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatHasOperation_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377725:(.text+0x14f66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377841:(.text+0x1502c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15038): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x15066): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382998:(.text+0x1509e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383053:(.text+0x15154): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383053:(.text+0x15160): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x15192): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383020:(.text+0x151cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15292): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x1529e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x1530a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x153d0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386106:(.text+0x153dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x15448): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389487:(.text+0x1550e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1551a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389518:(.text+0x15586): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389543:(.text+0x1564c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389518:(.text+0x15658): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368982:(.text+0x1568a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368991:(.text+0x156c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1578a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x15796): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369038:(.text+0x157c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15802): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x158c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPythonGetType_PYTHON': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379850:(.text+0x158d0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379845:(.text+0x1593c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x15a02): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15a0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0x15a7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15b40): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85770:(.text+0x15b4c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85801:(.text+0x15b80): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85770:(.text+0x15bba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15c80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SETERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12573:(.text+0x15c8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15cf8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x15dba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SETERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12662:(.text+0x15dc6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscError_Set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360675:(.text+0x15e32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19796:(.text+0x15ef8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19796:(.text+0x15f04): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14_Vec_LocalForm_4__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29892:(.text+0x15f70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29914:(.text+0x16036): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_release': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23056:(.text+0x16042): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23155:(.text+0x16074): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_245metricGetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325742:(.text+0x160ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325748:(.text+0x16174): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_244metricGetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325784:(.text+0x16180): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x161ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_225metricGetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324857:(.text+0x162b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324858:(.text+0x162be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_224metricGetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324884:(.text+0x1632a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_229metricGetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325042:(.text+0x163f0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325042:(.text+0x163fc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325036:(.text+0x1642e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_228metricGetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325089:(.text+0x16468): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_18getCPUTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78420:(.text+0x1652e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78420:(.text+0x1653a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_19getCPUTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78384:(.text+0x165a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1666c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_233metricGetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325212:(.text+0x16678): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325214:(.text+0x166e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_217metricGetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324496:(.text+0x167aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x167b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_217metricGetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324501:(.text+0x16822): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324508:(.text+0x168e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324508:(.text+0x168f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16926): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x16960): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16a26): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x16a32): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x16a9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x16b64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_240metricGetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325596:(.text+0x16b70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16ba4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x16bde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14_Vec_LocalForm_2__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29830:(.text+0x16ca4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_3__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29769:(.text+0x16cb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16d1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_220metricGetMinimumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324733:(.text+0x16de2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x16dee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_237metricGetNormalizationOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325386:(.text+0x16e5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325392:(.text+0x16f20): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_236metricGetNormalizationOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325428:(.text+0x16f2c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16f98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_139getOffloadMask': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131878:(.text+0x1705e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131879:(.text+0x1706a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_138getOffloadMask': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131905:(.text+0x170d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_15getFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78217:(.text+0x1719c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78217:(.text+0x171a8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78211:(.text+0x171da): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78216:(.text+0x17214): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_108getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275616:(.text+0x172d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text+0x172e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_108getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275626:(.text+0x1734e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17410): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1741c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_69getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200738:(.text+0x17488): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_239getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263585:(.text+0x1754e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263585:(.text+0x1755a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263597:(.text+0x175c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1768c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17698): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_23getRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248361:(.text+0x176ca): undefined reference to `PyLong_FromUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_22getRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248402:(.text+0x17704): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248402:(.text+0x177c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248402:(.text+0x177d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1783e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_34getFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198911:(.text+0x17900): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198911:(.text+0x1790c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198884:(.text+0x1793e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_35getFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198855:(.text+0x17978): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_27getFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94014:(.text+0x17a3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94014:(.text+0x17a4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17ab6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298694:(.text+0x17b7c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298694:(.text+0x17b88): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298695:(.text+0x17bba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x17bf4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x17cba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149373:(.text+0x17cc6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149373:(.text+0x17d32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17df4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x17e00): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_79getElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306120:(.text+0x17e6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_19getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105139:(.text+0x17f32): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105139:(.text+0x17f3e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105151:(.text+0x17faa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18070): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1807c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_214getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242385:(.text+0x180e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242385:(.text+0x181ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242385:(.text+0x181ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_215getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242356:(.text+0x181ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18226): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_170getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279629:(.text+0x182ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_171getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279572:(.text+0x182f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1832c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_141getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277590:(.text+0x18366): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277596:(.text+0x1842c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277595:(.text+0x18438): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x184a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352452:(.text+0x1856a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352452:(.text+0x18576): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_10getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352498:(.text+0x185aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352488:(.text+0x185e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_98getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165052:(.text+0x186aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_99getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165013:(.text+0x186b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_98getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165069:(.text+0x18722): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x187e4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_159getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257918:(.text+0x187f0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257918:(.text+0x1885c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_27getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284683:(.text+0x18922): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1892e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_27getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284695:(.text+0x1899a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18a60): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_27getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284695:(.text+0x18a6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18a9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216481:(.text+0x18ad8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216481:(.text+0x18b9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18baa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216452:(.text+0x18bdc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18c16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_48getVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158716:(.text+0x18cdc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18ce8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_157getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238864:(.text+0x18d54): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238870:(.text+0x18e1a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_156getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238915:(.text+0x18e26): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x18e58): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18e92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_11getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228571:(.text+0x18f58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228572:(.text+0x18f64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_10getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228607:(.text+0x18fd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_28getProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248688:(.text+0x19096): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_29getProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248649:(.text+0x190a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_28getProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248705:(.text+0x1910e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_15getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228783:(.text+0x191d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_14getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228820:(.text+0x191e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_15getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228785:(.text+0x1924c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216653:(.text+0x1930e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1931a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_16getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216694:(.text+0x1934c): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216658:(.text+0x19386): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216665:(.text+0x1944c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216665:(.text+0x19458): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1948c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_24getARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248499:(.text+0x194c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1958a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19596): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x19602): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197804:(.text+0x196c8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x196d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_73getFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96542:(.text+0x19740): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96548:(.text+0x19802): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_72getFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96593:(.text+0x1980e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1987a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115304:(.text+0x19940): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115305:(.text+0x1994c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115340:(.text+0x199b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_9getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329423:(.text+0x19a7e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329423:(.text+0x19a8a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_8getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329479:(.text+0x19af6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_36getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249080:(.text+0x19bbc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249080:(.text+0x19bc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_37getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249045:(.text+0x19c34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x19cfa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19d06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458126:(.text+0x19d3a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_21getSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99272:(.text+0x19d74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99279:(.text+0x19e38): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x19e44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19e76): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_84getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128197:(.text+0x19eb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19f76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19f82): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_107getNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235666:(.text+0x19fb6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_106getNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235707:(.text+0x19ff0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235707:(.text+0x1a0b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235707:(.text+0x1a0be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a12c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_134distributionGetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319370:(.text+0x1a1ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319370:(.text+0x1a1fa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_135distributionGetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319314:(.text+0x1a268): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_75getNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220527:(.text+0x1a32a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220527:(.text+0x1a336): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a3a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_95getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128622:(.text+0x1a466): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128615:(.text+0x1a472): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1a4e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_102getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165265:(.text+0x1a5b4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_103getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165219:(.text+0x1a5d4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1a648): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a66e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_103getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165226:(.text+0x1a69e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165226:(.text+0x1a6aa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_112getFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204226:(.text+0x1a7a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204198:(.text+0x1a7ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_14getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284113:(.text+0x1a86c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284113:(.text+0x1a878): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_15getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284084:(.text+0x1a8a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284078:(.text+0x1a8e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_37getFailedReasonRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198934:(.text+0x1a9c4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198936:(.text+0x1a9d0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198942:(.text+0x1a9fe): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198936:(.text+0x1aa38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ab1c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1ab28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451986:(.text+0x1ab56): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_65getNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232074:(.text+0x1ab90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282828:(.text+0x1ac74): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ac80): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282869:(.text+0x1acae): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282833:(.text+0x1ace8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1adcc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_149getMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207023:(.text+0x1add8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207027:(.text+0x1ae06): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207035:(.text+0x1ae40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207035:(.text+0x1af24): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_77getFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96755:(.text+0x1af30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1af5e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_76getFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96806:(.text+0x1af98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b07c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_77getFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96767:(.text+0x1b088): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1b0b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_10getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267522:(.text+0x1b0f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b1d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b1e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197580:(.text+0x1b212): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197586:(.text+0x1b24c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b330): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b33c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1b372): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_75getInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305919:(.text+0x1b3ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305956:(.text+0x1b490): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b49c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305927:(.text+0x1b4ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b508): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_70getPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220373:(.text+0x1b5ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220373:(.text+0x1b5f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_71getPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220344:(.text+0x1b62a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b664): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b748): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_22getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357506:(.text+0x1b754): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b78a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b7c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_119getConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222811:(.text+0x1b8a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b8b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b8e0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b8f6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_27getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354351:(.text+0x1b916): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354351:(.text+0x1b92c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b94e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_26getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354419:(.text+0x1ba06): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ba12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ba44): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_93getHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202553:(.text+0x1ba7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_92getHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202621:(.text+0x1bb62): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202621:(.text+0x1bb6e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202594:(.text+0x1bba0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_93getHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202565:(.text+0x1bbda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_24getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93972:(.text+0x1bcbe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93989:(.text+0x1bcca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93962:(.text+0x1bcfc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_25getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93933:(.text+0x1bd36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_143getCLQueueHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132044:(.text+0x1be1a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_142getCLQueueHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132089:(.text+0x1be26): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132079:(.text+0x1be5c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1be96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_173reorderGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322292:(.text+0x1bf7a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322292:(.text+0x1bf86): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1bfbc): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bff6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_149getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225153:(.text+0x1c0da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225153:(.text+0x1c0e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_148getPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225216:(.text+0x1c118): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c152): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98949:(.text+0x1c236): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98949:(.text+0x1c242): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99011:(.text+0x1c274): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c2ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_13getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196419:(.text+0x1c38e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196420:(.text+0x1c39a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_12getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196465:(.text+0x1c3cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196455:(.text+0x1c406): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_115getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165809:(.text+0x1c4ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165809:(.text+0x1c4f6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165810:(.text+0x1c528): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c562): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_21getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248286:(.text+0x1c646): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248279:(.text+0x1c652): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248280:(.text+0x1c684): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248285:(.text+0x1c6be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_16getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267871:(.text+0x1c7a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_17getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267832:(.text+0x1c7ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267826:(.text+0x1c7e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_16getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267888:(.text+0x1c81a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text+0x1c8fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_32getEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248877:(.text+0x1c90a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_33getEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248831:(.text+0x1c93e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_32getEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248877:(.text+0x1c978): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_140getCLContextHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131983:(.text+0x1ca58): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ca64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_141getCLContextHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131956:(.text+0x1ca96): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131957:(.text+0x1cad0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_35getClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87586:(.text+0x1cbb0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87589:(.text+0x1cbbc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87594:(.text+0x1cbee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87588:(.text+0x1cc28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1cd0c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_17getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86622:(.text+0x1cd18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_16getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86669:(.text+0x1cd4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_17getType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86624:(.text+0x1cd84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ce64): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1ce70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_20getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86882:(.text+0x1cea2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_21getOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86836:(.text+0x1cedc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cfc0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cfcc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_36getClassName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87710:(.text+0x1cffe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_37getClassName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87674:(.text+0x1d038): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_31getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87369:(.text+0x1d118): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87369:(.text+0x1d124): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87375:(.text+0x1d156): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87381:(.text+0x1d190): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_ReleaseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27964:(.text+0x1d274): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27981:(.text+0x1d280): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27993:(.text+0x1d2b2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28026:(.text+0x1d2ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d3d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d3dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13949:(.text+0x1d40e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x1d448): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_57getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219488:(.text+0x1d52c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d538): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219495:(.text+0x1d56a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_13getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353608:(.text+0x1d5a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d688): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_12getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353650:(.text+0x1d694): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d6c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d700): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_35getSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354771:(.text+0x1d7e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354771:(.text+0x1d7f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_34getSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354807:(.text+0x1d822): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354797:(.text+0x1d85c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_19getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357280:(.text+0x1d940): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357280:(.text+0x1d94c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1d97e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_18getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357334:(.text+0x1d9b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1da98): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1daa4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_19getNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353977:(.text+0x1dada): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1db14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dbf8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_27getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357692:(.text+0x1dc04): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357700:(.text+0x1dc36): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357694:(.text+0x1dc70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_23getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354161:(.text+0x1dd54): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354161:(.text+0x1dd60): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354167:(.text+0x1dd92): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354173:(.text+0x1ddcc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1deb0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_23getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354173:(.text+0x1debc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1deee): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_16getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357229:(.text+0x1df28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357229:(.text+0x1e00c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e018): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_17getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357209:(.text+0x1e04a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e084): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_20getCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284426:(.text+0x1e164): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284427:(.text+0x1e170): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e1a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284370:(.text+0x1e1dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1e2c0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1e2cc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_242getTheta': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263852:(.text+0x1e2fe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e338): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_179getNumLabels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294162:(.text+0x1e41c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294162:(.text+0x1e428): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1e45c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e496): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_21getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299098:(.text+0x1e576): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299098:(.text+0x1e582): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299092:(.text+0x1e5b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1e5ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_19getValueReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99184:(.text+0x1e6d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_18getValueReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99221:(.text+0x1e6de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_19getValueReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99192:(.text+0x1e710): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99186:(.text+0x1e74a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_51getPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355687:(.text+0x1e82e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1e83a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_50getPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355719:(.text+0x1e870): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_51getPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355699:(.text+0x1e8aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e98e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_51getPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355699:(.text+0x1e99a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e9cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1ea06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1eaea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1eaf6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155202:(.text+0x1eb28): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1eb62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_134getMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256461:(.text+0x1ec46): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ec52): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ec84): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_165getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239273:(.text+0x1ecbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1eda2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_164getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239324:(.text+0x1edae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ede0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ee1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_115getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255428:(.text+0x1eefe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255428:(.text+0x1ef0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ef3a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_114getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255490:(.text+0x1ef50): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ef70): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_114getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255463:(.text+0x1ef86): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1efa8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_115getResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222613:(.text+0x1f060): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222606:(.text+0x1f06c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222607:(.text+0x1f09e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_114getResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222652:(.text+0x1f0d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_144getRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292182:(.text+0x1f1bc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1f1c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_145getRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292155:(.text+0x1f1fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292155:(.text+0x1f234): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f318): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f324): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1f356): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_15getDeviceId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101263:(.text+0x1f390): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101270:(.text+0x1f474): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1f480): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f4b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_17getSpatialDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146692:(.text+0x1f4ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f5d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f5de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_61getPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356183:(.text+0x1f614): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356189:(.text+0x1f64e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f732): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_60getPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356224:(.text+0x1f73e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f770): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_137getSNESIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256479:(.text+0x1f7aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_136getSNESIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256530:(.text+0x1f88e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256547:(.text+0x1f89a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256520:(.text+0x1f8cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_137getSNESIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256491:(.text+0x1f906): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_17getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284165:(.text+0x1f9e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1f9f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_16getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284227:(.text+0x1fa24): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284200:(.text+0x1fa5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_21getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112183:(.text+0x1fb2e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112176:(.text+0x1fb3a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_20getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112212:(.text+0x1fbdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1fc56): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fc62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1fc94): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_99getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128789:(.text+0x1fcce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128796:(.text+0x1fdb2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_143getStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256765:(.text+0x1fdbe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1fdf0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1fe2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ff08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ff14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_57getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286693:(.text+0x1ff46): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ff80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_57getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286704:(.text+0x20064): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x20070): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x200a6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_431getDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189921:(.text+0x200e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_430getDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189972:(.text+0x201c4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189989:(.text+0x201d0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189962:(.text+0x20206): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20240): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_43getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106921:(.text+0x20320): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106920:(.text+0x2032c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_42getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106983:(.text+0x2035e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106956:(.text+0x20398): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_139getKSPIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256571:(.text+0x2047c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256571:(.text+0x20488): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x204ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_138getKSPIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256634:(.text+0x204f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x205d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_141getStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238089:(.text+0x205e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238083:(.text+0x2061a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20654): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x20738): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_15getDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146599:(.text+0x20744): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146605:(.text+0x20776): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146599:(.text+0x207b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_13getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359814:(.text+0x20890): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359814:(.text+0x2089c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359818:(.text+0x208ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359826:(.text+0x20908): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x209ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x209f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_127getStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255994:(.text+0x20a2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_126getStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256035:(.text+0x20a64): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256035:(.text+0x20b48): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256035:(.text+0x20b54): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20b86): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x20bc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_30getNumValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344436:(.text+0x20ca4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344436:(.text+0x20cb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344409:(.text+0x20ce2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_31getNumValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344380:(.text+0x20d1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20e00): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20e0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_18getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112152:(.text+0x20e3e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20e78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_123getTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255800:(.text+0x20f5c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255801:(.text+0x20f68): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x20f94): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x20fa8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_122getTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255863:(.text+0x20fc8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x20fdc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255836:(.text+0x20ffe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x210a8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x210b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_223getNASMNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242817:(.text+0x210e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x21122): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21206): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_149getCoarsenLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292353:(.text+0x21212): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292361:(.text+0x21248): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292355:(.text+0x21282): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_17getSpatialDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298912:(.text+0x21366): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298912:(.text+0x21372): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298918:(.text+0x213a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298924:(.text+0x213de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x214c2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x214ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_49getASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95450:(.text+0x214fe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21514): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_48getASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95491:(.text+0x21534): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x2154a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_49getASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95462:(.text+0x2156c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95491:(.text+0x21624): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21630): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_49getASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95462:(.text+0x21662): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2169c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_42getTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355290:(.text+0x21780): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_43getTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355233:(.text+0x2178c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x217c0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_135getFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237791:(.text+0x217fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x218de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x218ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21920): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2195a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_47getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107120:(.text+0x21a3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107120:(.text+0x21a4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_46getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107165:(.text+0x21a80): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107155:(.text+0x21aba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_19getCoordinateDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299004:(.text+0x21b9e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299004:(.text+0x21baa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299005:(.text+0x21bdc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_18getCoordinateDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299067:(.text+0x21c16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_44getFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230945:(.text+0x21cfa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x21d06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_45getFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230909:(.text+0x21d38): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x21d72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21e52): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x21e5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_FromPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:15:(.text+0x21e90): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_189sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135305:(.text+0x21eca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135312:(.text+0x21fae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_15getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359901:(.text+0x21fba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21fec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x22026): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2210a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x22116): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_21getStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331937:(.text+0x22148): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x22182): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x22266): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x22272): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x222a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_111getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222402:(.text+0x222de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x223be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_110getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222453:(.text+0x223ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x223fe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222443:(.text+0x22414): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22434): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_111getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222414:(.text+0x2244a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_19getDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343682:(.text+0x2246c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343688:(.text+0x22522): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343687:(.text+0x2252e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_18getDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343750:(.text+0x22562): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343723:(.text+0x2259c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_201getUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241543:(.text+0x2267c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x22688): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_201getUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241536:(.text+0x226bc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241537:(.text+0x226d2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x226f2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_200getUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241599:(.text+0x22708): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241542:(.text+0x2272a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x227e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_71getDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313868:(.text+0x227ee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313862:(.text+0x22822): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313862:(.text+0x22838): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x22858): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_70getDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313907:(.text+0x2286e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_71getDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313867:(.text+0x22890): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_19getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146771:(.text+0x22946): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_18getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146808:(.text+0x22952): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_19getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146779:(.text+0x22986): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146772:(.text+0x2299c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146773:(.text+0x229bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x229d2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_18getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146818:(.text+0x229f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x22aac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22ab8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x22aec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_19getEntriesPerElement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331862:(.text+0x22b02): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331855:(.text+0x22b22): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331856:(.text+0x22b38): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331855:(.text+0x22b5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331862:(.text+0x22c12): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x22c1e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x22c52): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_96getMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274841:(.text+0x22c68): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x22c88): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_97getMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274821:(.text+0x22c9e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274815:(.text+0x22cc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22d78): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x22d84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x22dc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_117getPrevTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255513:(.text+0x22de6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255521:(.text+0x22e1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x22ed6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_116getPrevTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255550:(.text+0x22ee2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22f16): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255521:(.text+0x22f2c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_153getMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207222:(.text+0x22f4c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22f62): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_152getMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207263:(.text+0x22f84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207290:(.text+0x2303c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207290:(.text+0x23048): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207263:(.text+0x2307c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23092): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_153getMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207234:(.text+0x230b2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x230c8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x230ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x231a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x231ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x231e2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_96getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128738:(.text+0x231f8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23218): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2322e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x23250): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_145getMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238282:(.text+0x23306): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238282:(.text+0x23312): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_144getMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238327:(.text+0x23346): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238344:(.text+0x2335c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238317:(.text+0x2337c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23392): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x233b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_12getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79738:(.text+0x2346c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_13getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79682:(.text+0x23478): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79676:(.text+0x234ac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79676:(.text+0x234c2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x234e2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x234f8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_27getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299389:(.text+0x2351a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299395:(.text+0x235d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x235de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_26getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299457:(.text+0x23612): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_27getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299400:(.text+0x23628): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_26getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299430:(.text+0x23648): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2365e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_27getTotalComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299401:(.text+0x23680): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_17getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151516:(.text+0x23738): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151517:(.text+0x23744): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x23778): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_16getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151562:(.text+0x2378e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_17getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151522:(.text+0x237ae): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_16getNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151552:(.text+0x237c4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x237e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_137getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277428:(.text+0x2389c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277421:(.text+0x238a8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277422:(.text+0x238de): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x238f4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_136getIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277467:(.text+0x23914): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277484:(.text+0x2392a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277457:(.text+0x2394c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_194normalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135650:(.text+0x23a04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x23a10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_195normalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135614:(.text+0x23a46): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135615:(.text+0x23a5c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135614:(.text+0x23a7c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x23a92): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_194normalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135677:(.text+0x23ab4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23b6c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_17getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99097:(.text+0x23b78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13323:(.text+0x23bac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_17getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99105:(.text+0x23bc2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99099:(.text+0x23be2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99099:(.text+0x23bf8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13340:(.text+0x23c1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_13getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145133:(.text+0x23cd2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x23cde): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_12getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145174:(.text+0x23d12): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_13getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145145:(.text+0x23d4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23e2c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_13getNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145145:(.text+0x23e38): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x23e6c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23e82): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_138getMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238031:(.text+0x23ea2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x23eb8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_139getMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238002:(.text+0x23eda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238031:(.text+0x23f90): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23f9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238002:(.text+0x23fd0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_119getSolveTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255596:(.text+0x23fe6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24006): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_119getSolveTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255600:(.text+0x2401c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_118getSolveTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255637:(.text+0x2403e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255664:(.text+0x240f6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x24102): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24136): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2414c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_5getNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336585:(.text+0x2416c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336585:(.text+0x24182): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x241a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2425c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_4getNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336636:(.text+0x24268): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336626:(.text+0x242ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x242ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_147getSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256964:(.text+0x24302): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256970:(.text+0x243b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256969:(.text+0x243c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_146getSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257032:(.text+0x243f8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_147getSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256975:(.text+0x2440e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_146getSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257005:(.text+0x2442e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24444): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24466): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_147getKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238368:(.text+0x2451e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238369:(.text+0x2452a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2455e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_146getKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238414:(.text+0x24574): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238431:(.text+0x24594): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x245aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x245cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_219getCompositeNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242590:(.text+0x24684): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242590:(.text+0x24690): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242584:(.text+0x246c4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242583:(.text+0x246da): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x246fa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_218getCompositeNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242646:(.text+0x24710): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x24732): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_122getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166284:(.text+0x247ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166284:(.text+0x247f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_123getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166248:(.text+0x2482a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166249:(.text+0x24840): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166249:(.text+0x24860): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x24876): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_122getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166311:(.text+0x24898): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_173getNumEvents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259296:(.text+0x2493c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24948): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_173getNumEvents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259302:(.text+0x249ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259337:(.text+0x24a68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24a74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259308:(.text+0x24aa8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_23isActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79170:(.text+0x24abe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24ade): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_23isActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79174:(.text+0x24af4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x24b16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_22isActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79238:(.text+0x24bce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_23isActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79181:(.text+0x24bda): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24c0e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_79getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287927:(.text+0x24c24): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x24c44): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x24c5a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_78getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287959:(.text+0x24c7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287995:(.text+0x24d34): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_79getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287938:(.text+0x24d40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24d74): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24d8a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287939:(.text+0x24daa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_171getFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239584:(.text+0x24dc0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x24de2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x24e98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x24ea4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x24ed8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_170getFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239625:(.text+0x24eee): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24f0e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24f24): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_73getConstrainedStorageSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155277:(.text+0x24f46): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155283:(.text+0x24ffe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155283:(.text+0x2500a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_72getConstrainedStorageSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155328:(.text+0x2503e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155345:(.text+0x25054): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155318:(.text+0x25074): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2508a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x250ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_31getSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354586:(.text+0x25164): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x25170): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_31getSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354580:(.text+0x251a4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354580:(.text+0x251ba): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x251da): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_30getSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354633:(.text+0x251f0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354585:(.text+0x25212): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x252ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_173getLinearSolveIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239683:(.text+0x252d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239677:(.text+0x2530a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239677:(.text+0x25320): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x25340): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_172getLinearSolveIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239722:(.text+0x25356): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x25378): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_93getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274616:(.text+0x2542e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_92getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274642:(.text+0x2543a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_93getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274622:(.text+0x2546e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274615:(.text+0x25484): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274616:(.text+0x254a4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x254ba): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_92getMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274661:(.text+0x254dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x25594): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x255a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_166getRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321928:(.text+0x255d4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_167getRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321899:(.text+0x255ea): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321892:(.text+0x2560a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321893:(.text+0x25620): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321893:(.text+0x25642): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321899:(.text+0x256fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_131getMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256193:(.text+0x25706): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2573a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_130getMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256225:(.text+0x25750): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x25770): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_131getMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256205:(.text+0x25786): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256198:(.text+0x257a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2585e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2586a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_69getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155103:(.text+0x2589e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x258b4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_69getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155107:(.text+0x258d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_68getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155144:(.text+0x258ea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_69getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155115:(.text+0x2590c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_68getMaxDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155144:(.text+0x259c4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155144:(.text+0x259d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x25a04): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_7getTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97767:(.text+0x25a1a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x25a3a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x25a50): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_6getTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97799:(.text+0x25a72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97835:(.text+0x25b2a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_7getTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97778:(.text+0x25b36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x25b6a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x25b80): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97779:(.text+0x25ba0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_25getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299302:(.text+0x25bb6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x25bd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x25c90): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_24getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299353:(.text+0x25c9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x25cd0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299343:(.text+0x25ce6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x25d06): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_25getTotalDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299314:(.text+0x25d1c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_105getBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129095:(.text+0x25d3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129101:(.text+0x25de4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129101:(.text+0x25df0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x25e96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_16getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145373:(.text+0x25f0c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145373:(.text+0x25f18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_17getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145337:(.text+0x25f50): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145338:(.text+0x25f66): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145338:(.text+0x25f86): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x25f9c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_16getOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145400:(.text+0x25fbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x26086): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_41getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106840:(.text+0x260d4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x26120): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x26128): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x26174): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_40getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106869:(.text+0x26180): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_61isIdentity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107706:(.text+0x261ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x26208): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_61isIdentity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107712:(.text+0x262ce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x262da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107717:(.text+0x26314): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2634e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x26432): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2643e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2647e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x264b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x26588): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x26594): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_59hasNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231780:(.text+0x265ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231781:(.text+0x265e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x265f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_58hasNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231843:(.text+0x26608): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231843:(.text+0x2660c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x26636): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x266e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x266ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_19idle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102654:(.text+0x26712): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102647:(.text+0x2673a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102648:(.text+0x26750): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102648:(.text+0x26760): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102648:(.text+0x26764): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_18idle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102710:(.text+0x2678e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x26838): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_91getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221365:(.text+0x26844): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2686a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_91getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221373:(.text+0x26892): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x268a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_90getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221414:(.text+0x268b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221414:(.text+0x268bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_91getInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221367:(.text+0x268e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_197getUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241326:(.text+0x26990): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241326:(.text+0x2699c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241332:(.text+0x269da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x269f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_197getUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241338:(.text+0x26a18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_196getUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241394:(.text+0x26ab2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241394:(.text+0x26abe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x26b00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_111getAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317705:(.text+0x26b1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x26b3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_110getAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317758:(.text+0x26bd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_111getAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317710:(.text+0x26be4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317711:(.text+0x26c10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x26c26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_110getAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317773:(.text+0x26c4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x26d16): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x26d22): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_189getUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240532:(.text+0x26e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240532:(.text+0x26e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x26e6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_189getUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240537:(.text+0x26efa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240537:(.text+0x26f06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_188getUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240600:(.text+0x26f6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x26f96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_28getUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198556:(.text+0x27040): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_29getUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198517:(.text+0x2704c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198511:(.text+0x270b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_28getUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198573:(.text+0x270dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_53isSorted': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107392:(.text+0x2719a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_52isSorted': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107418:(.text+0x271a6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x271f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_53isSorted': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107392:(.text+0x2722c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x27310): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_205metricNoMovement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323948:(.text+0x2731c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323956:(.text+0x27368): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323949:(.text+0x273a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x27488): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x27498): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_44getLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358699:(.text+0x274f0): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_45getLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358658:(.text+0x274fa): undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358651:(.text+0x27538): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358652:(.text+0x27562): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358652:(.text+0x2756a): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x275c0): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x275d0): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_173isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170076:(.text+0x2760a): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170076:(.text+0x27610): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x27636): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_173isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170080:(.text+0x2763e): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x276a4): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_172isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170129:(.text+0x276b4): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_173isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170082:(.text+0x276ee): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170082:(.text+0x276f4): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_172isStructurallySymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170144:(.text+0x2771a): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170144:(.text+0x27722): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_86getInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221204:(.text+0x27806): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_87getInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221163:(.text+0x27812): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221156:(.text+0x27852): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221157:(.text+0x27868): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x278d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_351boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184791:(.text+0x279a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184791:(.text+0x279ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_129boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130716:(.text+0x27ab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x27ad6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_129boundToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130722:(.text+0x27b90): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130722:(.text+0x27b9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x27ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_83getComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220953:(.text+0x27cc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x27d80): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x27d8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_65getTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89351:(.text+0x27e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x27eb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_19getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80035:(.text+0x27f5c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x27f68): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x27f86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x27fb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_18getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80088:(.text+0x27fcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_19getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80047:(.text+0x27fdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x27ffa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x280b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x280c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x28104): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x28110): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_185metricIsUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323013:(.text+0x2811a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323015:(.text+0x281b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_184metricIsUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323077:(.text+0x281f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323077:(.text+0x2820c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2822c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2829a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_247getThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263993:(.text+0x282a6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x282de): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_246getThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264042:(.text+0x282e8): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_247getThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264001:(.text+0x282f4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_246getThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264040:(.text+0x28316): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_247getThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263995:(.text+0x28344): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263994:(.text+0x28366): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x283b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x283c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x283fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_139interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319488:(.text+0x284a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319488:(.text+0x284ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x285b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_126isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318900:(.text+0x285d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318927:(.text+0x28692): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318927:(.text+0x2869e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_127isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318870:(.text+0x286bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318870:(.text+0x286c4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_127isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318871:(.text+0x286fe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_189metricIsIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323196:(.text+0x28720): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2873a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_188metricIsIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323237:(.text+0x2875c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323264:(.text+0x2882c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323264:(.text+0x28838): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x28908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_161getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239086:(.text+0x28928): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x289fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x28a06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_123getErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223010:(.text+0x28a3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x28a90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x28b70): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x28b7c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_13getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82444:(.text+0x28bb0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x28bbc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x28bc8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_13getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82456:(.text+0x28c64): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x28ce4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_193metricRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323383:(.text+0x28cf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x28d18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_193metricRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323395:(.text+0x28d86): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x28d92): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_193metricRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323389:(.text+0x28dc6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323389:(.text+0x28dd2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323389:(.text+0x28dde): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_259isAssembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177105:(.text+0x28e7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_258isAssembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177158:(.text+0x28efa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_259isAssembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177117:(.text+0x28f0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_258isAssembled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177158:(.text+0x28f2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177173:(.text+0x28f9e): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177173:(.text+0x28fae): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x28fec): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x29030): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2903c): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x29044): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x290a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x290b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_23getVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80413:(.text+0x290f4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80413:(.text+0x29100): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2910c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_209metricNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324131:(.text+0x291a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324143:(.text+0x29228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2923c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_209metricNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324136:(.text+0x2925c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_208metricNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324200:(.text+0x292ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324142:(.text+0x292d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x29312): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_37getLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358248:(.text+0x2931e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358248:(.text+0x2932a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x293c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_36getLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358316:(.text+0x29446): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_37getLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358259:(.text+0x2945a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2947a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x294e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_201metricNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323761:(.text+0x294f4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323769:(.text+0x29538): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323769:(.text+0x29544): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x29550): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_201metricNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323768:(.text+0x295ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2966c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_197metricNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323574:(.text+0x29680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x296a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_197metricNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323575:(.text+0x2970e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323576:(.text+0x2971a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_196metricNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323638:(.text+0x29756): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323638:(.text+0x29762): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323638:(.text+0x2976e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_163getRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321692:(.text+0x2980a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321693:(.text+0x2988a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321693:(.text+0x2989e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321694:(.text+0x298be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2992c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x29938): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x29974): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x29980): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2998c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_129distributeGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318951:(.text+0x29a28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x29aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x29abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_129distributeGetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318958:(.text+0x29adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x29b4a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x29b56): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x29b92): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_56isPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107599:(.text+0x29b9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_57isPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107551:(.text+0x29baa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x29c44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_78getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220772:(.text+0x29cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x29cd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_78getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220784:(.text+0x29cf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_79getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220737:(.text+0x29d60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220737:(.text+0x29d6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_78getComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220800:(.text+0x29da8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220742:(.text+0x29db4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x29dc0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_124isDistributed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318813:(.text+0x29e5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_125isDistributed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318778:(.text+0x29edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318778:(.text+0x29ef0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x29f10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x29f7e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_41getLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358447:(.text+0x29f8a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x29fc6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_41getLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358451:(.text+0x29fd2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_40getLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358488:(.text+0x29fde): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_41getLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358453:(.text+0x2a07a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a0fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a10e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_137isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319389:(.text+0x2a12e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_136isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319442:(.text+0x2a19c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_137isSimplex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319401:(.text+0x2a1a8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319394:(.text+0x2a1e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319394:(.text+0x2a1f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319395:(.text+0x2a1fc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a298): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_4getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81131:(.text+0x2a318): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscLogClassFindName': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:125:(.text+0x2a32c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_4getName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81148:(.text+0x2a34c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a3ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2a3c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2a402): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a40e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2a41a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_15hasConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195229:(.text+0x2a4b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a536): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2a54a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_15hasConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195236:(.text+0x2a56a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28288:(.text+0x2a5d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x2a5e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419017:(.text+0x2a620): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2a62c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28301:(.text+0x2a638): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_27getStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302599:(.text+0x2a6d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302600:(.text+0x2a754): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302601:(.text+0x2a768): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_26getStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302646:(.text+0x2a788): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a7f6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_27getStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302607:(.text+0x2a802): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a83e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2a84a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x2a856): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_133getMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237689:(.text+0x2a8f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2a972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2a986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237696:(.text+0x2a9a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_138getObjectiveValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277544:(.text+0x2aa14): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x2aa20): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_139getObjectiveValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277509:(.text+0x2aa68): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277509:(.text+0x2aa74): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277509:(.text+0x2aa80): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ab1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_114cancelMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276040:(.text+0x2ab98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2abaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_114cancelMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276053:(.text+0x2abc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_115cancelMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276006:(.text+0x2ac36): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_114cancelMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276040:(.text+0x2ac42): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276031:(.text+0x2ac82): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276031:(.text+0x2ac8e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ac9a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2ad36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_65monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220025:(.text+0x2adb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_64monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220076:(.text+0x2adca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2adea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ae58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2ae64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_126monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237381:(.text+0x2aea0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2aeac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2aeb8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_126monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237398:(.text+0x2af54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2afd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2afe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_16clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71655:(.text+0x2b008): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_17clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71616:(.text+0x2b076): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71616:(.text+0x2b082): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_16clear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71679:(.text+0x2b0be): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2b0ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2b0d6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2b172): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_14destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71591:(.text+0x2b1f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71591:(.text+0x2b206): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2b226): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_278assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140417:(.text+0x2b294): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140426:(.text+0x2b2a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_279assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140392:(.text+0x2b2e4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140393:(.text+0x2b2fc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140393:(.text+0x2b30e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2b318): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2b34e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_278assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140426:(.text+0x2b36a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2b37c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2b398): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_101getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254631:(.text+0x2b3f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13949:(.text+0x2b41c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_101getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254637:(.text+0x2b4a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254637:(.text+0x2b4ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_100getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254714:(.text+0x2b4f2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x2b50a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2b51c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_100getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254686:(.text+0x2b526): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_101getTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254631:(.text+0x2b55c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2b578): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2b58a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2b5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2b604): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_96getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235010:(.text+0x2b62a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_97getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234975:(.text+0x2b6b0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234974:(.text+0x2b6bc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_96getNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235001:(.text+0x2b700): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2b718): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2b72a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2b734): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2b76a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_86getObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234302:(.text+0x2b786): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234311:(.text+0x2b798): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2b7b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_87getObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234276:(.text+0x2b812): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_86getObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234311:(.text+0x2b838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2b8b2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2b9fe): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ba20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301516:(.text+0x2babe): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413083:(.text+0x2bc0c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413090:(.text+0x2bc2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413101:(.text+0x2bcd2): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413101:(.text+0x2bce2): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413086:(.text+0x2bd26): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_SF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414304:(.text+0x2bd94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414307:(.text+0x2bd9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414307:(.text+0x2bda0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_REFCNT': /usr/include/python3.12/object.h:211:(.text+0x2bdac): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_SF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414308:(.text+0x2bdb6): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414300:(.text+0x2be1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414301:(.text+0x2be2a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Section': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415459:(.text+0x2bf52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150900:(.text+0x2bf74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2c044): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2c050): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_34getStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332919:(.text+0x2c178): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2c19a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x2c26a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13839:(.text+0x2c276): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_30getComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299617:(.text+0x2c39e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2c3c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x2c490): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x2c49c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2c4e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_29getDimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299488:(.text+0x2c4ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299488:(.text+0x2c4fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299488:(.text+0x2c506): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2c55c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2c5fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_23getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146971:(.text+0x2c67e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146973:(.text+0x2c686): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_22getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147018:(.text+0x2c69a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_23getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146979:(.text+0x2c734): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x2c740): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2c788): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_23getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146972:(.text+0x2c796): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146972:(.text+0x2c7a2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146972:(.text+0x2c7ae): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2c804): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_164monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258368:(.text+0x2c8a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_165monitorCancel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258343:(.text+0x2c926): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258343:(.text+0x2c92e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258343:(.text+0x2c942): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_137computeExtremeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224413:(.text+0x2c9dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224413:(.text+0x2c9e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_136computeExtremeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224448:(.text+0x2ca34): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224466:(.text+0x2ca42): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224476:(.text+0x2ca4e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224478:(.text+0x2ca5a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2cab0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x2cb4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2cbcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2cbd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_137computeExtremeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224425:(.text+0x2cbe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x2cc7e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x2cc8a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_145getMinRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319971:(.text+0x2cccc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319965:(.text+0x2cd06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x2cdde): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x2cdea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ce38): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ce46): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x2ce52): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_31getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357878:(.text+0x2ce5e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_30getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357938:(.text+0x2ceb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x2cf54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_31getNumDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357884:(.text+0x2cfd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357884:(.text+0x2cfde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2cff2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_71sortGetIsValid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351398:(.text+0x2d08c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2d098): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13084:(.text+0x2d0dc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_70sortGetIsValid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351432:(.text+0x2d0e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x2d0f4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_71sortGetIsValid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351404:(.text+0x2d18e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2d20c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2d21e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_17getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98208:(.text+0x2d252): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_16getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98271:(.text+0x2d2c0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98271:(.text+0x2d2cc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_17getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98220:(.text+0x2d310): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98220:(.text+0x2d31c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_16getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98296:(.text+0x2d328): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98296:(.text+0x2d3c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_17getGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98220:(.text+0x2d440): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_39getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87756:(.text+0x2d452): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x2d486): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_39getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87762:(.text+0x2d52e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2d53a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_38getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87841:(.text+0x2d57e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2d58a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2d5ae): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2d5ca): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_39getRefCount': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87768:(.text+0x2d5e6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_15getDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353686:(.text+0x2d602): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_14getDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353721:(.text+0x2d64c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x2d66c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2d74e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2d756): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2d788): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2d790): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2d7a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_441getNestSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190919:(.text+0x2d86a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2d91a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2d934): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_440getNestSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190993:(.text+0x2d954): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_441getNestSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190924:(.text+0x2d974): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190925:(.text+0x2d994): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2d9e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2da10): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2da2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Options': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419830:(.text+0x2db42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2dcd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_190min': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135452:(.text+0x2dce4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_191min': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135393:(.text+0x2dd28): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135393:(.text+0x2dd34): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2dd58): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_190min': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135450:(.text+0x2dd74): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x2dd90): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2ddac): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135452: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2ddf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2de16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x2def8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x2df00): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2df32): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2df3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_82getOffsetRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156024:(.text+0x2df52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156024: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2e014): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_101getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275058:(.text+0x2e0c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2e0de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_101getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275062:(.text+0x2e0fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_100getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275103:(.text+0x2e11e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x2e13e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_101getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275070:(.text+0x2e190): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_100getConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275115:(.text+0x2e1ba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275142:(.text+0x2e1d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2e2ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_57getBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345880:(.text+0x2e482): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345880:(.text+0x2e48e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2e4d2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2e4de): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_56getBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345931:(.text+0x2e502): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2e51e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2e53a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2e556): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_119getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165994:(.text+0x2e5a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2e5c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_118getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166078:(.text+0x2e6a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166078:(.text+0x2e6aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_119getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166000:(.text+0x2e6dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166000:(.text+0x2e6e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165999:(.text+0x2e6fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2e7be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x2e86e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x2e888): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x2e8a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_91getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110035:(.text+0x2e8c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2e8e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_91getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110029:(.text+0x2e93a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110028:(.text+0x2e964): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2e97e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ea96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2ec2c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_130getOwnershipRangeColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166718:(.text+0x2ec38): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ec7c): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2ec88): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ecac): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166673:(.text+0x2ecc8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_29getChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152257:(.text+0x2ece4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ed00): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152263: more undefined references to `PyFloat_AsDouble' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x2ed4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_28getChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152316:(.text+0x2ed6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2ee4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2ee54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2ee86): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2ee8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_29getChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152257:(.text+0x2eea6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152314: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ef68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2f018): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_124getBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166387:(.text+0x2f032): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_125getBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166341:(.text+0x2f052): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166336:(.text+0x2f072): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166336:(.text+0x2f092): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2f0e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_124getBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166387:(.text+0x2f10e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2f128): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x2f240): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2f388): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2f394): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2f3d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_117getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165891:(.text+0x2f41a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2f42a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_117getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165897:(.text+0x2f458): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x2f47a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2f4e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_117getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165896:(.text+0x2f572): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2f57e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2f6ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_107getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129186:(.text+0x2f6c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_106getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129227:(.text+0x2f6de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_107getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129187:(.text+0x2f7aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129188:(.text+0x2f7b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_106getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129237:(.text+0x2f808): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129239:(.text+0x2f84a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2f90e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2f91a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_24getInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99537:(.text+0x2f93a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99546:(.text+0x2f950): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x2f99a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_25getInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99498:(.text+0x2fa50): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2fb7c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_192max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135542:(.text+0x2fbb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2fcc6): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2fd12): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_192max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135561:(.text+0x2fd5a): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2fd62): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_193max': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135510:(.text+0x2fda6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2fde8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2fdf4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_126getOwnershipRange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166469:(.text+0x2fe1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2fe9a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2ff36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2ffd4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2ffdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2ffe4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x30002): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166445:(.text+0x30016): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_57getMaxSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313279:(.text+0x30026): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313279:(.text+0x30040): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x3004a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_56getMaxSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313324:(.text+0x30090): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x30098): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x300a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_57getMaxSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313285:(.text+0x30174): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x301de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x30208): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3021a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3024a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x30264): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313291:(.text+0x30280): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_171isHermitianKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169965:(.text+0x3029c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x30350): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_171isHermitianKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169971:(.text+0x3044a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169977:(.text+0x3048c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169977:(.text+0x30498): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x304c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_166isSymmetricKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169765:(.text+0x3053e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x305da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_167isSymmetricKnown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169718:(.text+0x30678): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169718:(.text+0x30680): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169718:(.text+0x30688): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x306a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x306ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x306ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169724:(.text+0x306e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x306ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_43getBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285507:(.text+0x30734): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x3073c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x30744): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x30818): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_42getBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285599:(.text+0x30882): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_43getBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285512:(.text+0x308ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285513:(.text+0x308be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x308ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x30908): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285519:(.text+0x30924): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x30940): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389657:(.text+0x309f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389782:(.text+0x30aee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389729:(.text+0x30b30): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389729:(.text+0x30b3c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x30b66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379905:(.text+0x30be2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380013:(.text+0x30c7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380084:(.text+0x30d1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380084:(.text+0x30d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380084:(.text+0x30d2c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x30d4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x30d5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380031:(.text+0x30d6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380076:(.text+0x30d88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x30d92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__DMComposite_access': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419670:(.text+0x30dd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419670:(.text+0x30de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419673:(.text+0x30de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419689:(.text+0x30ebc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62867:(.text+0x30f26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x30f50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_133getOwnershipRangesColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166764:(.text+0x30f62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166768:(.text+0x30f92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x30fac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x30fc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x30fe4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_132getOwnershipRangesColumn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166853:(.text+0x31098): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x31192): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x311d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x311e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_128getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166570:(.text+0x3120a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13861:(.text+0x31286): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x31322): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_128getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166615:(.text+0x313c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166615:(.text+0x313c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x313d0): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x313ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x31402): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_129getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166548:(.text+0x31412): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_109getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129285:(.text+0x3142c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129285:(.text+0x31436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_108getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129328:(.text+0x3147c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129337:(.text+0x31484): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129346:(.text+0x3148c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129374:(.text+0x31560): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_109getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129291:(.text+0x315ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_108getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129328:(.text+0x315f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x31606): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x31636): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x31650): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3166c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_377getInertia': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186540:(.text+0x31688): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_376getInertia': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186604:(.text+0x3173c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x319a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_252getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264479:(.text+0x319ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264489:(.text+0x319f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x31a20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_253getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264446:(.text+0x31ab6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_252getAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264499:(.text+0x31b54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x31bf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x31bfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x31c04): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264505:(.text+0x31c22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264505:(.text+0x31c38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x31c4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x31c5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x31c78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_89getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274386:(.text+0x31c82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x31c8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_88getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274434:(.text+0x31cd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274423:(.text+0x31cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x31dd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x31e72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x31e8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x31eac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_88getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274450:(.text+0x31ec8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274450:(.text+0x31ee4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274444:(.text+0x31f3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x31f6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_45incRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88225:(.text+0x31f7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_44incRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88315:(.text+0x32004): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x32196): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_142getSolutionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277751:(.text+0x32272): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277786:(.text+0x32282): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x322a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x322f2): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x32332): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_142getSolutionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277757:(.text+0x32380): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x3238e): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x32398): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x323e4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_101getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128871:(.text+0x326a2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x326c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x3278a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x32916): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333837:(.text+0x32938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333950:(.text+0x32c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_48setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333984:(.text+0x32c38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x32c70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x32cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_48setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334008:(.text+0x32cde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334008:(.text+0x32ce8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333867:(.text+0x32d7a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333869:(.text+0x32d9c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x32dc6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333878:(.text+0x32de6): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333906:(.text+0x32e4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333917:(.text+0x32ea8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333887:(.text+0x32ecc): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333942:(.text+0x32ee8): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333882:(.text+0x32efe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333882:(.text+0x32f0e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333883:(.text+0x32f18): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_48setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334018:(.text+0x32f48): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x32f62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x32f6e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x32fec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333889:(.text+0x33056): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333889:(.text+0x3306c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x33074): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3307c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_49setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333871:(.text+0x3313e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333871:(.text+0x3315c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333863:(.text+0x33196): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333409:(.text+0x331ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x331f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x33290): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x332ee): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x33312): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_44setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333590:(.text+0x3332e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x33344): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x33354): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_44setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333601:(.text+0x3335e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x3338e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x333a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333492:(.text+0x333b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333434:(.text+0x33432): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x3349c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_44setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333556:(.text+0x334b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x334ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x334c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333568: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333439:(.text+0x33584): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333450:(.text+0x335a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333439:(.text+0x335dc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333441:(.text+0x33614): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333441:(.text+0x3363a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333477:(.text+0x336b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333489:(.text+0x336fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333489:(.text+0x33706): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333445:(.text+0x33730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333454:(.text+0x3378e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x3381e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_45setUniformCoordinatesExplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333461:(.text+0x338d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333437:(.text+0x3397c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333437:(.text+0x3398e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333437:(.text+0x3399e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333443:(.text+0x339e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333435:(.text+0x339ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333435:(.text+0x339f2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333640:(.text+0x33a3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333623:(.text+0x33a42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333623:(.text+0x33a4a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333645:(.text+0x33a6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333715:(.text+0x33ac4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x33acc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x33ad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x33adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x33bc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333743:(.text+0x33bfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x33c0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333706:(.text+0x33c24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333706:(.text+0x33c3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_46setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333818:(.text+0x33cee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x33d3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_46setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333780:(.text+0x33d5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333782:(.text+0x33d7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333792:(.text+0x33d9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333680:(.text+0x33ef2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333692:(.text+0x33f38): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333693:(.text+0x33f44): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333702:(.text+0x33f6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333725:(.text+0x33fcc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x3405c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x34112): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333743:(.text+0x341ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_47setUniformCoordinatesProduct': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333659:(.text+0x341cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333659:(.text+0x341dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333651:(.text+0x34220): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333651:(.text+0x34228): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333657:(.text+0x34230): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333649:(.text+0x34278): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333649:(.text+0x34280): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333649:(.text+0x34288): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304421:(.text+0x342a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x34302): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x3430a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304488:(.text+0x34312): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304488:(.text+0x3431a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304488: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x34404): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x3443a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x3444c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304525:(.text+0x34462): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304525:(.text+0x34478): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304430:(.text+0x3452c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_52setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304600:(.text+0x34578): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304552:(.text+0x34598): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x345b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x345d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304437:(.text+0x34730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304463:(.text+0x34776): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304467:(.text+0x34782): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304474:(.text+0x347ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304485:(.text+0x3480a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304431:(.text+0x3489a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x34950): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x349f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x34a0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x34a1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_53setUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304441:(.text+0x34a5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304441:(.text+0x34a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304441:(.text+0x34a6e): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304439:(.text+0x34ab6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304439:(.text+0x34abe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304439:(.text+0x34ac6): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304431:(.text+0x34ae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84491:(.text+0x34b3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84493:(.text+0x34b46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_8destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84520:(.text+0x34b4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84520:(.text+0x34b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84565: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_8destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84543:(.text+0x34c40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84547:(.text+0x34c76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84611:(.text+0x34c88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x34c9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x34cb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_30computeDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116445:(.text+0x34d68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x34db4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x34dd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x34df4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x34e14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x34f80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x34f8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x34fb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x35010): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_46decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88443:(.text+0x3501e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88433:(.text+0x3504c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_47decRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88357:(.text+0x35082): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88357:(.text+0x35090): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71439:(.text+0x351d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71439:(.text+0x351e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71440:(.text+0x3520c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x35268): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x35276): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386499:(.text+0x352b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386551:(.text+0x352e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386560:(.text+0x352f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386685:(.text+0x35426): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_REFCNT': /usr/include/python3.12/object.h:263:(.text+0x355b8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418875:(.text+0x355d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x357a6): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_63setJacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272387:(.text+0x3586e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x3589c): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x358a4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x358ac): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_63setJacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272340:(.text+0x358fc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272340:(.text+0x35906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3598c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_63setJacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272297:(.text+0x35a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272306:(.text+0x35a8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272358:(.text+0x35b1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272368:(.text+0x35b24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272309:(.text+0x35b46): undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272299:(.text+0x35b58): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272306:(.text+0x35b72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272321:(.text+0x35b98): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272326:(.text+0x35baa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272326:(.text+0x35bb4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272337:(.text+0x35c12): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272293:(.text+0x35c24): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272293:(.text+0x35d9c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268863:(.text+0x35dac): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268863:(.text+0x35db0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268878:(.text+0x35dbe): undefined reference to `PyNumber_InPlaceMultiply' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268881:(.text+0x35de6): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268933:(.text+0x35e14): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268933:(.text+0x35e36): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268961:(.text+0x35e64): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x35e76): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x35e82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_34setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269096:(.text+0x35f08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269096:(.text+0x35f16): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x35f1e): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_34setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269107:(.text+0x35f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x35f44): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_34setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269118:(.text+0x35f52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x35f5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x35f76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x35f7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x35f8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972:(.text+0x35fb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x35fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x3601a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268933:(.text+0x36056): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268936:(.text+0x3605e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x36070): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268962:(.text+0x3612c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268962:(.text+0x36138): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268899:(.text+0x361ce): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268948:(.text+0x3624c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268930:(.text+0x3634c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268930:(.text+0x36354): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x3635c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268886:(.text+0x36364): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972:(.text+0x363f2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972:(.text+0x363f8): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268972:(.text+0x36400): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x36436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_35setJacobianResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268894:(.text+0x364aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268894:(.text+0x364b6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268886:(.text+0x364da): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270528:(.text+0x364ec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270528:(.text+0x3650c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270542:(.text+0x36518): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x36544): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270606:(.text+0x3655e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270606:(.text+0x3656e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270613:(.text+0x36582): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270634:(.text+0x36592): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270634:(.text+0x365a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x365b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x365c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_48setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270680:(.text+0x365d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270777:(.text+0x36642): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270777:(.text+0x3664e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x36660): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x3666c): undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x366a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x366c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x366d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270653:(.text+0x366e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_48setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270743:(.text+0x3674c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x36758): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270630:(.text+0x367f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270630:(.text+0x36802): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270635:(.text+0x36880): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_48setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270803:(.text+0x36898): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270803:(.text+0x368ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270572:(.text+0x36916): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270563:(.text+0x3693c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270603:(.text+0x36a72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270603:(.text+0x36a7e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_48setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270803:(.text+0x36ac6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x36ada): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_49setHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270581:(.text+0x36b2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270653:(.text+0x36b36): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270561:(.text+0x36bb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270561:(.text+0x36bce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270567:(.text+0x36be2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_53setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270971:(.text+0x36c4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270971:(.text+0x36c72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x36da8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_52setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271231:(.text+0x36db4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x36dfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x36e10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x36e60): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x36e6c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x36eec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_52setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271188:(.text+0x36f04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_53setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271071:(.text+0x36f18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271001:(.text+0x36f82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271077:(.text+0x36fa8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271065:(.text+0x370de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271067:(.text+0x370ea): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271010:(.text+0x37132): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271015:(.text+0x37146): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271041:(.text+0x37196): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271041:(.text+0x371a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x37222): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_52setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271246:(.text+0x3723a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271246:(.text+0x3724e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x372b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_53setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271008:(.text+0x372de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x37414): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_getbuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29126:(.text+0x37420): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_10_IS_buffer_getbuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23727:(.text+0x37468): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23803:(.text+0x3747c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23798:(.text+0x374cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x374d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x37558): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x37570): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271524:(.text+0x37584): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x375ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271660:(.text+0x37614): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271675:(.text+0x3774a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x37756): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271691:(.text+0x3779e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271524:(.text+0x377b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x37802): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271691:(.text+0x3780e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271468:(.text+0x3788c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271468:(.text+0x378a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271555:(.text+0x378b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271749:(.text+0x37922): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271749:(.text+0x37948): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271504:(.text+0x37a76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271505:(.text+0x37a82): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271521:(.text+0x37ace): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271521:(.text+0x37ae2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271555:(.text+0x37b32): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271545:(.text+0x37b3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x37bba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_56setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271749:(.text+0x37bd2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271750:(.text+0x37be6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x37c50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_57setJacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271471:(.text+0x37c76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_viewcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368629:(.text+0x37dac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368629:(.text+0x37db8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368593:(.text+0x37e00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368624:(.text+0x37e14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x37e64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_viewcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368514:(.text+0x37e70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84049:(.text+0x37ef0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x37f08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x37f1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x37f86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCommDEALLOC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18728:(.text+0x37fac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369152:(.text+0x380e2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369161:(.text+0x380ee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369215:(.text+0x38136): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369233:(.text+0x3814a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369296:(.text+0x3819a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369305:(.text+0x381a6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369395:(.text+0x38226): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369413:(.text+0x3823e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369431:(.text+0x38252): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x382bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x382e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:369485:(.text+0x38418): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393627:(.text+0x38424): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393669:(.text+0x3846c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393687:(.text+0x38480): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393723:(.text+0x384d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393723:(.text+0x384dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoCreateDefaultLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:610:(.text+0x3855c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoCreateDefaultKSP': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:594:(.text+0x38574): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:595:(.text+0x38588): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x385f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393803:(.text+0x38618): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoCreateDefaultLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:610:(.text+0x3874e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:610:(.text+0x3875a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:609:(.text+0x387a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:609:(.text+0x387b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:607:(.text+0x38806): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:607:(.text+0x38812): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:605:(.text+0x38892): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoCreateDefaultKSP': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:594:(.text+0x388aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:594:(.text+0x388be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63049:(.text+0x38928): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63061:(.text+0x3894e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28349:(.text+0x38a84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28358:(.text+0x38a90): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_AcquireArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27944:(.text+0x38ad8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27946:(.text+0x38aec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_11_Vec_buffer_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28402:(.text+0x38b3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28402:(.text+0x38b48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x38bc8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29528:(.text+0x38be0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x38bf4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29552:(.text+0x38c5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29568:(.text+0x38c84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29619:(.text+0x38dba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29619:(.text+0x38dc6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_11_Vec_buffer___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419021:(.text+0x38e14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x38e28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x38e78): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x38e84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29540:(.text+0x38f00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x38f18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x38f2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x38f96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29601:(.text+0x38fbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24087:(.text+0x390f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x390fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24111:(.text+0x39146): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24120:(.text+0x3915a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24134:(.text+0x391aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x391b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_10_IS_buffer___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418882:(.text+0x39236): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418882:(.text+0x3924e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24095:(.text+0x39262): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_10_IS_buffer___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418881:(.text+0x392cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x392f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x39428): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x39434): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24144:(.text+0x3947c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24109:(.text+0x39490): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24145:(.text+0x394e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_10_IS_buffer___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418882:(.text+0x394ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3956c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338926:(.text+0x39584): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338929:(.text+0x39598): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_12setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339048:(.text+0x39602): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x39628): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x3975e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x3976a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x397b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338969:(.text+0x397c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338926:(.text+0x39816): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338926:(.text+0x39822): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x398a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x398ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_12setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339035:(.text+0x398ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338950:(.text+0x39938): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3995e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_13setGlobalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338886:(.text+0x39a94): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338887:(.text+0x39aa0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338889:(.text+0x39ae8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338889:(.text+0x39afc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338873:(.text+0x39b4c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338873:(.text+0x39b58): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338887:(.text+0x39bd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338875:(.text+0x39bf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338875:(.text+0x39c04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338912:(.text+0x39c6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338918:(.text+0x39c94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338871:(.text+0x39dca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338881:(.text+0x39dd6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339333:(.text+0x39e1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339348:(.text+0x39e32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339420:(.text+0x39e82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339423:(.text+0x39e8e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x39f0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x39f26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x39f3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x39fa4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x39fca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339420:(.text+0x3a100): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339420:(.text+0x3a10c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3a154): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_16setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339620:(.text+0x3a168): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3a1b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_16setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339529:(.text+0x3a1c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339446:(.text+0x3a244): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3a25c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x3a270): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_16setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339698:(.text+0x3a2da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339542:(.text+0x3a300): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x3a436): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_17setLocalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339367:(.text+0x3a442): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339371:(.text+0x3a48a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339371:(.text+0x3a49e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339369:(.text+0x3a4ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339369:(.text+0x3a4fa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339411:(.text+0x3a57a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339413:(.text+0x3a592): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339417:(.text+0x3a5a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339389:(.text+0x3a610): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339463:(.text+0x3a636): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339914:(.text+0x3a76c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339914:(.text+0x3a778): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x3a7c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x3a7d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x3a824): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x3a830): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x3a8b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x3a8c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x3a8dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x3a946): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x3a96c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x3aaa2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x3aaae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340106:(.text+0x3aaf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339938:(.text+0x3ab0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3ab5a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x3ab66): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_20setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340211:(.text+0x3abe6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340166:(.text+0x3abfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340075:(.text+0x3ac12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339875:(.text+0x3ac7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339869:(.text+0x3aca2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339863:(.text+0x3add8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339863:(.text+0x3ade4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339894:(.text+0x3ae2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339899:(.text+0x3ae40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339911:(.text+0x3ae90): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339911:(.text+0x3ae9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339883:(.text+0x3af1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339957:(.text+0x3af32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3af46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_21setLocalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339859:(.text+0x3afb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339869:(.text+0x3afd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0x3b104): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0x3b110): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0x3b158): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0x3b16c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0x3b1bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25120:(.text+0x3b1c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_12__imul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119464:(.text+0x3b248): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119481:(.text+0x3b260): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119481:(.text+0x3b274): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x3b2de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25202:(.text+0x3b304): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25259:(.text+0x3b43a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25259:(.text+0x3b446): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x3b48e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x3b4a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_16__itruediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119594:(.text+0x3b4f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_17__itruediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119575:(.text+0x3b4fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383105:(.text+0x3b57e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383123:(.text+0x3b596): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383141:(.text+0x3b5aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383186:(.text+0x3b614): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x3b63a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0x3b770): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383294:(.text+0x3b77c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0x3b7c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0x3b7dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3b82c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0x3b838): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0x3b8b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3b8cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPCreate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383293:(.text+0x3b8e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_IS_TYPE': /usr/include/python3.12/object.h:251:(.text+0x3b94a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyUnicode_GET_LENGTH': /usr/include/python3.12/cpython/unicodeobject.h:282:(.text+0x3b970): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyUnicode_Equals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446338:(.text+0x3baa6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x3bab2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyUnicode_READ': /usr/include/python3.12/cpython/unicodeobject.h:323:(.text+0x3bafa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_PyUnicode_NONCOMPACT_DATA': /usr/include/python3.12/cpython/unicodeobject.h:259:(.text+0x3bb0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x3bb5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x3bb6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x3bbea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400485:(.text+0x3bc02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400288:(.text+0x3bc16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400489:(.text+0x3bc80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400236:(.text+0x3bca6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x3bddc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x3bde8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x3be30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409032:(.text+0x3be44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x3be94): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409054:(.text+0x3bea0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409076:(.text+0x3bf20): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409103:(.text+0x3bf38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409162:(.text+0x3bf4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409265:(.text+0x3bfb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x3bfdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409325:(.text+0x3c112): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3c11e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x3c166): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409270:(.text+0x3c17a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x3c1ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x3c1d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409008:(.text+0x3c256): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x3c26e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409317:(.text+0x3c282): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_INC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447557:(.text+0x3c2ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_fromslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409282:(.text+0x3c312): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_object_from_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409648:(.text+0x3c448): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409734:(.text+0x3c454): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3c49c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_15_DMDA_Vec_array_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58884:(.text+0x3c4b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x3c500): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x3c50c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x3c58c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447255:(.text+0x3c5a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x3c5b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x3c622): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_15_DMDA_Vec_array_acquire': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58990:(.text+0x3c648): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_CallMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448509:(.text+0x3c77e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448501:(.text+0x3c78a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448509:(.text+0x3c7d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448462:(.text+0x3c7ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448506:(.text+0x3c83a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448468:(.text+0x3c846): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3c8c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CyFunction_CallAsMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448513:(.text+0x3c8da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448516:(.text+0x3c8ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448537:(.text+0x3c958): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448543:(.text+0x3c97e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_267computeGradientClementInterpolant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327415:(.text+0x3cab4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327415:(.text+0x3cac0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x3cb08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_267computeGradientClementInterpolant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327398:(.text+0x3cb1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327405:(.text+0x3cb6c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327405:(.text+0x3cb78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_266computeGradientClementInterpolant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327457:(.text+0x3cbf8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327457:(.text+0x3cc10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x3cc24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_267computeGradientClementInterpolant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327385:(.text+0x3cc8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327381:(.text+0x3ccb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_245pointwiseMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138422:(.text+0x3cdea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138422:(.text+0x3cdf6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138433:(.text+0x3ce3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138433:(.text+0x3ce52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138416:(.text+0x3cea2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138416:(.text+0x3ceae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138393:(.text+0x3cf2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138393:(.text+0x3cf46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138397:(.text+0x3cf5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138385:(.text+0x3cfc4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138390:(.text+0x3cfea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_241pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138133:(.text+0x3d120): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138133:(.text+0x3d12c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138188:(.text+0x3d174): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138189:(.text+0x3d188): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138199:(.text+0x3d1d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138147:(.text+0x3d1e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138188:(.text+0x3d264): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138189:(.text+0x3d27c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138189:(.text+0x3d290): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138178:(.text+0x3d2fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_240pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138231:(.text+0x3d320): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_241pointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138149:(.text+0x3d470): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_71computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272999:(.text+0x3d4a6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272999:(.text+0x3d4b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273010:(.text+0x3d4be): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273065:(.text+0x3d54a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273048:(.text+0x3d5c2): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273050:(.text+0x3d5d2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273050:(.text+0x3d5e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273054:(.text+0x3d5f6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273022:(.text+0x3d62c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273025:(.text+0x3d63c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273025:(.text+0x3d650): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273044:(.text+0x3d686): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_70computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273097:(.text+0x3d696): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273097:(.text+0x3d6aa): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_71computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273015:(.text+0x3d6c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273023:(.text+0x3d6e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273022:(.text+0x3d70a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273035:(.text+0x3d71a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x3d76e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x3d782): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_71computeResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273065:(.text+0x3d7c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273017:(.text+0x3d7d8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273017:(.text+0x3d7e8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_242pointwiseMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138334:(.text+0x3d8ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138345:(.text+0x3d8ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_243pointwiseMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138316:(.text+0x3d8ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138264:(.text+0x3d8f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138295:(.text+0x3da0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x3da16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3da1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_242pointwiseMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138348:(.text+0x3da24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138348:(.text+0x3da30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138348:(.text+0x3da38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_243pointwiseMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138266:(.text+0x3dba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_303multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180184:(.text+0x3dbb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180184: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_302multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180268:(.text+0x3dc30): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_303multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180250:(.text+0x3dc66): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180235:(.text+0x3dcfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180239:(.text+0x3dd0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180210:(.text+0x3dd64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180210:(.text+0x3dd68): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180219:(.text+0x3dd8e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_302multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180282:(.text+0x3ddac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_303multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180208:(.text+0x3ddf4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180207:(.text+0x3de08): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180207:(.text+0x3de10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180207:(.text+0x3de16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180207:(.text+0x3de1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180216:(.text+0x3de6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180216:(.text+0x3de72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3dea2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3deaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3deb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3deba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_303multHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180250:(.text+0x3ded6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180202:(.text+0x3dedc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180202:(.text+0x3dee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180202:(.text+0x3deec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_282coordinatesLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328381:(.text+0x3dfb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x3e024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_283coordinatesLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328346:(.text+0x3e056): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328348:(.text+0x3e074): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328353:(.text+0x3e0b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3e256): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_283coordinatesLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328313:(.text+0x3e2a4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_51applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199557:(.text+0x3e2b6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199612:(.text+0x3e31a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x3e324): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x3e350): undefined reference to `PyMem_Free' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x3e35a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_51applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199623:(.text+0x3e36a): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x3e3ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_51applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199608:(.text+0x3e402): undefined reference to `PyMem_Free' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199613:(.text+0x3e424): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199583:(.text+0x3e45a): undefined reference to `PyMem_Malloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199583:(.text+0x3e46a): undefined reference to `PyErr_NoMemory' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199587:(.text+0x3e496): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x3e4b2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_50applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199655:(.text+0x3e4cc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_51applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199573:(.text+0x3e4e2): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199573:(.text+0x3e4f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199580:(.text+0x3e4f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199580:(.text+0x3e4fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x3e506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_51applySymmetricLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199580:(.text+0x3e51a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199575:(.text+0x3e520): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199593:(.text+0x3e532): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199593:(.text+0x3e55c): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199589:(.text+0x3e568): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3e5b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3e5d6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3e5e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x3e676): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3e682): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_49applyTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199506:(.text+0x3e706): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199454:(.text+0x3e714): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199489:(.text+0x3e768): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199491:(.text+0x3e780): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199496:(.text+0x3e7be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199466:(.text+0x3e802): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199485:(.text+0x3e82c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3e934): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3e940): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x3ea68): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_103solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221994:(.text+0x3eb22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221995:(.text+0x3eb3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221995:(.text+0x3eb44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221962:(.text+0x3eb62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221957:(.text+0x3ec08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221962:(.text+0x3ec36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221971:(.text+0x3ec78): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221971:(.text+0x3ec84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x3ecb0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3ecd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3ece4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_103solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221955:(.text+0x3ed34): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221955:(.text+0x3ed40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x3eda0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_47matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199364:(.text+0x3edb0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x3ede6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_46matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199418:(.text+0x3edfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_47matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199389:(.text+0x3ee12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x3ee66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_47matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199374:(.text+0x3ee8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199359:(.text+0x3efe6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199359:(.text+0x3eff2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199355:(.text+0x3f01c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x3f03c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3f04e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_47matApply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199341:(.text+0x3f09e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199341:(.text+0x3f0aa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179692:(.text+0x3f10a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3f11a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179747:(.text+0x3f150): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_294mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179776:(.text+0x3f168): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x3f17c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x3f1d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179741:(.text+0x3f1f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179715:(.text+0x3f352): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179728:(.text+0x3f35e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179724:(.text+0x3f38c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3f3d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_295mult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179710:(.text+0x3f424): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179710:(.text+0x3f430): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142426:(.text+0x3f4da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_306restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142455:(.text+0x3f4f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x3f506): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x3f578): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142420:(.text+0x3f59e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142394:(.text+0x3f6c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142389:(.text+0x3f6d4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142407:(.text+0x3f6fe): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142403:(.text+0x3f71e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142403:(.text+0x3f730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3f780): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3f78c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_307restoreSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142387:(.text+0x3f7ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_247pointwiseMaxAbs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138484:(.text+0x3f7fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3f832): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_247pointwiseMaxAbs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138522:(.text+0x3f84a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138539:(.text+0x3f85e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138550:(.text+0x3f8b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138499:(.text+0x3f8d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138502:(.text+0x3fa32): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138508:(.text+0x3fa3e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138520:(.text+0x3fa96): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3fae6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3faf2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x3fbb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x3fbce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_95setSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254285:(.text+0x3fbe0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254309:(.text+0x3fc32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254257:(.text+0x3fc58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254288:(.text+0x3fd6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_94setSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254341:(.text+0x3fd9a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x3fda6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3fe70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x3fe98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_95setSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254259:(.text+0x3feea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254259:(.text+0x3fef6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x3ff4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x3ff52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_107matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222211:(.text+0x3ff5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222228:(.text+0x3ff70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_106matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222268:(.text+0x3ffb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_107matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222187:(.text+0x3ffdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x4001e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x40132): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_107matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222191:(.text+0x4013e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222209:(.text+0x40180): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222209:(.text+0x4018c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4021c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_107matSolveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222189:(.text+0x4026a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222189:(.text+0x40286): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_81computeConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273762:(.text+0x402c0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x402d6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x402fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_80computeConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273834:(.text+0x40314): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_81computeConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273816:(.text+0x40344): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273816:(.text+0x4034c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273816:(.text+0x4035e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x40380): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x4038c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_81computeConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273799:(.text+0x403ae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273805:(.text+0x403fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273803:(.text+0x40422): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273773:(.text+0x4042e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273776:(.text+0x40440): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273773:(.text+0x404f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273773:(.text+0x40500): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273786:(.text+0x4052a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273786:(.text+0x40532): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273782:(.text+0x4054e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273782:(.text+0x4055c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x40568): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4058a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x4059c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_81computeConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273768:(.text+0x405ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273766:(.text+0x405f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_415solveForward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189008:(.text+0x4067c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189022:(.text+0x40694): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_414solveForward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189050:(.text+0x406a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x40720): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_415solveForward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189015:(.text+0x40746): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x40868): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_415solveForward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188984:(.text+0x40874): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188982:(.text+0x40982): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x40aa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x40aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x40ab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_169createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293682:(.text+0x40ac4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293684:(.text+0x40aea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293656:(.text+0x40b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293656:(.text+0x40bec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x40bf8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x40c7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x40c98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x40cba): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x40cc6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x40cd2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_169createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293651:(.text+0x40cde): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293649:(.text+0x40d08): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293649:(.text+0x40d14): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293649:(.text+0x40d20): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293649:(.text+0x40d2c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_53applySymmetricRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199674:(.text+0x40d38): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x40d66): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x40d72): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x40d7e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_52applySymmetricRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199758:(.text+0x40dba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_53applySymmetricRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199700:(.text+0x40ef0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_52applySymmetricRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199772:(.text+0x40f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_53applySymmetricRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199710:(.text+0x40fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199710:(.text+0x40fd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_427matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189703:(.text+0x410e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:642: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_427matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189706:(.text+0x41190): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189707:(.text+0x4119c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x411c8): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_427matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189741:(.text+0x411d6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189743:(.text+0x411f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189743:(.text+0x41208): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189718:(.text+0x4125e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189718:(.text+0x4126a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_426matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189790:(.text+0x412cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_427matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189745:(.text+0x412dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189710:(.text+0x41312): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189715:(.text+0x4132a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189728:(.text+0x4133e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x41392): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x413b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_73computeGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273182:(.text+0x414f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273130:(.text+0x4151a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273131:(.text+0x41526): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273165:(.text+0x41564): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273165:(.text+0x41574): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273139:(.text+0x415e2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273142:(.text+0x415ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x41636): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_72computeGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273214:(.text+0x4164a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x41690): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_73computeGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273134:(.text+0x4169e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273152:(.text+0x416bc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273152:(.text+0x416d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x4171a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x41732): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x4174a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x4175c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_73computeGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273134:(.text+0x41788): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273132:(.text+0x417a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_203setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241633:(.text+0x418b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241667:(.text+0x418e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241667:(.text+0x418f2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241644:(.text+0x41970): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241653:(.text+0x419ae): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241663:(.text+0x419ba): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241641:(.text+0x41a3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241654:(.text+0x41a4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x41ac0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x41ad8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_203setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241636:(.text+0x41b16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x41b84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189359:(.text+0x41bae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189368:(.text+0x41c98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189373:(.text+0x41cca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189373:(.text+0x41cd6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_420solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189415:(.text+0x41d54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189340:(.text+0x41d92): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x41d9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x41e20): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x41e2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_421solveTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189335:(.text+0x41ea4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189333:(.text+0x41ebc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_105matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222067:(.text+0x41efa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x41f68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_105matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222122:(.text+0x41f92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222082:(.text+0x4207a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222086:(.text+0x420ac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222086:(.text+0x420b8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222074:(.text+0x42130): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222092:(.text+0x4216c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222092:(.text+0x42178): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x42200): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_105matSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222074:(.text+0x4220e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327802:(.text+0x42288): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x422a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327847:(.text+0x422de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327806:(.text+0x42350): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x4237a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_274sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327889:(.text+0x42474): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327814:(.text+0x424a6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x424b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_275sectionView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327823:(.text+0x42530): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4256e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x4257a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_299multTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179938:(.text+0x425fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179938:(.text+0x4260a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x42680): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_298multTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180033:(.text+0x42698): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_299multTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179953:(.text+0x426d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179993:(.text+0x42744): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179994:(.text+0x4276e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179974:(.text+0x4287a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179974:(.text+0x42886): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x429ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x429ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_238pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138100:(.text+0x42a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x42a08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x42a10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x42a1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x42a7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_239pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138065:(.text+0x42a94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138065:(.text+0x42aa8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138072:(.text+0x42aea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138039:(.text+0x42b0c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138048:(.text+0x42c36): undefined reference to `PyCFunction_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138048:(.text+0x42c44): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x42c52): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x42c76): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x42c86): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x42c8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x42c98): undefined reference to `PyCFunction_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_239pointwiseMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138034:(.text+0x42cbc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138034:(.text+0x42cca): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138032:(.text+0x42cf2): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_45apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199217:(.text+0x42d26): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x42d6c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_45apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199261:(.text+0x42d70): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_44apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199290:(.text+0x42d84): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_45apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199220:(.text+0x42dda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199257:(.text+0x42e42): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199257:(.text+0x42e4e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199232:(.text+0x42eba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199238:(.text+0x42fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199238:(.text+0x42fce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199222:(.text+0x4307e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199222:(.text+0x43086): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_76computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273469:(.text+0x43136): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273440: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x4319e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273427:(.text+0x43218): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273400:(.text+0x4322c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273404:(.text+0x4325a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x4327a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x43286): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273397:(.text+0x432c2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273397:(.text+0x432ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x43390): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x4339e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x433aa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_77computeDualVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273390:(.text+0x433f4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_285labelsLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328414:(.text+0x4342a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328425:(.text+0x4343a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x43448): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_285labelsLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328428:(.text+0x434e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328429:(.text+0x434fa): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x43514): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_285labelsLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328463:(.text+0x4354c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328465:(.text+0x43560): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328469:(.text+0x43574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328469:(.text+0x43580): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328470:(.text+0x43594): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328470: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_285labelsLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328432:(.text+0x43652): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328437:(.text+0x43672): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328437:(.text+0x4367a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328437:(.text+0x43682): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328438:(.text+0x4368a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328450:(.text+0x43692): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328450: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x43730): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_89computeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234401:(.text+0x437fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234385:(.text+0x43940): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234385:(.text+0x43960): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234389:(.text+0x4397c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x43990): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234457: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_89computeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234382:(.text+0x43a0e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234395:(.text+0x43a1a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234395:(.text+0x43a3e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x43a70): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x43a84): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_89computeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234377:(.text+0x43ad8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234375:(.text+0x43b1e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_417solveBackward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189083:(.text+0x43b3e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x43b62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_417solveBackward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189124:(.text+0x43b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189132:(.text+0x43c44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189106:(.text+0x43d60): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189115:(.text+0x43dda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189115:(.text+0x43de8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189115:(.text+0x43df6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x43e08): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x43e4c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_417solveBackward': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189149:(.text+0x43e58): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189099:(.text+0x43e90): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189099:(.text+0x43e9c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189099:(.text+0x43ea8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_419solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189200:(.text+0x43ebe): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189266:(.text+0x43f70): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x43fba): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_419solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189249:(.text+0x43fe2): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189255:(.text+0x44018): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189256:(.text+0x44028): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189256:(.text+0x4403a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x440a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_419solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189232:(.text+0x4415e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189232:(.text+0x44182): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x4418a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x44192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x4419a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x441a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x4433a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x4434c): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454733:(.text+0x44366): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x443ac): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27722:(.text+0x44480): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27757:(.text+0x4458a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x445ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x445ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27773:(.text+0x445ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x44632): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x44688): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x4469e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27835:(.text+0x446e0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27835:(.text+0x446e8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x44708): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x44716): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x44756): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44776): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecGetCurrentMemType': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:214:(.text+0x4478e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscStrstr': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:406:(.text+0x447b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x44860): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x449a4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x44a2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27879:(.text+0x44a3c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x44a80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27825:(.text+0x44a8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x44ac4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44ad0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44adc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44af2): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x44ba6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27861:(.text+0x44bb4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27711:(.text+0x44bc0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27634:(.text+0x44bfc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27861:(.text+0x44c24): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x44c5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27690:(.text+0x44c6a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27690:(.text+0x44c78): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27647:(.text+0x44cd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27649:(.text+0x44cea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27715:(.text+0x44cfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x44d0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x44d1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x44df4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44e20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x44e30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27861:(.text+0x44e38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27753: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27687:(.text+0x44efc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27437:(.text+0x44f0e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27804:(.text+0x44f28): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27524:(.text+0x44f6e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x45042): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403371:(.text+0x45186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403448:(.text+0x451a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403498:(.text+0x451c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x451d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403512: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x4524e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4525a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `assert_direct_dimensions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406707:(.text+0x4527c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403563:(.text+0x452cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446558:(.text+0x452e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assign_scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403572:(.text+0x452f6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403586:(.text+0x45336): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403604:(.text+0x45356): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4537a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_copying': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411716:(.text+0x4539e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice_with_gil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411749:(.text+0x45474): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_365factorSymbolicILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185768:(.text+0x455b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185826:(.text+0x45618): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_364factorSymbolicILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185878:(.text+0x45630): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_365factorSymbolicILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185836:(.text+0x45666): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185819:(.text+0x456a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185819:(.text+0x456ba): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185825:(.text+0x45756): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185801:(.text+0x4580a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185801:(.text+0x45816): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185791:(.text+0x45878): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185773:(.text+0x4592e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185773:(.text+0x4593a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x459a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13962:(.text+0x45a9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0x45b80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145004:(.text+0x45c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_217isset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136571:(.text+0x45d4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136581:(.text+0x45e2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136575: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_75computeObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273265:(.text+0x46efa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273265:(.text+0x46f06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x46f78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_75computeObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273251:(.text+0x46fa2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_207setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172919:(.text+0x4705e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172921:(.text+0x4706a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x470d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x470fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_207setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172925:(.text+0x471b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172926:(.text+0x471c4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172897:(.text+0x4722c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172885:(.text+0x47256): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172903:(.text+0x47312): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172903:(.text+0x4731e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172885:(.text+0x47390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172883:(.text+0x473ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x47476): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x47482): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84416:(.text+0x474f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x4751e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84309:(.text+0x475da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0x475e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x47658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:642:(.text+0x47682): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4773e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4__richcmp__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84316:(.text+0x4774a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x477bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_267setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215109:(.text+0x477e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_266setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215204:(.text+0x478a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215204:(.text+0x478ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x47920): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_267setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215158:(.text+0x4794a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215144:(.text+0x47a06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215154:(.text+0x47a12): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215133:(.text+0x47a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215132:(.text+0x47aa4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x47b5c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_267setDeflationSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215127:(.text+0x47b68): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215125:(.text+0x47b8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_117getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236605:(.text+0x47bd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x47bfa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x47cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x47cfc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_116getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236702:(.text+0x47d08): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x47d6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0x47d98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x47e50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x47e5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_117getConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236610:(.text+0x47ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x47eec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_23getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332024:(.text+0x47fa4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332024:(.text+0x47fb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_22getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332082:(.text+0x48022): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332092:(.text+0x4804c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x48104): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x48110): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x48176): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x481a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x48264): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61731:(.text+0x48292): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_22getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332092:(.text+0x4829e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x48386): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x483de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x483ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x48434): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x48446): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x48474): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x4849a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x484c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x48508): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_195interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260437:(.text+0x48600): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x4860c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x4867e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_195interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260490:(.text+0x486a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x48764): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x48770): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_195interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260451:(.text+0x487d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260460:(.text+0x48800): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260461:(.text+0x488bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260461:(.text+0x488c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4892e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_195interpolate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260490:(.text+0x48958): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139565:(.text+0x48a14): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_262setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139609:(.text+0x48a20): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139626:(.text+0x48a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139591:(.text+0x48ab0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139533:(.text+0x48b6c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x48b78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139550:(.text+0x48bb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x48bc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139558:(.text+0x48bec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139562:(.text+0x48c16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139543:(.text+0x48cd2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139552:(.text+0x48cde): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x48d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_263setValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139538:(.text+0x48d6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x48e2a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x48e36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_84computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274150:(.text+0x48e9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_85computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274113:(.text+0x48ec6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274053:(.text+0x48f82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274058:(.text+0x48f8e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274102:(.text+0x48ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274104:(.text+0x4901e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_84computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274176:(.text+0x490da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274176:(.text+0x490e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_85computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274067:(.text+0x4914c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x49176): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_91computeJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234476:(.text+0x49232): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234476:(.text+0x4923e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234528:(.text+0x492a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234548:(.text+0x492ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234542:(.text+0x49386): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234542:(.text+0x49392): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234510:(.text+0x493f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234546:(.text+0x49422): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234521:(.text+0x494de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234522:(.text+0x494ea): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234518:(.text+0x4955c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234503:(.text+0x49586): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234494:(.text+0x49642): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234496:(.text+0x4964e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x496c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203818:(.text+0x496ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203830:(.text+0x497ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203834:(.text+0x497da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203782:(.text+0x497e6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203796:(.text+0x498ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203811:(.text+0x49924): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203812:(.text+0x49930): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_106setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203907:(.text+0x49986): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203807:(.text+0x49998): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203786:(.text+0x499c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203802:(.text+0x499e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x49a0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_107setHYPRESetEdgeConstantVectors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203784:(.text+0x49a5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_83computeHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273919:(.text+0x49b48): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273937:(.text+0x49b54): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273949:(.text+0x49bc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x49bf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_83computeHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273925:(.text+0x49cac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273927:(.text+0x49cb8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273897:(.text+0x49d2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273884:(.text+0x49d54): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273887:(.text+0x49e10): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273887:(.text+0x49e1c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x49e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_83computeHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273889:(.text+0x49eb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_389setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187176:(.text+0x49f74): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x49f80): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x49fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_388setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187260:(.text+0x4a010): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_389setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187184:(.text+0x4a0cc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187186:(.text+0x4a0d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:243:(.text+0x4a14c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_389setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187165:(.text+0x4a1bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187153:(.text+0x4a1e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187167:(.text+0x4a29a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4a30c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_389setISPreallocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187153:(.text+0x4a356): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187153:(.text+0x4a362): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445876:(.text+0x4a426): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445877:(.text+0x4a432): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyCFunction_GET_FUNCTION': /usr/include/python3.12/cpython/methodobject.h:41:(.text+0x4a478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallNoArg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445906:(.text+0x4a4da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445879:(.text+0x4a4f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445879:(.text+0x4a506): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4a540): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDevice_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361521:(.text+0x4a566): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_10getDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102194:(.text+0x4a696): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_11getDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102137:(.text+0x4a6a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102138:(.text+0x4a6fa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4a76a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4a796): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24256:(.text+0x4a848): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4a850): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x4a8da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x4a8e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x4a958): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42483:(.text+0x4a982): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x4aa3e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42557:(.text+0x4aa4a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42594:(.text+0x4aabc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x4aae6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x4aba2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42665:(.text+0x4abae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x4ac20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42686:(.text+0x4ac4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42586:(.text+0x4ad06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42586:(.text+0x4ad12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4ad84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4adae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x4ae6a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x4ae76): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4aee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0x4af12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42629:(.text+0x4afce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42629:(.text+0x4afda): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42636:(.text+0x4b04e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42574:(.text+0x4b0be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x4b0ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4b19c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4b20e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4b22e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4b23a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42555:(.text+0x4b2ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42676:(.text+0x4b2d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42690:(.text+0x4b392): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42690:(.text+0x4b39e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4b412): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42643:(.text+0x4b482): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42643:(.text+0x4b4ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42630:(.text+0x4b560): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42604:(.text+0x4b5d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42608:(.text+0x4b5f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42576:(.text+0x4b5fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x4b670): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x4b69a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x4b756): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45818:(.text+0x4b762): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45857:(.text+0x4b7d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x4b7fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45924:(.text+0x4b8ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45924:(.text+0x4b8c6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45934:(.text+0x4b938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45941:(.text+0x4b962): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x4ba1e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4ba2a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45745:(.text+0x4ba9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4bac6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45795:(.text+0x4bb96): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x4bba2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4bbfe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4bc10): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4bc1a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45835:(.text+0x4bc72): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45835:(.text+0x4bc84): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x4bcca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4bcea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4bd34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45886:(.text+0x4bdac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45888:(.text+0x4bdb8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45826:(.text+0x4be2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45828:(.text+0x4be54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4bf10): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4bf1c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4bf8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45861:(.text+0x4bfb8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45851:(.text+0x4c074): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45938:(.text+0x4c080): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45941:(.text+0x4c0f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x4c11c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45896:(.text+0x4c1d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45884:(.text+0x4c1e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45715:(.text+0x4c256): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45840:(.text+0x4c280): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45828:(.text+0x4c33c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45828:(.text+0x4c348): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4c3bc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x4c42c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48372:(.text+0x4c458): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x4c50a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x4c57c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x4c59c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x4c5a8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x4c614): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48498:(.text+0x4c680): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48504:(.text+0x4c694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4c6ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4c76a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x4c7e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4c7f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4c860): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48281:(.text+0x4c8cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x4c8e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48391:(.text+0x4c938): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x4c9b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48438:(.text+0x4ca34): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48440:(.text+0x4ca40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4caac): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x4cb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48384:(.text+0x4cb2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4cb84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4cc02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4cc80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48416:(.text+0x4cc8c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48367:(.text+0x4ccf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48487:(.text+0x4cd1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48498:(.text+0x4cdd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x4cde4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x4ce56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4ce80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4cf3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4cf48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4cfba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48412:(.text+0x4cfe4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscComm_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360746:(.text+0x4d0a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360739:(.text+0x4d0ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81950:(.text+0x4d11e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81982:(.text+0x4d148): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDeviceContext_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361603:(.text+0x4d204): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361621:(.text+0x4d210): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361658:(.text+0x4d284): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361658:(.text+0x4d2f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_33getCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103846:(.text+0x4d320): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_32getCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103897:(.text+0x4d3d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_33getCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103858:(.text+0x4d444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_17duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102555:(.text+0x4d464): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102555:(.text+0x4d470): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102567:(.text+0x4d4e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102561:(.text+0x4d50c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDualSpace_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364984:(.text+0x4d5c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364984:(.text+0x4d5d4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365021:(.text+0x4d646): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4d670): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSpace_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364875:(.text+0x4d72c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364868:(.text+0x4d738): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364868:(.text+0x4d7aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDMLabel_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364678:(.text+0x4d7d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4d890): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDMLabel_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364715:(.text+0x4d89c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x4d90e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscQuad_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364562:(.text+0x4d938): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360611:(.text+0x4d9f4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4da00): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x4da6c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPartitioner_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364219:(.text+0x4dad8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x4daec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPartitioner_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364256:(.text+0x4db44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364048:(.text+0x4dbc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364103:(.text+0x4dc40): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364103:(.text+0x4dc4c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:364103:(.text+0x4dcb8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4dd24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscAO_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363798:(.text+0x4dd38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4dd90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4de0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4de8c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4de98): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x4df0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscTS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363492:(.text+0x4df34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x4dff0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x4dffc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSNES_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363339:(.text+0x4e06e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4e098): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscKSP_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363179:(.text+0x4e154): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363179:(.text+0x4e160): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPC_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362971:(.text+0x4e1d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x4e1fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscPC_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363026:(.text+0x4e2b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363026:(.text+0x4e2c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4e336): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMatPartitioning_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362873:(.text+0x4e360): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4e41c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362727:(.text+0x4e428): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4e49a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscMat_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362720:(.text+0x4e4c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x4e580): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4e58c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscScatter_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362377:(.text+0x4e5f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4e61c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscVec_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362206:(.text+0x4e6d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362224:(.text+0x4e6e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362261:(.text+0x4e756): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362268:(.text+0x4e780): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4e83c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x4e848): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscSF_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:362108:(.text+0x4e8ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscLGMap_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361900:(.text+0x4e8e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4e9a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4e9ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscIS_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361788:(.text+0x4ea1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361809:(.text+0x4ea48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x4eb04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x4eb10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscRandom_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361369:(.text+0x4eb82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x4ebac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscViewer_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361209:(.text+0x4ec68): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:361209:(.text+0x4ec74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_309getDiagonalBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180702:(.text+0x4ece6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x4ed10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_309getDiagonalBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180708:(.text+0x4edcc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180707:(.text+0x4edd8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4ee4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4ee74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_267createVecLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177727:(.text+0x4ef30): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177728:(.text+0x4ef3c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_266createVecLeft': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177791:(.text+0x4efa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177792:(.text+0x4efcc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_265createVecRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177645:(.text+0x4f088): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x4f094): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_264createVecRight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177702:(.text+0x4f0fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x4f124): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_126getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223239:(.text+0x4f1e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223239:(.text+0x4f1ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_127getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223201:(.text+0x4f25e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_126getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223273:(.text+0x4f288): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4f344): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x4f350): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x4f3b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_125getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223102:(.text+0x4f3e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4f49c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x4f4a8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_180getSolutionUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240091:(.text+0x4f500): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_181getSolutionUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240071:(.text+0x4f570): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240065:(.text+0x4f59c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4f64e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4f656): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x4f6e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_177getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239868:(.text+0x4f6ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_176getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239934:(.text+0x4f752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x4f77c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_174getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239790:(.text+0x4f838): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239802:(.text+0x4f844): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_175getRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239763:(.text+0x4f8aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239764:(.text+0x4f8d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_29getComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87280:(.text+0x4f98c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x4f998): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4f9fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_29getComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87292:(.text+0x4fa28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4fae4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x4faf0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101707:(.text+0x4fb56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x4fb80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101745:(.text+0x4fc62): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x4fc6e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_32allGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106375:(.text+0x4fd30): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106387:(.text+0x4fd3c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_33allGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106355:(.text+0x4fd80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_32allGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106412:(.text+0x4fdde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_33allGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106348:(.text+0x4fdf6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_32allGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106412:(.text+0x4fe0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4fe44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4fe6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_28createInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116382:(.text+0x4ff9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4ffe2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x4ffee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x5001c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x5015c): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_315getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143019:(.text+0x5021e): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x502de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x502f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x50308): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_305getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142205:(.text+0x50334): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_304getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142302:(.text+0x5048e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_305getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142220:(.text+0x50496): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142264:(.text+0x504de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142264:(.text+0x504e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142264: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_304getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142351:(.text+0x505f0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142352:(.text+0x505fe): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_305getSubVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142237:(.text+0x50612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142238:(.text+0x5061a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142242:(.text+0x50658): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142224:(.text+0x50702): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_267getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139753:(.text+0x5074a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_266getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139781:(.text+0x5075c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139793:(.text+0x50772): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x50788): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x507c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_267getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139754:(.text+0x507e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139755:(.text+0x50800): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139827: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5089c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_110createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129454:(.text+0x50902): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x50912): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_111createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129415:(.text+0x50954): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_110createLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129479:(.text+0x509d4): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129479:(.text+0x509e6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129480:(.text+0x509f4): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x50a48): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x50a5a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_57getPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355986:(.text+0x50a68): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355987:(.text+0x50ae6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355988:(.text+0x50af4): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355988:(.text+0x50b0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355988:(.text+0x50b14): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_56getPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356051:(.text+0x50b22): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_13getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357009:(.text+0x50c9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_12getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357072:(.text+0x50caa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357073:(.text+0x50d10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x50d3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_11duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356936:(.text+0x50df6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356929:(.text+0x50e02): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356983:(.text+0x50e74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356984:(.text+0x50e9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x50f5a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_45getDualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148158:(.text+0x50f66): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_44getDualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148215:(.text+0x50fcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x50ff6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_36getBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147858:(.text+0x510b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147870:(.text+0x510be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_37getBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147832:(.text+0x51130): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_36getBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147895:(.text+0x5115a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x51216): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_29getFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147375:(.text+0x51222): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147376:(.text+0x51294): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147377:(.text+0x512be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_13getQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146504:(.text+0x5137a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x51386): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_13getQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146516:(.text+0x513f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146509:(.text+0x51422): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x514de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x514ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x5155e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_7duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144836:(.text+0x515ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_6duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144899:(.text+0x515fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x516ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_19copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149557:(.text+0x5171e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149551:(.text+0x5173e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149551:(.text+0x5174a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_18copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149614:(.text+0x517bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x517e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_33getPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152506:(.text+0x518a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152506:(.text+0x518ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_32getPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152572:(.text+0x51914): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152572:(.text+0x5193e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x51a14): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x51a20): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_383getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186832:(.text+0x51a5a): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x51b0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x51b18): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x51b98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184511:(.text+0x51bb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184513:(.text+0x51bd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x51cfc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184517:(.text+0x51d08): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184485:(.text+0x51d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x51d8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_346kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184647:(.text+0x51e2a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_347kron': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184490:(.text+0x51e36): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184495:(.text+0x51e70): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x51fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x51fc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_293getNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179606:(.text+0x51fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x51fd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_293getNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179606:(.text+0x51fdc): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179599:(.text+0x51ff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_292getNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179672:(.text+0x5203a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179672:(.text+0x52084): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x52172): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5227e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x522d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x522de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_285getNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179194:(.text+0x5233a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179194:(.text+0x52346): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179194:(.text+0x52352): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_284getNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179266:(.text+0x52368): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_261findZeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177192:(.text+0x52404): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5246e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_261findZeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177204:(.text+0x5249a): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177198:(.text+0x524d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177198:(.text+0x524e0): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_260findZeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177261:(.text+0x524f2): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x52560): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x52568): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x52570): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_209getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173005:(.text+0x52588): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5259c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_209getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173010:(.text+0x52726): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_208getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113:(.text+0x5274c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x52754): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x5275c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_209getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173010:(.text+0x52764): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_208getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113:(.text+0x5276c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173113: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_159permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169175:(.text+0x528b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_158permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169206:(.text+0x528c8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x528e6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_159permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169134:(.text+0x5292e): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169155:(.text+0x52a6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169136:(.text+0x52a8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169143:(.text+0x52ab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x52b72): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_159permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169138:(.text+0x52bc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169136:(.text+0x52bde): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x52c1c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x52c24): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_134getOwnershipIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166922:(.text+0x52c46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166922:(.text+0x52c54): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166934:(.text+0x52c60): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166946:(.text+0x52c70): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166956:(.text+0x52c8a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x52c96): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x52cec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_135getOwnershipIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166894:(.text+0x52d2c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166895:(.text+0x52d4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_134getOwnershipIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166979:(.text+0x52d74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x52e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_274getDeflationPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215624:(.text+0x52fec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x52ff8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x530b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_273getDeflationCoarseKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215459:(.text+0x530c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215452:(.text+0x53148): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x53154): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5319c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x531b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_157getMGCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207421:(.text+0x531c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207426:(.text+0x5327e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207426:(.text+0x5328e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207427:(.text+0x53296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_156getMGCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207499:(.text+0x532ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_157getMGCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207426:(.text+0x532e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_146getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206957:(.text+0x533a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x533d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x533e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_147getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206930:(.text+0x53422): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5347e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x5355c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_125getFactorMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205138:(.text+0x535ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_124getFactorMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205211:(.text+0x535ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205211:(.text+0x535f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205211:(.text+0x535fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205211:(.text+0x53604): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205212:(.text+0x5364a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205212:(.text+0x53652): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x5369a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x536a2): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x536ac): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_24getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198282:(.text+0x536e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x5371c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x53724): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x5372a): undefined reference to `PyExc_ImportError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_24getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198322:(.text+0x5373e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_25getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198257:(.text+0x5379e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198251:(.text+0x537f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_24getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198345:(.text+0x53822): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_25getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198250:(.text+0x5382e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_24getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198345:(.text+0x538c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_43getPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218256:(.text+0x53970): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218256:(.text+0x53978): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x539aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x539b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_43getPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218257:(.text+0x539fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218258:(.text+0x53a0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_42getPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218330:(.text+0x53a50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218331:(.text+0x53aa0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_39getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218026:(.text+0x53ade): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x53b8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x53bc8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x53bd4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_38getOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218126:(.text+0x53c84): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218126:(.text+0x53d1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x53d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_205getVIInactiveSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241735:(.text+0x53d92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x53d9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x53da2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_204getVIInactiveSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241767:(.text+0x53dd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241767:(.text+0x53dda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241779:(.text+0x53de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x53e18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_205getVIInactiveSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241741:(.text+0x53e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_204getVIInactiveSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241813:(.text+0x53e84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241813:(.text+0x53e96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x53eb0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_204getVIInactiveSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241813:(.text+0x53ebc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x53ef2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x53f90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x53fa6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x53fc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240341:(.text+0x54084): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_57getNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231677:(.text+0x540be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x540ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_57getNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231682:(.text+0x5417a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_56getNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231756:(.text+0x54212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_49getFASCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231138:(.text+0x54256): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231142:(.text+0x54288): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_48getFASCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231170:(.text+0x54290): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231170:(.text+0x54298): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x542c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_48getFASCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231202:(.text+0x542d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x542d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_49getFASCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231143:(.text+0x5430e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231143:(.text+0x54370): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5437a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_48getFASCoarseSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231216:(.text+0x5438c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231216:(.text+0x543a6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231217:(.text+0x543b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x543e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0x54486): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0x5449c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x544b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_215getQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262179:(.text+0x5457a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_214getQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262274:(.text+0x545b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262274:(.text+0x545c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x54670): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_205getCostIntegral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260993:(.text+0x54708): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260987:(.text+0x5474c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5477e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x54786): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_204getCostIntegral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261059:(.text+0x5478e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x547be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x547c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x547ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x54804): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x54866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x54870): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_93getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254157:(.text+0x54882): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5489c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_93getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254150:(.text+0x548a8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254151:(.text+0x548de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5497c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x54992): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x549ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_107getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254990:(.text+0x54a6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254989:(.text+0x54aa8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x54ab4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_105getSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254890:(.text+0x54b52): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_104getSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254930:(.text+0x54b72): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254930:(.text+0x54b7a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254950:(.text+0x54b9e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x54bcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_105getSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254891:(.text+0x54bea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254892:(.text+0x54bf6): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_104getSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254965:(.text+0x54c76): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_97getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254360:(.text+0x54cba): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254366:(.text+0x54e2c): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_96getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254468:(.text+0x54e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254468:(.text+0x54e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254468:(.text+0x54e82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x54ed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_96getSolution2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254468:(.text+0x54efe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254468: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x54f0c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:798:(.text+0x54f1e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x54f78): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x54f84): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x54f9c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253794:(.text+0x54fa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253796:(.text+0x54fac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_86getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253823:(.text+0x54fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253853:(.text+0x54ff6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253866:(.text+0x5500c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x55028): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253802:(.text+0x550a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_86getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x550b6): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x550c4): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x550d0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253795:(.text+0x550dc): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_86getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x5511e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x5516a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x55186): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_87getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253795:(.text+0x5518e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_86getI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x551a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x551be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253889:(.text+0x551ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x551fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_74getIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252564:(.text+0x5524e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252630:(.text+0x553b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252630:(.text+0x553f0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252630:(.text+0x553fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x554ac): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x55544): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x55588): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x555ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_59getRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250741:(.text+0x555c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250741:(.text+0x555ca): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x555fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_59getRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250734:(.text+0x55602): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250734:(.text+0x5560a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250735:(.text+0x55640): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x556a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x556ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x556be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_58getRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250828:(.text+0x556d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250828:(.text+0x556e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5571a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x557b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_11clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247700:(.text+0x557ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247701:(.text+0x557ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x558ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_161getBRGNDampingVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278956:(.text+0x558e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_160getBRGNDampingVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278984:(.text+0x558f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_161getBRGNDampingVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278958:(.text+0x559a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x55a3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_149getBRGNSubsolver': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278086:(.text+0x55a7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x55ab0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x55ab8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x55ac0): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_149getBRGNSubsolver': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278094:(.text+0x55af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278094:(.text+0x55af8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278087:(.text+0x55b00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278088:(.text+0x55b36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_148getBRGNSubsolver': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278160:(.text+0x55b98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278161:(.text+0x55ba2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x55bb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x55bce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x55bda): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x55c10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_147getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277989:(.text+0x55cae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277990:(.text+0x55cc4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_146getKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278062:(.text+0x55ce0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x55da2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_132getVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277228:(.text+0x55ddc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277240:(.text+0x55de8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x55e98): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_132getVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277283:(.text+0x55f30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277283:(.text+0x55f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x55fa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_132getVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277283:(.text+0x55fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277283:(.text+0x55fb6): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:798:(.text+0x55fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x55fee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x55ff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_133getVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277196:(.text+0x5602c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x5608e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x56098): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_130getLMVMH0KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277157:(.text+0x560aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_131getLMVMH0KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277105:(.text+0x560c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x560d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_131getLMVMH0KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277099:(.text+0x56106): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x561a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x561ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x561d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_129getLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277001:(.text+0x56298): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_128getLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277073:(.text+0x562d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277073:(.text+0x562de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_125getGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276796:(.text+0x5638e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276797:(.text+0x56426): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_124getGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276870:(.text+0x5646a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276870:(.text+0x5649c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276870:(.text+0x564a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276870:(.text+0x564ac): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x564dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x564e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x564ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x56522): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x56584): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_121getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276601:(.text+0x5658e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x565a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_121getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276594:(.text+0x565ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276595:(.text+0x565c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_120getSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276667:(.text+0x565fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x5669a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x566b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_43getObjectiveAndGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269752:(.text+0x566cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269758:(.text+0x5678e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_42getObjectiveAndGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269845:(.text+0x567c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269845:(.text+0x567d4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269845:(.text+0x56884): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x5691c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_39getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269391:(.text+0x56960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x56992): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x5699a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_38getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269448:(.text+0x569a2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x569d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x569da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x569e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x56a18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_38getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269484:(.text+0x56a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x56a84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_39getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269390:(.text+0x56a96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269391:(.text+0x56ab0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269391:(.text+0x56abc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_38getGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269484:(.text+0x56af2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x56b90): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x56ba6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x56bc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_175getPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293959:(.text+0x56c84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_174getPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294031:(.text+0x56cbe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294031:(.text+0x56cca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x56d7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_171getSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293755:(.text+0x56e12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_170getSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293828:(.text+0x56e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293828:(.text+0x56e88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293828:(.text+0x56e90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293828:(.text+0x56e98): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x56ec8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x56ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x56ed8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x56f0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x56f70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_167getGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293547:(.text+0x56f7a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293547:(.text+0x56f8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293540:(.text+0x56fa6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293540:(.text+0x56fb2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_166getGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293613:(.text+0x56fe8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x57086): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5709c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_163getLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293338:(.text+0x570b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_162getLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293410:(.text+0x5717a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293410:(.text+0x571b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293410:(.text+0x571c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_158getSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293173:(.text+0x57270): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_159getSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293135:(.text+0x57308): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_158getSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293207:(.text+0x5734c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5737e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x57386): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x5738e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x573be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x573c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x573ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_124createMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290556:(.text+0x57404): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_125createMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290517:(.text+0x57466): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290518:(.text+0x57470): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290518:(.text+0x57482): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_124createMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290581:(.text+0x5749c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290581:(.text+0x574a8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290581:(.text+0x574de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_112getCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289854:(.text+0x5757c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289866:(.text+0x57592): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x575ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_112getCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289900:(.text+0x57670): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x576aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x576b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_109getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289631:(.text+0x57766): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_108getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289697:(.text+0x577fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x57842): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x57874): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5787c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x57884): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_104getCoordinateSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289448:(.text+0x578b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289460:(.text+0x578bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289460:(.text+0x578c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_105getCoordinateSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289428:(.text+0x578fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289421:(.text+0x5795c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_104getCoordinateSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289494:(.text+0x57966): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289494:(.text+0x57978): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x57992): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_104getCoordinateSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289494:(.text+0x5799e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x579d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x57a72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x57a88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_101getLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289213:(.text+0x57aa4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x57b66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x57ba0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x57bac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_91getLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288535:(.text+0x57c5c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288609:(.text+0x57cf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x57d38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_86getGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288350:(.text+0x57d6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288350:(.text+0x57d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288350:(.text+0x57d7a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288382:(.text+0x57daa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x57db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x57dba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_87getGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288323:(.text+0x57df0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x57e52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x57e5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_86getGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288396:(.text+0x57e6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288397:(.text+0x57e88): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x57e94): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_85createLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288229:(.text+0x57eca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288241:(.text+0x57f68): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288234:(.text+0x57f7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288235:(.text+0x57f9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_83createGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288146:(.text+0x58088): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_82createGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288172:(.text+0x58094): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_83createGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288152:(.text+0x580d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288145:(.text+0x580f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288145:(.text+0x58108): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_82createGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288209:(.text+0x5814e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x58166): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_82createGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288209:(.text+0x5817e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288209:(.text+0x5818a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x58244): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_72getDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287683:(.text+0x58252): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_73getDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287631:(.text+0x58266): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287625:(.text+0x582ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_72getDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287697:(.text+0x582e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_69getNonEmptyStratumValuesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346610:(.text+0x5843a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346610:(.text+0x58446): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5848a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_68getNonEmptyStratumValuesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346670:(.text+0x584a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346671:(.text+0x584ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x58500): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x58518): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_67convertToSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346499:(.text+0x58530): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_66convertToSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346526:(.text+0x5853c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_67convertToSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346505:(.text+0x585f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346505:(.text+0x58604): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346498:(.text+0x58618): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_66convertToSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346583:(.text+0x58660): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346583:(.text+0x58696): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x587ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x587f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_33getValueIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344460:(.text+0x5883c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344461:(.text+0x5885a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344460:(.text+0x5886c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_32getValueIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344524:(.text+0x588b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344525:(.text+0x588ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x588e2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x588ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x589a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_9duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343127:(.text+0x589b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343127:(.text+0x589ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_8duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343191:(.text+0x58a12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343191:(.text+0x58a48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_23getVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360373:(.text+0x58b9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x58baa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x58bee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x58c0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_11getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359725:(.text+0x58c1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_10getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359757:(.text+0x58c64): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x58c7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x58c94): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_11getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359737:(.text+0x58ca0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_10getCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359795:(.text+0x58d5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359795:(.text+0x58d68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x58d7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_9evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359593:(.text+0x58dc4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359620:(.text+0x58dfa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_8evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359705:(.text+0x58f5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359705:(.text+0x58f6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_9evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359598:(.text+0x58fda): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359598:(.text+0x58fe8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359605:(.text+0x5900e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359605:(.text+0x59020): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359614:(.text+0x5908e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359614:(.text+0x5909c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x590f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_9evaluate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359648:(.text+0x59108): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359598:(.text+0x5913a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359598:(.text+0x59152): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320140:(.text+0x5916c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320164:(.text+0x59178): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x591b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320245:(.text+0x5920a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x59234): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320505:(.text+0x59380): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320507:(.text+0x5938c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320533:(.text+0x593ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320535:(.text+0x593fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320578:(.text+0x59444): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320594:(.text+0x5945c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320596:(.text+0x59474): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x59480): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320236:(.text+0x59532): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320265:(.text+0x59540): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320296:(.text+0x59556): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320742:(.text+0x5959e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x595ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5974c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x59758): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320768:(.text+0x597fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320377:(.text+0x59814): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320391:(.text+0x5982c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320415:(.text+0x59838): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x598ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320184:(.text+0x598fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320184:(.text+0x59912): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320186:(.text+0x5995a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320254:(.text+0x599aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320507:(.text+0x59b18): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x59b24): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x59bc8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_148createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320453:(.text+0x59be0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320336:(.text+0x59bf8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320296:(.text+0x59c04): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320492:(.text+0x59cba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320478:(.text+0x59cc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320565:(.text+0x59cde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320580:(.text+0x59d26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320299:(.text+0x59d76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x59ec4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_149createSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320188:(.text+0x59eee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320188:(.text+0x59efa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x59f9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x59faa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_147createCoarsePointIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320056:(.text+0x5a076): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_146createCoarsePointIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320120:(.text+0x5a0b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320120:(.text+0x5a0c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5a0f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x5a100): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_117getPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318133:(.text+0x5a11e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5a12e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_116getPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318177:(.text+0x5a168): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_68createPointNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313799:(.text+0x5a2fe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313811:(.text+0x5a30a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_69createPointNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313773:(.text+0x5a36e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313773:(.text+0x5a380): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5a3c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_68createPointNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313836:(.text+0x5a3de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313837:(.text+0x5a3f6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313837:(.text+0x5a402): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x5a4b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x5a4c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5a4d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_67getVertexNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313675:(.text+0x5a51e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_66getVertexNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313747:(.text+0x5a56c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_64getCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313649:(.text+0x5a6ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313649:(.text+0x5a6da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5a73e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x5a750): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x5a796): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_46getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312428:(.text+0x5a7ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312440:(.text+0x5a7c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x5a7d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_46getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312474:(.text+0x5a882): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5a890): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_46getCellTypeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312474:(.text+0x5a8a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5a8ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_67getScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305403:(.text+0x5a93c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305402:(.text+0x5aa9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_66getScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305505:(.text+0x5aaaa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5ab0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5ab20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:798:(.text+0x5ab66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5ab7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x5ab96): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5aba2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5ac52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_65getAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305311:(.text+0x5ac60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305304:(.text+0x5ac76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_64getAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305377:(.text+0x5acbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305378:(.text+0x5ad0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_58createNaturalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304973:(.text+0x5ae6c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304973:(.text+0x5ae78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5aed0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x5aee4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_309getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142494:(.text+0x5af2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_308getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142546:(.text+0x5af42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142555:(.text+0x5af5a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142579:(.text+0x5af66): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0x5b01c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_308getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142609:(.text+0x5b02a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142635:(.text+0x5b040): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_309getNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142500:(.text+0x5b088): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142493:(.text+0x5b0d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5b246): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x5b252): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5b2aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_9getDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74608:(.text+0x5b2be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_8getDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74664:(.text+0x5b304): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74664:(.text+0x5b31c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74601:(.text+0x5b334): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5b340): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_78getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201825:(.text+0x5b3f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201825:(.text+0x5b404): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42161:(.text+0x5b41a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5b462): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x5b4b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_78getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201848:(.text+0x5b620): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5b62c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x5b684): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/cpython/listobject.h:43:(.text+0x5b698): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_79getASMSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201767:(.text+0x5b6de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201767:(.text+0x5b6f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56315:(.text+0x5b70e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56315:(.text+0x5b71a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56390:(.text+0x5b7d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55944:(.text+0x5b7de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5b7f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x5b83c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56455:(.text+0x5b88c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x5b9fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x5ba06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56584:(.text+0x5ba5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x5ba72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x5bab8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56594:(.text+0x5bad0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56595:(.text+0x5bae8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56601:(.text+0x5baf4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5bbaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55994:(.text+0x5bbb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55994:(.text+0x5bbce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5bc16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x5bc66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5bdd4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5bde0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5be38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5be4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56322:(.text+0x5be92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5beaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5bec2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5bece): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x5bf84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56533:(.text+0x5bf92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56533:(.text+0x5bfa8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56538:(.text+0x5bff0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5c040): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56474:(.text+0x5c17e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56567:(.text+0x5c1b0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56336:(.text+0x5c1bc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56584:(.text+0x5c206): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56336:(.text+0x5c296): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56414:(.text+0x5c2a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56457:(.text+0x5c33a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5c39e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56601:(.text+0x5c3cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x5c3e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5c412): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56549:(.text+0x5c4ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5c51e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5c52a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyRestrictHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56322:(.text+0x5c574): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5c604): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5c610): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_99setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254489:(.text+0x5c6a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x5c70c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5c73a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14881:(.text+0x5c756): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_98setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254590:(.text+0x5c780): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_99setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254527:(.text+0x5c85a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5c88c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x5c898): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x5c8e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x5c972): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_99setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254509:(.text+0x5c97e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x5ca16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5ca7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_99setTimeSpan': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254504:(.text+0x5caa8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254504:(.text+0x5cac4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_def_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18825:(.text+0x5caee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18211:(.text+0x5cbc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5cbfa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18216:(.text+0x5cc06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x5cc50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_def_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18890:(.text+0x5cce0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18922:(.text+0x5ccec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5cd84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x5cde8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x5ce16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ImportFrom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446964:(.text+0x5ce32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_Get': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18294:(.text+0x5ce5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5cf36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_GetComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85494:(.text+0x5cf68): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85494:(.text+0x5cf74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_21createGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105237:(.text+0x5cfbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105290:(.text+0x5d04e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105267:(.text+0x5d05a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x5d0f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_21createGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105289:(.text+0x5d156): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x5d184): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x5d1a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x5d1ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5d2aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_21createGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105259:(.text+0x5d2e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105262:(.text+0x5d2f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_95setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234769:(.text+0x5d3b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234819:(.text+0x5d40a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234837:(.text+0x5d42e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_94setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234886:(.text+0x5d4a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x5d540): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5d5aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x5d5ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5d5c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5d5ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5d608): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_95setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234787:(.text+0x5d63a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234787:(.text+0x5d646): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_94setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x5d684): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x5d68c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x5d694): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x5d6ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x5d6c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5d6d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_95setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234797:(.text+0x5d6e0): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x5d704): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x5d70c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_95setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234788:(.text+0x5d746): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234816:(.text+0x5d764): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x5d794): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_94setNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x5d7ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234947:(.text+0x5d7ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296375:(.text+0x5d92a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x5d954): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5d960): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296441:(.text+0x5d99e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296443:(.text+0x5d9ae): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_208setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296492:(.text+0x5da1a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296506:(.text+0x5da26): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296527:(.text+0x5da6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296527:(.text+0x5da80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x5dab6): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5dae2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x5db02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5db5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296428:(.text+0x5db74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296392:(.text+0x5dba4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296392:(.text+0x5dbb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296398:(.text+0x5dbd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296403:(.text+0x5dbe0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_208setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296553:(.text+0x5dc0e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296553:(.text+0x5dc20): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296398:(.text+0x5dd70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296417:(.text+0x5dd9a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296418:(.text+0x5dda6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5dde4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5ddf4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_209setKSPComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296398:(.text+0x5de60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296398:(.text+0x5de6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211768:(.text+0x5deb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211783:(.text+0x5dec6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211818:(.text+0x5defc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211836:(.text+0x5df28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211845:(.text+0x5df48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_216setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211899:(.text+0x5dfa4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x5dfba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_216setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211920:(.text+0x5dfea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211920:(.text+0x5dff8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211931:(.text+0x5e016): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211931:(.text+0x5e026): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5e054): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x5e066): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211799:(.text+0x5e1da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211799:(.text+0x5e1e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x5e226): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211814:(.text+0x5e24c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211815:(.text+0x5e260): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_216setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211946:(.text+0x5e2a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211946:(.text+0x5e2c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x5e2da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211789:(.text+0x5e2e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5e364): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5e374): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_217setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211789:(.text+0x5e3c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211791:(.text+0x5e3d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211791:(.text+0x5e3ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127645:(.text+0x5e434): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127681:(.text+0x5e46c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x5e5fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127870:(.text+0x5e60a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127884:(.text+0x5e646): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x5e66c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5e680): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127890:(.text+0x5e6c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127911:(.text+0x5e6e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127913:(.text+0x5e6fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5e706): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127961:(.text+0x5e786): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x5e796): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x5e7ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x5e7f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127768:(.text+0x5e80e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127684:(.text+0x5e856): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127997:(.text+0x5e88e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127649:(.text+0x5e9fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127654:(.text+0x5ea10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127673:(.text+0x5ea4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127673:(.text+0x5ea56): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127674:(.text+0x5ea62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127692:(.text+0x5ea6e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x5eaa6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127650:(.text+0x5eab0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127768:(.text+0x5eadc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127782:(.text+0x5eaea): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127782:(.text+0x5eaf6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127662:(.text+0x5ebec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5ec18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_80createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127961:(.text+0x5ed0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127782:(.text+0x5ed36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127961:(.text+0x5ed58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_81createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127652:(.text+0x5ed96): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127652:(.text+0x5eda2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_223setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212368:(.text+0x5ee38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212423:(.text+0x5ef16): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x5ef22): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_222setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212531:(.text+0x5efb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_223setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212418:(.text+0x5f096): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5f0a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_222setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212546:(.text+0x5f13a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_223setPatchComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212415:(.text+0x5f214): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212415:(.text+0x5f220): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212410:(.text+0x5f2b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212391:(.text+0x5f392): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212391:(.text+0x5f39e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212034:(.text+0x5f436): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_218setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212120:(.text+0x5f508): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212120:(.text+0x5f51a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x5f554): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5f560): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x5f56c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x5f578): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x5f5b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x5f5ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_218setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212086:(.text+0x5f5e6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x5f5f4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x5f600): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211999:(.text+0x5f6f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5f722): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211996:(.text+0x5f816): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212011:(.text+0x5f840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212005:(.text+0x5f862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212045:(.text+0x5f8a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_219setPatchComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211987:(.text+0x5f8ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_31setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268433:(.text+0x5f954): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x5fa1a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x5fa26): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x5faca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_31setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268470:(.text+0x5fb8e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x5fb9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_30setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268598:(.text+0x5fc3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_31setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268467:(.text+0x5fcee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_30setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268598:(.text+0x5fd28): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268598:(.text+0x5fd34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x5fdfe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243707:(.text+0x5fe96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243707:(.text+0x5fea4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243722:(.text+0x5feda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243784:(.text+0x5ff54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243784:(.text+0x5ff5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243784:(.text+0x5ff64): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243762:(.text+0x5ff84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x5ff8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x5ffca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243859:(.text+0x60006): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x60022): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x6003c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243881:(.text+0x6004e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6006a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x60076): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243811:(.text+0x6009c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x600ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243825:(.text+0x600e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243724:(.text+0x60138): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243725:(.text+0x6014e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243885:(.text+0x60184): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243754:(.text+0x60280): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_230setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243885:(.text+0x602b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243885:(.text+0x602be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_231setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243726:(.text+0x603b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243728:(.text+0x603c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217450:(.text+0x60434): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x60478): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217500:(.text+0x60486): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x60500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x60508): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x60512): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_32setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217581:(.text+0x6052a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217602:(.text+0x60572): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x605e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x60610): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_32setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217628:(.text+0x606fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217628:(.text+0x6072c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217628:(.text+0x60738): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217497:(.text+0x607e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217497:(.text+0x607fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217497:(.text+0x60808): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x608dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x608ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_33setComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217473:(.text+0x60964): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217473:(.text+0x6097c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243507:(.text+0x60996): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243520:(.text+0x609c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243557:(.text+0x60a02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243584:(.text+0x60a5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_228setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243611:(.text+0x60b8e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x60b9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_228setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243624:(.text+0x60bcc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x60be6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x60c08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x60c1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243567:(.text+0x60c66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_228setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243685:(.text+0x60c7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243686:(.text+0x60c98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243685:(.text+0x60ca4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x60d04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x60d0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243526:(.text+0x60d40): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243535:(.text+0x60d50): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x60d8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_228setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243685:(.text+0x60d9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243685:(.text+0x60db0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_229setPatchComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243535:(.text+0x60dfc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243543:(.text+0x60e34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_151setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278257:(.text+0x60fd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x61006): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_150setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278283:(.text+0x61012): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x61034): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_150setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278298:(.text+0x61154): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x61160): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_151setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278198:(.text+0x611b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x611be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_151setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278215:(.text+0x611dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_150setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278358:(.text+0x6120c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278358:(.text+0x61226): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_151setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278211:(.text+0x6125a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278199:(.text+0x612aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278203:(.text+0x612c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278217:(.text+0x613c0): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x613dc): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278257:(.text+0x61400): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_151setBRGNRegularizerObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278199:(.text+0x6140e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278203:(.text+0x61456): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212180:(.text+0x614b2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x614c4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212245:(.text+0x6153a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x615b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x615ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x615c0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x615d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x61678): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x616b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_220setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212286:(.text+0x616ca): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212221:(.text+0x616ee): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_220setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212346:(.text+0x6177c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212346:(.text+0x61782): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212346:(.text+0x61788): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212346:(.text+0x61790): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x617bc): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212187:(.text+0x61826): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212215:(.text+0x61862): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212215:(.text+0x61868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212215:(.text+0x6186e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x61882): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_220setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212346:(.text+0x6189e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_221setPatchComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212189:(.text+0x618da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212196:(.text+0x618e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212191:(.text+0x618ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212196:(.text+0x618f4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212210:(.text+0x61906): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212210:(.text+0x6190e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212211:(.text+0x61914): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212211:(.text+0x6191a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212204:(.text+0x61920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212204:(.text+0x61926): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x61a40): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x61a4c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217716:(.text+0x61a8a): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217718:(.text+0x61a98): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217727:(.text+0x61abe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217727:(.text+0x61ad2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x61b20): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x61b38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x61b52): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_34setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217802:(.text+0x61b5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x61bde): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x61bee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_34setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217768:(.text+0x61c42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x61c50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217700:(.text+0x61c66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217668:(.text+0x61cae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_34setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217828:(.text+0x61ce6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217692:(.text+0x61e78): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217692:(.text+0x61e84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x61ec6): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x61ed4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_35setComputeOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217669:(.text+0x61efa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217669:(.text+0x61f0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217673:(.text+0x61f5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118391:(.text+0x61f74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118391:(.text+0x61f8e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118403:(.text+0x61f9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_54gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118498:(.text+0x62018): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118498:(.text+0x62028): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118407:(.text+0x6207c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417:(.text+0x6208a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118417:(.text+0x620a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118451:(.text+0x620e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118457:(.text+0x62120): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118432:(.text+0x622b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118426:(.text+0x622be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x622fc): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6230a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_55gatherBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118408:(.text+0x62332): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118412:(.text+0x62346): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_57gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118531:(.text+0x62394): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118531:(.text+0x623ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118544:(.text+0x623c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x623d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x62452): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_56gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118649:(.text+0x62462): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_57gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118560:(.text+0x624b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118560:(.text+0x624c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x624da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_57gatherEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118593:(.text+0x62522): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118598:(.text+0x6255a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118572:(.text+0x626c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118566:(.text+0x626fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x62706): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_51scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118111:(.text+0x627b8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_50scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118218:(.text+0x62852): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_51scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118188:(.text+0x62896): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118171:(.text+0x62922): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118171:(.text+0x6292a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118171:(.text+0x62932): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118175:(.text+0x62956): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118177:(.text+0x6295e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118177:(.text+0x62964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_50scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118208:(.text+0x6299a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_51scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118137:(.text+0x629da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118137:(.text+0x629e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118144:(.text+0x629ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118150:(.text+0x629fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118155:(.text+0x62a18): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118167:(.text+0x62a24): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118130:(.text+0x62a80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118152:(.text+0x62ada): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118152:(.text+0x62af0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118146:(.text+0x62b1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_53scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118251:(.text+0x62bf0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118298:(.text+0x62c2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118302:(.text+0x62c36): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118277:(.text+0x62ce8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118317:(.text+0x62d82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_52scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118372:(.text+0x62dc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_53scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118268:(.text+0x62e52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118268:(.text+0x62e5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118268:(.text+0x62e62): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_52scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118358:(.text+0x62e86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118358:(.text+0x62e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x62e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_53scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118296:(.text+0x62eca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118292:(.text+0x62f0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118286:(.text+0x62f12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118286:(.text+0x62f1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118286:(.text+0x62f2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x62f48): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x62f54): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_53scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118272:(.text+0x62fb2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185030:(.text+0x6300e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185043:(.text+0x63024): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6304e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185111:(.text+0x63126): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185047:(.text+0x63160): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185052:(.text+0x6316c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_354reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185134:(.text+0x6321e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185057:(.text+0x632b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185076:(.text+0x632fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x63388): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x63390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x63398): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185066:(.text+0x633bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x633c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x633ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x63400): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_355reorderForNonzeroDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185048:(.text+0x63440): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185048:(.text+0x63448): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185048:(.text+0x63452): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185050:(.text+0x63464): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185050:(.text+0x6347e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_319restoreLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181860:(.text+0x6348a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181907:(.text+0x634e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x63544): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_319restoreLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181938:(.text+0x6355a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181875:(.text+0x63584): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181927:(.text+0x6365c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181886:(.text+0x63696): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181881:(.text+0x636a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_318restoreLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181970:(.text+0x63754): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_319restoreLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181895:(.text+0x637f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x63836): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326769:(.text+0x638c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326769:(.text+0x638cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326769:(.text+0x638d4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x638f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x63900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x63906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_259metricAverage2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326835:(.text+0x6393c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326847:(.text+0x6397c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326847:(.text+0x63984): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326847:(.text+0x6398e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326784:(.text+0x639a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326795:(.text+0x639ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326798:(.text+0x639c6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326829:(.text+0x63a24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326836:(.text+0x63a80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326837:(.text+0x63a96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326795:(.text+0x63ac0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326790:(.text+0x63b98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326814:(.text+0x63bd2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326814:(.text+0x63bde): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326786:(.text+0x63c90): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x63d2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_263metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327125:(.text+0x63d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327088:(.text+0x63e00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327088:(.text+0x63e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327088:(.text+0x63e10): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x63e34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x63e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x63e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_263metricIntersection2': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327121:(.text+0x63e78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327127:(.text+0x63eb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327127:(.text+0x63ec0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327127:(.text+0x63eca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327075:(.text+0x63edc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327085:(.text+0x63ef6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327085:(.text+0x63f02): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327076:(.text+0x63f60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327078:(.text+0x63fbc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327085:(.text+0x63fd2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327104:(.text+0x63ffc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327076:(.text+0x640d4): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327078:(.text+0x640fe): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327080:(.text+0x64116): undefined reference to `PyFunction_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327080:(.text+0x64124): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185345:(.text+0x6414c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x64174): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185392:(.text+0x64198): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185408:(.text+0x6426c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185408:(.text+0x6427c): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185348:(.text+0x64290): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185349:(.text+0x642a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185412:(.text+0x642b8): undefined reference to `PyMethodDescr_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185414:(.text+0x642e2): undefined reference to `PyDescr_IsData' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185414:(.text+0x642ec): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x642fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185356:(.text+0x64312): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185354:(.text+0x6431a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185361:(.text+0x64326): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185400:(.text+0x64334): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x64342): undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185374:(.text+0x64380): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x64388): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185361:(.text+0x6439a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185386:(.text+0x64440): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185386:(.text+0x64450): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185370:(.text+0x6449c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185370:(.text+0x644b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185370:(.text+0x644be): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x644d0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x644ec): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_359factorSymbolicLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185354:(.text+0x64510): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185356:(.text+0x64544): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185356:(.text+0x64550): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327908:(.text+0x645cc): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327920:(.text+0x645d8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x645fa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x64606): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327975:(.text+0x64632): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_276globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328004:(.text+0x64648): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327986:(.text+0x64688): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327986:(.text+0x64694): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327923:(.text+0x646aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x646f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x64708): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327970:(.text+0x6473c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327974:(.text+0x64766): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327924:(.text+0x647a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327934:(.text+0x647ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327949:(.text+0x648e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327943:(.text+0x6491e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327943:(.text+0x6492a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_277globalVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327927:(.text+0x649da): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x64a28): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328115:(.text+0x64ad6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328053:(.text+0x64ae8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x64b36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328097:(.text+0x64b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328097:(.text+0x64b5e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328099:(.text+0x64b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328104:(.text+0x64ba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328104:(.text+0x64bae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328104:(.text+0x64bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328101:(.text+0x64bc0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328070:(.text+0x64c22): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328076:(.text+0x64c30): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328093:(.text+0x64c50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328056:(.text+0x64c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_278localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328147:(.text+0x64c9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328064:(.text+0x64cde): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328082:(.text+0x64cf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328078:(.text+0x64d36): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328072:(.text+0x64d44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328072:(.text+0x64d54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x64d6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x64d84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x64d90): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_279localVectorView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328054:(.text+0x64da8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328056:(.text+0x64df4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328056:(.text+0x64dfc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328056:(.text+0x64e0e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334608:(.text+0x64e22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_58migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334704:(.text+0x64ec8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334668:(.text+0x64f86): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334668:(.text+0x64f92): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334675:(.text+0x64ff4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x650be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_58migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334718:(.text+0x650d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x650f0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_59migrateVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334627:(.text+0x650fc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334653:(.text+0x65148): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334649:(.text+0x65152): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334649:(.text+0x6516a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334625:(.text+0x651e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334625:(.text+0x651f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334629:(.text+0x6520c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_425solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189563:(.text+0x65284): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189629:(.text+0x652ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189627:(.text+0x653ec): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189630:(.text+0x6540c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189627:(.text+0x65444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x6544e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_425solveTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189584:(.text+0x65458): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189589:(.text+0x6546c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189589:(.text+0x654d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189584:(.text+0x654e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189582:(.text+0x65528): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189582:(.text+0x65538): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189608:(.text+0x65558): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189608:(.text+0x6556a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189604:(.text+0x6559a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189598:(.text+0x655b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189598:(.text+0x655cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x655d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_423solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189446:(.text+0x656be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x656da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x65718): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_422solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189530:(.text+0x6572e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189541:(.text+0x65758): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_423solveAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189512:(.text+0x65766): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189453:(.text+0x6591e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189460:(.text+0x6592a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189453:(.text+0x65972): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189460:(.text+0x65982): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189479:(.text+0x659a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189479:(.text+0x659b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189475:(.text+0x659e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189469:(.text+0x659fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189469:(.text+0x65a16): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x65a22): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_297multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179809:(.text+0x65b08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x65b24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_297multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179877:(.text+0x65b62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_296multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179905:(.text+0x65b78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_297multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179887:(.text+0x65ba2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179887:(.text+0x65bb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179835:(.text+0x65d68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x65d74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_297multAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179828:(.text+0x65dbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179836:(.text+0x65dcc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179854:(.text+0x65dec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179854:(.text+0x65dfe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179850:(.text+0x65e2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179844:(.text+0x65e46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x65e60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x65e6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x65f52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x65f6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_304multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180397:(.text+0x65fac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x65fc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_305multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180379:(.text+0x65fec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180379:(.text+0x65ffa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x661b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x661be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_305multHermitianAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180327:(.text+0x66206): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180328:(.text+0x66216): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180346:(.text+0x66236): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180346:(.text+0x66248): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180336:(.text+0x66278): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180336:(.text+0x66290): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x662aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x662b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6639c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_301multTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180102:(.text+0x663b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_300multTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180151:(.text+0x663f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x6640c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_301multTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180133:(.text+0x66436): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180070:(.text+0x66444): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180081:(.text+0x665ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x665f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_301multTransposeAdd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180074:(.text+0x6663e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180081:(.text+0x6664a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180090:(.text+0x666ca): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180074:(.text+0x66760): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180074:(.text+0x6676c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_55setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271280:(.text+0x667b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271268:(.text+0x667bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x667d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_55setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271333:(.text+0x66810): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_54setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271392:(.text+0x66822): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_55setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271327:(.text+0x66924): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271331:(.text+0x66930): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_54setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271377:(.text+0x66978): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_55setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271293:(.text+0x66984): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271321:(.text+0x66a04): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271308:(.text+0x66a9a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271308:(.text+0x66aa6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x66aee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x66af6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_55setStateDesignIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271288:(.text+0x66b10): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271286:(.text+0x66b4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_23setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198069:(.text+0x66b5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0x66c36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198085:(.text+0x66c6a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198086:(.text+0x66c76): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0x66cf4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0x66d00): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198133:(.text+0x66d20): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198134:(.text+0x66d2e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_22setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198166:(.text+0x66d5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_23setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198132:(.text+0x66dc8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198089:(.text+0x66dd4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198094:(.text+0x66dea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198103:(.text+0x66df8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198105:(.text+0x66e10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198105:(.text+0x66e18): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198099:(.text+0x66e46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x66eb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_23setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198089:(.text+0x66ee2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198087:(.text+0x66f0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_279diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178760:(.text+0x66f32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x67046): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_279diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178805:(.text+0x6707c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178807:(.text+0x67088): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178812:(.text+0x670e2): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_278diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178857:(.text+0x670f0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178897:(.text+0x67130): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_279diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178766:(.text+0x67162): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178787:(.text+0x6717a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178768:(.text+0x67194): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178768:(.text+0x671a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x67260): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x67270): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_279diagonalScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178766:(.text+0x672c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217850:(.text+0x672fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x67312): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217893:(.text+0x6733c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217915:(.text+0x6734a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_36setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218004:(.text+0x6737a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218007:(.text+0x6750a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217903:(.text+0x67540): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x6754c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217879:(.text+0x675a6): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217879:(.text+0x675b4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217890:(.text+0x675f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x67628): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_37setOperators': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217924:(.text+0x67640): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217870:(.text+0x6765a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217870:(.text+0x67666): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x67726): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_152solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238730:(.text+0x67736): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_153solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238640:(.text+0x67786): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x677c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x677d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_153solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238635:(.text+0x67802): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238635:(.text+0x67810): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238640:(.text+0x67840): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x679ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_153solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238596:(.text+0x67a08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238596:(.text+0x67a14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x67ab0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x67b4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235897:(.text+0x67be6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235902:(.text+0x67bee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235902:(.text+0x67bf6): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x67c22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x67c2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235925:(.text+0x67c32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235925:(.text+0x67c3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x67cc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236013:(.text+0x67cd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x67ce8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236024:(.text+0x67cfc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236041:(.text+0x67d46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x67d62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_109setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235771:(.text+0x67de8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235781:(.text+0x67e0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x67e70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x67e8c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x67e98): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_109setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235774:(.text+0x67fac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235776:(.text+0x67fb8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x68060): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_108setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235876:(.text+0x6806c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_109setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235776:(.text+0x6815c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174820:(.text+0x68178): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x681b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174878:(.text+0x681cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x681f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x68206): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_232setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174926:(.text+0x6821a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x68232): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_233setValueStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174845:(.text+0x6842a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174850:(.text+0x68436): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174865:(.text+0x684de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174865:(.text+0x684ea): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174841:(.text+0x685da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174841:(.text+0x685f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175133:(.text+0x68634): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175147:(.text+0x6864a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x68676): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x68684): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_236setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175237:(.text+0x68698): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x686b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175188:(.text+0x68872): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175158:(.text+0x688aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175163:(.text+0x688b6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175170:(.text+0x68908): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x68982): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_236setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175237:(.text+0x68990): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175178:(.text+0x689b4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175172:(.text+0x689c2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175172:(.text+0x689e6): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x689f4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x68a2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_237setValueBlockedStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175156:(.text+0x68a70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175156:(.text+0x68a86): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175154:(.text+0x68a92): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175152:(.text+0x68ada): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137227:(.text+0x68aea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137227:(.text+0x68b04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x68b2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x68b34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x68b72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x68b8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_228isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137334:(.text+0x68b92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137304:(.text+0x68bc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137304:(.text+0x68bc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137242:(.text+0x68be2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137243:(.text+0x68bfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x68c46): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x68c54): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137287:(.text+0x68c64): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137289:(.text+0x68c90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_228isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137324:(.text+0x68cea): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137348:(.text+0x68d18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_229isaxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137248:(.text+0x68d32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137260:(.text+0x68d56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137262:(.text+0x68eb0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137262:(.text+0x68ebc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137246:(.text+0x68f46): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_235waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137711:(.text+0x68ff2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x6900a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_234waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137752:(.text+0x69024): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137752:(.text+0x69030): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_235waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137660:(.text+0x6907a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_234waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137742:(.text+0x69184): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137742:(.text+0x69192): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137766:(.text+0x691a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_235waxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137678:(.text+0x691f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137662:(.text+0x6923e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137686:(.text+0x69304): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137680:(.text+0x69330): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137664:(.text+0x693d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137664:(.text+0x693dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61221:(.text+0x69454): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x69466): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x69496): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61183:(.text+0x694ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x694c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x694d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61215:(.text+0x695bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x695d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x69616): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x6962c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x69656): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x69664): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_43getIsLastRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333303:(.text+0x69844): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_42getIsLastRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333354:(.text+0x69850): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_43getIsLastRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333304:(.text+0x698c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333305:(.text+0x698da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_42getIsLastRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333373:(.text+0x6990a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333390:(.text+0x69922): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333354:(.text+0x6993c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x69948): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_40getIsFirstRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333253:(.text+0x69a30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333263:(.text+0x69a4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_41getIsFirstRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333195:(.text+0x69a8a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333195:(.text+0x69aa0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_40getIsFirstRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333280:(.text+0x69aca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333281:(.text+0x69ad8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x69c98): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x69ca0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332805:(.text+0x69cd0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_33getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332761:(.text+0x69cdc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x69d0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_31getGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332647:(.text+0x69d16): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x69d3a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x69d48): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_30getGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332713:(.text+0x69db8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_31getGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332659:(.text+0x69dc0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x69eea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_28getLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332611:(.text+0x69f68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_29getLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332557:(.text+0x69f74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_28getLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332628:(.text+0x69fe0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332628:(.text+0x69ff0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_29getLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332556:(.text+0x69ff8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_28getLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332592:(.text+0x6a00c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332601:(.text+0x6a03c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6a052): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57554:(.text+0x6a090): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x6a09c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57627:(.text+0x6a0b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57519:(.text+0x6a0c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57627:(.text+0x6a0d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57627:(.text+0x6a0d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x6a0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57589:(.text+0x6a122): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x6a13c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x6a158): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57583:(.text+0x6a206): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57621:(.text+0x6a228): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x6a274): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x6a382): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x6a3c0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x6a3cc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_23getBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302366:(.text+0x6a478): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_22getBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302447:(.text+0x6a512): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6a5aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_22getBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302437:(.text+0x6a5b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302437:(.text+0x6a5ba): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6a5e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6a5ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_23getBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302378:(.text+0x6a5f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302378:(.text+0x6a5fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_18getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302162:(.text+0x6a688): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302180:(.text+0x6a694): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302190:(.text+0x6a6ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_19getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302121:(.text+0x6a6c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_18getProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302190:(.text+0x6a716): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302207:(.text+0x6a732): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_15getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301777:(.text+0x6a7c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301781:(.text+0x6a7ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_14getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301858:(.text+0x6a850): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_15getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301789:(.text+0x6a86e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301782:(.text+0x6a87a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195002:(.text+0x6a97c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195039:(.text+0x6a9ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195055:(.text+0x6a9c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_12setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195126:(.text+0x6aa72): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6ab0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195042:(.text+0x6aba4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195039:(.text+0x6abac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_12setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195113:(.text+0x6abb4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6abde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6abe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_12setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195127:(.text+0x6abee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195127:(.text+0x6abf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195007:(.text+0x6ac82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195007:(.text+0x6ac8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195012:(.text+0x6aca6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195050:(.text+0x6acba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6ad10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6ad2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_13setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195036:(.text+0x6adbc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195010:(.text+0x6ade6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195025:(.text+0x6ae4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_12setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195127:(.text+0x6ae68): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195127:(.text+0x6ae74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6afa8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6afb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162636:(.text+0x6afe2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6b008): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162630:(.text+0x6b0ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162632:(.text+0x6b0f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6b138): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162582:(.text+0x6b14a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162638:(.text+0x6b206): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6b212): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x6b21a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6b224): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6b270): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x6b27c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162593:(.text+0x6b292): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162586:(.text+0x6b29a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162593:(.text+0x6b2a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162612:(.text+0x6b2ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_82createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162727:(.text+0x6b2fc): undefined reference to `PyCFunction_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162727:(.text+0x6b30c): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162607:(.text+0x6b31a): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162608:(.text+0x6b330): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162602:(.text+0x6b36c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162602:(.text+0x6b37e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6b39c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6b3b6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_83createSubMatrixVirtual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162648:(.text+0x6b3c4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162584:(.text+0x6b3ee): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162586:(.text+0x6b422): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181682:(.text+0x6b456): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181695:(.text+0x6b460): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181694:(.text+0x6b474): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181695:(.text+0x6b47a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181682:(.text+0x6b480): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6b492): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6b4a0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181753:(.text+0x6b4d8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6b568): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6b57e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6b586): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181764:(.text+0x6b5d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181731:(.text+0x6b5ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_316getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181791:(.text+0x6b61a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181752:(.text+0x6b6aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181753:(.text+0x6b6c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181753:(.text+0x6b6c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181712:(.text+0x6b71a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6b72e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181702:(.text+0x6b75c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_316getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181840:(.text+0x6b7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_317getLocalSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181702:(.text+0x6b802): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181702:(.text+0x6b80a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181718:(.text+0x6b85c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6b870): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6b89e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137495:(.text+0x6b92e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137495:(.text+0x6b944): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137495:(.text+0x6b94c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137561:(.text+0x6b99c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x6b9ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x6b9da): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137524:(.text+0x6ba6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x6ba80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6ba88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137557:(.text+0x6bada): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137561:(.text+0x6baee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_232axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137592:(.text+0x6bb22): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137534:(.text+0x6bbc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137534:(.text+0x6bbd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137534:(.text+0x6bbda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137539:(.text+0x6bbe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6bc32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x6bc44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137514:(.text+0x6bc4a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137516:(.text+0x6bc5c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x6bc8c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137530:(.text+0x6bd1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137530:(.text+0x6bd32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137530:(.text+0x6bd3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6bd8c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_233axpby': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137512:(.text+0x6bda0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137514:(.text+0x6bdce): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6be5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6be74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x6be7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x6bece): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x6bee2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_20EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79121:(.text+0x6bf16): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6bfbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6bfc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6bfce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6bfd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6c026): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6c038): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6c03e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_20EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79100:(.text+0x6c050): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79149:(.text+0x6c080): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_21EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78506:(.text+0x6c110): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6c126): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_21EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78486:(.text+0x6c12e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6c180): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6c194): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_21EventDecorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78484:(.text+0x6c1c8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403713:(.text+0x6c26e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403722:(.text+0x6c276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403737:(.text+0x6c280): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403737:(.text+0x6c288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403756:(.text+0x6c2d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6c2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x6c2f0): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6c302): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x6c332): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6c3c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403802:(.text+0x6c3d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403821:(.text+0x6c3e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6c432): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x6c446): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6c47a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6c520): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x6c528): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403865:(.text+0x6c532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6c53a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x6c58a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6c59c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6c5a2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403879:(.text+0x6c5b4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403914:(.text+0x6c5e4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6c674): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6c68a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6c692): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403882:(.text+0x6c6e4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403883:(.text+0x6c6f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403897:(.text+0x6c72c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x6c7d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403796:(.text+0x6c7da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403862:(.text+0x6c7e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x6c7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x6c83c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x6c84e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6c854): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6c866): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403875:(.text+0x6c896): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryviewslice_convert_item_to_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408666:(.text+0x6c926): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408684:(.text+0x6c93c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408684:(.text+0x6c944): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250087:(.text+0x6c996): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6c9aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6c9c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250125:(.text+0x6c9d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x6ca0e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250101:(.text+0x6ca9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250104:(.text+0x6cab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6cad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250139:(.text+0x6cb2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250142:(.text+0x6cb54): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250142:(.text+0x6cb66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250101:(.text+0x6cbd4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6cc64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_50computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250182:(.text+0x6cc7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250094:(.text+0x6cc82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250120:(.text+0x6ccd4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x6cce8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_51computeRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250116:(.text+0x6cd16): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250092:(.text+0x6cda6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250092:(.text+0x6cdbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250092:(.text+0x6cdc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250096:(.text+0x6ce16): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_219computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262570:(.text+0x6ce2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6ce5e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_219computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262647:(.text+0x6cf04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262647:(.text+0x6cf0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262647:(.text+0x6cf16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262647:(.text+0x6cf1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262599:(.text+0x6cf6e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6cf80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6cf86): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6cf98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_219computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262632:(.text+0x6cfc8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_218computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262691:(.text+0x6d058): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_219computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262586:(.text+0x6d06e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262591:(.text+0x6d076): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262609:(.text+0x6d0c8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262626:(.text+0x6d0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6d110): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_219computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262611:(.text+0x6d1b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262611:(.text+0x6d1be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262611:(.text+0x6d1c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262611:(.text+0x6d1d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6d220): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6d232): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x6d238): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_219computeRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262647:(.text+0x6d24a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262589:(.text+0x6d27a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6d30a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250262:(.text+0x6d320): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250265:(.text+0x6d328): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_52computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250322:(.text+0x6d378): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x6d38c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250292:(.text+0x6d3c0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250275:(.text+0x6d466): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250277:(.text+0x6d46e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250277:(.text+0x6d478): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250277:(.text+0x6d480): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x6d4d0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_52computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250312:(.text+0x6d4e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250312:(.text+0x6d4e8): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250312:(.text+0x6d4fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250236:(.text+0x6d52a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250241:(.text+0x6d5ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_52computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250322:(.text+0x6d5d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250322:(.text+0x6d5d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250260:(.text+0x6d62a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x6d63e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250250:(.text+0x6d698): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6d6d6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_53computeRHSFunctionLinear': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250234:(.text+0x6d726): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233281:(.text+0x6d7b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6d7cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6d7d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233334:(.text+0x6d826): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233343:(.text+0x6d83a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x6d868): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6d8f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_76setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233440:(.text+0x6d90e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233440:(.text+0x6d916): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6d968): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_76setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233460:(.text+0x6d97c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233471:(.text+0x6d9aa): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233397:(.text+0x6da3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6da50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6da58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233327:(.text+0x6daa8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_76setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233408:(.text+0x6daba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6dae8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6db78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233287:(.text+0x6db8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233294:(.text+0x6db96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233287:(.text+0x6dbe8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233294:(.text+0x6dbfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_76setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233395:(.text+0x6dc2a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_77setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233287:(.text+0x6dcba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233287:(.text+0x6dcd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233285:(.text+0x6dcd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_179setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259694:(.text+0x6dd2a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259707:(.text+0x6dd3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x6dd6c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_179setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259771:(.text+0x6ddfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259749:(.text+0x6de12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6de1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x6de6c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6de80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6deae): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259888:(.text+0x6df3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6df54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259899:(.text+0x6df5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6dfae): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6dfc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259825:(.text+0x6dff0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259916:(.text+0x6e080): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6e096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6e09e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6e0f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6e104): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259857:(.text+0x6e11e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_179setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259712:(.text+0x6e12a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259717:(.text+0x6e1ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259722:(.text+0x6e1b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_178setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259823:(.text+0x6e1e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_179setPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259713:(.text+0x6e2a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6e32e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6e33a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259434:(.text+0x6e3c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x6e3d8): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_174setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259486:(.text+0x6e3ec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x6e41a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6e4aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x6e4c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x6e4c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_174setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259588:(.text+0x6e51a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6e52e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x6e55c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259401:(.text+0x6e5ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259411:(.text+0x6e602): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259411:(.text+0x6e60a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6e65c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259414:(.text+0x6e670): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6e69e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259430:(.text+0x6e72e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_174setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259577:(.text+0x6e744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259577:(.text+0x6e74c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259512:(.text+0x6e79e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259419:(.text+0x6e7b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259557:(.text+0x6e7e0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_175setPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259402:(.text+0x6e870): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259406:(.text+0x6e886): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259406:(.text+0x6e88e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x6e8e0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6e8f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232485:(.text+0x6e922): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232561:(.text+0x6e9b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x6e9c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6e9d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6ea22): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232593:(.text+0x6ea36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6ea64): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x6eaf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232534:(.text+0x6eb0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6eb12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6eb64): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6eb78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232437:(.text+0x6ebac): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6ec68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x6ec70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6ec78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_68setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232499:(.text+0x6ec90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232613:(.text+0x6ed0a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6ed12): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232440:(.text+0x6ed1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232455:(.text+0x6ed6c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6edb2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_69setInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232440:(.text+0x6ee04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232438:(.text+0x6ee1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232438:(.text+0x6ee22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232438:(.text+0x6ee2c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272559:(.text+0x6ee7e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272573:(.text+0x6ee94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x6eec2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x6ef52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_64setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272673:(.text+0x6ef68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272701:(.text+0x6ef70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x6efc4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x6efda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x6f008): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6f04e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_64setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272764:(.text+0x6f0a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x6f0b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272612:(.text+0x6f0be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_64setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272674:(.text+0x6f0c8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6f11a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6f130): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272577:(.text+0x6f15e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272590:(.text+0x6f1ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272590:(.text+0x6f204): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x6f20c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272577:(.text+0x6f260): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272582:(.text+0x6f276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272606:(.text+0x6f2a4): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272595:(.text+0x6f334): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x6f34a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_64setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272733:(.text+0x6f352): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_65setUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272580:(.text+0x6f3a6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272580:(.text+0x6f3bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272578:(.text+0x6f3ea): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446585:(.text+0x6f47a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446608:(.text+0x6f490): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446608:(.text+0x6f498): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x6f4ec): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446647:(.text+0x6f502): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446657:(.text+0x6f530): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446629:(.text+0x6f5c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446647:(.text+0x6f5d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446577:(.text+0x6f5de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446585:(.text+0x6f632): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446585:(.text+0x6f648): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446608:(.text+0x6f676): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5array_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144355:(.text+0x6f706): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414532:(.text+0x6f71c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447261:(.text+0x6f724): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19008:(.text+0x6f776): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19028:(.text+0x6f78a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19080:(.text+0x6f7b8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19075:(.text+0x6f848): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x6f85e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x6f866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x6f8ba): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19080:(.text+0x6f8d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_119setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204605:(.text+0x6f904): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x6f9aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x6f9b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x6f9bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x6f9c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x6fa16): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_119setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204638:(.text+0x6fa2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x6fa30): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_118setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204753:(.text+0x6fa42): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x6fa72): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x6fb02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_118setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204704:(.text+0x6fb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204704:(.text+0x6fb20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_119setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204617:(.text+0x6fb74): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204645:(.text+0x6fb8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_118setFactorPivot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204767:(.text+0x6fba4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204767:(.text+0x6fbb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x6fc34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x6fc3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x6fc66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148571:(.text+0x6fd2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148650:(.text+0x6fdb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148659:(.text+0x6fdc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x6fe4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6fe62): undefined reference to `PyExc_BufferError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148712:(.text+0x6fe76): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x6fea4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x6ff34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6ff4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x6ff52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x6ffa6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148712:(.text+0x6ffbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x6ffea): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148752:(.text+0x7007a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148752:(.text+0x70090): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x70098): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148719:(.text+0x700ec): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148593:(.text+0x70102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148603:(.text+0x70130): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148597:(.text+0x701c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148609:(.text+0x701d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148609:(.text+0x701de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x70232): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148622:(.text+0x70248): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148627:(.text+0x70276): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x70306): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x7031c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x70324): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148593:(.text+0x70378): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7038e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148597:(.text+0x703bc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116866:(.text+0x7044c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x70462): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7046a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_36createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116956:(.text+0x704be): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116977:(.text+0x704d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x70502): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116869:(.text+0x70592): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116870:(.text+0x705a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116880:(.text+0x705b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116914:(.text+0x70604): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116914:(.text+0x7061a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x70648): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_36createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117043:(.text+0x706d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116875:(.text+0x706ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116880:(.text+0x706f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116910:(.text+0x7074a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_36createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117043:(.text+0x70760): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116871:(.text+0x7078e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116899:(.text+0x7081e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116899:(.text+0x70834): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116899:(.text+0x7083c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x70890): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x708a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_37createSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116871:(.text+0x708d4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x70964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464205:(.text+0x7097a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464205:(.text+0x70982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x709d6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x709ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117459:(.text+0x70a1a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_42bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117569:(.text+0x70aaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117579:(.text+0x70ac0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117589:(.text+0x70ac8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117547:(.text+0x70b1c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117491:(.text+0x70b32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x70b66): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117537:(.text+0x70c0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117534:(.text+0x70c14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_42bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117569:(.text+0x70c1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117603:(.text+0x70c26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117489:(.text+0x70c78): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117507:(.text+0x70c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117507:(.text+0x70c92): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117524:(.text+0x70ca4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117489:(.text+0x70cd4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_42bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117589:(.text+0x70d64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117513:(.text+0x70d7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117513:(.text+0x70d82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117497:(.text+0x70dd6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117497:(.text+0x70dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x70e06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x70e12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_43bcastBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117477:(.text+0x70e50): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117622:(.text+0x70ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117635:(.text+0x70ef6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x70f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_44bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117732:(.text+0x70f72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117752:(.text+0x70f98): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x70fac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x71020): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117700:(.text+0x710c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117700:(.text+0x710ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117700:(.text+0x710d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_44bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117732:(.text+0x710e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117651:(.text+0x71132): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117652:(.text+0x71146): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117670:(.text+0x7114c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117670:(.text+0x7115e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117644:(.text+0x7118e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7121e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117676:(.text+0x71234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117676:(.text+0x7123c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117666:(.text+0x71290): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117660:(.text+0x712a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x712d4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_45bcastEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117644:(.text+0x71364): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117646:(.text+0x7137a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117646:(.text+0x71382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x713d6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x713ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_49reduceEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118025:(.text+0x71420): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117980:(.text+0x714c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117980:(.text+0x714ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117980:(.text+0x714d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117980:(.text+0x714e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118021:(.text+0x71532): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118023:(.text+0x71546): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117964:(.text+0x7154c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117965:(.text+0x7155e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118026:(.text+0x7158e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117996:(.text+0x7161e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118012:(.text+0x71634): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118014:(.text+0x7163c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117972:(.text+0x71690): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117977:(.text+0x716a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117966:(.text+0x716da): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117986:(.text+0x71780): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x71788): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x71792): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x7179a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_49reduceEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117968:(.text+0x717ec): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117968:(.text+0x71800): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117968:(.text+0x71806): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117970:(.text+0x71818): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117972:(.text+0x71848): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117862:(.text+0x718d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117863:(.text+0x718ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_46reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117895:(.text+0x718f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7194a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117873:(.text+0x71960): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117817:(.text+0x71994): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117862:(.text+0x71a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117862:(.text+0x71a42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117862:(.text+0x71a4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117863:(.text+0x71a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x71aa6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117809:(.text+0x71aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117805:(.text+0x71ac0): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117815:(.text+0x71ad2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117850:(.text+0x71b02): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117821:(.text+0x71b92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x71ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x71bb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_47reduceBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117835:(.text+0x71c04): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117829:(.text+0x71c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117823:(.text+0x71c4e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117807:(.text+0x71cf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117807:(.text+0x71cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117809:(.text+0x71d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117809:(.text+0x71d0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x71d60): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x71d74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_15app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282944:(.text+0x71d7a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x71d8c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x71dbc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_14app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283011:(.text+0x71e4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283050:(.text+0x71e62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x71e6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_14app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283089:(.text+0x71ebe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_15app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282928:(.text+0x71ed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x71f02): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_14app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283050:(.text+0x71f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283089:(.text+0x71fa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x71fb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_15app2petsc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282942:(.text+0x72004): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282942:(.text+0x7201a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7204e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x720f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x720fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_17petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283138:(.text+0x72106): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283141:(.text+0x7210e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x72160): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_16petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283224:(.text+0x72174): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283224:(.text+0x7217a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x7218c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_17petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283158:(.text+0x721bc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_16petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283283:(.text+0x7224c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_17petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283122:(.text+0x72262): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283123:(.text+0x7226a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283149:(.text+0x722be): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283151:(.text+0x722d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283129:(.text+0x72308): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283136:(.text+0x723ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283136:(.text+0x723b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x723c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x723c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_17petsc2app': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283124:(.text+0x7241a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283124:(.text+0x7242e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283124:(.text+0x72434): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_99setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274896:(.text+0x72446): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274896:(.text+0x72476): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274964:(.text+0x72506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x7251c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x72524): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_98setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275025:(.text+0x72578): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7258e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x725bc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_98setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275014:(.text+0x7264c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275000:(.text+0x72662): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275000:(.text+0x7266a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x726be): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x726d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_99setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274916:(.text+0x72702): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274925:(.text+0x72792): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274926:(.text+0x727a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274936:(.text+0x727b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_98setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275000:(.text+0x72804): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7281a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_99setConstraintTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274964:(.text+0x7284e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250370:(.text+0x728f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x728fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x72906): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x7290e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250438:(.text+0x72960): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x72974): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x7297a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x7298c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x729bc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250430:(.text+0x72a4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250432:(.text+0x72a62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250432:(.text+0x72a6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250436:(.text+0x72abe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250437:(.text+0x72ad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250434:(.text+0x72b08): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250380:(.text+0x72bae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250380:(.text+0x72bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250385:(.text+0x72bc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250386:(.text+0x72bc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250392:(.text+0x72c1a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250374:(.text+0x72c2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250374:(.text+0x72c34): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250405:(.text+0x72c46): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250410:(.text+0x72c76): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250394:(.text+0x72d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250394:(.text+0x72d1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x72d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_55computeRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250378:(.text+0x72d76): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250380:(.text+0x72d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250542:(.text+0x72e0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x72e3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x72e54): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250600:(.text+0x72e60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250601:(.text+0x72e6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x72eb8): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_56computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250696:(.text+0x72ee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250635:(.text+0x72f30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x72f6e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x72f7a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250625:(.text+0x73034): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250610:(.text+0x730d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250612:(.text+0x730de): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250561:(.text+0x7317c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250592:(.text+0x7318a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250581:(.text+0x7324a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250581:(.text+0x73252): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7327c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250565:(.text+0x7329e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250565:(.text+0x732a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250565:(.text+0x732ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250565:(.text+0x732b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250567:(.text+0x732be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250567: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_57computeRHSJacobianConstant': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250563:(.text+0x732fa): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272030:(.text+0x73358): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272097:(.text+0x733b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272115:(.text+0x733bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272115:(.text+0x733c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272115:(.text+0x733ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272115:(.text+0x733d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272102:(.text+0x73400): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_60setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272193:(.text+0x73444): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x7345a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x7346c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x73484): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_60setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272214:(.text+0x73498): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272225:(.text+0x734cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x734f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272057:(.text+0x735fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272057:(.text+0x73606): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272060:(.text+0x7378a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272060:(.text+0x73792): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272069:(.text+0x737bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272069:(.text+0x737ce): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272064:(.text+0x737ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272070:(.text+0x737f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_60setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272240:(.text+0x73838): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272084:(.text+0x73870): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x73886): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x73898): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272078:(.text+0x738c8): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272139:(.text+0x738fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_61setEqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272062:(.text+0x73948): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_265metricIntersection3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327198:(.text+0x73982): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327198:(.text+0x7398e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327288:(.text+0x73a5c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327269:(.text+0x73aaa): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327271:(.text+0x73aba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327271:(.text+0x73ac6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327276:(.text+0x73b30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327218:(.text+0x73b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327246:(.text+0x73bb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327246:(.text+0x73bc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327251:(.text+0x73bc8): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327220:(.text+0x73bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327222:(.text+0x73bf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327227:(.text+0x73bfc): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327234:(.text+0x73c64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x73ca2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x73cc0): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327236:(.text+0x73d94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x73d9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x73da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x73dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x73db4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x73dc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_265metricIntersection3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327220:(.text+0x73de4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327220:(.text+0x73df0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327222:(.text+0x73e06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327218:(.text+0x73e58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_261metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326922:(.text+0x73eac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x73ec2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_261metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326985:(.text+0x73eec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326924:(.text+0x73fd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326985:(.text+0x7400a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326986:(.text+0x74016): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326930:(.text+0x740e6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326932:(.text+0x74134): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326944:(.text+0x74144): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326944:(.text+0x74150): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x741ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_261metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326962:(.text+0x74206): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326952:(.text+0x74242): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326952:(.text+0x7424a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326952:(.text+0x74252): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326946:(.text+0x74274): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326946:(.text+0x7427e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326946:(.text+0x74286): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_261metricAverage3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326930:(.text+0x742ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326926:(.text+0x7432c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326928:(.text+0x7434a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264316:(.text+0x7441e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264316:(.text+0x74426): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264316:(.text+0x74430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264318:(.text+0x74436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7443e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264319:(.text+0x74450): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264320:(.text+0x7446e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7447a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x74490): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x744e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264408:(.text+0x74538): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7454e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264269:(.text+0x74578): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x74662): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264207:(.text+0x7469c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264212:(.text+0x746a8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x74778): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_250setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264333:(.text+0x747c6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264355:(.text+0x747d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264207:(.text+0x747e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x7484e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264212:(.text+0x7489a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264234:(.text+0x748d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264227:(.text+0x748de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264227:(.text+0x748e6): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264254:(.text+0x74908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x74912): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7497a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x74982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_251setAlphaParams': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264210:(.text+0x749c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264212:(.text+0x749de): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328581:(.text+0x74a88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328583:(.text+0x74a90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328597:(.text+0x74a9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328597:(.text+0x74aa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328598:(.text+0x74aa8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328599:(.text+0x74aba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_286sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328642:(.text+0x74ad8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328654:(.text+0x74ae4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328664:(.text+0x74b14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x74b48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328546:(.text+0x74b9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328547:(.text+0x74bb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328560:(.text+0x74bde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328595:(.text+0x74ce0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328564:(.text+0x74d86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328564:(.text+0x74d8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328564:(.text+0x74d98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328570:(.text+0x74da0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328552:(.text+0x74df2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x74e06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_286sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328687:(.text+0x74e0c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328687:(.text+0x74e1e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328557:(.text+0x74e4e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328566:(.text+0x74ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x74ef4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x74efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_287sectionLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328548:(.text+0x74f50): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328548:(.text+0x74f66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328552:(.text+0x74f9a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328769:(.text+0x75040): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328785:(.text+0x75048): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328785:(.text+0x75052): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328786:(.text+0x7505a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x750ac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328798:(.text+0x750c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328798:(.text+0x750c6): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328798:(.text+0x750d8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328740:(.text+0x75108): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328725:(.text+0x75198): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328785:(.text+0x751ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328786:(.text+0x751b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x7520a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328732:(.text+0x75220): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328756:(.text+0x75254): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x752fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328726:(.text+0x75302): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x7530c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x75314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_289globalVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328762:(.text+0x75366): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328758:(.text+0x7537a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328758:(.text+0x75380): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328758:(.text+0x75392): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328746:(.text+0x753c2): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328728:(.text+0x75452): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328730:(.text+0x75468): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328730:(.text+0x75470): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328849:(.text+0x754c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328849:(.text+0x754da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x75508): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x75598): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328939:(.text+0x755ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328939:(.text+0x755b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7560a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328920:(.text+0x75620): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328922:(.text+0x75654): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328869:(.text+0x756fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328873:(.text+0x75702): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328873:(.text+0x7570c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328871:(.text+0x75714): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328871:(.text+0x75766): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328878:(.text+0x7577a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328878:(.text+0x75780): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328891:(.text+0x75792): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328878:(.text+0x757c2): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328903:(.text+0x75852): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328899:(.text+0x75868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328899:(.text+0x75870): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328887:(.text+0x758c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x758da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_291localVectorLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328867:(.text+0x7590e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194585:(.text+0x759b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194599:(.text+0x759bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194585:(.text+0x759c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194598:(.text+0x759ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194638:(.text+0x75a20): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194638:(.text+0x75a34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194698:(.text+0x75a3a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194698:(.text+0x75a4c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x75a7c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x75b0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194774:(.text+0x75b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194776:(.text+0x75b2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x75b7e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194779:(.text+0x75b94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x75bc8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0x75c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0x75c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x75c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x75c88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x75cda): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194655:(.text+0x75cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194655:(.text+0x75cf4): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194657:(.text+0x75d06): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0x75d36): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x75dc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x75ddc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x75de4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x75e38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x75e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194603:(.text+0x75e82): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0x75f28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0x75f30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194834:(.text+0x75f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194819:(.text+0x75f42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194604:(.text+0x75f94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194609:(.text+0x75fa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194605:(.text+0x75fae): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194614:(.text+0x75fc0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194635:(.text+0x75ff0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x76080): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x76096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x7609e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194609:(.text+0x760f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194666:(.text+0x76108): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194607:(.text+0x7613c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269221:(.text+0x761e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269221:(.text+0x761ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269223:(.text+0x761f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269223:(.text+0x761fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269263:(.text+0x7624e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269316:(.text+0x76262): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269316:(.text+0x76268): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7627a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x762aa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7633a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269237:(.text+0x76350): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269237:(.text+0x76358): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269302:(.text+0x763ac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x763c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x763f0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x76480): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x76496): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269364:(.text+0x7649e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269182:(.text+0x764f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269216:(.text+0x76508): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269170:(.text+0x76536): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269166:(.text+0x765c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x765dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269168:(.text+0x765e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_36setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x76638): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x7664e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269363:(.text+0x7667c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x7670c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x76722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x7672a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_37setGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269168:(.text+0x7677e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269164:(.text+0x76794): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269170:(.text+0x767c8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269582:(.text+0x7686e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269582:(.text+0x76876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269584:(.text+0x76880): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269584:(.text+0x76888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x768da): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269677:(.text+0x768ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269677:(.text+0x768f4): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x76906): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x76936): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x769c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x769dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x769e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x76a38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x76a4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x76a82): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724:(.text+0x76b28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x76b30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269666:(.text+0x76b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269536:(.text+0x76b42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269577:(.text+0x76b94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269525:(.text+0x76ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269525:(.text+0x76bae): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269536:(.text+0x76bc0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269556:(.text+0x76bf0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269536:(.text+0x76c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x76c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269531:(.text+0x76c9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x76cf2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_40setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269724:(.text+0x76d08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269551:(.text+0x76d3c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x76de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269598:(.text+0x76dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_41setObjectiveGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269529:(.text+0x76df4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269529:(.text+0x76dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269531:(.text+0x76e4e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269531:(.text+0x76e62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_11end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82368:(.text+0x76e68): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82368:(.text+0x76e7a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_event_args2objs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19830:(.text+0x76eaa): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19883:(.text+0x76f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19937:(.text+0x76f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19937:(.text+0x76f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x76fac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_11end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82382:(.text+0x76fc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x76ff6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7709c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82411:(.text+0x770a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82411:(.text+0x770ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82411:(.text+0x770b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x77108): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82411:(.text+0x7711c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x77122): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82422:(.text+0x77134): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_11end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82373:(.text+0x77164): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x771f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_11end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82382:(.text+0x7720a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82382:(.text+0x77212): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyObject_TypeCheck': /usr/include/python3.12/object.h:382:(.text+0x77266): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:382:(.text+0x7727c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x772b0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallOneArg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445960:(.text+0x77356): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445951:(.text+0x7735e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyObject_TypeCheck': /usr/include/python3.12/object.h:382:(.text+0x77368): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:382:(.text+0x77370): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyCFunction_GET_SELF': /usr/include/python3.12/cpython/methodobject.h:46:(.text+0x773c0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/cpython/methodobject.h:46:(.text+0x773d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/methodobject.h:46:(.text+0x773da): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445878:(.text+0x773ec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x7741c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x774ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x774c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4rank___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85272:(.text+0x774ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4Comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412906:(.text+0x7751e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x77534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4rank___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85260:(.text+0x77568): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7760e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x77616): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x77620): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85190:(.text+0x77628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7767a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7768e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x77694): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x776a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85212:(.text+0x776d6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x77766): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7777c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x77784): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x777d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x777ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x77822): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x778c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x778d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x778da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x778e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_klass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413174:(.text+0x77934): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413174:(.text+0x77948): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413174:(.text+0x7794e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x77960): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_5klass___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90146:(.text+0x77990): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x77a20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x77a36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x77a3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x77a92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_classid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413170:(.text+0x77aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x77adc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x77b82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x77b8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x77b94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x77b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x77bee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Object_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413166:(.text+0x77c02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413166:(.text+0x77c08): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x77c1a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4name_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89961:(.text+0x77c4a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413154:(.text+0x77cda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x77cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89871:(.text+0x77cf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x77d4c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x77d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413156:(.text+0x77d96): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413150:(.text+0x77e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4comm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89786:(.text+0x77e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x77e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4comm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89786:(.text+0x77e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89798:(.text+0x77ea8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x77ebc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x77ec2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x77ed4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413152:(.text+0x77f04): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x77f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x77faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89705:(.text+0x77fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x78006): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89717:(.text+0x7801c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7804a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89739:(.text+0x780da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x780f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x780f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7814c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89627:(.text+0x78162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x78190): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89636:(.text+0x78220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x78236): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_6prefix___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89624:(.text+0x7823e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Object_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413126:(.text+0x78292): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89543:(.text+0x782a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x782d6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x78366): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7837c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x78384): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89577:(.text+0x783d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x783ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x78422): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x784c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x784d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413124:(.text+0x784da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x784e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x78534): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_4type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89496:(.text+0x78548): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89496:(.text+0x7854e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Object_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413124:(.text+0x78560): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Random_interval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413529:(.text+0x78590): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x78620): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x78636): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7863e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x78692): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x786a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Random_interval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413537:(.text+0x786dc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x78782): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7878a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8interval___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100015:(.text+0x78794): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7879c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Random_interval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413527:(.text+0x787ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x78802): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x78808): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_8interval___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100015:(.text+0x7881a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100037:(.text+0x7884a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x788da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x788f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99934:(.text+0x788f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_6Random_seed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413523:(.text+0x7894c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x78962): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99934:(.text+0x78996): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4seed___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99841:(.text+0x78a3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99844:(.text+0x78a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99844:(.text+0x78a4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99846:(.text+0x78a56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x78aa8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x78abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x78ac2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Random_seed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413513:(.text+0x78ad4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x78b04): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x78b94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x78baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98380:(.text+0x78bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x78c06): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x78c1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x78c50): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98443:(.text+0x78cf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98381:(.text+0x78cfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98381:(.text+0x78d08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98381:(.text+0x78d10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x78d62): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x78d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x78d7c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x78d8e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Device_device_id': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413671:(.text+0x78dbe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x78e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Device_device_id': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413673:(.text+0x78e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413673:(.text+0x78e6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x78ec0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_9device_id___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101408:(.text+0x78ed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101374:(.text+0x78f04): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x78f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x78faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101219:(.text+0x78fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x79006): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7901c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6Device_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413669:(.text+0x7904a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x790da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_7current_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104199:(.text+0x790f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104199:(.text+0x790f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_13DeviceContext_current': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413837:(.text+0x7914c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x79162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_7current_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104199:(.text+0x79190): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_7current___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104106:(.text+0x79220): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104109:(.text+0x79236): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104109:(.text+0x7923e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x79292): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x792a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_13DeviceContext_current': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413827:(.text+0x792d6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_7current___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104106:(.text+0x79366): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_13DeviceContext_device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413816:(.text+0x7937c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x79384): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x793d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102452:(.text+0x793ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7941c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102474:(.text+0x794ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102474:(.text+0x794c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_13DeviceContext_device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413823:(.text+0x794ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102359:(.text+0x7951e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102362:(.text+0x79534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x79562): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x795f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6device___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102371:(.text+0x79608): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x79610): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x79664): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7967a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x796a8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_13DeviceContext_stream_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413809:(.text+0x79738): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7974e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x79756): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_11stream_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102108:(.text+0x797aa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_13DeviceContext_stream_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413809:(.text+0x797c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x797ee): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7987e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x79894): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7989c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x798f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x79906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_13DeviceContext_stream_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413799:(.text+0x79934): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x799c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110902:(.text+0x799da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110902:(.text+0x799e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_indices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413980:(.text+0x79a36): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x79a4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x79a80): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_7indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110741:(.text+0x79b26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110741:(.text+0x79b2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x79b38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x79b40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x79b92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110647:(.text+0x79ba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x79bac): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110650:(.text+0x79bbe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x79bee): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x79c7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110659:(.text+0x79c94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x79c9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x79cf0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110565:(.text+0x79d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x79d3a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x79de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110577:(.text+0x79de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110577:(.text+0x79df2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x79dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x79e4c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413968:(.text+0x79e60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110483:(.text+0x79e66): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110483:(.text+0x79e78): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x79ea8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x79f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110495:(.text+0x79f4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x79f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110483:(.text+0x79faa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413964:(.text+0x79fc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110406:(.text+0x79ff4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7a09a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7a0a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110413:(.text+0x7a0ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110413:(.text+0x7a0b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110401:(.text+0x7a106): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2IS_sorted': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413960:(.text+0x7a11a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413960:(.text+0x7a120): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7a132): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7a162): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7a1f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7a208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6sorted___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110331:(.text+0x7a210): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110319:(.text+0x7a264): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7a27a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x7a2c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7a2de): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_11permutation___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110160:(.text+0x7a41a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7a4e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104510:(.text+0x7a59e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7a5aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7a5b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104522:(.text+0x7a5ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104522:(.text+0x7a5c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_7__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104472:(.text+0x7a620): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104539:(.text+0x7a662): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104539:(.text+0x7a66a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_7__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104472:(.text+0x7a670): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_3__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104299:(.text+0x7a704): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104324:(.text+0x7a70e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104324:(.text+0x7a720): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104334:(.text+0x7a734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104334:(.text+0x7a742): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104346:(.text+0x7a748): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_3__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104308:(.text+0x7a776): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_2__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104321:(.text+0x7a806): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104361:(.text+0x7a81c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104361:(.text+0x7a824): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_block_info': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414176:(.text+0x7a878): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7a88e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7a8bc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7a94c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7a962): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_10block_info___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114651:(.text+0x7a96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114639:(.text+0x7a9be): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7a9d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4info___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114560:(.text+0x7aa02): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7aa92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_info': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414174:(.text+0x7aaa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7aab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4info___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114591:(.text+0x7ab04): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7ab1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_13block_indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114475:(.text+0x7ab48): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7abd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_block_indices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414170:(.text+0x7abee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7abf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_13block_indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114475:(.text+0x7ac4a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114509:(.text+0x7ac60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7ac8e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x7ad1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_7indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114407:(.text+0x7ad34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7ad3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_7indices___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114405:(.text+0x7ad8e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7ada2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_indices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414166:(.text+0x7add0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7ae60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7ae76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7ae7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7aed2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7aee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114345:(.text+0x7af16): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7afa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7afbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7afc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7b018): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_5LGMap_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414158:(.text+0x7b02e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114241:(.text+0x7b05c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144419:(.text+0x7b0ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144421:(.text+0x7b102): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x7b10a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7b15e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144444:(.text+0x7b174): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec___array_interface__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414536:(.text+0x7b1a2): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414536:(.text+0x7b232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_19__array_interface_____get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144463:(.text+0x7b248): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144463:(.text+0x7b250): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144463:(.text+0x7b2a4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414512:(.text+0x7b2ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_r___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144154:(.text+0x7b2e8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7b378): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414514:(.text+0x7b38e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7b396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_r___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144185:(.text+0x7b3ea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414514:(.text+0x7b400): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414498:(.text+0x7b42e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7b4be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7b4d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414500:(.text+0x7b4dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7b530): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143895:(.text+0x7b546): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_array_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414500:(.text+0x7b560): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414500:(.text+0x7b56c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7b5aa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7b638): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_buffer_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414496:(.text+0x7b650): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7b66e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_8buffer_r___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143813:(.text+0x7b6ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143779:(.text+0x7b6f4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7b706): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7b774): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_8buffer_w___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143709:(.text+0x7b804): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143697:(.text+0x7b81a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143731:(.text+0x7b822): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_owner_ranges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414486:(.text+0x7b876): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7b88c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7b8ba): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7b94a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_12owner_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143627:(.text+0x7b960): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143627:(.text+0x7b968): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143615:(.text+0x7b9bc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7b9d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_11owner_range___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143536:(.text+0x7ba00): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7ba90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_owner_range': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414484:(.text+0x7baa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7baae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_11owner_range___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143567:(.text+0x7bb02): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7bb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7bb46): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143465:(.text+0x7bbd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_block_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414480:(.text+0x7bbec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7bbf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7bc46): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143485:(.text+0x7bc5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143451:(.text+0x7bc88): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143381:(.text+0x7bd18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7bd2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7bd36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7bd8a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x7bda0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143403:(.text+0x7bdce): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7be5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143299:(.text+0x7be74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7be7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414472:(.text+0x7bed0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7bee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143287:(.text+0x7bf14): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x7bfa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7bfba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x7bfc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7c016): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7c02c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7c05a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x7c0ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5sizes_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143241:(.text+0x7c100): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Vec_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414456:(.text+0x7c108): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x7c15c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143137:(.text+0x7c172): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143139:(.text+0x7c1a0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143159:(.text+0x7c230): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7c246): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7c24e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_37__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120441:(.text+0x7c2a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_36__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120468:(.text+0x7c2b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120492:(.text+0x7c2e6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_37__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120442:(.text+0x7c376): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_36__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120509:(.text+0x7c38c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120509:(.text+0x7c394): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x7c3e8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7c3fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_33__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120269:(.text+0x7c42c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7c4bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7c4d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_33__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120278:(.text+0x7c4da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x7c52e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_32__getbuffer__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120331:(.text+0x7c544): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7c572): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x7c602): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10structsymm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192885:(.text+0x7c618): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192885:(.text+0x7c620): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_structsymm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415664:(.text+0x7c674): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7c68a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x7c6a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10structsymm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192873:(.text+0x7c6b0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192873:(.text+0x7c6ee): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9hermitian___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192803:(.text+0x7c77c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7c794): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_hermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415660:(.text+0x7c7b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7c812): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9hermitian___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192825:(.text+0x7c838): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7c84c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7c8c0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9symmetric___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192721:(.text+0x7c966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7c96e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7c978): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9symmetric___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192709:(.text+0x7c980): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7c9d0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9assembled___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192627:(.text+0x7c9e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192627:(.text+0x7c9e8): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192630:(.text+0x7c9fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7ca2a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7cabc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7cad8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_9assembled___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192627:(.text+0x7cae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192661:(.text+0x7caee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192661:(.text+0x7caf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192661:(.text+0x7cafe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7cb56): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_12owner_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192548:(.text+0x7cb60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7cb94): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7cc3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7cc42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_12owner_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192545:(.text+0x7cc4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192579:(.text+0x7cc54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_owner_range': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415642:(.text+0x7cca4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7ccb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7ccbc): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_11owner_range___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192466:(.text+0x7ccce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7ccfe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7cd8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7cda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7cdac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7cdfe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7ce12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_11block_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192386:(.text+0x7ce40): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_block_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415640:(.text+0x7ced0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7cee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7ceee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_block_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415640:(.text+0x7cf40): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_11block_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192381:(.text+0x7cf54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7cf88): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7d02e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_block_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415636:(.text+0x7d036): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7d040): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7d048): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192333:(.text+0x7d098): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_block_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415636:(.text+0x7d0aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7d0b0): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10block_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192299:(.text+0x7d0c2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192217:(.text+0x7d0f2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_local_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415632:(.text+0x7d182): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415632:(.text+0x7d198): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415632:(.text+0x7d1a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10local_size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192251:(.text+0x7d1f2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_local_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415632:(.text+0x7d206): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7d234): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7d2c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7d2da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_size': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415628:(.text+0x7d2e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_4size___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192147:(.text+0x7d334): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192135:(.text+0x7d348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7d37c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7d422): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7d42a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7d434): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7d43c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7d48c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7d49e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7d4a4): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_5sizes_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192066:(.text+0x7d4b6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192088:(.text+0x7d4e6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191978:(.text+0x7d576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7d58c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x7d594): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3Mat_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415614:(.text+0x7d5e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7d5fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191985:(.text+0x7d62e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195851:(.text+0x7d6d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195853:(.text+0x7d6dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195880:(.text+0x7d6e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7d6ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7d73e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7d750): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7d756): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7d768): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195859:(.text+0x7d798): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195852:(.text+0x7d828): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195853:(.text+0x7d83e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195853:(.text+0x7d846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x7d898): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x7d8ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x7d8da): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7d96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227780:(.text+0x7d980): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7d988): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7d9da): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227778:(.text+0x7d9ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227800:(.text+0x7da2a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416686:(.text+0x7da78): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227697:(.text+0x7daea): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7dafc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227697:(.text+0x7db72): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7dbba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227606:(.text+0x7dc12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227608:(.text+0x7dc1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x7dc20): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7dc2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227615:(.text+0x7dc4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_history': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416684:(.text+0x7dca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416684:(.text+0x7dcaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7dcb4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227615:(.text+0x7dcda): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7dce8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227637:(.text+0x7dd08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227603:(.text+0x7dd2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7dd42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416673:(.text+0x7dd4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7dd54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227522:(.text+0x7dd5a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227522:(.text+0x7dd6c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7ddb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227534:(.text+0x7ddb8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227534:(.text+0x7ddca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7ddee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7de1e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227522:(.text+0x7deb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x7dec6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x7dece): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7df20): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x7df34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7df62): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416670:(.text+0x7e014): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416670:(.text+0x7e01c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4norm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227441:(.text+0x7e032): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7e03a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7e08a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7e0d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7e0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_its': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416666:(.text+0x7e10e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7e1c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x7e1c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_3its_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227395:(.text+0x7e1de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_its': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416654:(.text+0x7e1e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7e236): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7e284): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_its': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416656:(.text+0x7e28c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7e2ba): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7e36c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9norm_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226573:(.text+0x7e374): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226575:(.text+0x7e38a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x7e392): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7e3e2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7e430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7e438): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x7e466): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9norm_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226492:(.text+0x7e518): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226494:(.text+0x7e520): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7e536): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x7e53e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_norm_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416586:(.text+0x7e58e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9norm_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226501:(.text+0x7e5dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7e5e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_9norm_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226523:(.text+0x7e612): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7pc_side_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226420:(.text+0x7e6c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7e6cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7e6e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7e6ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7e73a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7pc_side_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226442:(.text+0x7e788): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226442:(.text+0x7e790): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7e7be): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7e870): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7e878): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7e88e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_pc_side': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416572:(.text+0x7e896): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7e8e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7pc_side___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226327:(.text+0x7e934): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226327:(.text+0x7e93c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7e96a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_pc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416568:(.text+0x7ea1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7ea24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7ea3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2pc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226257:(.text+0x7ea42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7ea92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226167:(.text+0x7eade): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226167:(.text+0x7eae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7eb14): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226176:(.text+0x7ebc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7ebce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226198:(.text+0x7ebe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226198:(.text+0x7ebec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x7ec3c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226088:(.text+0x7ec8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x7ec92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_11guess_knoll___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226095:(.text+0x7ecc0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226117:(.text+0x7ed72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226117:(.text+0x7ed7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7ed90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7ed98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226005:(.text+0x7ede8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7ee36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7ee3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x7ee6c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226002:(.text+0x7ef1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7ef26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x7ef3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x7ef44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x7ef94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7efe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_13guess_nonzero___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225935:(.text+0x7efea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_guess_nonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416540:(.text+0x7f018): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225669:(.text+0x7f0ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7f0d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225672:(.text+0x7f0e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225674:(.text+0x7f0f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x7f140): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7f18e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7f196): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_rhs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225669:(.text+0x7f1c4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x7f276): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7f27e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225599:(.text+0x7f294): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7f29c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416524:(.text+0x7f2ec): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225621:(.text+0x7f33a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225621:(.text+0x7f342): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225587:(.text+0x7f370): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7f422): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7f42a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7f440): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3KSP_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416520:(.text+0x7f448): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225518:(.text+0x7f498): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x7f4e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225506:(.text+0x7f4ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225541:(.text+0x7f51c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416510:(.text+0x7f5ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416510:(.text+0x7f5d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416510:(.text+0x7f5ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7f5f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225459:(.text+0x7f644): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x7f692): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225344:(.text+0x7f69a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7f6c8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7f77a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7f782): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225356:(.text+0x7f798): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7f7a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225344:(.text+0x7f7f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x7f83e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225266:(.text+0x7f846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x7f872): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x7f89c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7f8f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x7f92c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethod1': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446665:(.text+0x7f9a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446675:(.text+0x7f9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446675:(.text+0x7f9fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297557:(.text+0x7fc68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x7fc74): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x7fc9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297636:(.text+0x7fcce): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297636:(.text+0x7fcda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x7fd30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x7fd38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x7fdfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297519:(.text+0x7fe6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297459:(.text+0x7febe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x7fef4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7ff00): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x7ff28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297419:(.text+0x7ff54): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297722:(.text+0x7ff60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297422:(.text+0x8007c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297431:(.text+0x80084): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297434:(.text+0x80118): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297431:(.text+0x80158): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297451:(.text+0x8018c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297699:(.text+0x80240): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297578:(.text+0x8024a): undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297647:(.text+0x80274): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297757:(.text+0x80280): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297636:(.text+0x80288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297636:(.text+0x80290): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297533:(.text+0x802d4): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297722:(.text+0x802de): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297601:(.text+0x80300): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_216addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297737:(.text+0x8030a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x8034e): undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8035e): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x80392): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_217addCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297420:(.text+0x80446): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297420:(.text+0x8044c): undefined reference to `PyObject_GC_Track' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x80472): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x8047e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_gettok': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17566:(.text+0x80486): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x8048e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x804ca): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x804d4): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__PyList_PopIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446697:(.text+0x804f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memmove': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:36:(.text+0x80500): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_gettok': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17639:(.text+0x80550): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__PyList_PopIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446704:(.text+0x80584): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257999:(.text+0x80638): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257999:(.text+0x80662): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258012:(.text+0x8066e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257999:(.text+0x80676): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x8067e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258065:(.text+0x806c2): undefined reference to `PyObject_GC_IsFinalized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258065:(.text+0x806cc): undefined reference to `PyObject_CallFinalizerFromDealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258076:(.text+0x806ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258076:(.text+0x806f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x80724): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258117:(.text+0x80758): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258197:(.text+0x80764): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8087a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x80936): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258152:(.text+0x80948): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258060:(.text+0x809ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0x809fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258247:(.text+0x80a06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x80a46): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258247:(.text+0x80a54): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258247:(.text+0x80a62): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258247:(.text+0x80a6e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258030:(.text+0x80b1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258027:(.text+0x80b24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258030:(.text+0x80b2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258030:(.text+0x80b34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x80b3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x80b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x80b64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258017:(.text+0x80b9c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258018:(.text+0x80ba8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258042:(.text+0x80c46): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258198:(.text+0x80c56): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_161setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258035:(.text+0x80c60): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_160setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258140:(.text+0x80c7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258152:(.text+0x80c96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x80cba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x80cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x80cca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x80cd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237016:(.text+0x80d7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237003:(.text+0x80d82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237003:(.text+0x80d88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237069:(.text+0x80de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237080:(.text+0x80e1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x80e60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_122setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237121:(.text+0x80e78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237187:(.text+0x80e8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x80ebc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x80f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x80fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237056:(.text+0x80fc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237053:(.text+0x80fcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x81036): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237167: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x8129e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237021:(.text+0x812c2): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x81332): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237024:(.text+0x8133a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237026:(.text+0x81342): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237044:(.text+0x8135a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237045:(.text+0x81360): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237046:(.text+0x81378): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237040:(.text+0x813a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x813d2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x813dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237080:(.text+0x81414): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_123setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237024:(.text+0x81432): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237022:(.text+0x81464): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237026:(.text+0x8148c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x814de): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219760:(.text+0x81534): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219769:(.text+0x81552): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219769:(.text+0x81566): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x81582): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x81688): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8169a): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219926:(.text+0x816a4): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x816c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x816ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x816e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x816ec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x81722): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x81736): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219844:(.text+0x8179e): undefined reference to `PyExc_ZeroDivisionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x817b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219855:(.text+0x817ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219875:(.text+0x817e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x817f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219720:(.text+0x81836): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219752:(.text+0x81844): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219753:(.text+0x8184a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0x81858): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219903:(.text+0x81880): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x81890): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219930:(.text+0x818a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219930:(.text+0x818a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219930:(.text+0x818ae): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219930:(.text+0x818bc): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219914:(.text+0x8191a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219723:(.text+0x8195c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219723:(.text+0x81964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x8196c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_60setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219890:(.text+0x81a86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_61setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219711:(.text+0x81b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_use_fd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417129:(.text+0x81b9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x81ba2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x81be0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x81bec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x81c46): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_fd_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247130:(.text+0x81ca2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247118:(.text+0x81cfc): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x81d14): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_fd___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247037:(.text+0x81d42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247037:(.text+0x81d52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247040:(.text+0x81d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x81d78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x81d9c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_fd___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247049:(.text+0x81da4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x81e14): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_fd___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247049:(.text+0x81e2a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x81ea4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x81eb4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x81ed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x81efe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x81f6c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_use_mf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417123:(.text+0x81fee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x81ff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_mf_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246956:(.text+0x81ffe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246956:(.text+0x82006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8200e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x8201e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x8202c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x82048): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_mf___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246878:(.text+0x8205c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246878:(.text+0x82064): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246880:(.text+0x8206c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8208c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417089:(.text+0x8219e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x821aa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8220a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417097:(.text+0x82266): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x822c0): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6reason_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246626:(.text+0x822d8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246592:(.text+0x82306): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x82316): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x8231e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417085:(.text+0x8233c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246514:(.text+0x82360): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246514:(.text+0x82368): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x823d8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x823ee): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417087:(.text+0x82468): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x82478): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x82498): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246432:(.text+0x824c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x82530): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246463:(.text+0x825b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246463:(.text+0x825ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246463:(.text+0x825c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246463:(.text+0x825ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_history': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417083:(.text+0x825d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x825e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7history___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246429:(.text+0x825f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8260c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x82620): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246348:(.text+0x82628): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246351:(.text+0x82630): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x82650): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4norm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246383:(.text+0x8279a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x82924): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3its_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246198:(.text+0x8297a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246198:(.text+0x82982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8298c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x82994): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3its_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246221:(.text+0x82a54): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x82a7a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_its': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417055:(.text+0x82b66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417055:(.text+0x82b6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x82b76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x82b80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x82b86): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246117:(.text+0x82b8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246117:(.text+0x82b96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246139:(.text+0x82bc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x82c16): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_9max_funcs_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246027:(.text+0x82c3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246029:(.text+0x82c46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x82c5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x82cde): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x82d08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_9max_funcs_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:246058:(.text+0x82d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_max_funcs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417051:(.text+0x82d5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x82e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_max_funcs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417041:(.text+0x82e54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x82e88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245955: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_ew_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245268:(.text+0x83048): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_ew___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245167:(.text+0x8313c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8318c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6use_ew___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245165:(.text+0x83194): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_use_ew': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416971:(.text+0x831dc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_ksp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416959:(.text+0x8320c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3ksp_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245084:(.text+0x83312): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245084:(.text+0x8331a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245084:(.text+0x83322): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245106:(.text+0x83342): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3ksp___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244994:(.text+0x833c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244994: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8348c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x834b0): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3ksp___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245025:(.text+0x834bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245025:(.text+0x834ca): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_vec_rhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416951:(.text+0x8350a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8359a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_vec_rhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416953:(.text+0x835b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x835c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_vec_rhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416953:(.text+0x835ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416953:(.text+0x835d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x835f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x83752): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_upd___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244839:(.text+0x83768): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x83774): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x837b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_upd___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244827:(.text+0x837c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244748:(.text+0x83804): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x8380c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x83816): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x83834): undefined reference to `PySet_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x838c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244757:(.text+0x838ce): undefined reference to `PySet_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416945:(.text+0x8390a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244678:(.text+0x839de): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_npc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416941:(.text+0x83a0a): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x83a40): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244676:(.text+0x83a48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244583:(.text+0x83aec): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244583:(.text+0x83afa): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x83b26): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x83b34): undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244595:(.text+0x83b46): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244595:(.text+0x83bd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x83bde): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_3npc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244617:(.text+0x83bf4): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x83c5e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x83cd4): undefined reference to `_PyList_Extend' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x83d16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x83d34): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244514:(.text+0x83d50): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x83d64): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x83dca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244537:(.text+0x83dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416915:(.text+0x83de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x83df6): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x83e12): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416917:(.text+0x83f14): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416905:(.text+0x83f40): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x83fa8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x83fc8): undefined reference to `PyList_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8403e): undefined reference to `_PyList_Extend' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244374:(.text+0x84074): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244374:(.text+0x8407c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244374:(.text+0x84084): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244374:(.text+0x8408c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_4SNES_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416913:(.text+0x84096): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244340:(.text+0x840ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x840ca): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x84132): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8413a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x84156): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x84164): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x84198): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416903:(.text+0x841aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244271:(.text+0x841d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244259:(.text+0x841ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244293:(.text+0x841fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244293:(.text+0x8420a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244294:(.text+0x84212): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244259:(.text+0x8422c): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x84238): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x842ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266612:(.text+0x84450): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8445e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8446a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266612:(.text+0x844d6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x844de): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266634:(.text+0x84500): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x84580): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x84642): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266217:(.text+0x8465c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266240:(.text+0x84694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x846a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266205:(.text+0x846ac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x846b4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x84730): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x84748): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x847b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266136:(.text+0x847ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_max_steps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417497:(.text+0x84810): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9max_steps___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266124:(.text+0x84834): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_max_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417485:(.text+0x84848): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x84850): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8max_time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266043:(.text+0x8485c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266043:(.text+0x8486c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266046:(.text+0x84874): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_max_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417493:(.text+0x8490e): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x84924): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8492c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8max_time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266077:(.text+0x84980): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x849c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x84a78): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x84a84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x84b2a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8max_time___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265962:(.text+0x84b32): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x84cd4): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_step_number': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417467:(.text+0x84cea): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x84cfc): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_11step_number___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265803:(.text+0x84d0c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265812:(.text+0x84d60): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x84ed4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x84ee2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x84ef2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x84f4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9time_step_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265731:(.text+0x84f5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x84fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x84fce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x85002): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8503a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x85046): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8504e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9time_step___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265650:(.text+0x85054): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265650:(.text+0x8505a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9time_step___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265672:(.text+0x85102): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_time_step': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417455:(.text+0x85122): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8512a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_9time_step___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265638:(.text+0x85134): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x85142): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265557:(.text+0x85162): undefined reference to `PyNumber_InPlaceAdd' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8519c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x851aa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265569:(.text+0x851ca): undefined reference to `PyNumber_InPlaceAdd' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8520a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8523c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x85266): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265591:(.text+0x85290): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417441:(.text+0x853b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265476:(.text+0x853fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_time': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417441:(.text+0x85418): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417441:(.text+0x85424): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4time___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265476:(.text+0x8543c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417435:(.text+0x85454): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x85496): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_7vec_sol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265406:(.text+0x854be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x854d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417437:(.text+0x854f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x85506): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x85528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x85530): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_vec_sol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417437:(.text+0x85584): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265394: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4snes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265230:(.text+0x8573a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x85756): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x85762): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x857f8): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4snes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265242:(.text+0x85816): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265230:(.text+0x85828): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8585c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x858de): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8590c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x85918): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8596a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8597a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x85982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265161:(.text+0x8598a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265161:(.text+0x85992): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265068:(.text+0x85a28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265071:(.text+0x85a3e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x85a58): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x85a6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x85a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265080:(.text+0x85b12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265102:(.text+0x85b38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265102:(.text+0x85b3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265102:(.text+0x85b46): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_equation_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417415:(.text+0x85b58): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x85b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_13equation_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:265068:(.text+0x85b68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x85b7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x85b92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264987:(.text+0x85b9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x85ba2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264990:(.text+0x85baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_problem_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417411:(.text+0x85c52): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x85ce4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x85cfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_problem_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417399:(.text+0x85d26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264906:(.text+0x85d2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x85d36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264906:(.text+0x85d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x85d52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x85da0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x85dac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x85dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x85e26): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12problem_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264940:(.text+0x85e32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x85e60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_dm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417389:(.text+0x85e86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x85f68): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x85f74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2dm_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264859:(.text+0x85fb6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264859:(.text+0x85fc8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x86088): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264756:(.text+0x86094): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264756:(.text+0x8609c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x860a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x860f2): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x860fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264756:(.text+0x86114): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264756:(.text+0x8611c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x86122): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2dm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264744:(.text+0x8612e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x86192): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264666:(.text+0x861be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x861ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2TS_appctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417383:(.text+0x8624c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8625a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8628a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264675:(.text+0x8629c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x862a6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264697:(.text+0x862b8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264698:(.text+0x8631c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x86360): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x86372): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x8637a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x86384): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x863b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x863c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x863fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x86408): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x86464): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6reason___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281254:(.text+0x86496): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281257:(.text+0x864ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x864c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_reason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417891:(.text+0x865c0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8function___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281087:(.text+0x8660c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x86622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8663a): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x86650): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x866f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8function___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281087:(.text+0x866fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281121:(.text+0x86704): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281121:(.text+0x8670c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8679e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:643: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8683c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_9objective___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281005:(.text+0x86864): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x868ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x86922): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8solution___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280935:(.text+0x869ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x86a7c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x86a84): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_3its___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280683:(.text+0x86a90): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280683:(.text+0x86a9c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x86aa8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_its': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417863:(.text+0x86ad2): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417863:(.text+0x86b5c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x86b68): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_ctol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417847:(.text+0x86b8a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x86c84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x86c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280455:(.text+0x86cb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_ctol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417849:(.text+0x86cbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x86ce6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6appctx_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279761:(.text+0x87148): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x87168): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x87188): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x871c4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x87314): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279689:(.text+0x8732a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8734e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x87376): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279689:(.text+0x873aa): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x873c4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8743c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298094:(.text+0x87448): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x874bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x874d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x87502): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x87514): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298103:(.text+0x8752c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298091:(.text+0x87548): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_2DM_ds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418224:(.text+0x87576): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298091:(.text+0x87588): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x875a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x875b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298010:(.text+0x875ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298010: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298013:(.text+0x875e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8761a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2ds___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298022:(.text+0x8762c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x87636): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2DM_ds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418214:(.text+0x8766a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x877cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x878d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297851:(.text+0x878e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297851:(.text+0x878ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x87a06): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_6appctx___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297848:(.text+0x87a12): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367058:(.text+0x87a2c): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x87a38): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x87a6e): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x87a78): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367111:(.text+0x87a88): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x87aac): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x87abe): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x87b2c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x87b38): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x87b52): undefined reference to `PyUnicode_DecodeASCII' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x87b5e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367261:(.text+0x87bc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367261:(.text+0x87bc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367263:(.text+0x87bd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x87c2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x87c56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x87d68): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x87dac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x87db4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x87dca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x87e96): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x87eac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_setcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367272:(.text+0x87f1e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_ghost_corners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421451:(.text+0x87f64): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336239:(.text+0x88086): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x880a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336205:(.text+0x880b6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336123:(.text+0x880da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x88120): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8814c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336157:(.text+0x881e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_stencil_width': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421445:(.text+0x882f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x883e2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x883ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x88434): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x88454): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x884ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14boundary_types___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335877:(.text+0x88506): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335880:(.text+0x88520): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335880:(.text+0x8852c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_boundary_types': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421437:(.text+0x88628): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14boundary_types___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335877:(.text+0x88644): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335798:(.text+0x88684): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8869a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x886c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335807:(.text+0x886d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_local_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421429:(.text+0x8888c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x888c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_11local_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335713:(.text+0x888d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_12global_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335643:(.text+0x889a4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335665:(.text+0x88a3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335665:(.text+0x88a4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x88a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_19entries_per_element___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335552:(.text+0x88ab4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x88b1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_19entries_per_element___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335563:(.text+0x88b26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x88b2e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_19entries_per_element___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335583:(.text+0x88ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335583:(.text+0x88bb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x88bd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x88c10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_4dofs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335472:(.text+0x88c2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x88c36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x88c48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_4dofs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335479:(.text+0x88c64): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335479:(.text+0x88c70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x88c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_dofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421417:(.text+0x88c9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x88cd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_6DMStag_dofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421417:(.text+0x88d2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_4dofs___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335467:(.text+0x88d44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_3dim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335388:(.text+0x88d86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x88efe): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x88f4a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x88f58): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_16getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331809:(.text+0x88f66): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x88f9e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_17getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331770:(.text+0x89064): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331770:(.text+0x89074): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331770:(.text+0x89082): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331769:(.text+0x8908a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_16getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331797:(.text+0x8909a): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307459:(.text+0x89136): undefined reference to `PyUnicode_Join' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x89146): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307466:(.text+0x89168): undefined reference to `PyUnicode_AsASCIIString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8918c): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8919a): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x891d4): undefined reference to `PyBytes_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x891e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x89204): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13ghost_corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307488:(.text+0x89226): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x892ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x892f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307386:(.text+0x892fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x89302): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8934a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307384:(.text+0x8935a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x893a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x893aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7corners___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307372:(.text+0x893b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x893ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x893c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421024: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x894ae): undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12ghost_ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307324:(.text+0x894dc): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x89544): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307211:(.text+0x89554): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8958e): undefined reference to `_PyBytes_Join' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307220:(.text+0x8959a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x895ba): undefined reference to `PyBytes_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6ranges___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307242:(.text+0x89650): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307242:(.text+0x89658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307243:(.text+0x89660): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307208:(.text+0x89678): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307208:(.text+0x89680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil_width': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421016:(.text+0x89694): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13stencil_width___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307126:(.text+0x896a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307129:(.text+0x896c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8977c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8978e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13stencil_width___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307160:(.text+0x897b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307160:(.text+0x897be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421014:(.text+0x898a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x898d8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7stencil___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306965:(.text+0x89982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x899a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x899f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7stencil___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306976:(.text+0x899f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x899fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421010:(.text+0x89a04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x89a16): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_stencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421010:(.text+0x89a2a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x89a36): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7stencil___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306996:(.text+0x89a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306996:(.text+0x89a82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x89a9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_7stencil___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306962:(.text+0x89aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306962:(.text+0x89aae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_boundary_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421004:(.text+0x89ac0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13boundary_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306880:(.text+0x89ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x89ad8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x89ade): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13boundary_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306883:(.text+0x89ae4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x89af6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x89b00): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x89b0c): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x89b4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x89b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x89ba6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x89bc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13boundary_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306914:(.text+0x89bde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306914:(.text+0x89bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306914:(.text+0x89bf0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_boundary_type': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421006:(.text+0x89bfe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_13boundary_type___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306880:(.text+0x89c18): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x89c8c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306810:(.text+0x89c98): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x89cce): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x89ce2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_proc_sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421002:(.text+0x89cf8): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_10proc_sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306810:(.text+0x89d1a): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x89d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_5sizes___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306716:(.text+0x89dae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306721:(.text+0x89dc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x89dce): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x89dde): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x89e0c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x89eec): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x89f32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x89f6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x89f72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x89f82): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x89ff8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_3dof___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306668:(.text+0x8a010): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_dof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420994:(.text+0x8a02a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8a036): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_3dim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306555:(.text+0x8a07e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306555:(.text+0x8a08a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8a098): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8a0b8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8a0d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x8a0ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8a136): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8a13c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8a144): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_3dim___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306552:(.text+0x8a16c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306586:(.text+0x8a17a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4DMDA_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420990:(.text+0x8a190): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_7getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301277:(.text+0x8a1be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8a1d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301313:(.text+0x8a218): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301313:(.text+0x8a220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x8a228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8a230): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8a25c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301322:(.text+0x8a262): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8a284): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301324:(.text+0x8a28c): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8a296): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301322:(.text+0x8a2da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301322:(.text+0x8a2fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_7getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301283:(.text+0x8a380): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301283:(.text+0x8a386): undefined reference to `PyExc_ImportError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_6getDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301310:(.text+0x8a39a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8a3c4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8a3e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8a468): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8a49a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8a5aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8a5fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_10active_all___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83405:(.text+0x8a60a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8a644): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x8a660): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogEvent_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420693:(.text+0x8a71c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8a728): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8a812): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83133:(.text+0x8a82a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83155:(.text+0x8a868): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8a87e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x8a8aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogEvent_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420689:(.text+0x8a8b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8a8cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83043:(.text+0x8a8e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8aaa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogEvent_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420677:(.text+0x8aae2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8aaee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x8abb4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8ac50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8ac96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81676:(.text+0x8ad24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x8ad2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81679:(.text+0x8ad34): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8ad56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x8ad5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x8ad66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8ad9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8adb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8ade8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8adfa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8ae14): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81676:(.text+0x8ae20): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81710:(.text+0x8ae3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogClass_name': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420469:(.text+0x8ae78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81208:(.text+0x8aee0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8aef6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8af12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8b022): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x8b02e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8b03a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogStage_visible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420282:(.text+0x8b09c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_7visible_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80739:(.text+0x8b0ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0x8b158): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_7visible_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80762:(.text+0x8b16a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_visible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420272:(.text+0x8b21e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_7visible___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80658:(.text+0x8b264): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80680:(.text+0x8b28a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_visible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420272:(.text+0x8b2a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_7visible___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80646:(.text+0x8b2be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80355:(.text+0x8b2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80355:(.text+0x8b2f4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8b314): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x8b31c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8b33e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80367:(.text+0x8b34e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8b356): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80389:(.text+0x8b416): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_8LogStage_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420268:(.text+0x8b426): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80277:(.text+0x8b49a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8b4c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8b4d0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8b4e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8b4ee): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_8LogStage_active': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420258:(.text+0x8b512): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420258:(.text+0x8b51a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:420258:(.text+0x8b530): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8b54e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6active___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80308:(.text+0x8b588): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x8b5e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_4name___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79786:(.text+0x8b712): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8b71e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_8__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71104:(.text+0x8b766): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x8b7e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x8b810): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x8b844): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8b84c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8b854): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8b85c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_10__delitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71214:(.text+0x8b8b2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8b8fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8b92c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8b9a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8b9b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_8__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71138:(.text+0x8b9fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8ba06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x8ba30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_8__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71142:(.text+0x8ba66): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8bb56): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_6__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71017:(.text+0x8bbc2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71020:(.text+0x8bbd4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_7__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70996:(.text+0x8bc4e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70996:(.text+0x8bc5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8bc8e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_6__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71029:(.text+0x8bc9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_7__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70996:(.text+0x8bcd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70996:(.text+0x8bce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8bd58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8bdf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_max_it': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416642:(.text+0x8be00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416642: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8be38): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6max_it___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:227134:(.text+0x8be92): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8beb0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x8befc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6divtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226968:(.text+0x8bf04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226968:(.text+0x8bf10): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8bf34): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x8bf3a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8bf4c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_divtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416628:(.text+0x8bfb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6divtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226979:(.text+0x8c074): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8c0ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x8c0ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226820:(.text+0x8c12c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8c148): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8c156): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8c160): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8c188): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416614:(.text+0x8c196): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8c1a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8c1ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226822:(.text+0x8c1dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8c28c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226654:(.text+0x8c2be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x8c2d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8c2ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8c2f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416600:(.text+0x8c36a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226665:(.text+0x8c3d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226688:(.text+0x8c3f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:226651:(.text+0x8c410): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_pc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225850:(.text+0x8c504): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8c510): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8c53c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_mat_pc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416536:(.text+0x8c54e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8c556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_pc___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225850:(.text+0x8c594): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225873:(.text+0x8c5ce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_mat_pc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416536:(.text+0x8c5da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8c6f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8c758): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8c77c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_op___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225788:(.text+0x8c7a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3KSP_mat_op': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416532:(.text+0x8c7ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6mat_op___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225751:(.text+0x8c7ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225765:(.text+0x8c7e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8c7fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8c814): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8ca10): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8ca1c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x8ca48): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8ca5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x8ca62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8caa0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_stol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417013:(.text+0x8cada): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8cae6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245475:(.text+0x8cc06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8cc6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245489:(.text+0x8cc92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416999:(.text+0x8ccb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8ccd0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_4SNES_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416999:(.text+0x8cce4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8ccfa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8cd12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245509:(.text+0x8cd2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8ceee): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245352:(.text+0x8cf18): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245327:(.text+0x8cf4a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245327:(.text+0x8cf5c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245329:(.text+0x8cf66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8cf70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:245329:(.text+0x8cf76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8cf8a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8cf90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8cfe6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x8cff2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4atol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266455:(.text+0x8d018): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8d024): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8d042): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8d054): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8d05e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_atol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417525:(.text+0x8d070): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d0a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8d0ac): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8d14c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417509:(.text+0x8d176): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8d18a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266289:(.text+0x8d1a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x8d1b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8d1c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8d1d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266303:(.text+0x8d22a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d262): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_2TS_rtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417511:(.text+0x8d274): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d288): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8d2a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4rtol___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:266300:(.text+0x8d332): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8d35c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8gradient___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281174:(.text+0x8d38e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8d3a0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x8d3aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8d3b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8d3ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8d3ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8d3d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8d40a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d434): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8d466): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x8d478): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8d482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8gradient___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281183:(.text+0x8d48c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281183:(.text+0x8d492): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281206:(.text+0x8d4a6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281206:(.text+0x8d4ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281181:(.text+0x8d4f2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8d56e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x8d57a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x8d586): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8d5f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_cnorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417871:(.text+0x8d606): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d612): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8d65c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_cnorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417871:(.text+0x8d692): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8d6a2): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_5cnorm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280838:(.text+0x8d6b0): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d6fa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8d706): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8d722): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_5gnorm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280756:(.text+0x8d72e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8d7b2): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8d7d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_getprop_8petsc4py_5PETSc_3TAO_gnorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417867:(.text+0x8d7de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417867:(.text+0x8d7e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d7ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8d7f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8d81a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_5gnorm___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280790:(.text+0x8d850): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8d8bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24266:(.text+0x8d8f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8d900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24288:(.text+0x8d908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24288: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8d932): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24302:(.text+0x8d93e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8d9aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8d9fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x8da08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8da4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8dabc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8dad0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8dae4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8db12): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24266:(.text+0x8db26): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_2__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119166:(.text+0x8db64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_3__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119130:(.text+0x8db70): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_5__neg__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119184:(.text+0x8db82): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_neg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24385:(.text+0x8db8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_5__neg__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119193:(.text+0x8dbfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_neg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24426:(.text+0x8dc1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24426:(.text+0x8dc20): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8dcc8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8dcf2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_div': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25480:(.text+0x8dd24): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25486:(.text+0x8dd36): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25459:(.text+0x8dd40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8dd4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8dd50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_26__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120074:(.text+0x8dd64): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_27__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120045:(.text+0x8dd6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_26__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120086:(.text+0x8ddc0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120087:(.text+0x8ddcc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120076:(.text+0x8ddee): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120111:(.text+0x8ddfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_rdiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25692:(.text+0x8de0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8de20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_26__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120086:(.text+0x8de6c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120086:(.text+0x8de78): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120087:(.text+0x8defc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_rdiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25733:(.text+0x8df26): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8df3a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120112:(.text+0x8df54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8df68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x8df74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25386:(.text+0x8df86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8dfde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25431:(.text+0x8e016): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8e028): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_22__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119864:(.text+0x8e03c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x8e056): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_rmul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25640:(.text+0x8e0e6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_22__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119902:(.text+0x8e110): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119901:(.text+0x8e142): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119876:(.text+0x8e154): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119876:(.text+0x8e15e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119876:(.text+0x8e168): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119877:(.text+0x8e16e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8e182): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x8e188): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_abs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24477:(.text+0x8e1de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8e1ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_7__abs__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119256:(.text+0x8e20c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8e218): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_7__abs__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119256:(.text+0x8e22c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_abs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24503:(.text+0x8e23e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x8e28a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_abs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24503:(.text+0x8e296): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_REFCNT': /usr/include/python3.12/object.h:263:(.text+0x8e31a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100583:(.text+0x8e344): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8e358): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x8e372): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8e386): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100592:(.text+0x8e392): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8e3a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_Device': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413661:(.text+0x8e3fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8e434): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8e446): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8e45a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8e474): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8e504): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413780:(.text+0x8e52e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_REFCNT': /usr/include/python3.12/object.h:263:(.text+0x8e560): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8e572): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101626:(.text+0x8e57c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101629:(.text+0x8e586): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101629:(.text+0x8e58c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8e5a0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x8e5a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8e5fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8e608): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_REFCNT': /usr/include/python3.12/object.h:263:(.text+0x8e62a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413791:(.text+0x8e636): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413793:(.text+0x8e64a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413794:(.text+0x8e65c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8e6a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8e6b4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8e738): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421923:(.text+0x8e762): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421931:(.text+0x8e776): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_REFCNT': /usr/include/python3.12/object.h:263:(.text+0x8e790): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8e7a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_2__dealloc__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359333:(.text+0x8e7b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359336:(.text+0x8e7c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8e816): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8e84e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_REFCNT': /usr/include/python3.12/object.h:263:(.text+0x8e860): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_dealloc_8petsc4py_5PETSc_DMInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421935:(.text+0x8e874): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421938:(.text+0x8e88e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421938:(.text+0x8e93e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421938:(.text+0x8e94a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8e96c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124698:(.text+0x8e978): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124698:(.text+0x8e98c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124698:(.text+0x8e99e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124741:(.text+0x8e9ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124755:(.text+0x8e9f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124836:(.text+0x8ea7a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124919:(.text+0x8eaa4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8eab8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124964:(.text+0x8ead2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8eae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124857:(.text+0x8eaf2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8eb04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8eb58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124771:(.text+0x8eb90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124986:(.text+0x8eba2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124996:(.text+0x8ebb6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125073:(.text+0x8ebd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8ec60): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8ec8a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125197:(.text+0x8ecbc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125206:(.text+0x8ecce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_enum____pyx_t_8petsc4py_5PETSc_PetscDLDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454956:(.text+0x8ecd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125216:(.text+0x8ece2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x8ece8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x8ecfc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x8ed02): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x8ed58): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125239:(.text+0x8ed64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8ed86): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8ed92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124750:(.text+0x8eda6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124741:(.text+0x8edb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124761:(.text+0x8ee04): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124761:(.text+0x8ee10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125272:(.text+0x8ee94): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124886:(.text+0x8eebe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124886:(.text+0x8eed2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8eeec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124890:(.text+0x8ef00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125016:(.text+0x8ef0c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125026:(.text+0x8ef1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124727:(.text+0x8ef72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8efaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124996:(.text+0x8efbc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124996:(.text+0x8efd0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125047:(.text+0x8efea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8f07a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124942:(.text+0x8f0a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8f0d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124946:(.text+0x8f0e8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124964:(.text+0x8f0f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124964:(.text+0x8f0fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124964:(.text+0x8f102): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124723:(.text+0x8f116): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124718:(.text+0x8f11c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124723:(.text+0x8f172): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124724:(.text+0x8f17e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8f1a0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125082:(.text+0x8f1ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125082:(.text+0x8f1c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125084:(.text+0x8f1d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8f21e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125096:(.text+0x8f22a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8f2ae): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8f2d8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125155:(.text+0x8f2ec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8f306): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124855:(.text+0x8f31a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125170:(.text+0x8f326): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125170:(.text+0x8f338): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125216:(.text+0x8f390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125239:(.text+0x8f3c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8f3da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8f3ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8f408): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125102:(.text+0x8f498): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8f4c2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_64attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125047:(.text+0x8f4f4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124771:(.text+0x8f506): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124771:(.text+0x8f510): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x8f51a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_65attachDLPackInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124716:(.text+0x8f520): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124716:(.text+0x8f534): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124716:(.text+0x8f53a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x8f590): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405445:(.text+0x8f59c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x8f5be): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405447:(.text+0x8f5ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405450:(.text+0x8f5de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8f5f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405479:(.text+0x8f63c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405479:(.text+0x8f648): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8f6cc): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8f6f6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405445:(.text+0x8f70a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x8f724): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8f738): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8f744): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x8f756): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8f7aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402475:(.text+0x8f7e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402500:(.text+0x8f7f4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x8f808): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8f822): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408140:(.text+0x8f8b2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402562:(.text+0x8f8dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408254:(.text+0x8f90e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408256:(.text+0x8f920): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408256:(.text+0x8f92a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408256:(.text+0x8f934): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8f93a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8f94e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408259:(.text+0x8f954): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408381:(.text+0x8f9aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408381:(.text+0x8f9b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8f9d8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x8f9e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402597:(.text+0x8f9f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8fa0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408226:(.text+0x8fa56): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8fa62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402529:(.text+0x8fae6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408301:(.text+0x8fb10): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408303:(.text+0x8fb24): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x8fb3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408306:(.text+0x8fb52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x8fb5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8fb70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408144:(.text+0x8fbc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8fbfc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408306:(.text+0x8fc0e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408306:(.text+0x8fc22): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x8fc3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8fccc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402516:(.text+0x8fcf6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408303:(.text+0x8fd28): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x8fd3a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8fd44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x8fd4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x8fd54): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402597:(.text+0x8fd68): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402597:(.text+0x8fd6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pybuffer_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408256:(.text+0x8fdc4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408256:(.text+0x8fdd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_get_item_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402543:(.text+0x8fdf2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402516:(.text+0x8fdfe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x8fe12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x8fe24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/cpython/listobject.h:34:(.text+0x8fe70): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/listobject.h:34:(.text+0x8fe7c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_String': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16811:(.text+0x8ff00): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16811:(.text+0x8ff2a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16754:(.text+0x8ff3e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16805:(.text+0x8ff58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16784:(.text+0x8ff6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16786:(.text+0x8ff78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16786:(.text+0x8ff8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16805:(.text+0x8ffe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9001a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9002c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_String': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16811:(.text+0x90040): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_13getDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101098:(.text+0x9005a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21695:(.text+0x900ea): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x90114): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447080:(.text+0x90146): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447082:(.text+0x90158): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x90162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9016c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x90172): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x90186): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x9018c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_12getDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101140:(.text+0x901b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x901dc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447084:(.text+0x901e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_12getDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101157:(.text+0x9032e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21733:(.text+0x9034e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21733:(.text+0x9035a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21734:(.text+0x9036c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x903d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x903e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21754:(.text+0x903f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x90404): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21734:(.text+0x90442): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x90476): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x904a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x904d2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x904e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x904ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x904f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x904fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x90512): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x90518): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9056e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9057a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_12getDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101130:(.text+0x9059c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x905a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21793:(.text+0x905bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21792:(.text+0x905ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21751:(.text+0x9061a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21751:(.text+0x90626): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_7getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101765:(.text+0x906aa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x906d4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_7getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101769:(.text+0x906e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101797:(.text+0x90702): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22049:(.text+0x90716): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22049:(.text+0x90722): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22029:(.text+0x90734): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9078c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22070:(.text+0x907c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x907d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x907ea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22074:(.text+0x90804): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_7getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101771:(.text+0x90894): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x908be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22090:(.text+0x908f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x90902): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22089:(.text+0x9090c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x90916): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9091c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22099:(.text+0x90930): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22090:(.text+0x90936): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_6getStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101816:(.text+0x90980): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x90a10): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x90a48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x90a50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x90a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x90a6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22139:(.text+0x90ac8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x90b00): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x90b12): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x90b16): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x90b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x90b2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x90b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x90b58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22074:(.text+0x90b98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22074:(.text+0x90ba4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x90be4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x90c0e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22161:(.text+0x90c22): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22159:(.text+0x90c32): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22114:(.text+0x90c44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22114:(.text+0x90c48): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22116:(.text+0x90c5c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22119:(.text+0x90c70): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x90cba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x90cc6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26166:(.text+0x90d0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x90d38): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x90d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x90da4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x90db6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x90dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x90dca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14968:(.text+0x90ddc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x90e1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13667:(.text+0x90ed6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x90f4c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x90f9c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x9106e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26322:(.text+0x910aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26322:(.text+0x910b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9115c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14701:(.text+0x9116a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9117c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x91180): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447261:(.text+0x911bc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9120c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13684:(.text+0x9121c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13684:(.text+0x9122e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13684:(.text+0x91232): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9125c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x91288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9129c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26327:(.text+0x912a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26364:(.text+0x9130a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30347:(.text+0x91380): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30347:(.text+0x9138c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30358:(.text+0x9141a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x91434): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x9143c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x914f2): undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_pos': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30374:(.text+0x91514): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x91520): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_3__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156231:(.text+0x9153a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_2__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156259:(.text+0x9154c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_3__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156240:(.text+0x91550): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_2__pos__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156276:(.text+0x91576): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156276:(.text+0x9157c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x915d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x915e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_neg': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30451:(.text+0x91632): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_5__neg__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156303:(.text+0x91666): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9169e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x916ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x916e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35208:(.text+0x91706): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35208:(.text+0x91712): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ofarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15215:(.text+0x91746): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15215:(.text+0x91750): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_DATA': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1526:(.text+0x91768): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x91870): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35272:(.text+0x918b2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35276:(.text+0x918dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35298:(.text+0x9190e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x91920): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x9192a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35309:(.text+0x91934): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35309:(.text+0x9193a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9194e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x91954): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35268:(.text+0x91994): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x919b0): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x919f6): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x91a02): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.12/object.h:798:(.text+0x91a1e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x91a3c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x91a4e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x91a6c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35270:(.text+0x91a7e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x91a9c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x91aac): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x91aca): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x91ada): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x91af8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x91b08): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x91b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35270:(.text+0x91baa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35270:(.text+0x91bbc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410810:(.text+0x91bc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410810:(.text+0x91bc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410810:(.text+0x91bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410821:(.text+0x91bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410821:(.text+0x91be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x91bea): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410833:(.text+0x91bf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0x91c02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0x91c0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x91c12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x91c44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x91c8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x91cc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x91cfc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410881:(.text+0x91d08): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x91da0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x91db2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x91dba): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_dim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410852:(.text+0x91ddc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x91e74): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_7__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79467:(.text+0x91ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x91f1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_7__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79481:(.text+0x91f88): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79481:(.text+0x91f9a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79481:(.text+0x91f9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79481:(.text+0x91fa6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x91fb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x91fbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_7__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79472:(.text+0x91fd0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__PyObject_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448680:(.text+0x91fec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_CallMethod0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448665:(.text+0x91ff8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448665:(.text+0x9200c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79516:(.text+0x92042): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448691:(.text+0x920b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x920ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448691:(.text+0x920ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x92136): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406293:(.text+0x92212): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406505:(.text+0x9221e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9224e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x92278): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x922b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x92306): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406442:(.text+0x92318): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406442:(.text+0x9231c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406447:(.text+0x92322): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x92374): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406322:(.text+0x923c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406525:(.text+0x9243a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406526:(.text+0x92446): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406549:(.text+0x92476): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:44:(.text+0x924a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Extend': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3875:(.text+0x924dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406574:(.text+0x9252e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406582:(.text+0x92540): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406582:(.text+0x92544): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406582:(.text+0x9254a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x9259c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x925ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x92680): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9268c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406615:(.text+0x926c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x926e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x92704): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x9283c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:44:(.text+0x9284e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x9286a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406373:(.text+0x92876): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x9291a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406459:(.text+0x92924): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x92978): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406338:(.text+0x92988): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406292:(.text+0x929c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406292:(.text+0x929d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406296:(.text+0x929dc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406298:(.text+0x929ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406298:(.text+0x929f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406409:(.text+0x929fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406338:(.text+0x92a2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x92a66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x92a78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x92a92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406370:(.text+0x92ada): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x92b58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_unellipsify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406554:(.text+0x92bee): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406554:(.text+0x92bf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x92c4e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x92db4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402906:(.text+0x92dc0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402916:(.text+0x92e1c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423319:(.text+0x92f54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x92f66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x92f82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x92f8e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423319:(.text+0x93006): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423319:(.text+0x93010): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402851:(.text+0x93066): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402869:(.text+0x93076): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNoneNotIterableError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449006:(.text+0x930b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402892:(.text+0x930be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x930fa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402876:(.text+0x9310c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402876:(.text+0x93110): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402817:(.text+0x93118): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9314e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9316e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402991:(.text+0x93180): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402916:(.text+0x9319a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402965:(.text+0x931e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402880:(.text+0x93260): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419417:(.text+0x932d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419421:(.text+0x932e8): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419430:(.text+0x9333e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x93480): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58400:(.text+0x934be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58400:(.text+0x934ca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58411:(.text+0x93508): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58462:(.text+0x93524): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58442:(.text+0x93546): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58480:(.text+0x93568): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58489:(.text+0x9358a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58490:(.text+0x9359c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58537:(.text+0x935a4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58549:(.text+0x935c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58645:(.text+0x935e2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58645:(.text+0x935ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x936ae): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58821:(.text+0x93756): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x93768): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x9376c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x93774): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x93786): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x93798): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9379c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x937a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419434:(.text+0x93812): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419432:(.text+0x93824): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419433:(.text+0x93828): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58303:(.text+0x93830): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__DMDA_Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419423:(.text+0x93870): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58266:(.text+0x93882): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58266:(.text+0x93886): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58267:(.text+0x9388e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58267:(.text+0x9389c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58284:(.text+0x938d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58268:(.text+0x9396c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58277:(.text+0x93990): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58296:(.text+0x939a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58296:(.text+0x939ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x939ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x939e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x939fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x93a10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x93a52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58865:(.text+0x93a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58865:(.text+0x93a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x93a90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x93a9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x93aa4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x93aae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58292:(.text+0x93ac4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58698:(.text+0x93d38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x93d72): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58431:(.text+0x93d7e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x93e34): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58365:(.text+0x93ed0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x93f2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x93f34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58789:(.text+0x93f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x93f48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58768:(.text+0x93f84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58770:(.text+0x93fa4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x93fb6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x93fba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x93fc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58739:(.text+0x93ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58739:(.text+0x93ffc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58286:(.text+0x9400e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58286:(.text+0x9402a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58360:(.text+0x94036): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58617:(.text+0x9409e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419439:(.text+0x940b6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58268:(.text+0x94142): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x941b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x9422a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x94244): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14staticproperty___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100233:(.text+0x94264): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x942a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x942a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x942b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x942bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x942c2): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14staticproperty___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100240:(.text+0x942d0): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x942fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14staticproperty_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100150:(.text+0x9435c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x943ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14staticproperty_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100191:(.text+0x94456): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100195:(.text+0x94498): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100195:(.text+0x944a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14staticproperty___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100230:(.text+0x94502): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x94510): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9453c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14staticproperty_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100180:(.text+0x94560): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x94582): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x945a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x945e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x94630): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9463c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14staticproperty_1__get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100175:(.text+0x9464e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100175:(.text+0x94656): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82239:(.text+0x94750): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82242:(.text+0x9475c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9476e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x94772): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x9477a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x947ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x947b8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82253:(.text+0x947ca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x947ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x947d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9480c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9481c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9482e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x94832): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9483a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9484c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_7__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82219:(.text+0x9485e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82219:(.text+0x94862): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9486a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_6__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82239:(.text+0x9489c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_7__exit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82210:(.text+0x948d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9493e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x9497a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_event_args2objs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19874:(.text+0x9498c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19874:(.text+0x949a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x949b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_8begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82349:(.text+0x94a50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_9begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82306:(.text+0x94a70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_event_args2objs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19885:(.text+0x94a90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/tupleobject.h:23: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x94b0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x94bd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_8begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82346:(.text+0x94be2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x94bec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x94d5c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169435:(.text+0x94d68): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x94de6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_162isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169535:(.text+0x94e54): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169465:(.text+0x94e66): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169465:(.text+0x94e6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169465:(.text+0x94e78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169409:(.text+0x94ea4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169409:(.text+0x94eb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x94f28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169455:(.text+0x94f36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x94f48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x94f64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_162isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169550:(.text+0x94f96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x94fbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_162isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169550:(.text+0x95000): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9511a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x95126): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_163isTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169465:(.text+0x95148): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410986:(.text+0x951e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410986:(.text+0x951ec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410928:(.text+0x95234): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0x95240): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x95252): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x95256): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410932:(.text+0x9525e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9528a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410949:(.text+0x952c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x952dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410986:(.text+0x952ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410941:(.text+0x953a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memslice_transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408488:(.text+0x95454): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408499:(.text+0x95460): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408552:(.text+0x95482): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404574:(.text+0x9551a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404585:(.text+0x95526): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9556e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409608:(.text+0x9557a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409608:(.text+0x9558c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409608:(.text+0x95590): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409608:(.text+0x95598): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404574:(.text+0x955c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404610:(.text+0x95602): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x95616): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404610:(.text+0x95628): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411176:(.text+0x956dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410772:(.text+0x9578e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9579a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x957bc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411573:(.text+0x95854): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411573:(.text+0x95860): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_get_array_memory_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449901:(.text+0x958a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449901:(.text+0x958b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449909:(.text+0x958c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449908:(.text+0x958ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449901:(.text+0x958d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411244:(.text+0x958fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9593c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_err_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410772:(.text+0x95950): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410772:(.text+0x95962): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x95a16): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411273:(.text+0x95ac8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411273:(.text+0x95ad4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449883:(.text+0x95af6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_data_to_temp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410586:(.text+0x95bd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_fill_contig_strides_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410361:(.text+0x95be4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_data_to_temp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410627:(.text+0x95c2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `copy_strided_to_strided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410252:(.text+0x95caa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410252:(.text+0x95cbc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411301:(.text+0x95cc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411311:(.text+0x95cc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411311:(.text+0x95ce4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411311:(.text+0x95cf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411339:(.text+0x95d04): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411339:(.text+0x95d16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449883:(.text+0x95db8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `copy_strided_to_strided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410252:(.text+0x95e88): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_copying': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411716:(.text+0x95e94): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411883:(.text+0x95ec8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x95eea): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_objects_in_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411894:(.text+0x95f0c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411378:(.text+0x95f2c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449875:(.text+0x95f4e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449883: more undefined references to `PyLong_AsLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memviewslice_is_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449885:(.text+0x95fd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_get_array_memory_extents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449900:(.text+0x95fea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_refcount_copying': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411707:(.text+0x96024): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411707:(.text+0x96030): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_data_to_temp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410704:(.text+0x960a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410706:(.text+0x960b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410706:(.text+0x960b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_contents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:411301:(.text+0x960be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_data_to_temp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410528:(.text+0x9614e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410555:(.text+0x96160): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410555:(.text+0x96164): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410555:(.text+0x9616c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_39getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333063:(.text+0x96188): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9619a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9619e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x961a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_38getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333143:(.text+0x961f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333153:(.text+0x96202): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333153:(.text+0x96206): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62455:(.text+0x9620e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_39getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333075:(.text+0x9624e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62403:(.text+0x96260): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x96272): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62419:(.text+0x96276): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62483:(.text+0x962aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62388:(.text+0x962d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x962e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62419:(.text+0x962f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62373:(.text+0x962f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x9630a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62419:(.text+0x9631c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62373:(.text+0x96320): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62512:(.text+0x96352): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x9635e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_38getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333153:(.text+0x96370): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333153:(.text+0x96374): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62459:(.text+0x963a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_39getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333068:(.text+0x963d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333069:(.text+0x963ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_38getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333170:(.text+0x9642a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_39getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333074:(.text+0x96440): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x96452): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9646a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_38getBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333143:(.text+0x9647e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x964c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62479:(.text+0x964ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62375:(.text+0x964d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x964de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62390:(.text+0x965e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x965ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62510:(.text+0x965f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x96602): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x9660c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62508: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401224:(.text+0x967be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401226:(.text+0x967ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0x967ec): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x96890): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9689c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x968e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401314:(.text+0x968f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401180:(.text+0x96902): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401180:(.text+0x96906): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401182:(.text+0x9690e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401184:(.text+0x9693a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x96978): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401200:(.text+0x9698c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9699e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x96a52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401226:(.text+0x96b04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x96b10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array_new': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401186:(.text+0x96b32): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x96bd6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x96be2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x96c2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_new_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450826:(.text+0x96c36): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450826:(.text+0x96c48): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450826:(.text+0x96c4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450826:(.text+0x96c54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450829:(.text+0x96c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450839:(.text+0x96cbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450839:(.text+0x96cd2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450884:(.text+0x96ce4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450850:(.text+0x96d98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450871:(.text+0x96e4a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450871:(.text+0x96e56): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450871:(.text+0x96e78): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450845:(.text+0x96f1c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x96f28): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x96f70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_copy_new_contig': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450876:(.text+0x96f7c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x96f8e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x96f92): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x96f9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:798:(.text+0x96fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405853:(.text+0x97004): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405853:(.text+0x97018): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405891:(.text+0x9702a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405891:(.text+0x970de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405797:(.text+0x97190): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405797:(.text+0x9719c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405807:(.text+0x971be): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148995:(.text+0x97262): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148982:(.text+0x9726e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149059:(.text+0x972b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149059:(.text+0x972c2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149060:(.text+0x972d4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149060:(.text+0x972d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149061:(.text+0x972e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149108:(.text+0x9730c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x9734a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9735e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149072:(.text+0x97370): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149057:(.text+0x97424): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149002:(.text+0x974d6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149004:(.text+0x974e2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149012:(.text+0x97504): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149018:(.text+0x975a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149018:(.text+0x975b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149177:(.text+0x975fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149177:(.text+0x97608): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149036:(.text+0x9761a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149036:(.text+0x9761e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149036:(.text+0x97626): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149032:(.text+0x97652): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149020:(.text+0x97690): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149020:(.text+0x976a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149020:(.text+0x976b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149004:(.text+0x9776a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218774:(.text+0x9781c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218774:(.text+0x97828): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218785:(.text+0x9784a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x978ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x978fa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x97942): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9794e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x97960): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x97964): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_48setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218995:(.text+0x9796c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x97998): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_48setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218969:(.text+0x979d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218980:(.text+0x979ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218980:(.text+0x979fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218941:(.text+0x97ab0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218731:(.text+0x97b62): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218736:(.text+0x97b6e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x97b90): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218727:(.text+0x97c34): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218736:(.text+0x97c40): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218755:(.text+0x97c88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218729:(.text+0x97c94): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218729:(.text+0x97ca6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218731:(.text+0x97caa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218736:(.text+0x97cb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x97cde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218745:(.text+0x97d1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_48setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218866:(.text+0x97d30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218932:(.text+0x97d42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_49setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218731:(.text+0x97df6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x97ea8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x97eb4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x97ed6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x97f7a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x97f86): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x97fce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x97fda): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454670:(.text+0x97fec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454670:(.text+0x97ff0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454670:(.text+0x97ff8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454706:(.text+0x98024): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x98062): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_FromSize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464759:(.text+0x98076): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412747:(.text+0x98088): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9813c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412777:(.text+0x981ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412777:(.text+0x981fa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412799:(.text+0x9821c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412842:(.text+0x982c0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412842:(.text+0x982cc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x98314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454678:(.text+0x98320): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454682:(.text+0x98332): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454683:(.text+0x98336): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454683:(.text+0x9833e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412558:(.text+0x9836a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454700:(.text+0x983a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412841:(.text+0x983bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x983ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x98482): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412750:(.text+0x98534): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412502:(.text+0x98540): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412614:(.text+0x98562): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x98606): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412698:(.text+0x98612): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeInfoToFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454693:(.text+0x9865a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412799:(.text+0x98666): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x98678): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412739:(.text+0x9867c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412500:(.text+0x98684): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x986b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x986ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_format_from_typeinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412698:(.text+0x98702): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412698:(.text+0x98714): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x987c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9887a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x98886): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412417:(.text+0x988a8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446844:(.text+0x9894c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x98958): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x989a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412449:(.text+0x989ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x989be): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x989c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x989ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x989f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412487:(.text+0x98a34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x98a48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_unpickle_Enum__set_state': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412428:(.text+0x98a5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412410:(.text+0x98b0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x98bc0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x98bcc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Generic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446813:(.text+0x98bee): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Tuple_Fast': /usr/include/python3.12/object.h:231:(.text+0x98c92): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x98c9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_MemviewEnum_3__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401714:(.text+0x98ce6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum_2__setstate_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401730:(.text+0x98cf2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401730:(.text+0x98d04): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401730:(.text+0x98d08): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401730:(.text+0x98d10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401747:(.text+0x98d3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412109:(.text+0x98d7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x98d8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x98da0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x98e54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412231:(.text+0x98f06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412231:(.text+0x98f12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x98f34): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x98fd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412161:(.text+0x98fe4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412274:(.text+0x9902c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x99038): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x9904a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x9904e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x99056): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412283:(.text+0x99082): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412300:(.text+0x990c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412309:(.text+0x990d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412310:(.text+0x990e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9919a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9924c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x99258): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412195:(.text+0x9927a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412136:(.text+0x9931e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412136:(.text+0x9932a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412309:(.text+0x99372): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412309:(.text+0x9937e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x99390): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x99394): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9939c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x993c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412114:(.text+0x99406): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412124:(.text+0x9941a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412171:(.text+0x9942c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412231:(.text+0x994e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464047:(.text+0x995a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464167:(.text+0x995ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412142:(.text+0x995d8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412142:(.text+0x995e4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412138:(.text+0x99620): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x99694): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x996a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412118:(.text+0x99712): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412118:(.text+0x9971c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x99780): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x99790): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412347:(.text+0x997a2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412116:(.text+0x997a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412116:(.text+0x997b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412116:(.text+0x997c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_81createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162308:(.text+0x997e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162321:(.text+0x99816): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x99840): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_81createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162386:(.text+0x99882): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162385:(.text+0x999bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162387:(.text+0x999c8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162388:(.text+0x999f0): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162325:(.text+0x99a12): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162386:(.text+0x99a30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162386:(.text+0x99a42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162356:(.text+0x99a8e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162373:(.text+0x99a9a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162337:(.text+0x99b12): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162344:(.text+0x99b24): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162344:(.text+0x99b28): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162344:(.text+0x99b30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x99b84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_80createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162547:(.text+0x99b94): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162547:(.text+0x99ba6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162547:(.text+0x99baa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_81createLRC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162362:(.text+0x99bc8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162362:(.text+0x99bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162362:(.text+0x99be6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162358:(.text+0x99bf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x99c80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x99c8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232156:(.text+0x99d3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232156:(.text+0x99d4a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232168:(.text+0x99d6c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232222:(.text+0x99dc0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232233:(.text+0x99e0c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232233:(.text+0x99e18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x99e90): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x99ea2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x99ea6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x99eae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_66setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232338:(.text+0x99eca): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x99ed4): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x99f3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x99f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232232:(.text+0x99f5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_66setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232369:(.text+0x99f6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9a010): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9a0cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232184:(.text+0x9a0d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9a0fa): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:967:(.text+0x9a14e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232203:(.text+0x9a19a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232203:(.text+0x9a1a6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232192:(.text+0x9a21e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9a230): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9a234): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_66setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232349:(.text+0x9a23c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9a258): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x9a262): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_67setLineSearchPreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232179:(.text+0x9a2ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232179:(.text+0x9a2de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232177:(.text+0x9a2ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232177:(.text+0x9a2fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9a39e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x9a45c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x9a468): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x9a4a2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31583:(.text+0x9a532): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31583:(.text+0x9a53e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9a586): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31540:(.text+0x9a5b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9a5c8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x9a5cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9a5d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x9a60a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9a628): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x9a63c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31492:(.text+0x9a64e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9a702): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31431:(.text+0x9a7b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31434:(.text+0x9a7c4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31409:(.text+0x9a800): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x9a878): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x9a884): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31353:(.text+0x9a90e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31542:(.text+0x9a91e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31356:(.text+0x9a930): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31344:(.text+0x9a934): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9a93c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31431:(.text+0x9a94c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9a964): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x9a978): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x9a9ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_imul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31415:(.text+0x9aa14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_10__imul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156511:(.text+0x9aa78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9ab84): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32142:(.text+0x9ab90): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9abc8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x9abe8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32120:(.text+0x9abfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9ac4c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9ac58): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32172:(.text+0x9ace0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9acf0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9ad02): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9ad06): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9ad0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32147:(.text+0x9ad1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32142:(.text+0x9ad2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9ad46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x9adb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9adcc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x9ae30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32258:(.text+0x9af2c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x9af38): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9af70): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x9af90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x9afa2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x9aff4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x9b000): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156986:(.text+0x9b088): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_rmul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32567:(.text+0x9b098): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_21__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156891:(.text+0x9b0aa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156891:(.text+0x9b0ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449013:(.text+0x9b0b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156924:(.text+0x9b0c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156961:(.text+0x9b0de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156961:(.text+0x9b0f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156986:(.text+0x9b15e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_rmul': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32584:(.text+0x9b184): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9b1e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_20__mul__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156935:(.text+0x9b2f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156935:(.text+0x9b2fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x9b336): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9b356): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x9b368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9b3ba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9b3c6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x9b44e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x9b45e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9b470): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:706:(.text+0x9b474): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9b47a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_mul_vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x9b488): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x9b49a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x9b4b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32333:(.text+0x9b51e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360212:(.text+0x9b53a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360262:(.text+0x9b59e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_20setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360335:(.text+0x9b69a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360335:(.text+0x9b6a6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360294:(.text+0x9b6de): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x9b6fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x9b710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360230:(.text+0x9b762): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360235:(.text+0x9b76e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9b7f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x9b806): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_20setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360349:(.text+0x9b818): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360349:(.text+0x9b81c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360349:(.text+0x9b824): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360325:(.text+0x9b834): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9b84c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360235:(.text+0x9b860): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9b8cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_21setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360253:(.text+0x9b8f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9b956): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_59fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118740:(.text+0x9ba60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118743:(.text+0x9ba6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_58fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118806:(.text+0x9baa4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118833:(.text+0x9bac4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9bad6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9bb28): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x9bb34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_59fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118688:(.text+0x9bbbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118689:(.text+0x9bbcc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_58fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118786:(.text+0x9bbde): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118786:(.text+0x9bbe2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118847:(.text+0x9bbea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118847:(.text+0x9bbfa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118824:(.text+0x9bc12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118824:(.text+0x9bc26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_59fetchAndOpBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118694:(.text+0x9bc92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118696:(.text+0x9bcb8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118703:(.text+0x9bd1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118730:(.text+0x9be26): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118730:(.text+0x9be32): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118718:(.text+0x9be6a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118712:(.text+0x9be8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118712:(.text+0x9be9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118698:(.text+0x9beee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118698:(.text+0x9befa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118690:(.text+0x9bf82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118866:(.text+0x9bf92): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118866:(.text+0x9bfa4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118866:(.text+0x9bfa8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118866:(.text+0x9bfae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118880:(.text+0x9bfbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x9bfce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9bfe8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_60fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119028:(.text+0x9c052): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x9c06e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9c0d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_60fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119019:(.text+0x9c1ce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x9c1da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118899:(.text+0x9c212): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118889:(.text+0x9c232): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118889:(.text+0x9c244): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118893:(.text+0x9c296): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118899:(.text+0x9c2a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118917:(.text+0x9c32a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118917:(.text+0x9c33a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118923:(.text+0x9c34c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118923:(.text+0x9c350): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118923:(.text+0x9c356): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118942:(.text+0x9c364): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x9c376): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_61fetchAndOpEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118929:(.text+0x9c390): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118919:(.text+0x9c3fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:118913:(.text+0x9c416): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9c47a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x9c576): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459621:(.text+0x9c582): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459626:(.text+0x9c5ba): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x9c5da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9c5ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_113getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165678:(.text+0x9c63e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165688:(.text+0x9c64a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9c6d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_112getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165770:(.text+0x9c6e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x9c6f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_112getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165770:(.text+0x9c6f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165770:(.text+0x9c6fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_113getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165691:(.text+0x9c70c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9c71e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9c738): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_112getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165757:(.text+0x9c7a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165785:(.text+0x9c7be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459626:(.text+0x9c822): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_113getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165705:(.text+0x9c91e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459583:(.text+0x9c92a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9c962): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459583:(.text+0x9c982): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9c994): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_113getOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165693:(.text+0x9c9e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165693:(.text+0x9c9f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457711:(.text+0x9ca7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457754:(.text+0x9ca8a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9ca9c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9caa0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9caa8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9cab8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457748:(.text+0x9cad0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9cae4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455985:(.text+0x9cb50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455990:(.text+0x9cb76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9cbda): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42286:(.text+0x9cce4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x9ccf0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x9cd28): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x9cd48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x9cd5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9cdac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x9cdb8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42389:(.text+0x9ce40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42417:(.text+0x9ce50): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9ce62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455827:(.text+0x9ce66): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455947:(.text+0x9ce6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455947:(.text+0x9ce7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9ce8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x9cea6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42473:(.text+0x9cf10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9cf2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42356:(.text+0x9cf90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9d08c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9d098): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42274:(.text+0x9d0d0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9d0f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42309:(.text+0x9d102): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9d154): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x9d160): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42341:(.text+0x9d1e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42341:(.text+0x9d1f8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42288:(.text+0x9d20a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42288:(.text+0x9d20e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42288:(.text+0x9d214): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x9d222): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x9d234): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42343:(.text+0x9d24e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42370:(.text+0x9d2b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42373:(.text+0x9d2d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9d338): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42230:(.text+0x9d434): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9d440): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42284:(.text+0x9d478): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42288:(.text+0x9d498): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42288:(.text+0x9d4aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x9d4fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456377:(.text+0x9d508): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456339:(.text+0x9d590): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9d5a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_107setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275463:(.text+0x9d5b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275463:(.text+0x9d5b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275463:(.text+0x9d5bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275463:(.text+0x9d5ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9d5dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9d5f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_107setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275512:(.text+0x9d660): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275476:(.text+0x9d67c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275503:(.text+0x9d6e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275483:(.text+0x9d7dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275486:(.text+0x9d7e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456376:(.text+0x9d820): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9d840): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9d852): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456382:(.text+0x9d8a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456339:(.text+0x9d8b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_107setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275478:(.text+0x9d938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275478:(.text+0x9d948): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275478:(.text+0x9d95a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275478:(.text+0x9d95e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456000:(.text+0x9d964): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456023:(.text+0x9d972): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456143:(.text+0x9d984): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x9d99e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9da08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9da24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9da88): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238790:(.text+0x9db84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238792:(.text+0x9db90): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_154setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238845:(.text+0x9dbc8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456023:(.text+0x9dbe8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456143:(.text+0x9dbfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238772:(.text+0x9dc4c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238786:(.text+0x9dc58): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9dce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9dcf0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_155setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238779:(.text+0x9dd02): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238779:(.text+0x9dd06): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238779:(.text+0x9dd0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238779:(.text+0x9dd1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238779:(.text+0x9dd2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456143:(.text+0x9dd46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9ddb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9ddcc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461935:(.text+0x9de30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_63setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231967:(.text+0x9df28): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9df34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x9df5c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_62setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232036:(.text+0x9df82): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232047:(.text+0x9dfa8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9dff4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9e000): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_63setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232009:(.text+0x9e07a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9e08c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461815:(.text+0x9e090): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461935:(.text+0x9e098): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9e0b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461978:(.text+0x9e0c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461978:(.text+0x9e0ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_63setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231993:(.text+0x9e0fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_62setNPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232036:(.text+0x9e15e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461972:(.text+0x9e170): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9e17c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9e18e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9e216): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461935:(.text+0x9e220): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9e2e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9e2ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461935:(.text+0x9e31e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220268:(.text+0x9e3c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220268:(.text+0x9e3d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461815:(.text+0x9e43e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461935:(.text+0x9e450): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9e45c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x9e46a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461978:(.text+0x9e47c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461978:(.text+0x9e480): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461978:(.text+0x9e488): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220264:(.text+0x9e4b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220253:(.text+0x9e4f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_68setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220299:(.text+0x9e50a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_69setPCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220257:(.text+0x9e554): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461935:(.text+0x9e5da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462181:(.text+0x9e68a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x9e696): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9e6bc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9e6d0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462174:(.text+0x9e6f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9e704): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x9e756): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220419:(.text+0x9e762): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220451:(.text+0x9e7ae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x9e7c0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x9e7c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_72setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220487:(.text+0x9e7cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220468:(.text+0x9e806): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220468:(.text+0x9e816): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9e84a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x9e85c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220457:(.text+0x9e876): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220459:(.text+0x9e89a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462167:(.text+0x9e8d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x9e8f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220439:(.text+0x9e978): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x9ea72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x9ea7e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9eaa0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462131:(.text+0x9ead8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_73setNormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220434:(.text+0x9eae6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220434:(.text+0x9eaf2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x9eb50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463149:(.text+0x9eb5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_157setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257800:(.text+0x9ec18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x9ec28): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9ec3a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9ec3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x9ec46): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_157setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257849:(.text+0x9ecb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257814:(.text+0x9ecdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9ecf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9ecfa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x9ed0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463111:(.text+0x9ed96): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9edb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_156setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257879:(.text+0x9ee5e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463147:(.text+0x9ee6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9ee8c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_157setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257827:(.text+0x9eec0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257827:(.text+0x9eece): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463111:(.text+0x9eeda): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463111:(.text+0x9ef38): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9ef44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462365:(.text+0x9f000): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9f010): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x9f022): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462327:(.text+0x9f026): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462370:(.text+0x9f02e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x9f09c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235564:(.text+0x9f0c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9f0d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9f0e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x9f0f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235577:(.text+0x9f17e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9f198): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462327:(.text+0x9f246): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9f252): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462370:(.text+0x9f27c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235598:(.text+0x9f2a8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x9f2b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_105setNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235584:(.text+0x9f2c2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x9f320): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9f32c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9f3e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9f3f8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9f40a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9f40e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9f416): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462769:(.text+0x9f484): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462757:(.text+0x9f4ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9f4c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462719:(.text+0x9f4ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462762:(.text+0x9f4dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_31setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248724:(.text+0x9f566): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9f580): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_31setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248738:(.text+0x9f62e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x9f63a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x9f65c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_31setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248764:(.text+0x9f690): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_30setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248792:(.text+0x9f69e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248807:(.text+0x9f6aa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462719:(.text+0x9f708): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462762:(.text+0x9f714): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9f7d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9f7e0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_31setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248751:(.text+0x9f7f2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248751:(.text+0x9f7f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248751:(.text+0x9f7fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462719:(.text+0x9f86c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9f894): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9f8a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9f8b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_31setEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248773:(.text+0x9f8c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459817:(.text+0x9f94e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x9f968): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_33setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198741:(.text+0x9fa16): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x9fa22): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x9fa4c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_32setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198810:(.text+0x9fa78): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x9fa86): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x9fa92): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9faf0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x9fafc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459822:(.text+0x9fbb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459822:(.text+0x9fbc8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_33setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198746:(.text+0x9fbda): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198746:(.text+0x9fbde): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198751:(.text+0x9fbe6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_32setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198810:(.text+0x9fc54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9fc7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x9fc90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_33setFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198758:(.text+0x9fc9a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198758:(.text+0x9fcac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x9fd36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x9fd50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454063:(.text+0x9fdfe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x9fe0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454068:(.text+0x9fe2c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9fe64): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x9fe72): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454025:(.text+0x9fe7e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454025:(.text+0x9fedc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_filemode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21415:(.text+0x9fee8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21357:(.text+0x9ffa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21370:(.text+0x9ffb4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21383:(.text+0x9ffc6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21383:(.text+0x9ffca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21383:(.text+0x9ffd2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454061:(.text+0xa0040): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa0068): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa007c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454025:(.text+0xa0086): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454068:(.text+0xa0098): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454025:(.text+0xa0122): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454068:(.text+0xa013c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0xa01f0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPlexReorderDefaultFlag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463579:(.text+0xa01fc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463584:(.text+0xa0224): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463584:(.text+0xa0236): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xa0270): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa02da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa02e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xa032e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_175reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322422:(.text+0xa035c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322422:(.text+0xa0368): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322386:(.text+0xa037a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322387:(.text+0xa037e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa0386): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_175reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322411:(.text+0xa03ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322413:(.text+0xa03e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_174reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322442:(.text+0xa03fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPlexReorderDefaultFlag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463584:(.text+0xa0462): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463586:(.text+0xa047e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_174reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322452:(.text+0xa04fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa05f0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa05fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_175reorderSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322422:(.text+0xa061e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450888:(.text+0xa0658): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0xa0672): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451081:(.text+0xa0684): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xa068e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451069:(.text+0xa06aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa06ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa06f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_4__contains__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70935:(.text+0xa075c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70935:(.text+0xa076e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa07f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450911:(.text+0xa0800): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0xa0812): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0xa0816): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_4__contains__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70952:(.text+0xa081c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_5__contains__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70914:(.text+0xa083a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa084e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa0856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_5__contains__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70914:(.text+0xa0860): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa0872): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451069:(.text+0xa08fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_3__nonzero__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70201:(.text+0xa09c2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa09ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa0a0e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xa0aa8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_2__nonzero__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70273:(.text+0xa0ab4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_3__nonzero__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70228:(.text+0xa0b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70230:(.text+0xa0b4c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa0b5e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa0b62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0xa0b68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_2__nonzero__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70290:(.text+0xa0b78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70290:(.text+0xa0b8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa0ba4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_3__nonzero__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70205:(.text+0xa0c0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa0c34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_3__nonzero__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70217:(.text+0xa0c92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403264:(.text+0xa0d84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403264:(.text+0xa0d90): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403274:(.text+0xa0db4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa0dda): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa0e06): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403289:(.text+0xa0e54): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa0e60): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0xa0eca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0xa0ed6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0xa0ee8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0xa0eec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403299:(.text+0xa0ef4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xa0f06): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xa0f18): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403310:(.text+0xa0f1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403320:(.text+0xa0f24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403314:(.text+0xa0fb2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403319:(.text+0xa0fc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403273:(.text+0xa0fd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403273:(.text+0xa0fe2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xa109a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_setitem_slice_assignment': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403287:(.text+0xa10a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa1164): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xa1170): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0xa11a2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423225:(.text+0xa11f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401860:(.text+0xa126e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa127a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401915:(.text+0xa12c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401917:(.text+0xa12ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401917:(.text+0xa12da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa12ec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xa12f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xa12f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0xa132a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xa1358): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xa136a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa1384): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_align_pointer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401804:(.text+0xa13ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_memoryview': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423245:(.text+0xa13dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451074:(.text+0xa1468): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa1568): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa1574): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401865:(.text+0xa159a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401893:(.text+0xa15b0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401893:(.text+0xa15be): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401893:(.text+0xa15e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa15f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401889:(.text+0xa164a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa1656): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401877:(.text+0xa16cc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa16de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xa16e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401906:(.text+0xa16ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401883:(.text+0xa16fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401883:(.text+0xa170a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa1740): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa1758): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401869:(.text+0xa176c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401865:(.text+0xa1792): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401867:(.text+0xa17cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new__memoryviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:423491:(.text+0xa17f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa187a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xa1988): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_26getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83638:(.text+0xa1994): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0xa19ba): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_PetscEventPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450738:(.text+0xa19d0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450738:(.text+0xa19de): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450740:(.text+0xa1a00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450741:(.text+0xa1a12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450746:(.text+0xa1a6a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450747:(.text+0xa1a76): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450753:(.text+0xa1aec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa1afe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa1b02): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa1b0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_26getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83661:(.text+0xa1b1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83661:(.text+0xa1b2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa1b60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_26getPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83655:(.text+0xa1b78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83660:(.text+0xa1b8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa1bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_PetscEventPerfInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450743:(.text+0xa1bec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa1c12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa1c9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178074:(.text+0xa1da8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178091:(.text+0xa1db4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa1dda): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xa1df0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xa1dfe): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0xa1e20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_270getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178148:(.text+0xa1e32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178101:(.text+0xa1e8a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178101:(.text+0xa1e96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_270getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178222:(.text+0xa1f0c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178172:(.text+0xa1f1e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178172:(.text+0xa1f22): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178172:(.text+0xa1f2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa1f3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178036:(.text+0xa1f4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178047:(.text+0xa1f80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178091:(.text+0xa1f98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178091:(.text+0xa1fac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa1fd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa200c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa2032): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178042:(.text+0xa20ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa21d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa21e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_271getRedundantMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178040:(.text+0xa2252): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178042:(.text+0xa2276): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178038:(.text+0xa2288): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa22da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa22e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa2314): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa2326): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_34getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349013:(.text+0xa232a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349004:(.text+0xa2332): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_35getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348975:(.text+0xa236e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348975:(.text+0xa2380): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348976:(.text+0xa23a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa23d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa2402): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_34getLocalSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349023:(.text+0xa2444): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa24b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa2566): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa2594): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa25a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_37getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349065:(.text+0xa2626): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa2660): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xa26b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_36getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349129:(.text+0xa26c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa2724): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa2734): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa2746): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa274a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa2752): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_37getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349071:(.text+0xa276c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa2778): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa27a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315825:(.text+0xa27d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315879:(.text+0xa282c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315961:(.text+0xa289a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315890:(.text+0xa2976): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315890:(.text+0xa2982): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315829:(.text+0xa29b4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315873:(.text+0xa2a18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14207:(.text+0xa2a8e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14207:(.text+0xa2a9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316004:(.text+0xa2ae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446558:(.text+0xa2aec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316013:(.text+0xa2afc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316013:(.text+0xa2b0e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316013:(.text+0xa2b12): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316019:(.text+0xa2b1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0xa2b4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa2b7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa2b8e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa2ba8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa2be2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa2bfe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315839:(.text+0xa2cc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0xa2dc2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0xa2dce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa2e0a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315854:(.text+0xa2e2c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_90getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0xa2eb2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316067:(.text+0xa2ebe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa2f06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_91getVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315834:(.text+0xa2f66): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315834:(.text+0xa2f78): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315834:(.text+0xa2f7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315834:(.text+0xa2f84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315557:(.text+0xa2fdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315569:(.text+0xa2fec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa2ffe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa3002): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315604:(.text+0xa3020): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315623:(.text+0xa3032): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315623:(.text+0xa303e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa3050): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xa3104): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa310e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315586:(.text+0xa31c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315586:(.text+0xa31d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa31fa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315617:(.text+0xa321c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0xa3294): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0xa32a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0xa331c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315751:(.text+0xa332e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0xa3332): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xa333a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315623:(.text+0xa3370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315624:(.text+0xa3380): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315794:(.text+0xa3392): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa3396): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa339e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa33b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315667:(.text+0xa33c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa33dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa3402): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315596:(.text+0xa345a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315573:(.text+0xa3484): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0xa3518): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa3522): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_88vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315759:(.text+0xa363a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315761:(.text+0xa3646): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315763:(.text+0xa366c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0xa368c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315793:(.text+0xa36ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa36c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_89vecGetClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315574:(.text+0xa3712): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315574:(.text+0xa371e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146246:(.text+0xa3798): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146262:(.text+0xa37aa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146262:(.text+0xa37ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146246:(.text+0xa37b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa37e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa37f8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146322:(.text+0xa380a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146323:(.text+0xa380e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146326:(.text+0xa3816): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146382:(.text+0xa3828): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146382:(.text+0xa3840): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa3854): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa387a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa38cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xa38f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146354:(.text+0xa3986): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146354:(.text+0xa3990): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa3aa6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa3ab2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa3ad8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146401:(.text+0xa3af8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa3b18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146411:(.text+0xa3b2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa3b7e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa3b8a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa3c04): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa3c16): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa3c1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa3c22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa3c54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146269:(.text+0xa3c64): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146277:(.text+0xa3c76): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146275:(.text+0xa3c7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146273:(.text+0xa3c82): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146283:(.text+0xa3c92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146283:(.text+0xa3ca4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146271:(.text+0xa3cbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa3ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146282:(.text+0xa3d34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146277:(.text+0xa3d50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146301:(.text+0xa3de4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146307:(.text+0xa3dee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146319:(.text+0xa3ef6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146319:(.text+0xa3f02): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_10createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146411:(.text+0xa3f28): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa3f48): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa3f68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa3f7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa3fce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa3fda): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146291:(.text+0xa4054): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146291:(.text+0xa4066): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146291:(.text+0xa406a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146291:(.text+0xa4072): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa40a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa40b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_11createLagrange': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146354:(.text+0xa40c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146269:(.text+0xa40ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146269:(.text+0xa40d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146269:(.text+0xa40e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146277:(.text+0xa40f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146277:(.text+0xa410e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146275:(.text+0xa4132): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352723:(.text+0xa4184): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352735:(.text+0xa41a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352800:(.text+0xa4234): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352800:(.text+0xa423e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa4346): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa4352): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352995:(.text+0xa4378): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa4398): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa43b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352740:(.text+0xa43cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa441e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa442a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352751:(.text+0xa44a4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352754:(.text+0xa44b6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa44ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa44c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353004:(.text+0xa44f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353041:(.text+0xa4504): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352878:(.text+0xa4516): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352878:(.text+0xa451a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352878:(.text+0xa4522): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa4532): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352900:(.text+0xa4544): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352920:(.text+0xa455e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352928:(.text+0xa4582): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352933:(.text+0xa45d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352928:(.text+0xa45f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352769:(.text+0xa4684): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352770:(.text+0xa468e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa4796): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xa47a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352900:(.text+0xa47c8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa47e8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_18setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352962:(.text+0xa4808): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa481c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa486e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa487a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_19setShellPartition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352746:(.text+0xa48f4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352746:(.text+0xa4906): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352746:(.text+0xa490a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352742:(.text+0xa4912): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180430:(.text+0xa4944): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180430:(.text+0xa4954): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180447:(.text+0xa4966): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180449:(.text+0xa496a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180430:(.text+0xa4972): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180430:(.text+0xa4982): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180448:(.text+0xa4994): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa49ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180519:(.text+0xa49d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xa4a24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xa4a40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa4ad4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa4ade): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180546:(.text+0xa4be6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180548:(.text+0xa4bf2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180454:(.text+0xa4c18): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180455:(.text+0xa4c38): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180553:(.text+0xa4c58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180553:(.text+0xa4c6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa4cbe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa4cca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa4d44): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa4d56): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa4d5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_306SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180649:(.text+0xa4d62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa4d94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa4da4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa4db6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa4dba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa4dc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa4dd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa4dec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa4e00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa4e26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180462:(.text+0xa4e78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180474:(.text+0xa4e9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180468:(.text+0xa4f32): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180468:(.text+0xa4f3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180493:(.text+0xa5052): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180494:(.text+0xa505e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180500:(.text+0xa5084): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180506:(.text+0xa50a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180511:(.text+0xa50c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180516:(.text+0xa50d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_306SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180669:(.text+0xa512a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xa5136): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa51b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa51c2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa51c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa51ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa5200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_306SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180620:(.text+0xa5210): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa5222): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa5226): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa522e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa523e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180482:(.text+0xa5250): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180482:(.text+0xa526a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa528e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_307SOR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180468:(.text+0xa52e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180456:(.text+0xa52fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326110:(.text+0xa5390): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa539a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326166:(.text+0xa54a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa54ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa54d4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326113:(.text+0xa54f4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa5514): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326156:(.text+0xa5528): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa557a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa5586): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa5600): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326121:(.text+0xa5612): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326114:(.text+0xa5616): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326121:(.text+0xa561e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326121:(.text+0xa5650): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa5660): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_250metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326225:(.text+0xa5672): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326225:(.text+0xa5676): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326225:(.text+0xa567e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326129:(.text+0xa5690): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326130:(.text+0xa56a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326134:(.text+0xa56bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_250metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326225:(.text+0xa56e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa5734): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_251metricCreateIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326114:(.text+0xa575a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_47getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355466:(.text+0xa57ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa57f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa590e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa591a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_46getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355508:(.text+0xa5940): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa5960): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_46getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355555:(.text+0xa5980): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355555:(.text+0xa5994): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_47getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355460:(.text+0xa59e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355460:(.text+0xa59f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa5a6c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa5a7e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_47getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355464:(.text+0xa5a82): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355464:(.text+0xa5a8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa5abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa5acc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa5ade): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa5ae2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa5aea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa5afc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_47getTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355486:(.text+0xa5b14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355452:(.text+0xa5b28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_33getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357984:(.text+0xa5b4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa5ba0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_32getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358065:(.text+0xa5bc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa5c5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa5c64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_33getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358004:(.text+0xa5d7a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358007:(.text+0xa5d86): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa5dac): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_32getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358102:(.text+0xa5dcc): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358102:(.text+0xa5dec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358102:(.text+0xa5e00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_33getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358011:(.text+0xa5e52): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa5e5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_33getFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357999:(.text+0xa5ed8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357999:(.text+0xa5eea): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357999:(.text+0xa5eee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_41getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344975:(.text+0xa5ef6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa5f28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa5f38): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa5f4a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xa5f4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa5f56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa5f66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_40getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345056:(.text+0xa5f78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345068:(.text+0xa5f92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_41getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345024:(.text+0xa5fb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa6008): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_41getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345013:(.text+0xa6024): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa60b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xa60c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa61ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_41getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345002:(.text+0xa61d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345002:(.text+0xa61fc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa621c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa623c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa6250): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154413:(.text+0xa62a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154413:(.text+0xa62ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_60getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154513:(.text+0xa6328): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154522:(.text+0xa633a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154522:(.text+0xa633e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xa6346): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xa6378): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xa6388): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa639a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa639e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xa63a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154462:(.text+0xa63b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154426:(.text+0xa63d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154427:(.text+0xa63e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa640a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_60getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154532:(.text+0xa645c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154532:(.text+0xa6482): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa6516): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154428:(.text+0xa6520): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa6636): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xa6642): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa6668): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa6688): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_61getConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154428:(.text+0xa66a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147202:(.text+0xa66bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa670e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa671a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6794): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa67a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa67aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xa67b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa67e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa67f4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6806): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa680a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147335:(.text+0xa6812): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xa6822): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6834): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa684e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147338:(.text+0xa6872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa68c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147273:(.text+0xa68e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147310:(.text+0xa6974): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147310:(.text+0xa697e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa6a86): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147322:(.text+0xa6a92): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa6ab8): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6ad8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa6af8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147324:(.text+0xa6b0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa6b5e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa6b6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa6be4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa6bf6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa6bfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6c02): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6c34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa6c44): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147336:(.text+0xa6c56): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147336:(.text+0xa6c5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa6c62): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa6c74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa6c8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa6ca0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147337:(.text+0xa6cc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147231:(.text+0xa6d18): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147250:(.text+0xa6d3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147234:(.text+0xa6dd2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147234:(.text+0xa6ddc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147334:(.text+0xa6ef2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa6efe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147256:(.text+0xa6f24): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147256:(.text+0xa6f44): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_26setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147336:(.text+0xa6f64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147337:(.text+0xa6f78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6fca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa6fd6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147240:(.text+0xa7050): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa7062): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xa7066): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xa706e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa70a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa70b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_27setTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147284:(.text+0xa70c2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147222:(.text+0xa70c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147222:(.text+0xa70ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147222:(.text+0xa70de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147224:(.text+0xa70f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147224:(.text+0xa710a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147220:(.text+0xa712e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_221getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242665:(.text+0xa7180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa719c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa7230): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa723a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_220getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242736:(.text+0xa731c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa7358): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_220getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242792:(.text+0xa7364): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242792:(.text+0xa73fa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_221getNASMSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242692:(.text+0xa7466): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242692:(.text+0xa746e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231393:(.text+0xa754a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa7554): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa75ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa7638): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xa763e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa7650): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231423:(.text+0xa768a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231423:(.text+0xa7696): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa76ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa76bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa7702): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_52getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231510:(.text+0xa772e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xa7740): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231406:(.text+0xa7778): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231406:(.text+0xa778a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231406:(.text+0xa778e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231406:(.text+0xa7796): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_52getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231511:(.text+0xa77cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231510:(.text+0xa77de): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231510:(.text+0xa77ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa7800): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa7808): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa7812): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_53getFASSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231410:(.text+0xa7820): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa7866): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xa7870): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_173getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208501:(.text+0xa7902): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xa793e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa7950): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_172getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208572:(.text+0xa796c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208584:(.text+0xa7978): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0xa798c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_173getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208540:(.text+0xa79ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa7a04): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa7a0e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_173getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208529:(.text+0xa7a1c): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa7a60): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa7a6a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa7a82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa7aa2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa7abc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_173getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208533:(.text+0xa7af8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208511:(.text+0xa7b08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa7b60): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_172getMGSmootherDown': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208618:(.text+0xa7b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa7d12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xa7d4e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xa7d5a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_55getFASSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231568:(.text+0xa7df0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa7e5c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa7e64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_54getFASSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231658:(.text+0xa7f40): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231657:(.text+0xa7f4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xa7fe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_55getFASSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231545:(.text+0xa802e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231545:(.text+0xa8034): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231545:(.text+0xa8046): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa8080): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa808c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa80a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xa80b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xa80f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa8124): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_35getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230018:(.text+0xa8136): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa816e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa8180): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa8184): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa818c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_35getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230009:(.text+0xa81c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xa81d4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa81e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa81f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa81fe): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_34getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230040:(.text+0xa8208): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa8216): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_34getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230096:(.text+0xa825c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230096:(.text+0xa8266): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230096:(.text+0xa82f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa8334): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa8346): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_35getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229996:(.text+0xa8362): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229996:(.text+0xa836e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa8382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa83c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_35getFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229984:(.text+0xa83fa): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229984:(.text+0xa8404): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_31getFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229694:(.text+0xa8412): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa8456): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_31getFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229723:(.text+0xa8460): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa8478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_30getFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229775:(.text+0xa8498): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xa84b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_31getFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229743:(.text+0xa84ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229743:(.text+0xa84fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229732:(.text+0xa8556): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229734:(.text+0xa8574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229721:(.text+0xa872e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa873a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa8760): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa8784): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_31getFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229709:(.text+0xa87ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa8800): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa880c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xa8886): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa8898): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_161getMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207696:(.text+0xa889c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207696:(.text+0xa88a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207696:(.text+0xa88b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207660:(.text+0xa88c8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207660:(.text+0xa88cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207661:(.text+0xa88d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207685:(.text+0xa8906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa895a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa8972): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa8986): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa89ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_161getMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207662:(.text+0xa89e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207667:(.text+0xa8a0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa8aa0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa8aaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa8bc0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa8bcc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa8bf2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_168getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208278:(.text+0xa8c12): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xa8c3e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa8c92): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa8c9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa8d16): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa8d28): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa8d2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_168getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208268:(.text+0xa8d34): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa8d46): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xa8d58): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xa8d5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xa8d64): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_168getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208324:(.text+0xa8d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_169getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208220:(.text+0xa8dea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa8e02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_168getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208324:(.text+0xa8e16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208324:(.text+0xa8e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208268:(.text+0xa8e76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_169getMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208224:(.text+0xa8e9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208212:(.text+0xa8f2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208212:(.text+0xa8f38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_47getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231005:(.text+0xa9048): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa9054): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_47getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231029:(.text+0xa907a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231031:(.text+0xa909e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa90c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa911a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa9126): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_47getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231014:(.text+0xa91a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xa91b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa91b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_46getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231118:(.text+0xa91be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231118:(.text+0xa91d0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231119:(.text+0xa91e2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231118:(.text+0xa91e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231118:(.text+0xa91ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa9220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xa9274): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xa928c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa92a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_47getFASCycleSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231040:(.text+0xa92c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_175getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208638:(.text+0xa9300): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa9326): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa93ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa93c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xa94dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_174getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208765:(.text+0xa94e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_175getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208680:(.text+0xa950e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208672:(.text+0xa9530): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208661:(.text+0xa955e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xa9570): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_174getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208765:(.text+0xa9598): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208765:(.text+0xa95aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xa95de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_174getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208709:(.text+0xa95ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa9662): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa9674): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xa9678): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_175getMGSmootherUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208687:(.text+0xa9680): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_51getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231236:(.text+0xa96b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231236:(.text+0xa96c6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231236:(.text+0xa96d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa96dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa96e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa96f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_51getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231265:(.text+0xa9706): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa9720): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_50getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231329:(.text+0xa9744): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_51getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231285:(.text+0xa9794): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231249:(.text+0xa97b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa9842): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa984c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_50getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231363:(.text+0xa994c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231364:(.text+0xa9958): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_51getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231278:(.text+0xa997e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_50getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231307:(.text+0xa99a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa99e2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa9a34): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_51getFASSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231251:(.text+0xa9a40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa9ab8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xa9aca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xa9ace): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xa9ad6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_38getFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230325:(.text+0xa9ae8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230325:(.text+0xa9afa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230337:(.text+0xa9afe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230337:(.text+0xa9b06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xa9b38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa9b86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa9b9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_39getFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230282:(.text+0xa9bb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230284:(.text+0xa9bd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa9c12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xa9c38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_39getFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230267:(.text+0xa9cca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230267:(.text+0xa9cd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xa9dec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_39getFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230293:(.text+0xa9df8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa9e70): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_165getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207954:(.text+0xa9e7c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_164getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208003:(.text+0xa9ea2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208035:(.text+0xa9ee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_165getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207971:(.text+0xa9efa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xa9f34): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xa9f40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xa9f52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xa9f5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xa9fb6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa9fc8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xa9fcc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_164getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207993:(.text+0xa9fd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xa9fe4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xa9ff6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_164getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208049:(.text+0xaa018): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_165getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207937:(.text+0xaa048): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207945:(.text+0xaa074): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207945:(.text+0xaa088): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_164getMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207993:(.text+0xaa118): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_171getMGSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208344:(.text+0xaa1f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208344:(.text+0xaa1fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xaa226): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaa246): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_171getMGSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208358:(.text+0xaa2ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xaa2f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_171getMGSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208384:(.text+0xaa33e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208384:(.text+0xaa34e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xaa360): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaa364): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xaa36c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xaa39e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xaa3c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_170getMGSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208471:(.text+0xaa3d2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208471:(.text+0xaa3e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208471:(.text+0xaa3e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208471:(.text+0xaa3f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_171getMGSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208364:(.text+0xaa428): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208367:(.text+0xaa440): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xaa454): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_170getMGSmoother': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208471:(.text+0xaa496): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaa4b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_249metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325954:(.text+0xaa5a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325966:(.text+0xaa5ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325969:(.text+0xaa6ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325970:(.text+0xaa6c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xaa700): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_249metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326007:(.text+0xaa714): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326009:(.text+0xaa72a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xaa776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xaa7d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xaa7e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_249metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325981:(.text+0xaa83c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325981:(.text+0xaa84e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325981:(.text+0xaa852): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326002:(.text+0xaa860): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325973:(.text+0xaa8bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325978:(.text+0xaa8ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325978:(.text+0xaa8d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xaa8da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_249metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325986:(.text+0xaa91a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325991:(.text+0xaa960): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_248metricCreateUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326077:(.text+0xaa972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326077:(.text+0xaa980): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326078:(.text+0xaa98c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326078:(.text+0xaa99a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaa9ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146854:(.text+0xaaa5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146903:(.text+0xaab1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xaab50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaab5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146894:(.text+0xaaba6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xaabe2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_20setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146923:(.text+0xaac20): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146948:(.text+0xaac2c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146933:(.text+0xaacb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146869:(.text+0xaacbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xaad22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_20setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146934:(.text+0xaad32): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaad44): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaad48): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaad50): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_20setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146933:(.text+0xaad60): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146881:(.text+0xaad6a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146881:(.text+0xaad94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaadac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaadec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_49getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312494:(.text+0xaae44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xaae6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaaea4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xab00a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_48getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312569:(.text+0xab010): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312569:(.text+0xab01c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312609:(.text+0xab028): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_49getSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312514:(.text+0xab0d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310489:(.text+0xab25e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xab272): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xab2d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_26getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310627:(.text+0xab2e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310627:(.text+0xab2ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xab306): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310538:(.text+0xab31a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310538:(.text+0xab322): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310502:(.text+0xab33c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xab3d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xab49e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310504:(.text+0xab4ac): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_26getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310564:(.text+0xab546): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xab550): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310516:(.text+0xab590): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xab5d6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xab5e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_27getConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310504:(.text+0xab620): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_217getCompositeSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242431:(.text+0xab650): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xab718): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_217getCompositeSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242444:(.text+0xab748): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xab81c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xab830): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xab838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xab85c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xab86a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xab870): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_217getCompositeSNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242451:(.text+0xab87c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242458: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343312:(.text+0xaba62): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343289:(.text+0xabafa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343289:(.text+0xabb04): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xabb1c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xabb32): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343325:(.text+0xabb5e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343327:(.text+0xabb70): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343329:(.text+0xabb84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xabb8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xabb94): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xabba6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xabbd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_12insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343359:(.text+0xabbfe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343297:(.text+0xabc0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xabc6a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xabc74): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_12insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343393:(.text+0xabc84): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343297:(.text+0xabcb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xabd08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xabd14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343310:(.text+0xabd3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343306:(.text+0xabd92): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xabd9a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xabdaa): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xabdc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xabdd2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xabde4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xabde8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_13insertIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343339:(.text+0xabdf6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343290:(.text+0xabe2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_163setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207794:(.text+0xabe6c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xabe7e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xabe94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xabed6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_163setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207843:(.text+0xabf7c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207843:(.text+0xabf86): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207845:(.text+0xabf9e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207847:(.text+0xabfb4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xabfe0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xabff2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xac006): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xac010): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xac016): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xac028): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_163setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207820:(.text+0xac058): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207824:(.text+0xac092): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207838:(.text+0xac09e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xac146): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_163setMGRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207830:(.text+0xac168): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xac2b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355347:(.text+0xac2c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355351:(.text+0xac2ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355364:(.text+0xac2d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xac30e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355360:(.text+0xac3ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355362:(.text+0xac3d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355364:(.text+0xac3e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xac3fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xac40a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xac41e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xac446): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xac452): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_44setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355394:(.text+0xac464): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355394:(.text+0xac468): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355332:(.text+0xac470): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355339:(.text+0xac4aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355332:(.text+0xac522): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355332:(.text+0xac538): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_44setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355394:(.text+0xac554): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355394:(.text+0xac582): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_45setTensorSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355374:(.text+0xac64a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355325:(.text+0xac684): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355325:(.text+0xac690): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_53setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359142:(.text+0xac792): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359179:(.text+0xac804): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xac87c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xac88a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_52setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359213:(.text+0xac89c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_53setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359151:(.text+0xac8b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359154:(.text+0xac8c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xac904): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_52setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359213:(.text+0xac986): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xac9a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_53setSimpleFunctional': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359164:(.text+0xac9c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359144:(.text+0xacabc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354982:(.text+0xacac8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xacafc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355023:(.text+0xacb1c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xacb3e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_38setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355077:(.text+0xacb60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xacb74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355037:(.text+0xacc38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xacc58): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xacc6a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xacc6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xacc76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355008:(.text+0xacce0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355012:(.text+0xaccf2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355012:(.text+0xaccf6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355012:(.text+0xaccfe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_38setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355077:(.text+0xacd34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355091:(.text+0xacd44): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355035:(.text+0xacd56): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xacd5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354998:(.text+0xacd62): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355000:(.text+0xacd70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xacd80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355000:(.text+0xacd8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xacdb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_39setSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355014:(.text+0xace3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xace54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xace74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xace92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xacf2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xacf34): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xacf3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209337:(.text+0xad038): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209339:(.text+0xad044): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xad082): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xad0a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209318:(.text+0xad13c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209318:(.text+0xad148): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209341:(.text+0xad18e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209306:(.text+0xad1be): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209311:(.text+0xad1d0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209306:(.text+0xad1d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209311:(.text+0xad1dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209324:(.text+0xad23e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xad24e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209320:(.text+0xad260): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209320:(.text+0xad264): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209320:(.text+0xad26c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xad27e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xad296): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xad2aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xad2ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_185setMGR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209306:(.text+0xad2f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209304:(.text+0xad316): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_41setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230456:(.text+0xad400): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230456:(.text+0xad40a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xad50a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xad516): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_41setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230421:(.text+0xad56e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230421:(.text+0xad578): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230435:(.text+0xad584): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xad5ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_41setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230414:(.text+0xad604): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_40setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230476:(.text+0xad616): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xad6ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xad6c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xad6ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_41setFASRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230409:(.text+0xad71a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_183setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209160:(.text+0xad770): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209201:(.text+0xad7ac): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xad7de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_183setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209225:(.text+0xad816): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209225:(.text+0xad822): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xad872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_183setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209213:(.text+0xad8d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xad8de): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xad92e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_183setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209190:(.text+0xad98e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209190:(.text+0xad99a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209176:(.text+0xad9ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xada4a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xada56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_183setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209192:(.text+0xadaa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xadb06): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_183setMGX': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209225:(.text+0xadb12): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209176:(.text+0xadb62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xadc82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xadc8e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_43setStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345168:(.text+0xadcde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xadd3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xadd4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_43setStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345143:(.text+0xadd9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345166:(.text+0xaddfa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345129:(.text+0xade06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xade56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_43setStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345145:(.text+0xadeb6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345145:(.text+0xadec2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xadf12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_43setStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345129:(.text+0xadf72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345129:(.text+0xadf7e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xadfce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xae02e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xae03a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xae08a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_167setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208120:(.text+0xae0ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208124:(.text+0xae0f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xae146): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_167setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208095:(.text+0xae1a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208095:(.text+0xae1b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_166setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208164:(.text+0xae202): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_167setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208087:(.text+0xae262): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208093:(.text+0xae26e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208105:(.text+0xae2be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xae31e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xae32a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_167setMGRScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208087:(.text+0xae37a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_29setFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229566:(.text+0xae3da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229577:(.text+0xae3e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xae436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_29setFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229631:(.text+0xae496): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229631:(.text+0xae4a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229615:(.text+0xae4f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xae552): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xae55e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xae5ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_29setFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229601:(.text+0xae60e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229611:(.text+0xae61a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229584:(.text+0xae66a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_28setFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229651:(.text+0xae6ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_29setFASInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229602:(.text+0xae6d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229598:(.text+0xae726): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229584:(.text+0xae7a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229584:(.text+0xae7b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_33setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229852:(.text+0xae802): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229906:(.text+0xae8a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229890:(.text+0xae912): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229890:(.text+0xae91e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xae96e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_32setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229926:(.text+0xae9ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229926:(.text+0xae9da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_33setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229876:(.text+0xaea2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaeac8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaeb26): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_33setFASRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229859:(.text+0xaebba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_159setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207531:(.text+0xaec28): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaed0e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xaedc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_158setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207604:(.text+0xaedf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_159setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207542:(.text+0xaedfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207545:(.text+0xaee06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207545:(.text+0xaee10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207549: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_159setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207543:(.text+0xaeeae): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207537:(.text+0xaeeb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaeef6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaef88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_159setMGInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207537:(.text+0xaefe6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xaf050): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaf09c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_181setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209097:(.text+0xaf0ec): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209046:(.text+0xaf0fe): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209087:(.text+0xaf186): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209062:(.text+0xaf242): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209062:(.text+0xaf24a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaf302): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaf30c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xaf314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_181setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209068:(.text+0xaf32a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209068:(.text+0xaf346): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209068:(.text+0xaf34e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaf356): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaf35e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_181setMGRhs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209064:(.text+0xaf382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xaf388): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaf3aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xaf3b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xaf3ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230116:(.text+0xaf438): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaf472): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xaf478): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230154:(.text+0xaf48a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xaf540): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaf54c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230171:(.text+0xaf5ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_36setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230201:(.text+0xaf622): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230140:(.text+0xaf6e6): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230152:(.text+0xaf74a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230152:(.text+0xaf752): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230152:(.text+0xaf764): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xaf776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230148:(.text+0xaf77e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230148:(.text+0xaf786): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230148:(.text+0xaf78e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xaf7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xaf7f2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_37setFASInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230134:(.text+0xaf808): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230132:(.text+0xaf828): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_39getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344838:(.text+0xaf86a): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344848:(.text+0xaf872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_38getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344928:(.text+0xaf8f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_39getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344887:(.text+0xaf938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344851:(.text+0xaf940): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344851:(.text+0xaf948): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xaf978): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xafa0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_38getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344928:(.text+0xafa66): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344939:(.text+0xafad0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xafb1c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_38getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344929:(.text+0xafb6c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xafb7e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_39getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344865:(.text+0xafbb2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344865:(.text+0xafbba): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xafc44): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_120distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318542:(.text+0xafd46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0xafd4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0xafd56): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_120distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318552:(.text+0xafd66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318552:(.text+0xafd6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318563:(.text+0xafd76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_121distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318468:(.text+0xafdfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318468:(.text+0xafe06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318468: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xafe3e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xafe5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xafe64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xafe6c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xafe90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_120distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318510:(.text+0xafe98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318510:(.text+0xafea0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xafea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xafec6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xaff44): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_120distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318588:(.text+0xaff66): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_121distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318447:(.text+0xaff88): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318448:(.text+0xaff8e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318452:(.text+0xaffa0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb0036): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb0042): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_121distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318438:(.text+0xb0092): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb011c): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0xb0128): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140519:(.text+0xb0188): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140510:(.text+0xb01fe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_280strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140575:(.text+0xb02c2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb0334): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xb033c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb0344): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb034c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb035e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb03b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb03bc): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb03c2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xb03ea): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140495:(.text+0xb042a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb0432): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb0464): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xb046c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_281strideScale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140477:(.text+0xb04c2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140477:(.text+0xb04cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140477:(.text+0xb04d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140477:(.text+0xb04dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140890:(.text+0xb0512): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140890:(.text+0xb051e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xb056e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140903:(.text+0xb0620): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140904:(.text+0xb062c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140930:(.text+0xb068c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb0702): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb07c6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140913:(.text+0xb082a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140910:(.text+0xb0832): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140913:(.text+0xb0844): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb0856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_286strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141002:(.text+0xb085e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141002:(.text+0xb0866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140964:(.text+0xb086e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140917:(.text+0xb08ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb08d0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb08e4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb0904): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_287strideMax': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140939:(.text+0xb0944): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140939:(.text+0xb094c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb09cc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_74getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314163:(.text+0xb0a0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314173:(.text+0xb0a12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xb0a1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb0a50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xb0a5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb0aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_75getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314129:(.text+0xb0b04): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314107:(.text+0xb0c8e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_74getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314161:(.text+0xb0cda): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_75getHeightStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314114:(.text+0xb0d2a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb0d3c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314136:(.text+0xb0dc0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb0f22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb0f2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb0f32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_155getPointGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321159:(.text+0xb0f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321159:(.text+0xb0f42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321159: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_154getPointGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321254:(.text+0xb0fae): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb0fc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb0fd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xb0fd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb0fe0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb1002): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb101e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_154getPointGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321225:(.text+0xb1060): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xb1092): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb1098): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xb10aa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xb10ee): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_73getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313943:(.text+0xb1278): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb12c4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xb1314): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xb1326): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_73getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313981:(.text+0xb13aa): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb150c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xb1514): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_72getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314041:(.text+0xb151c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314041:(.text+0xb1524): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb152c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313958: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb1598): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_72getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314017:(.text+0xb15b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314017:(.text+0xb15ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb15c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb15ca): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_73getDepthStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313970:(.text+0xb15ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313970:(.text+0xb1608): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb164a): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb167c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb1682): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313992:(.text+0xb1694): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_151getPointLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320795:(.text+0xb16d8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb1862): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb18ae): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb18fe): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_150getPointLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320879:(.text+0xb1910): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320901:(.text+0xb1994): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_151getPointLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320844:(.text+0xb1af6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320844:(.text+0xb1afe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320844:(.text+0xb1b06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_151getPointLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320810:(.text+0xb1b0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320810:(.text+0xb1b16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320810: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140759:(.text+0xb1b82): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb1b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb1ba4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_284strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140823:(.text+0xb1bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140832:(.text+0xb1bb4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xb1bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xb1bf2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140743:(.text+0xb1c34): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb1c66): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb1c6c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140768:(.text+0xb1c7e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb1cc2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140753:(.text+0xb1e4c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb1e98): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140757:(.text+0xb1ee8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb1efa): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_285strideMin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140745:(.text+0xb1f7e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb20e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb20e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299721:(.text+0xb20f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299721:(.text+0xb20f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299721:(.text+0xb2100): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299721: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb216c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb2186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb218e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb2196): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb219e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_32setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299764:(.text+0xb21c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299792:(.text+0xb21dc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_33setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299702:(.text+0xb221e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb2250): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb2256): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_32setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299792:(.text+0xb2268): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb22de): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_32setDiscretisation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299754:(.text+0xb22ea): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb234a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb23c0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xb2484): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xb24f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13033:(.text+0xb24fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_46getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285891:(.text+0xb2506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xb250e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_46getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285901:(.text+0xb2520): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb2578): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb257e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb2584): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_47getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285815:(.text+0xb25ac): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xb25ec): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0xb25f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0xb2626): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0xb262e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb2684): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xb268e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb2696): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb269e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_47getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285790:(.text+0xb26d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285795:(.text+0xb26e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285798:(.text+0xb2730): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb27ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_47getFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285790:(.text+0xb2842): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb28b4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111967:(.text+0xb28c0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xb28da): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb28f6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_16createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112031:(.text+0xb2908): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0xb2924): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_16createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112041:(.text+0xb2936): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111991:(.text+0xb2952): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111940:(.text+0xb2968): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111941:(.text+0xb2984): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb2996): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb29b2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111975:(.text+0xb29c4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb2a34): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb2a6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111956:(.text+0xb2ab8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_16createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112031:(.text+0xb2af4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111944:(.text+0xb2b28): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111942:(.text+0xb2b4c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb2c3e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_17createSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111944:(.text+0xb2c74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111942:(.text+0xb2c7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111942:(.text+0xb2c84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111942:(.text+0xb2c8a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111942:(.text+0xb2c9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb2d46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_68sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351352:(.text+0xb2d4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351343:(.text+0xb2d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351352:(.text+0xb2d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_69sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351299:(.text+0xb2de6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_68sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351342:(.text+0xb2ebc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_69sortGetNumberOfPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351276:(.text+0xb2f50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351284:(.text+0xb2f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351284:(.text+0xb2faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb2fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb2fc8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb3150): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_82setBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109488:(.text+0xb31dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb3206): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb32f8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb3348): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb346c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_83setBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109398:(.text+0xb34a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb34aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb34f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xb34f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xb35be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xb35f0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xb363a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xb3650): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237468:(.text+0xb36f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237468:(.text+0xb3700): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb372c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb3734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xb3738): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb3744): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb374c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb3844): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb384c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_128monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237519:(.text+0xb385c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237433: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237435:(.text+0xb38a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xb38ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xb38f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xb38fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xb3902): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237453:(.text+0xb390e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237453:(.text+0xb391e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237453:(.text+0xb392a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb393c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb3948): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb3984): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb39ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_129monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237435:(.text+0xb39fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188151:(.text+0xb3a36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188151:(.text+0xb3a4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188163:(.text+0xb3a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb3a6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb3a78): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb3aae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xb3ac2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xb3ad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_402setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188253:(.text+0xb3ae2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188211:(.text+0xb3b14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188165:(.text+0xb3b2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188200:(.text+0xb3b78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188200:(.text+0xb3b84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188200:(.text+0xb3b92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb3bba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_402setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188243:(.text+0xb3c4a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188267:(.text+0xb3c60): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188177:(.text+0xb3c86): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188181:(.text+0xb3cb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188196:(.text+0xb3cce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_402setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188253:(.text+0xb3cf4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xb3d88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_403setMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188183:(.text+0xb3df6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_67monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220095:(.text+0xb3edc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xb3f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_67monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220155:(.text+0xb3fc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0xb3fc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_67monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220109:(.text+0xb3fd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220109:(.text+0xb3fda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:220: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb4074): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb407e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb40b0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_67monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220121:(.text+0xb4144): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220111:(.text+0xb41b2): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220127:(.text+0xb4298): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220111:(.text+0xb4350): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180800:(.text+0xb437c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180812:(.text+0xb4384): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180800:(.text+0xb438c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180800:(.text+0xb4396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180813: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb4430): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb443a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xb446c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180859:(.text+0xb4500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb456e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_310increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180913:(.text+0xb4654): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb470c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb4738): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_311increaseOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180869:(.text+0xb4740): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180817:(.text+0xb4748): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180817:(.text+0xb4752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180817: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb47ec): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb47f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89139:(.text+0xb4828): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xb48bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89111:(.text+0xb492a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb4a10): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89116:(.text+0xb4ac8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89121:(.text+0xb4af4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89121:(.text+0xb4afc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89121:(.text+0xb4b04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89121:(.text+0xb4b0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_61incrementTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89153:(.text+0xb4ba8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89101:(.text+0xb4bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89103:(.text+0xb4bf0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb4c7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_63setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154617:(.text+0xb4d86): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb4dd2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xb4e22): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb4e34): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_63setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154598:(.text+0xb4eb8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154600:(.text+0xb501a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154600:(.text+0xb5022): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb502a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xb5032): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb503a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_63setConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154586:(.text+0xb50a6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154584:(.text+0xb50c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154584:(.text+0xb50c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154584:(.text+0xb50d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_37getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354843:(.text+0xb50d8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354853:(.text+0xb50fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb5116): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xb5158): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb518a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb5190): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_36getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354937:(.text+0xb51a2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_37getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354856:(.text+0xb51f8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_36getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0xb5286): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb538e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb53da): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_36getSumSubspace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0xb542a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354962:(.text+0xb543c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb54c0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xb5622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xb562a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_15setLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347596:(.text+0xb5632): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347596:(.text+0xb563a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347596:(.text+0xb5642): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347596: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_15setLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347585:(.text+0xb56ae): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347587:(.text+0xb56c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347587:(.text+0xb56d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347587:(.text+0xb56d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347589:(.text+0xb56e0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb5702): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb571e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb5760): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb5792): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb5798): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb57aa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_15setLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347566:(.text+0xb5800): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347552:(.text+0xb588e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347568:(.text+0xb5996): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb59e2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_15setLocalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347554:(.text+0xb5a32): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347554:(.text+0xb5a44): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187919:(.text+0xb5ac8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb5c2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb5c32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb5c3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb5c42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb5c4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187962: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb5cb6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_398setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187972:(.text+0xb5cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0xb5cd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0xb5ce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187907:(.text+0xb5ce8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187911:(.text+0xb5d0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187911:(.text+0xb5d26): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_398setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187996:(.text+0xb5d68): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0xb5d9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187904:(.text+0xb5da0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187899:(.text+0xb5db2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb5e08): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_399setMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187913:(.text+0xb5e96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152837:(.text+0xb5f9e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb5fea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xb603a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152885:(.text+0xb604c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152876:(.text+0xb60d0): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152870:(.text+0xb6232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb623a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xb6242): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb624a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_38setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152926:(.text+0xb6252): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152926: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152848:(.text+0xb62be): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb62d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb62de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb62e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb62ee): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb6310): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152861:(.text+0xb632c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb636e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152857:(.text+0xb639c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb63a2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xb63b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_39setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152885:(.text+0xb6400): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb6492): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_15setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343426:(.text+0xb654c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343461:(.text+0xb6598): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb65de): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb65f0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb6678): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb67c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb67d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb67d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb67e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb67ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb67f4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_15setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343448:(.text+0xb680e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343448:(.text+0xb6816): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343448:(.text+0xb681e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343448:(.text+0xb6826): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb6848): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb684e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb6854): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_15setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343444:(.text+0xb6866): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb6890): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0xb6898): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_15setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343430:(.text+0xb68fa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343430:(.text+0xb6904): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343428:(.text+0xb6910): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343428:(.text+0xb691e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb6984): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_27setFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152183:(.text+0xb6a12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb6ac0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xb6ad2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb6aec): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb6b38): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb6b88): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_26setFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152214:(.text+0xb6b9a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152224:(.text+0xb6c22): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xb6c68): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_27setFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152141:(.text+0xb6c7a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb6d9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb6da4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb6dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb6db4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb6dbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152183: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_27setFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152139:(.text+0xb6df6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152139:(.text+0xb6e10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152139:(.text+0xb6e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_51setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153683:(.text+0xb6e20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153683:(.text+0xb6e28): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153683:(.text+0xb6e48): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xb6ea0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_50setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153784:(.text+0xb6ec6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xb6ed6): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xb6ee8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb6f38): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb6fcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xb7026): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xb7042): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_51setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153706:(.text+0xb708e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153718:(.text+0xb70d4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb70e6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_50setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153764:(.text+0xb7170): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_51setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153719:(.text+0xb71f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153719:(.text+0xb7200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb7208): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb720e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_51setConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153701:(.text+0xb72bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153701:(.text+0xb72c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153701:(.text+0xb72d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153699:(.text+0xb72dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153699:(.text+0xb72e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153699:(.text+0xb72ec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158387:(.text+0xb730c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158387:(.text+0xb7312): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158398:(.text+0xb7324): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb734c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158425:(.text+0xb7354): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xb73b6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xb73c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158401:(.text+0xb73fc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158402:(.text+0xb740a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158438:(.text+0xb7466): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xb74fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb7554): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158410:(.text+0xb7570): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158422:(.text+0xb75bc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_44setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158502:(.text+0xb7602): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158403:(.text+0xb7614): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb769e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_45setBlockSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158419:(.text+0xb7726): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158419:(.text+0xb772e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158419:(.text+0xb7736): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158419:(.text+0xb773c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158403:(.text+0xb77ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158403:(.text+0xb77f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221448:(.text+0xb7804): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221448:(.text+0xb780c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221448:(.text+0xb7814): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221448:(.text+0xb781c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb783c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb7842): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221486:(.text+0xb7854): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb787e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb7886): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221508:(.text+0xb78e8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221508:(.text+0xb78f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb792e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xb793c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb799e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb7a32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221478:(.text+0xb7a94): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221478:(.text+0xb7ab0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_92setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221563:(.text+0xb7afc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221466:(.text+0xb7b42): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_92setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221529:(.text+0xb7b54): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb7bee): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_93setUseFischerGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221466:(.text+0xb7c96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221466:(.text+0xb7c9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221466:(.text+0xb7ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221466:(.text+0xb7cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221466:(.text+0xb7cb4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221464:(.text+0xb7cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb7d52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb7d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb7d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb7d6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb7d7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xb7dae): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_24setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310467:(.text+0xb7db8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_25setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310415:(.text+0xb7dc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310415:(.text+0xb7dc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb7e1e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb7e76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xb7e7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb7e82): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb7e94): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb7efc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_25setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310385:(.text+0xb7f8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_24setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310470:(.text+0xb7fe8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_25setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310378:(.text+0xb8004): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_24setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310436:(.text+0xb8050): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb8096): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_25setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310391:(.text+0xb80a8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb80de): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb80ec): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb8156): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155503:(.text+0xb8208): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155492:(.text+0xb8210): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xb8218): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xb821e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xb82ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_76setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155604:(.text+0xb82b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155552:(.text+0xb82be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155552:(.text+0xb82c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155552:(.text+0xb82d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155506: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155506:(.text+0xb82ea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb830a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155541:(.text+0xb8328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155541:(.text+0xb8334): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb8384): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb83a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_76setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155573:(.text+0xb83c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155573:(.text+0xb83d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb83d6): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xb83e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155515:(.text+0xb844c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_76setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155607:(.text+0xb84de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155515:(.text+0xb853a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb8556): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_76setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155583:(.text+0xb85a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb85e8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155524:(.text+0xb85fa): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb8676): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_77setOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155510:(.text+0xb86b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155508:(.text+0xb86bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155508:(.text+0xb86ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb8722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xb872a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_53addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153859:(.text+0xb8742): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153868:(.text+0xb8846): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153868:(.text+0xb884c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb8868): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb886e): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb8880): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb88a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb88b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb88bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb88d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb88e2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_52addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153908:(.text+0xb893c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153918:(.text+0xb89cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_53addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153840:(.text+0xb8a24): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153840:(.text+0xb8a32): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb8a44): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb8a5e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_53addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153853:(.text+0xb8aaa): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153849:(.text+0xb8afa): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153849:(.text+0xb8b0c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb8b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_53addConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153835:(.text+0xb8b90): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_31setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152360:(.text+0xb8bce): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152360:(.text+0xb8be0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152371:(.text+0xb8bec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152360:(.text+0xb8bf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb8c6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_30setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152461:(.text+0xb8c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152461:(.text+0xb8c7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:642: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xb8c8a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_31setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152420:(.text+0xb8cac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152413:(.text+0xb8d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb8d4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xb8d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb8d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb8d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb8dd4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb8dfc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb8e0c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb8e1e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_31setChart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152386:(.text+0xb8e60): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152378:(.text+0xb8ef0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152396:(.text+0xb8f9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152396:(.text+0xb8fba): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xb9006): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb9056): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb9068): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_41addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152970:(.text+0xb90ee): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xb9250): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb9258): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xb9260): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb9268): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb9270): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_40addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153040:(.text+0xb92ac): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb92c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xb92ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb92d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb92de): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb9314): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_41addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152989:(.text+0xb9368): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xb939c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xb93a2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_40addDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153060:(.text+0xb93b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb9430): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb94c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb9530): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb9624): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_33copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348850:(.text+0xb96ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348851:(.text+0xb96b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xb96ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xb9744): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xb974c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xb975e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xb9800): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_32copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348927:(.text+0xb980a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_33copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348859:(.text+0xb9818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348866:(.text+0xb985c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348889:(.text+0xb98ba): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348854:(.text+0xb98ca): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348854:(.text+0xb98ee): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb9920): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb995c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_33copyPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348872:(.text+0xb998e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348868:(.text+0xb99d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb9a38): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb9a44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343896:(.text+0xb9bbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xb9bce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xb9bec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343930:(.text+0xb9bf8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xb9c5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb9c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb9c6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb9c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb9c7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xb9cca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xb9cde): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343911:(.text+0xb9d44): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_22clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343982:(.text+0xb9d94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343996:(.text+0xb9da6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xb9e3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343917:(.text+0xb9e6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343917:(.text+0xb9e74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343917:(.text+0xb9e7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343917:(.text+0xb9e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xb9e96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_23clearValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343913:(.text+0xb9ed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xb9efa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xb9f2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201449:(.text+0xba00a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201465:(.text+0xba024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201476:(.text+0xba062): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201450:(.text+0xba06e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201578:(.text+0xba0de): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201578:(.text+0xba0ee): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201599:(.text+0xba112): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201599:(.text+0xba11a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201604:(.text+0xba186): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xba1f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201668:(.text+0xba1f8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201678:(.text+0xba206): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201683:(.text+0xba270): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201449:(.text+0xba2b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201736:(.text+0xba2d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xba2de): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xba2fa): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201711:(.text+0xba5aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201720:(.text+0xba5c2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201720:(.text+0xba5ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201427:(.text+0xba63e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201430:(.text+0xba644): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201645:(.text+0xba796): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201645:(.text+0xba79e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xba7aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201420:(.text+0xba7bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201422:(.text+0xba7c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201711:(.text+0xba810): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201657:(.text+0xba856): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201657:(.text+0xba85e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201657:(.text+0xba866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201507:(.text+0xba86e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201507:(.text+0xba876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xba8d0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_76setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201560:(.text+0xba8de): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201702:(.text+0xba8fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201702:(.text+0xba904): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201639:(.text+0xba932): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201637:(.text+0xba94e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_77setASMTotalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201420:(.text+0xba9b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201476:(.text+0xba9fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201422:(.text+0xbaa16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201422:(.text+0xbaa28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201418:(.text+0xbaa3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_75setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201043:(.text+0xbaa74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201056:(.text+0xbaa84): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xbaab8): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbaac6): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xbaad2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_75setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201093:(.text+0xbaae2): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201111:(.text+0xbab08): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201120:(.text+0xbab3c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xbab58): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xbab7a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201190:(.text+0xbab8a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201222:(.text+0xbab9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xbabce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201233:(.text+0xbabe6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201243:(.text+0xbabf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0xbac02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbac20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201279:(.text+0xbac84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201301:(.text+0xbacaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xbb142): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbb14e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201288:(.text+0xbb260): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xbb2da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_74setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201301:(.text+0xbb33e): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201281:(.text+0xbb432): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201281:(.text+0xbb43a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201281:(.text+0xbb442): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201281:(.text+0xbb44a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_75setASMLocalSubdomains': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201120:(.text+0xbb4d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201066:(.text+0xbb4f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201062:(.text+0xbb51c): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_43getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153093:(.text+0xbb54e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153104:(.text+0xbb56a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153108:(.text+0xbb646): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xbb674): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xbb680): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbb6f0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xbb754): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_42getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153187:(.text+0xbb764): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xbb7aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_42getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153224:(.text+0xbb7d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153224:(.text+0xbb7e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_43getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153152:(.text+0xbb7f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153116:(.text+0xbb7fa): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153119:(.text+0xbb80c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbb870): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_42getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153197:(.text+0xbb880): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_43getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153116:(.text+0xbb892): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153111:(.text+0xbb8ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_42getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153176:(.text+0xbb8dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbb92c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_43getFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153129:(.text+0xbb940): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153109:(.text+0xbba30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153109:(.text+0xbba42): undefined reference to `PyDict_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155637:(.text+0xbba98): undefined reference to `PyModule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155664:(.text+0xbbac8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbbaea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbbb04): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbbb0a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xbbb86): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155675:(.text+0xbbbb2): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155677:(.text+0xbbbd8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbbc74): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_78getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155765:(.text+0xbbd16): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbbe24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_78getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155719:(.text+0xbbe30): undefined reference to `PyCode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155662:(.text+0xbbe64): undefined reference to `PyEval_MergeCompilerFlags' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155662:(.text+0xbbe7e): undefined reference to `PyRun_StringFlags' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbbf32): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_79getFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155642:(.text+0xbbf48): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153962:(.text+0xbbfbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153963:(.text+0xbbfc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xbbfce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153993:(.text+0xbbff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbc012): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154036: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_54getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154055:(.text+0xbc04c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xbc062): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154011:(.text+0xbc086): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153966:(.text+0xbc09c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xbc0d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154000:(.text+0xbc0d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154000:(.text+0xbc0de): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154000:(.text+0xbc0e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154002:(.text+0xbc0f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154002:(.text+0xbc10e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xbc1aa): undefined reference to `PyDict_DelItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xbc1c0): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbc1e0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_54getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154065:(.text+0xbc224): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154082:(.text+0xbc22c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153977:(.text+0xbc256): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153977:(.text+0xbc274): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153981:(.text+0xbc298): undefined reference to `PyUnicode_AsUTF8String' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xbc2b4): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xbc2c2): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153967:(.text+0xbc2da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153969:(.text+0xbc2e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153974:(.text+0xbc2f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xbc2f8): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153969:(.text+0xbc304): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153987:(.text+0xbc3ba): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbc448): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xbc44c): undefined reference to `PyExc_UnboundLocalError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbc466): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_55getFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153967:(.text+0xbc482): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153967:(.text+0xbc48e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153967:(.text+0xbc498): undefined reference to `PyEval_GetBuiltins' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153969:(.text+0xbc4a2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344544:(.text+0xbc4ca): undefined reference to `PyEval_EvalCode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344544:(.text+0xbc4de): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344556:(.text+0xbc4f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbc534): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbc55a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13031:(.text+0xbc58a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xbc59a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xbc5d2): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xbc608): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbc61c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xbc624): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344593:(.text+0xbc636): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344595:(.text+0xbc65a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344597:(.text+0xbc66c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbc6aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_34stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344627:(.text+0xbc6d6): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xbc6f6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbc702): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xbc70e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344570:(.text+0xbc766): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344570:(.text+0xbc776): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344570:(.text+0xbc77e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344574:(.text+0xbc7a2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_34stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344683:(.text+0xbc7e2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344562:(.text+0xbc812): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344567:(.text+0xbc830): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbc87a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344576:(.text+0xbc900): undefined reference to `PyImport_Import' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbc95c): undefined reference to `PyModule_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbc968): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_35stratumHasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344562:(.text+0xbc982): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344560:(.text+0xbc9be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344560:(.text+0xbc9c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170226:(.text+0xbc9d4): undefined reference to `PyImport_Import' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170286:(.text+0xbcab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170286:(.text+0xbcabe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170286:(.text+0xbcac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170286:(.text+0xbcace): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170240:(.text+0xbcad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170240: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170241:(.text+0xbcaea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbcb04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xbcb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170279:(.text+0xbcb58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xbcb7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbcb96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xbcbb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170309:(.text+0xbcbbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbcbe0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170319:(.text+0xbcc00): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xbcc0c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170365:(.text+0xbcc6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170252:(.text+0xbcca0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170338:(.text+0xbcd08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170338:(.text+0xbcd10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170242:(.text+0xbcd20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170249:(.text+0xbcd30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xbcd40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170249:(.text+0xbcd50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170249:(.text+0xbcd54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170309:(.text+0xbcd68): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbcd74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbcd8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_176getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170309:(.text+0xbcd96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170319:(.text+0xbcd9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170319:(.text+0xbcda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbcdc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170262:(.text+0xbcde8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbce0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbce80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbce96): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_177getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170286:(.text+0xbcea4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_119logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236746:(.text+0xbcf1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xbcf54): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_119logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236799:(.text+0xbcf6a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236799:(.text+0xbcf82): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236801:(.text+0xbcf96): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236801:(.text+0xbcf9c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236789:(.text+0xbcfca): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xbcfd2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xbcfe6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xbcfee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbd00c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xbd016): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESLogConvergenceHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/snesimpl.h:243:(.text+0xbd02a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/snesimpl.h:245:(.text+0xbd042): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_118logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236863:(.text+0xbd068): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xbd090): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xbd106): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbd140): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_119logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236770:(.text+0xbd16c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236773:(.text+0xbd178): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236795:(.text+0xbd1f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xbd28c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbd31c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_119logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236810:(.text+0xbd32a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236763:(.text+0xbd344): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236765:(.text+0xbd364): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236765:(.text+0xbd376): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108518:(.text+0xbd396): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108529:(.text+0xbd3a8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xbd3c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108560:(.text+0xbd3de): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbd3fe): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xbd410): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_72complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108621:(.text+0xbd430): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108633:(.text+0xbd442): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108578:(.text+0xbd496): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbd4ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108567:(.text+0xbd4e8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108571:(.text+0xbd520): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xbd574): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xbd5aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_72complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108611:(.text+0xbd60a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108611:(.text+0xbd612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108658:(.text+0xbd61a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108658:(.text+0xbd620): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108548:(.text+0xbd676): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108536:(.text+0xbd6e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_72complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108658:(.text+0xbd72c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbd75a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xbd84e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_73complement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108578:(.text+0xbd8a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xbd9e0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_143getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206696:(.text+0xbda22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206696:(.text+0xbda34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206696:(.text+0xbda3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206660:(.text+0xbda44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206660:(.text+0xbda4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206661: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbdada): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbdae8): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xbdb04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_142getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778:(.text+0xbdb28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xbdb44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xbdb4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbdb5e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbdb6c): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_142getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206730:(.text+0xbdb9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbdc70): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_143getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206674:(.text+0xbdcfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbdd30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xbdd54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_142getCompositePC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778:(.text+0xbdd68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778:(.text+0xbdd74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206778: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbddaa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_59setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286796:(.text+0xbdf98): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286840:(.text+0xbe00a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286850:(.text+0xbe018): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xbe032): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbe052): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xbe064): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbe084): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_58setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286883:(.text+0xbe096): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286915:(.text+0xbe0b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286942:(.text+0xbe0cc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_59setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286807:(.text+0xbe0ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286810:(.text+0xbe0fe): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xbe11e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_59setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286798:(.text+0xbe130): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286800:(.text+0xbe1c6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xbe1fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286816:(.text+0xbe250): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_59setField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286798:(.text+0xbe296): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286802:(.text+0xbe2ce): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286800:(.text+0xbe2fa): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xbe408): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xbe43c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xbe444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33657:(.text+0xbe44c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33656:(.text+0xbe452): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33657:(.text+0xbe46a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xbe50e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xbe516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33834:(.text+0xbe51e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33881:(.text+0xbe526): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33848: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbe5a0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33911:(.text+0xbe67e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34179:(.text+0xbe714): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xbe766): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbe772): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34212:(.text+0xbe77a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xbe7aa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xbe8ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33660:(.text+0xbe928): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33661:(.text+0xbe934): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33718:(.text+0xbe9f8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33718:(.text+0xbea06): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33950:(.text+0xbea4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33979:(.text+0xbead0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33611:(.text+0xbeb2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34012:(.text+0xbeb38): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34016:(.text+0xbeb6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xbeb7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34032:(.text+0xbeb98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34032:(.text+0xbeba4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xbec08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34215:(.text+0xbec3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33910:(.text+0xbec7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xbec92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34211:(.text+0xbecae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33456:(.text+0xbed78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xbedb2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xbedbe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34105:(.text+0xbee82): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34105:(.text+0xbee90): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33638:(.text+0xbeed8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbef5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_NNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33611:(.text+0xbefb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xbefc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458343:(.text+0xbeff4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xbf006): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458331:(.text+0xbf022): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xbf02e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xbf092): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99354:(.text+0xbf0c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xbf106): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99398:(.text+0xbf11c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99400:(.text+0xbf138): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99369:(.text+0xbf202): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xbf23c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99375:(.text+0xbf248): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_unsigned_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458340:(.text+0xbf30c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_22setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99441:(.text+0xbf31a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99379:(.text+0xbf362): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xbf3e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xbf43e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xbf44c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbf47e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbf490): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_23setSeed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99370:(.text+0xbf4ac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99370:(.text+0xbf4b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0xbf51c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbf552): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xbf590): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0xbf5a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xbf5c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111629:(.text+0xbf68c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xbf6c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_12create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111659:(.text+0xbf6d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xbf796): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbf7a4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0xbf7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xbf86e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111575:(.text+0xbf8c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111587:(.text+0xbf8d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_12create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111771:(.text+0xbf908): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xbf91a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xbf936): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xbf942): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111580:(.text+0xbf9a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xbf9dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xbfa1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xbfa30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xbfa4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_13create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111573:(.text+0xbfb16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111595:(.text+0xbfb50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111588:(.text+0xbfb5c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111575:(.text+0xbfc20): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111575:(.text+0xbfc2e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180932:(.text+0xbfc76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180998:(.text+0xbfcf8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180985:(.text+0xbfd52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xbfd60): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_312createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181061:(.text+0xbfd92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181101:(.text+0xbfda4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xbfdc0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xbfdcc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180950:(.text+0xbfe30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180992:(.text+0xbfe66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181005:(.text+0xbfea4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181006:(.text+0xbfeba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_312createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181063:(.text+0xbfed6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180979:(.text+0xbffa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_312createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181126:(.text+0xbffd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xbffe4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180975:(.text+0xc0032): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180968:(.text+0xc0048): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180969:(.text+0xc0056): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc0098): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_313createSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180953:(.text+0xc00d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:180953:(.text+0xc00e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305579:(.text+0xc018e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xc019c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xc0212): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc0224): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xc0228): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_68setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305668:(.text+0xc0230): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305607:(.text+0xc0240): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305607:(.text+0xc0250): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305596:(.text+0xc0282): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305598:(.text+0xc029a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305582:(.text+0xc02b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305545:(.text+0xc02e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xc033e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xc0368): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xc03da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305576:(.text+0xc0502): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xc0510): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_68setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305657:(.text+0xc051e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xc0548): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305548:(.text+0xc055a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305560:(.text+0xc05ce): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc05fa): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc060a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc0628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_68setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305647:(.text+0xc063e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc0658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc065e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc0664): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc0676): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305607:(.text+0xc06a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc06d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc06e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_69setRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305546:(.text+0xc06ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305546:(.text+0xc06f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305546:(.text+0xc0702): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305548:(.text+0xc072a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305548:(.text+0xc0730): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305550:(.text+0xc0742): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc07aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191471:(.text+0xc07c4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191513:(.text+0xc07ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191513:(.text+0xc07d8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc07fc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc0818): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc0822): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191545:(.text+0xc0834): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191554:(.text+0xc0842): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc086c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191490:(.text+0xc087e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191444:(.text+0xc0896): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191445:(.text+0xc089e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191479:(.text+0xc08e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191479:(.text+0xc08f0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191481:(.text+0xc08fe): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0xc0928): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0xc093a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc09ae): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc09da): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc09ea): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xc0a08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xc0a1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191453:(.text+0xc0a38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191453:(.text+0xc0a3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191456:(.text+0xc0a44): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191456:(.text+0xc0a56): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191460:(.text+0xc0a82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191446:(.text+0xc0ab8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191453:(.text+0xc0ac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xc0aca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191448:(.text+0xc0ad0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191453:(.text+0xc0ae2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0xc0b0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0xc0b10): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0xc0b22): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc0b8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191525:(.text+0xc0ba4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc0bae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xc0bb8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_446getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191579:(.text+0xc0bdc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc0bf8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xc0c02): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191462:(.text+0xc0c14): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191462:(.text+0xc0c22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0xc0c4c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc0c5e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc0c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc0c7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_447getNestSubMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191446:(.text+0xc0cc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191446:(.text+0xc0cd0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191446:(.text+0xc0cde): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_MemviewEnum___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401326:(.text+0xc0d08): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401337:(.text+0xc0d1a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xc0d8e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_MemviewEnum___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401340:(.text+0xc0dba): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401364:(.text+0xc0dca): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401364:(.text+0xc0de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401366:(.text+0xc0dfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401346:(.text+0xc0e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401352:(.text+0xc0e1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401360:(.text+0xc0e24): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401349:(.text+0xc0e36): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401353:(.text+0xc0e62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401353:(.text+0xc0e98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401353:(.text+0xc0ea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc0eaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc0eb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc0ec2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401375:(.text+0xc0eea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85548:(.text+0xc0ef0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc0f02): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85560:(.text+0xc0f6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc0f84): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc0f8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc0f98): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413068:(.text+0xc0fbc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413074:(.text+0xc0fd8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc0fe2): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413076:(.text+0xc0ff4): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413081:(.text+0xc1002): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc102c): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc103e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418724:(.text+0xc1056): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418727:(.text+0xc105e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342701:(.text+0xc109c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342671:(.text+0xc10c0): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc10da): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418724:(.text+0xc10e2): undefined reference to `PyNumber_Subtract' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc10fc): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351905:(.text+0xc1184): undefined reference to `PyNumber_InPlaceSubtract' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Partitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418625:(.text+0xc11b6): undefined reference to `PyNumber_InPlaceSubtract' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc11e2): undefined reference to `PySlice_New' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xc1238): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298168:(.text+0xc1240): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc126e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xc1306): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328993:(.text+0xc1310): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329015:(.text+0xc1316): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMPlexTransform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418428:(.text+0xc1320): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328994:(.text+0xc1334): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xc13c6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418196:(.text+0xc13fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283307:(.text+0xc140a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc1412): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc141a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc143e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc1454): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMSwarm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421790:(.text+0xc147c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DMComposite': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421584:(.text+0xc14c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421586:(.text+0xc14c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:421588:(.text+0xc14cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xc1588): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc15c6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc15f0): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1610): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_NullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416155:(.text+0xc161c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc1694): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_MatPartitioning': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416059:(.text+0xc16f8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416068:(.text+0xc1748): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195791:(.text+0xc1756): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc176c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc17a6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Section': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415440:(.text+0xc1818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415440:(.text+0xc1820): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415330:(.text+0xc18aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415329:(.text+0xc18b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xc18c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148536:(.text+0xc18e2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc1914): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc191c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc194c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1962): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Quad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415225:(.text+0xc196a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415227: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Quad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415228:(.text+0xc19f4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415228:(.text+0xc1a02): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xc1a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1a6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xc1a84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_FE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415122:(.text+0xc1a9c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Space': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414874:(.text+0xc1be8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1c1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xc1c24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xc1c2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc1c92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc1c9a): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1cb0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1d64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc1d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc1d74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110956:(.text+0xc1de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110926:(.text+0xc1e02): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414146:(.text+0xc1e2c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1e3e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc1e42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413765:(.text+0xc1e64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1e92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xc1e9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xc1ea2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101574:(.text+0xc1eb4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_DeviceContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413776:(.text+0xc1eba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413768:(.text+0xc1eec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1f26): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Random': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413498:(.text+0xc1f32): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc1fe4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104243:(.text+0xc207e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc20c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xc2104): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc210c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc2114): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Viewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413380:(.text+0xc2138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc2162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Viewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413372:(.text+0xc2168): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc219e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414428:(.text+0xc21ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xc21f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc220a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119086:(.text+0xc2224): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414434:(.text+0xc2230): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc2266): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xc22b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xc22ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365964:(.text+0xc230c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc23e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc2420): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xc242c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417361:(.text+0xc24de): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366319:(.text+0xc2578): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366319:(.text+0xc25be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc25fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xc2606): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xc260e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0xc2632): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSRollBack_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391207:(.text+0xc265c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xc2662): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366275:(.text+0xc2698): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc26e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc26f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSRollBack_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391238:(.text+0xc2704): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc271e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xc272a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc2760): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc27ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc27c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc2806): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc28e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc291a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc2926): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc29d8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0xc2a72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391353:(.text+0xc2ab8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0xc2af8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc2b00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc2b08): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xc2b2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc2b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xc2b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391374:(.text+0xc2b92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391407:(.text+0xc2be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xc2bec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391413:(.text+0xc2bfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xc2c18): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xc2c24): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc2c5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0xc2ca8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc2cbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc2d00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391308:(.text+0xc2dda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc2e14): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc2e20): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc2ed2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xc2f6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0xc2fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391421:(.text+0xc2ff2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xc2ffa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0xc3002): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc3026): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSInterpolate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391407:(.text+0xc3050): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391407:(.text+0xc3056): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390520:(.text+0xc308c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0xc30dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xc30e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390549:(.text+0xc30f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390393:(.text+0xc3112): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390393:(.text+0xc311e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xc3154): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xc31a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0xc31b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390434:(.text+0xc31fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xc32d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390520:(.text+0xc330e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc331a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390484:(.text+0xc33cc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390484:(.text+0xc3466): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0xc34ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390484:(.text+0xc34ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390484:(.text+0xc34f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390484:(.text+0xc34fc): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390443:(.text+0xc3520): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390540:(.text+0xc354a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390540:(.text+0xc3550): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc3586): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0xc35d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391494:(.text+0xc35e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xc35f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0xc360c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0xc3618): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc364e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366287:(.text+0xc369c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc36b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0xc36f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xc37ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc3808): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc3814): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391710:(.text+0xc38c6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc3960): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc39a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391625:(.text+0xc39e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc39ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc39f6): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xc3a1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391547:(.text+0xc3a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc3a4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc3a80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391660:(.text+0xc3ad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391661:(.text+0xc3ada): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391585:(.text+0xc3aec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391585:(.text+0xc3b06): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc3b12): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc3b48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc3b96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xc3bac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0xc3bee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSEvaluateStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391585:(.text+0xc3cc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416890:(.text+0xc3d02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416894:(.text+0xc3d0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc3dc0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422410:(.text+0xc3e5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387250:(.text+0xc3ea0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0xc3ee0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366216:(.text+0xc3ee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc3ef0): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387263:(.text+0xc3f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc3f3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xc3f44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc3f7a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc3fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc3fd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387319:(.text+0xc3fe6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc4000): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387382:(.text+0xc400c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387349:(.text+0xc4042): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387319:(.text+0xc4090): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc40a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc40e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc41c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387313:(.text+0xc41fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387313:(.text+0xc4208): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215668:(.text+0xc42ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384041:(.text+0xc4354): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0xc439a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382670:(.text+0xc43da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382673:(.text+0xc43e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0xc43ea): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383852:(.text+0xc440e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc4438): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383867:(.text+0xc443e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc4474): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0xc44c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc44ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xc44e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc44fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383889:(.text+0xc4506): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc453c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383936:(.text+0xc458a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc45a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc45e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383936:(.text+0xc46bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384035:(.text+0xc46f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384040:(.text+0xc4702): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383930:(.text+0xc47b2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416255:(.text+0xc484c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0xc4892): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc48d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc48da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:416258:(.text+0xc48e2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xc4906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplyTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381889:(.text+0xc4930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc4936): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xc496c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xc49bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc49c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0xc49d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0xc49f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0xc49fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xc4a34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc4a82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xc4a98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc4ada): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc4bb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc4bee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xc4bfa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplyTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381940:(.text+0xc4caa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc4d44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc4d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc4dca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc4dd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc4dda): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xc4dfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplyTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381897:(.text+0xc4e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381944:(.text+0xc4e2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381982:(.text+0xc4e64): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xc4eb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xc4eba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplyTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381927:(.text+0xc4ecc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc4ee6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0xc4ef2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xc4f28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc4f76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381996:(.text+0xc4f8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381745:(.text+0xc4fca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc50a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xc50dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0xc50e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc519a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc5234): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xc527a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381879:(.text+0xc52ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381879:(.text+0xc52c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381879:(.text+0xc52ca): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366074:(.text+0xc52ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0xc5318): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0xc531e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381870:(.text+0xc5354): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381782:(.text+0xc53a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc53ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc53c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc53da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc53e6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc541c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc546a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc5480): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc54c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381730:(.text+0xc559c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381836:(.text+0xc55d6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381836:(.text+0xc55e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0xc5694): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc572e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc5774): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xc57b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0xc57bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0xc57c4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc57e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0xc5812): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc5818): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382142:(.text+0xc584e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xc589e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xc58a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc58ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc58d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc58e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc5916): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc5964): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xc597a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xc59bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc5ad0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc5adc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382058:(.text+0xc5b32): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc5b40): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382142:(.text+0xc5b6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc5b82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xc5bc4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc5bd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricLeft_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382142:(.text+0xc5ca4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382209:(.text+0xc5cb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0xc5d0c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0xc5d70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0xc5d82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xc5d9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc5dae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xc5dcc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xc5de2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc5dfc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xc5e3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0xc6026): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382350:(.text+0xc6060): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382350:(.text+0xc606c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc611e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382217:(.text+0xc61ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382302:(.text+0xc6200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xc6240): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xc6248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc6250): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc6274): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0xc62a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0xc62a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xc62dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCApplySymmetricRight_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382302:(.text+0xc632c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCReset_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380853:(.text+0xc6336): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380927:(.text+0xc6348): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc6362): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0xc636e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379470:(.text+0xc63a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380756:(.text+0xc63f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380771:(.text+0xc6408): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0xc644a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc6524): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xc655e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc656a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc661c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc66b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0xc66fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc673e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0xc6746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0xc674e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCReset_Python_inner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:380834:(.text+0xc6772): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc679e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc67a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415581:(.text+0xc67da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415590:(.text+0xc682a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415590:(.text+0xc6834): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156175:(.text+0xc6846): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc6860): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415582:(.text+0xc686c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365974:(.text+0xc68a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc68f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366035:(.text+0xc6906): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xc6948): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xc6a22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc6a5c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xc6a68): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377984:(.text+0xc6b1a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378099:(.text+0xc6bb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc6bfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378178:(.text+0xc6c3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xc6c44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc6c4c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378205:(.text+0xc6c70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xc6c9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xc6ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378226:(.text+0xc6cd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378240:(.text+0xc6d28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378240:(.text+0xc6d32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc6d44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc6d5e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378252:(.text+0xc6d6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc6da0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc6dee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378280:(.text+0xc6e04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc6e46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc6f22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc6f60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc6f6c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc6fea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377872:(.text+0xc7088): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377873:(.text+0xc7140): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377869:(.text+0xc7148): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378075:(.text+0xc7150): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc7170): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377955:(.text+0xc7188): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378087:(.text+0xc7194): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc71da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378176:(.text+0xc71f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc71fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductNumeric_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378178:(.text+0xc7204): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377869:(.text+0xc72b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377980:(.text+0xc72d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377870:(.text+0xc7330): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370858:(.text+0xc736e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370873:(.text+0xc7384): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370888:(.text+0xc7394): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc73a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc7436): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xc751e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371088:(.text+0xc755c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371090:(.text+0xc7568): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xc75e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xc7684): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370964:(.text+0xc773c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370964:(.text+0xc7744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371010:(.text+0xc774c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc776c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371203:(.text+0xc7784): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_IS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365849:(.text+0xc7790): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc77d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_IS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365849:(.text+0xc77f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365849:(.text+0xc77fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365849:(.text+0xc7802): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc78b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc78d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xc792e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc796c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371271:(.text+0xc7982): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc7992): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc79a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc7a32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc7b22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc7b60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc7b6c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc7bea): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_IS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365886:(.text+0xc7c84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371030:(.text+0xc7d3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371207:(.text+0xc7d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc7d4c): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc7d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateSubMatrix_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371121:(.text+0xc7d84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371121:(.text+0xc7d90): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371030:(.text+0xc7dd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371249:(.text+0xc7df2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371249:(.text+0xc7dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371249:(.text+0xc7e02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371030:(.text+0xc7eb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371265:(.text+0xc7ed2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370974:(.text+0xc7f30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370990:(.text+0xc7f6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370995:(.text+0xc7f84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370881:(.text+0xc7f94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370996:(.text+0xc7fa6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc8036): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc8126): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0xc8164): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc8170): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc81ee): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xc8288): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc8340): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8348): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8350): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8388): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8394): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xc83dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatRealPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377398:(.text+0xc83f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377398:(.text+0xc83fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377398:(.text+0xc8406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0xc84ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xc84d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc8534): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatConjugate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377611:(.text+0xc8572): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc8588): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xc8598): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc85aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0xc863a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatConjugate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377652:(.text+0xc872e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc87ca): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatConjugate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377620:(.text+0xc87d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xc87e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatConjugate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377597:(.text+0xc8854): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xc8896): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0xc88cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xc88dc): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xc88ea): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0xc8934): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0xc894c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc895c): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc8966): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatImagPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377484:(.text+0xc898c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc89c8): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc89d8): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xc8a94): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xc8ab8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatImagPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377525:(.text+0xc8b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc8b76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc8b8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc8bc8): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatImagPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377493:(.text+0xc8bf0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xc8c04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatImagPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377525:(.text+0xc8c24): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377525:(.text+0xc8c32): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc8c46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc8c4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc8c56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatImagPart_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377469:(.text+0xc8c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroEntries_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372286:(.text+0xc8c94): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc8ca0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc8d98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroEntries_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372339:(.text+0xc8da6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0xc8db8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xc8dc2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc8dd6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc8de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc8e12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc8e20): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc8e32): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc8e36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc8e44): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc8e4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xc8e6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroEntries_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372389:(.text+0xc8e98): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc8eac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372306:(.text+0xc8ec0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xc8eee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xc8ef8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc8f4c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroEntries_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372380:(.text+0xc8f5c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372380:(.text+0xc8f78): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc8f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xc8fd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroEntries_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372380:(.text+0xc9040): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372380:(.text+0xc905c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xc9062): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc9070): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xc9130): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375135:(.text+0xc913c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xc9216): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xc9224): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc9232): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xc923e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375204:(.text+0xc92c4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xc92da): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc936a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc9392): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc939a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xc93ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0xc93f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xc93fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375162:(.text+0xc9426): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xc943e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc94b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xc9500): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc9534): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc953c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc954c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc956a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xc95a4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xc95d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375204:(.text+0xc95de): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375204:(.text+0xc95f0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xc9684): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xc9690): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc96ea): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xc96fc): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375218:(.text+0xc9708): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375151:(.text+0xc972c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMult_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373297:(.text+0xc973e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc9752): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xc9772): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xc9782): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMult_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373337:(.text+0xc97cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xc97dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMult_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373337:(.text+0xc97e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0xc9812): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0xc9820): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0xc9874): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0xc9888): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0xc98d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0xc98e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc98f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc9956): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xc998e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMult_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373463:(.text+0xc9a66): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373463:(.text+0xc9a72): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373454:(.text+0xc9afa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xc9b10): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xc9b1c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMult_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373307:(.text+0xc9b3e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc9b52): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xc9b5e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xc9b80): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xc9b94): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc9ba2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xc9bc0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc9c00): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xc9ca6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xc9cd2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xc9ce0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xc9d8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374919:(.text+0xc9de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374919:(.text+0xc9de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374919:(.text+0xc9df0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368663:(.text+0xc9e44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0xc9e6a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0xca02e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xca056): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xca062): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xca09a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xca0c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xca120): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xca128): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xca1e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xca20e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xca21c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xca246): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xca298): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xca2ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xca2d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xca360): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375028:(.text+0xca36c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374975:(.text+0xca47a): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0xca556): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xca5a6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xca6f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xca6fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xca706): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xca70e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xca716): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xca764): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xca782): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xca790): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xca796): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDiagonalScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376877:(.text+0xca7c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xca7d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDiagonalScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376780:(.text+0xca898): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376782:(.text+0xca9a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xca9ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDiagonalScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376820:(.text+0xca9e6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcaa6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcaa74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcaa7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDiagonalScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376834:(.text+0xcaac4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xcaaf0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376834:(.text+0xcaafe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0xcab8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0xcab96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcabca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xcac48): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0xcac54): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xcaca2): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0xcacc2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcacd2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcace2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0xcad5c): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcad8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376363:(.text+0xcae9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376421:(.text+0xcaea6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcaeae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcaeb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcaeda): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcaefc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376501:(.text+0xcaf28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcaf36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcaf6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcafb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:706:(.text+0xcb058): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcb064): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376501:(.text+0xcb0a6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376520:(.text+0xcb15a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0xcb178): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xcb182): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xcb18a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xcb1d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0xcb200): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0xcb20e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0xcb238): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcb24e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyBool_FromLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464756:(.text+0xcb2ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcb2ba): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xcb2f2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcb31c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xcb36a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xcb372): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376701:(.text+0xcb42a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0xcb456): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xcb464): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xcb48e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376692:(.text+0xcb4de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xcb512): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0xcb51a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcb58a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcb596): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcb5ce): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcb5fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcb658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcb660): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcb71a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xcb746): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376658:(.text+0xcb754): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcb77e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xcb7d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0xcb806): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0xcb80e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcb898): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_FromPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:15:(.text+0xcb8a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xcb8ee): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcbace): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcbad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcbade): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcbae8): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcbb0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcbb14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcbb1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatScale_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372749:(.text+0xcbb46): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcbb54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xcbbe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372768:(.text+0xcbd48): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xcbd54): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xcbd8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcbdf4): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0xcbe1c): undefined reference to `PySet_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0xcbe32): undefined reference to `PyLong_FromVoidPtr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372841:(.text+0xcbe82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372843:(.text+0xcbe8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcbeb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372872:(.text+0xcbec6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xcbf12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xcbf1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcbf4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372925:(.text+0xcbfbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372925:(.text+0xcbfc2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcbfd4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xcc012): undefined reference to `PySet_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0xcc020): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0xcc02a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0xcc034): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0xcc042): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcc04a): undefined reference to `PyFrozenSet_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcc058): undefined reference to `PyFrozenSet_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372872:(.text+0xcc070): undefined reference to `PySet_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372872:(.text+0xcc078): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcc08e): undefined reference to `PySet_Contains' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcc0be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcc138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372872:(.text+0xcc16e): undefined reference to `PyFrozenSet_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xcc18a): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372916:(.text+0xcc22a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xcc258): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcc264): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcc2e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatShift_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372823:(.text+0xcc2f2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370307:(.text+0xcc3c2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0xcc3fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcc406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcc412): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370326:(.text+0xcc44e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcc45a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcc486): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370357:(.text+0xcc494): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcc524): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370421:(.text+0xcc594): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370424:(.text+0xcc5a0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370424:(.text+0xcc5ac): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcc640): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcc64c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcc686): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcc6a0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcc6dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcc6f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcc706): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcc70e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcc722): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xcc762): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xcc78e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcc79c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370321:(.text+0xcc7c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcc7e0): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatDuplicate_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370290:(.text+0xcc7f4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370368:(.text+0xcc866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcc872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xcc87e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xcc888): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377109:(.text+0xcc8f0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377109:(.text+0xcc8fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcc99c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcca4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcca5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377215:(.text+0xcca76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377221:(.text+0xcca94): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xccac0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xccace): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377280:(.text+0xccb92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xccc3c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xccc48): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcccc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377148:(.text+0xccdf2): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xcce00): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377241:(.text+0xcce46): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xcce5a): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377215:(.text+0xcce90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377166:(.text+0xcce9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377166:(.text+0xccea4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcceac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcceb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatNorm_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377111:(.text+0xccec2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xcceee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xccefc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xccfda): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xccff4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcd0dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcd0e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyBegin_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372054:(.text+0xcd14a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372045:(.text+0xcd270): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372045:(.text+0xcd27e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcd2c4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcd2d8): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyBegin_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372045:(.text+0xcd30e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372045:(.text+0xcd318): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372045:(.text+0xcd320): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcd32c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xcd342): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xcd34c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xcd378): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcd386): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcd3b2): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetOption_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371363:(.text+0xcd454): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcd542): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453436:(.text+0xcd54e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetOption_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371469:(.text+0xcd5de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xcd5f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xcd606): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xcd616): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcd658): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0xcd69e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0xcd6b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcd6c2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetOption_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371532:(.text+0xcd6d2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xcd714): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xcd760): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcd858): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcd864): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcd87a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcd88a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcd89a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xcd8a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcd8d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSetOption_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:371469:(.text+0xcd8de): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcd906): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xcd996): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xcd9a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xcdac6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcdbb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xcdbf4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xcdc00): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcdc40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xcdc62): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370503:(.text+0xcdd9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcddce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcde12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcde1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcde2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcde40): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcde62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcdea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370543:(.text+0xcdeb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcdedc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCopy_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370543:(.text+0xcdeea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcdf34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcdf3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xcdf48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370627:(.text+0xce052): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370636:(.text+0xce05e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422165:(.text+0xce0b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370658:(.text+0xce0cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xce0de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xce0ee): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xce148): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xce1a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xce1ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xce1da): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xce1e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xce23c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0xce2d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xce366): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370656:(.text+0xce372): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xce3de): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0xce3fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0xce45e): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xce48c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xce4d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatGetDiagonalBlock_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370722:(.text+0xce528): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370743:(.text+0xce56a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370743:(.text+0xce576): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370744:(.text+0xce580): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370848:(.text+0xce5ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413064:(.text+0xce5ba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:413076:(.text+0xce602): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0xce70c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62611:(.text+0xce718): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62755:(.text+0xce7b8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__DMComposite_access': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419668:(.text+0xce86a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419668:(.text+0xce876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62592:(.text+0xce892): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xce8b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62626:(.text+0xce8dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62626:(.text+0xce8ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xce9b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62579:(.text+0xcea68): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62579:(.text+0xcea74): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62584:(.text+0xcea94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62632:(.text+0xceadc): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62584:(.text+0xcec5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xcec8a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62731:(.text+0xcec98): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_19_DMComposite_access_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62582:(.text+0xcecfc): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62584:(.text+0xced2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_85createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162747:(.text+0xced98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162747:(.text+0xceda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162762:(.text+0xcedb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xcedc4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xcedd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xcede0): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_85createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162807:(.text+0xcedfa): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcee3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162886:(.text+0xcee4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xcee6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xcee96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.12/cpython/listobject.h:34:(.text+0xceea4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xceeea): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0xcef18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xcef20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xcf012): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcf01e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163081:(.text+0xcf068): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163255:(.text+0xcf24c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163257:(.text+0xcf258): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xcf264): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcf272): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163281:(.text+0xcf296): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163290:(.text+0xcf2a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163290:(.text+0xcf2ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcf2d8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163309:(.text+0xcf2e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_85createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162812:(.text+0xcf376): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xcf4f4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcf500): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xcf544): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162931:(.text+0xcf62c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162888:(.text+0xcf6f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162892:(.text+0xcf6fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162892:(.text+0xcf70a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162894:(.text+0xcf716): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcf722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcf72c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_85createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162779:(.text+0xcf762): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162779:(.text+0xcf7ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162820:(.text+0xcf7fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162774:(.text+0xcf82a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162774:(.text+0xcf838): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162977:(.text+0xcf922): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162978:(.text+0xcf92e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162979:(.text+0xcf938): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162964:(.text+0xcf94c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163046:(.text+0xcfa06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcfa12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xcfa1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163194:(.text+0xcfa28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163196:(.text+0xcfa36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163196: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162851:(.text+0xcfb6e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163159:(.text+0xcfb7a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162962:(.text+0xcfbd4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162921:(.text+0xcfbe8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162921:(.text+0xcfbfc): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xcfc0e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xcfc1e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163340:(.text+0xcfcd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163340:(.text+0xcfcde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163331:(.text+0xcfce8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xcfd14): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xcfd22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162909:(.text+0xcfe26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162909:(.text+0xcfe32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162909:(.text+0xcfe44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_85createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162772:(.text+0xcfef8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162772:(.text+0xcff04): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163307:(.text+0xcff94): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163307:(.text+0xcffae): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xcffbe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_84createNest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:163290:(.text+0xcffe4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_41getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303528:(.text+0xcfffc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303528:(.text+0xd000c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd0032): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_41getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303532:(.text+0xd004a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_40getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303589:(.text+0xd005c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303568:(.text+0xd007e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xd00c2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:44:(.text+0xd016c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xd0198): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xd01a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd0258): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58232:(.text+0xd02ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58232:(.text+0xd02ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58232:(.text+0xd02c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58194:(.text+0xd031e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58194: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd034c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58194:(.text+0xd051c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd0562): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd056e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xd05dc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd05f2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_19getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337827:(.text+0xd061a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0xd06be): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd06f0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd072e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd076c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xd078e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xd0796): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_18getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337891:(.text+0xd07b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337891:(.text+0xd07c6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_19getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337833:(.text+0xd07e4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_18getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337861:(.text+0xd07f8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_19getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337801:(.text+0xd0826): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337801:(.text+0xd083a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337798:(.text+0xd08da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337806:(.text+0xd08e8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337806:(.text+0xd08f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd0916): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd0922): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd092e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd093a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd0946): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337843:(.text+0xd0950): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_19getAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337791:(.text+0xd0980): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366562:(.text+0xd0a02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447255:(.text+0xd0aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366634:(.text+0xd0ac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366650:(.text+0xd0ad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366650:(.text+0xd0aea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366664: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd0b04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366672:(.text+0xd0b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd0b5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366675:(.text+0xd0b66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_LookupSpecial': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3695:(.text+0xd0b70): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xd0b9c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_LookupSpecial': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3695:(.text+0xd0baa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366680:(.text+0xd0bd2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xd0bf8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366716:(.text+0xd0c94): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd0ca8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xd0cb2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd0cc4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd0cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd0d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366744:(.text+0xd0d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd0d86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyExec3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448915:(.text+0xd0e7a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448921:(.text+0xd0e86): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366854:(.text+0xd0f16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366856:(.text+0xd0f2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366856:(.text+0xd0f3e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd0f4e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366563:(.text+0xd0f90): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xd0fd6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd0fe8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd0ffa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd100a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd104c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd1098): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366635:(.text+0xd1190): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366635:(.text+0xd119c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366664:(.text+0xd11b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366664:(.text+0xd11c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366664:(.text+0xd11d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366860:(.text+0xd11dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366872:(.text+0xd1208): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366872:(.text+0xd1216): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366873:(.text+0xd123e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd12ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd12e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd13fe): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd14f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366792:(.text+0xd152a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366793:(.text+0xd1536): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366838:(.text+0xd158c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd15a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyExec3': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448895:(.text+0xd15b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448895:(.text+0xd15c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366841:(.text+0xd15d6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd168a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_load_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366816:(.text+0xd1696): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366816:(.text+0xd16a0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd16cc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd16da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368006:(.text+0xd17de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368036:(.text+0xd17ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368049:(.text+0xd17fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd1896): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xd18a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xd18e4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd1998): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368257:(.text+0xd19ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368257:(.text+0xd19c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368259:(.text+0xd19d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368273:(.text+0xd1a22): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd1a4e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd1a5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368320:(.text+0xd1a86): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_HasAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448956:(.text+0xd1a9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd1b04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368368:(.text+0xd1b10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xd1bb0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd1c62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd1c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd1c8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xd1ca8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd1cd4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368012:(.text+0xd1ce2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368072:(.text+0xd1dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368100:(.text+0xd1e60): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd1e6c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd1eb6): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368262:(.text+0xd209a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368289:(.text+0xd20a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd20b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd20c0): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368297:(.text+0xd20e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368297:(.text+0xd20f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd20fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368072:(.text+0xd2126): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368268:(.text+0xd2134): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368265:(.text+0xd21c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368377:(.text+0xd2342): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd234e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368072:(.text+0xd2390): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368062:(.text+0xd23a4): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd23c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_createcontext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368275:(.text+0xd2480): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368275:(.text+0xd248e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378804:(.text+0xd24ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xd2532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378884:(.text+0xd2544): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378902:(.text+0xd2570): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378930:(.text+0xd257e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xd2622): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xd26d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xd26de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd26fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd2708): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379037:(.text+0xd2740): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xd276a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379151:(.text+0xd27b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379151:(.text+0xd27c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xd2882): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379192:(.text+0xd28ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xd28bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd28e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd293c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379236:(.text+0xd2976): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379238:(.text+0xd2982): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379257:(.text+0xd29fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd2a06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xd2a3e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd2a6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd2ac8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd2ad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xd2b92): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378991:(.text+0xd2bbe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379115:(.text+0xd2bcc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd2bf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379421:(.text+0xd2c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd2c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd2c92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379436:(.text+0xd2d0a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379436:(.text+0xd2d16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd2db6): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd2e68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379163:(.text+0xd2e74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd2e90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd2eae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetItemInt_Generic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446813:(.text+0xd2eda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd2ee8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378939:(.text+0xd2fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379182:(.text+0xd304c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379219:(.text+0xd3058): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd30f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379257:(.text+0xd31aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378993:(.text+0xd31b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscObjectComposedDataSetIntPy': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:164:(.text+0xd31d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:164:(.text+0xd31f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSetFromOptions_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379395:(.text+0xd321c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379260:(.text+0xd322a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscObjectComposedDataRegisterPy': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:172:(.text+0xd32f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xd338e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xd339a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378391:(.text+0xd33d2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatProductType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463998:(.text+0xd33fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd345a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd3466): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd351e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd354a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd3558): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378464:(.text+0xd3582): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378585:(.text+0xd35d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378626:(.text+0xd35e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378626:(.text+0xd35ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xd36a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378692:(.text+0xd36ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378699:(.text+0xd370c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378710:(.text+0xd3736): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378763:(.text+0xd37b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd37bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd3808): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd3816): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd3842): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378794:(.text+0xd3850): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xd38f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd3924): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd3960): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd396c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd3978): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378594:(.text+0xd3a2e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd3a3a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatProductSymbolic_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378422:(.text+0xd3b4c): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378649:(.text+0xd3c2c): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:378626:(.text+0xd3c80): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183458:(.text+0xd3dd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xd3de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd3dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xd3df8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183508:(.text+0xd3e04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183508: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183541:(.text+0xd3e66): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183530:(.text+0xd3e88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183531:(.text+0xd3e9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd3ea4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xd3ed0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xd3ede): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183481:(.text+0xd3fa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xd40c2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xd40ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183505:(.text+0xd4112): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd420a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_339transposeMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183481:(.text+0xd4276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183481:(.text+0xd4292): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183211:(.text+0xd429e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183211:(.text+0xd42aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183211:(.text+0xd42b8): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183226:(.text+0xd42d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183277:(.text+0xd431e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183279:(.text+0xd434a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183294:(.text+0xd4358): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xd43aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xd43ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xd43d6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183271:(.text+0xd44bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183283:(.text+0xd44c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd4504): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xd45e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183234:(.text+0xd45f6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183253:(.text+0xd46a6): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183254:(.text+0xd46b4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd470e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_337matTransposeMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183230:(.text+0xd4722): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183952:(.text+0xd479a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183952:(.text+0xd47a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183965:(.text+0xd47b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183952:(.text+0xd47c2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184018:(.text+0xd4830): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184020:(.text+0xd483c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184035:(.text+0xd4870): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184005:(.text+0xd4880): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xd48ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_342rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184142:(.text+0xd48ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xd4908): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184024:(.text+0xd49e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184025:(.text+0xd49ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_342rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184179:(.text+0xd4a48): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184180:(.text+0xd4a5c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183983:(.text+0xd4a70): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183983:(.text+0xd4a82): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xd4a92): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd4b46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd4b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd4b5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_343rart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183973:(.text+0xd4b88): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183980:(.text+0xd4b96): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183975:(.text+0xd4c9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_341ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183705:(.text+0xd4ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183718:(.text+0xd4cb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183788:(.text+0xd4d68): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183788:(.text+0xd4d74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_340ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183833:(.text+0xd4db0): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_341ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183723:(.text+0xd4e8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183728:(.text+0xd4ea2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_340ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183932:(.text+0xd4f52): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_341ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183733:(.text+0xd4f60): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xd4fba): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xd4fce): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_341ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183752:(.text+0xd5046): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd5052): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd505e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_340ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183907:(.text+0xd506e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183842:(.text+0xd50dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183842:(.text+0xd50e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd511c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_341ptap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183724:(.text+0xd512c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183726:(.text+0xd5158): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183726:(.text+0xd5166): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182977:(.text+0xd51b4): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xd5292): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183037:(.text+0xd529e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_334matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183154:(.text+0xd52be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd5306): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182995:(.text+0xd5486): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd54b4): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xd54c2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183011:(.text+0xd5526): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xd5556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183000:(.text+0xd55c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183000:(.text+0xd55ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183001:(.text+0xd55da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd55ee): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd5602): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd560a): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_335matMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:183047:(.text+0xd5624): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182985:(.text+0xd5668): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182985:(.text+0xd5674): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182987:(.text+0xd5694): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_167monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258426:(.text+0xd56c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258425:(.text+0xd56ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258463:(.text+0xd5714): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xd5742): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd574a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_167monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258479:(.text+0xd5836): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258479:(.text+0xd5842): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258443:(.text+0xd5a08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xd5a14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd5a20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_167monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258430:(.text+0xd5a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_166monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258519:(.text+0xd5b14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_167monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258431:(.text+0xd5c02): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280517:(.text+0xd5c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xd5c96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280570:(.text+0xd5cc2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280577:(.text+0xd5cec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xd5db4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0xd5dcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd5e10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xd5e36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xd5e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280603: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ctol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280530:(.text+0xd6058): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd6064): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd60c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3TAO_gtol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417837:(.text+0xd60d8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280267:(.text+0xd60ea): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280316:(.text+0xd6110): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280320:(.text+0xd6120): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280321:(.text+0xd6130): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xd6152): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0xd622c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd623c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd6268): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd6276): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280374:(.text+0xd62fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd631e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd63a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd63e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280324:(.text+0xd6452): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280276:(.text+0xd6484): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xd6490): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0xd64fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4gtol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280351:(.text+0xd6516): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd6528): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3TAO_ftol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417824:(.text+0xd653a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280017:(.text+0xd654c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280064:(.text+0xd655c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280064:(.text+0xd656c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd66a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd66b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd66be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd66ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd66d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd66e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xd670c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd671a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3TAO_ftol': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:417823:(.text+0xd6744): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xd68ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280028:(.text+0xd68f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414529:(.text+0xd6964): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_4ftol_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:280101:(.text+0xd6976): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59776:(.text+0xd6996): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59785:(.text+0xd69b8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59805:(.text+0xd69d8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59869:(.text+0xd69fa): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59986:(.text+0xd6a10): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60052:(.text+0xd6a32): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60084:(.text+0xd6a48): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59878:(.text+0xd6a68): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59878:(.text+0xd6a7e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xd6a9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xd6aa8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59917:(.text+0xd6abe): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd6ae0): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59933:(.text+0xd6af6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd6b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd6b46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd6b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60083:(.text+0xd6bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60010:(.text+0xd6bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60012:(.text+0xd6bcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60013:(.text+0xd6bf8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xd6c06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd6c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60074:(.text+0xd6d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd6de2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59933:(.text+0xd6e40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd6f08): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59766:(.text+0xd6f14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd7030): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59705:(.text+0xd70b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59675:(.text+0xd7112): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0xd7122): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59740:(.text+0xd71a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd71b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd7264): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd726e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd729a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd72f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd7302): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59757:(.text+0xd732e): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59765:(.text+0xd7364): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59663:(.text+0xd7384): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd7492): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd749e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_adjust_index_exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59643:(.text+0xd74f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_4__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59219:(.text+0xd7626): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59235:(.text+0xd76b0): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_4__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59195:(.text+0xd76c6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd771c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_2__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59103:(.text+0xd7728): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59103:(.text+0xd7734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59114:(.text+0xd774a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd7756): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd7760): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd7768): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd77ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd77d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447084:(.text+0xd7822): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_2__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59103:(.text+0xd7834): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59128:(.text+0xd7840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd7852): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_set_nn_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450725:(.text+0xd785c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450729:(.text+0xd7888): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450731:(.text+0xd7896): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xd794a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0xd7952): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342486:(.text+0xd79da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342502:(.text+0xd79e6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342489:(.text+0xd7a4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xd7a5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xd7a6a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_42setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342564:(.text+0xd7a7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xd7b1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd7b46): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd7b54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd7bcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_42setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342567:(.text+0xd7be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd7c04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_42setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342578:(.text+0xd7c7e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342645:(.text+0xd7c8a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd7d06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd7e34): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd7e42): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_43setCreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342459:(.text+0xd7e88): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342457:(.text+0xd7e9c): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342455:(.text+0xd7ed2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342455:(.text+0xd7edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_39setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341970:(.text+0xd7ee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341970:(.text+0xd7eee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341983:(.text+0xd7efa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341970:(.text+0xd7f04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xd7f30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd7f3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xd801c): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xd8036): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd810e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd811a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_39setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342030:(.text+0xd81e8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341991:(.text+0xd82b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341998:(.text+0xd82bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341998:(.text+0xd8302): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_38setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342099:(.text+0xd833a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342099:(.text+0xd8344): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_39setCreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342006:(.text+0xd8370): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342007:(.text+0xd837e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341991:(.text+0xd8420): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341104:(.text+0xd84d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341104:(.text+0xd84e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341115:(.text+0xd8536): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd855a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341152:(.text+0xd856a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341180:(.text+0xd857a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341212:(.text+0xd85f8): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd8628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341056:(.text+0xd873e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341061:(.text+0xd874a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341066:(.text+0xd8756): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341098:(.text+0xd8762): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_30setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341249:(.text+0xd878a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd87b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341069:(.text+0xd87dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xd87ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341066:(.text+0xd8822): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341059:(.text+0xd8870): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd8936): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xd8942): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_31setCreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341059:(.text+0xd898a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341057:(.text+0xd89b6): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340390:(.text+0xd8ab6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd8ac8): undefined reference to `PyList_New' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xd8bfe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd8c14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd8c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340374:(.text+0xd8cd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340401:(.text+0xd8ce4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_24setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340481:(.text+0xd8cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340550:(.text+0xd8cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340550: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_24setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340470:(.text+0xd8d2e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340367:(.text+0xd8d46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xd8d64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd8d80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xd8d8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340358:(.text+0xd8d9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340386:(.text+0xd8dba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340386:(.text+0xd8dc4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340381:(.text+0xd8e1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340382:(.text+0xd8e28): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd8e44): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340376:(.text+0xd8e70): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xd8e82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340419:(.text+0xd8e96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd8ebc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_25setCreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340360:(.text+0xd8f08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340358:(.text+0xd8f28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340358:(.text+0xd8f30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340358:(.text+0xd8f3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340358:(.text+0xd8f42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340875:(.text+0xd9006): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340882:(.text+0xd9012): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd904c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xd9076): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xd90ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_28setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340968:(.text+0xd90be): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd90ce): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340855:(.text+0xd915c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xd9188): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd9196): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd91c4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xd91d6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_28setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340999:(.text+0xd91de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd91ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340823:(.text+0xd922c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340828:(.text+0xd923e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340828:(.text+0xd9246): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340840:(.text+0xd9252): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xd9288): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xd92ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xd9306): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340826:(.text+0xd9312): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340847:(.text+0xd9392): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340848:(.text+0xd93a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_28setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340934:(.text+0xd93b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd9440): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340882:(.text+0xd944c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_29setRefine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340824:(.text+0xd94ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341607:(.text+0xd95d4): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341646:(.text+0xd95e2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xd9628): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341667:(.text+0xd963c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd9672): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xd967c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341711:(.text+0xd9684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd9690): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xd96a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xd96b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_35setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341554:(.text+0xd96dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd96ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xd9716): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_35setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341527:(.text+0xd97b8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341527:(.text+0xd989c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_34setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341698:(.text+0xd997c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_35setCreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341523:(.text+0xd9a3e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xd9a8a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341803:(.text+0xd9ad4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341805:(.text+0xd9aea): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xd9b6e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_36setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341900:(.text+0xd9bb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xd9bc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xd9bd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_36setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341911:(.text+0xd9bdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xd9be8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:643: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341784:(.text+0xd9e26): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341765:(.text+0xd9e6e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341778:(.text+0xd9e7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341779:(.text+0xd9e84): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341780:(.text+0xd9e96): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_36setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341911:(.text+0xd9ec2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xd9f2e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_37setCreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341814:(.text+0xd9f3a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341760:(.text+0xd9f56): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341756:(.text+0xd9fa4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341271:(.text+0xd9fc2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341271:(.text+0xd9fea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xda00c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xda01a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xda026): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341337:(.text+0xda046): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341339:(.text+0xda072): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341399:(.text+0xda0ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341413:(.text+0xda0d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xda0fc): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xda108): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341445:(.text+0xda158): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xda164): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xda1a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xda1b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xda1f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xda208): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341465:(.text+0xda248): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xda25e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xda270): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341333:(.text+0xda2ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341482:(.text+0xda2e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xda3ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_33setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341294:(.text+0xda3e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341312:(.text+0xda3f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_32setCreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341445:(.text+0xda438): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:341351:(.text+0xda47a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xda582): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xda58e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338656:(.text+0xda5b2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_10setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338769:(.text+0xda6b0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xda6c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xda6e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xda70e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xda73c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_10setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338735:(.text+0xda792): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xda7a4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xda7ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xda7b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338623:(.text+0xda802): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338624:(.text+0xda80c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338634:(.text+0xda82e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_10setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338748:(.text+0xda84c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338817:(.text+0xda860): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338769:(.text+0xda876): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338653:(.text+0xda93a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdaa0a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xdaa16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_11setCreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338629:(.text+0xdaa5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338627:(.text+0xdaa6a): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338627:(.text+0xdaa86): undefined reference to `PySet_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_9setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338373:(.text+0xdaaec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338423:(.text+0xdab1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338423:(.text+0xdab2a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338441:(.text+0xdab4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338450:(.text+0xdab78): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_8setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338515:(.text+0xdabce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdabd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xdabe4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdabec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xdabf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdac32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdac7a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdac94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_8setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338488:(.text+0xdacca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdace2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdacf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_9setCreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338401:(.text+0xdae06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338404:(.text+0xdae12): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338419:(.text+0xdae86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338414:(.text+0xdaede): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338394:(.text+0xdafdc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338394:(.text+0xdafea): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338392:(.text+0xdb00a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340585:(.text+0xdb036): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340640:(.text+0xdb0ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340640:(.text+0xdb0c6): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340649:(.text+0xdb0d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdb148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xdb154): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xdb168): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xdb174): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xdb17e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_26setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340735:(.text+0xdb192): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdb1a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdb1cc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_26setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340779:(.text+0xdb1da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdb1e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdb1fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdb21c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdb258): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdb2d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340590:(.text+0xdb2f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340595:(.text+0xdb308): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_26setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340783:(.text+0xdb342): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340783:(.text+0xdb34e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340603:(.text+0xdb386): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340603:(.text+0xdb39a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdb3b0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_27setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340614:(.text+0xdb458): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340614:(.text+0xdb464): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_26setCoarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340652:(.text+0xdb4d8): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340649:(.text+0xdb51e): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_41setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342269:(.text+0xdb628): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342280:(.text+0xdb652): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342280:(.text+0xdb668): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342280:(.text+0xdb676): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xdb6ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xdb700): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_40setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342366:(.text+0xdb70c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342377:(.text+0xdb734): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdb764): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdb7b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdb7c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdb80e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_40setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342397:(.text+0xdb820): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdb858): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_41setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342220:(.text+0xdb864): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342221:(.text+0xdb87a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342226:(.text+0xdb886): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342231:(.text+0xdb892): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342264:(.text+0xdb8a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_40setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342345:(.text+0xdb8b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_41setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342234:(.text+0xdb902): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xdb93c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_41setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342222:(.text+0xdb952): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdba76): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdba82): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_41setCreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342226:(.text+0xdbaa6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342224:(.text+0xdbad2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342222:(.text+0xdbaf2): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253371:(.text+0xdbb1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253385:(.text+0xdbb3a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xdbb76): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253442:(.text+0xdbb90): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253461:(.text+0xdbbb6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253472:(.text+0xdbc24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253472:(.text+0xdbc2e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253472:(.text+0xdbc48): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xdbc54): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253453:(.text+0xdbc80): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253455:(.text+0xdbcb0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253460:(.text+0xdbd00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253460:(.text+0xdbd0e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_82computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253492:(.text+0xdbd74): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253492:(.text+0xdbd86): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253516:(.text+0xdbd8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253516:(.text+0xdbd9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253392:(.text+0xdbdac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253403:(.text+0xdbdc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253394:(.text+0xdbdfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253394:(.text+0xdbe0a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253394:(.text+0xdbe1c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253394:(.text+0xdbe24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253398:(.text+0xdbe30): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253403:(.text+0xdbe4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253416:(.text+0xdbeaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253428:(.text+0xdbeda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253428:(.text+0xdbeea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253447:(.text+0xdbefc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253449:(.text+0xdbf04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253396:(.text+0xdbf10): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_82computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253502:(.text+0xdbf66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdbf76): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0xdbf88): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_82computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253492:(.text+0xdbf90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253434:(.text+0xdbf9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253418:(.text+0xdc006): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253418:(.text+0xdc01a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdc064): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xdc07a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_83computeI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253392:(.text+0xdc0d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253390:(.text+0xdc124): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296934:(.text+0xdc162): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296948:(.text+0xdc170): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xdc238): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297048:(.text+0xdc244): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdc2b8): undefined reference to `PyList_New' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xdc2fe): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296951:(.text+0xdc408): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296962:(.text+0xdc432): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296996:(.text+0xdc448): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297076:(.text+0xdc456): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdc4ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xdc4e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296952:(.text+0xdc4ec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296962:(.text+0xdc514): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296981:(.text+0xdc544): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297063:(.text+0xdc596): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xdc5a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_212setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297128:(.text+0xdc5ee): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdc600): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297011:(.text+0xdc638): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_213setSNESFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296957:(.text+0xdc644): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296957:(.text+0xdc65a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296955:(.text+0xdc666): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296955:(.text+0xdc672): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296955:(.text+0xdc684): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296953:(.text+0xdc690): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297167:(.text+0xdc6e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0xdc71c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297233:(.text+0xdc732): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_214setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297341:(.text+0xdc852): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdc85e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdc8e8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdc8f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_214setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297296:(.text+0xdc916): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297361:(.text+0xdc942): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xdc9f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_214setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297330:(.text+0xdca02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297198:(.text+0xdca20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xdca46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297188:(.text+0xdcad0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297195:(.text+0xdcae8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdcb8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xdcba0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_215setSNESJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297190:(.text+0xdcbbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297190:(.text+0xdcbca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297188:(.text+0xdcbf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297188:(.text+0xdcbfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297186:(.text+0xdcc0c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:297186:(.text+0xdcc22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdcc82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xdcc8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xdcc9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xdcd6c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdcd78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_84setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234200:(.text+0xdcdae): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdcdbe): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_84setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234244:(.text+0xdcdee): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234090:(.text+0xdce42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xdce5e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdce84): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_84setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234231:(.text+0xdcec6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234200:(.text+0xdcf78): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdcf8a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234065:(.text+0xdcf9a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xdcfda): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_84setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234166:(.text+0xdd090): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xdd09c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234073:(.text+0xdd0c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234117:(.text+0xdd0f4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_85setObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234060:(.text+0xdd140): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234060:(.text+0xdd14c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234058:(.text+0xdd174): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234058:(.text+0xdd180): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234056:(.text+0xdd18c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234056:(.text+0xdd196): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234056:(.text+0xdd1a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270285:(.text+0xdd1b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270285:(.text+0xdd1be): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xdd1fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdd208): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xdd21a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270370:(.text+0xdd24e): undefined reference to `PyUnicode_Join' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdd342): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdd34e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdd35c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdd368): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdd374): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270380: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270364:(.text+0xdd45a): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270364:(.text+0xdd468): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270366:(.text+0xdd47c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270345:(.text+0xdd4b2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdd4d0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270304:(.text+0xdd4de): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270305:(.text+0xdd500): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270370:(.text+0xdd516): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_46setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270506:(.text+0xdd560): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270320:(.text+0xdd6ac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xdd6b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_47setConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270308:(.text+0xdd7e4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278440:(.text+0xdd8b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278445:(.text+0xdd8c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdd8e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_152setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278540:(.text+0xdd912): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xdd940): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xdd94a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xdd958): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xdd964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_152setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278575:(.text+0xdd974): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278575: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xddaaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xddac4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xddad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_153setBRGNRegularizerHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278459:(.text+0xddafa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278461:(.text+0xddb10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278432:(.text+0xddc3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278433:(.text+0xddc48): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278437:(.text+0xddc6e): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278437:(.text+0xddc7e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278412:(.text+0xddc9a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278407:(.text+0xdde2c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278407:(.text+0xdde3c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278403:(.text+0xdde5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278405:(.text+0xdde8a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278401:(.text+0xddeb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278401:(.text+0xddec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271771:(.text+0xdded0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271771:(.text+0xddeea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271784:(.text+0xddefa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271771:(.text+0xddf0c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xddf14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xddf20): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xddf80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xddf8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xddfe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xde05e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271882:(.text+0xde0a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271839:(.text+0xde0c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271844:(.text+0xde0cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271934:(.text+0xde0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xde0ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xde104): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272008:(.text+0xde262): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272008:(.text+0xde26e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271802:(.text+0xde292): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271819:(.text+0xde390): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271820:(.text+0xde3a0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271814:(.text+0xde3c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271800:(.text+0xde3ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_58setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272008:(.text+0xde41c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xde472): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xde484): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xde48c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xde498): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_59setJacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271806:(.text+0xde4e2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271802:(.text+0xde4ec): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271804:(.text+0xde50e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271804:(.text+0xde52c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271800:(.text+0xde540): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:271800:(.text+0xde556): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xde61a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xde6e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xde6f4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xde718): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268699:(.text+0xde816): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268701:(.text+0xde826): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xde848): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xde874): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268640:(.text+0xde8a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_32setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0xde8f8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0xde90a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0xde912): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xde91e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268672:(.text+0xde968): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268673:(.text+0xde972): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268677:(.text+0xde994): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268645:(.text+0xde9b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268647:(.text+0xde9c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268692:(.text+0xde9dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_32setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268841:(.text+0xdeaa0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_33setResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268647:(.text+0xdeb70): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268643:(.text+0xdeb7c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268645:(.text+0xdebb6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0xdec4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdec5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xdec8c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdec9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54461:(.text+0xdecba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xdece6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xded14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xded2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xded34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54528:(.text+0xded48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xded54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdeda8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54539:(.text+0xdedc0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54544:(.text+0xdeddc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54550:(.text+0xdedee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdee04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdef00): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54641:(.text+0xdef0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xdef32): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0xdf06c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54533:(.text+0xdf106): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54533:(.text+0xdf116): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456339:(.text+0xdf138): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54698:(.text+0xdf164): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdf192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54501:(.text+0xdf23e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54503:(.text+0xdf24a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdf256): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdf266): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54466:(.text+0xdf278): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54467:(.text+0xdf280): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54415:(.text+0xdf28c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdf2c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54528:(.text+0xdf2d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54475:(.text+0xdf2e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xdf33a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdf350): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54540:(.text+0xdf440): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdf52a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456375:(.text+0xdf536): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54493:(.text+0xdf582): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xdf596): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdf670): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54471:(.text+0xdf68a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xdf6ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xdf6fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_281invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178922:(.text+0xdf71e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178982:(.text+0xdf74a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14151:(.text+0xdf7a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179012:(.text+0xdf7dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xdf7f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xdf810): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdf920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xdf92c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xdf936): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdf944): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14207:(.text+0xdf9a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14207:(.text+0xdf9ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179063:(.text+0xdf9de): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xdfb1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xdfb2e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xdfb50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xdfb7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_280invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179042:(.text+0xdfbe0): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_281invertBlockDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178921:(.text+0xdfbee): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:798:(.text+0xdfc52): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:798:(.text+0xdfc66): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0xdfca8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xdfcb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xdfce8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_199getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260722:(.text+0xdfcfc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_198getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260780:(.text+0xdfd0e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260762:(.text+0xdfd16): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260780:(.text+0xdfd22): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260799:(.text+0xdfd3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdfd66): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdfdb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xdfdca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_199getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260722:(.text+0xdfe8e): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260722:(.text+0xdfe98): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0xdff62): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_198getStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260807:(.text+0xdff6e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260809:(.text+0xdff96): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xdfff2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe00c2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe0112): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xe0122): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xe0144): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xe0170): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe019e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe01aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe01e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_36getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303256:(.text+0xe0278): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303272:(.text+0xe028c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_crop_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448828:(.text+0xe02ca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyTuple_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448866:(.text+0xe02dc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_copy_object_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448837:(.text+0xe02e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448838:(.text+0xe02f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe0352): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe0370): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe038e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe03a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe0452): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe04ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe0540): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe054c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe05d6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe05e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe0604): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe0630): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_36getRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303254:(.text+0xe06dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe06ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe070c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0xe0732): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xe07bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190358:(.text+0xe07d4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe0876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe088c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xe08a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe08b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe08dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190369:(.text+0xe08e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe08f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190419:(.text+0xe090e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_435getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190328:(.text+0xe096e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190328:(.text+0xe097a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190328:(.text+0xe0986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_434getDenseLocalMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190367:(.text+0xe0a56): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190369:(.text+0xe0a62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe0a88): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe0a98): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_445getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191221:(.text+0xe0ab4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe0c46): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe0c56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe0c78): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0xe0ca4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe0cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xe0cdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191362:(.text+0xe0cea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191365:(.text+0xe0d04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191366:(.text+0xe0d14): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191368:(.text+0xe0d26): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe0d2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe0d3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0xe0d9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0xe0da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191407:(.text+0xe0e02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe0e78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe0ec0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe0edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe0ee6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe0ef6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe0f08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_444getNestLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191407:(.text+0xe0f1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191318:(.text+0xe1086): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe1092): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe10d8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe111e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe1128): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xe11f4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151320:(.text+0xe120c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe1218): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe1224): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe1286): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_10clone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151365:(.text+0xe12d2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151365:(.text+0xe13f6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe146a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xe1476): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xe1496): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe14a8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe14f4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe159e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_118getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290304:(.text+0xe164a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290304:(.text+0xe1656): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_119getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290191:(.text+0xe1662): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290191:(.text+0xe166e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_118getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290269:(.text+0xe16b2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe16fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe1710): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe171c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe1728): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe1750): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0xe175c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_118getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290279:(.text+0xe1768): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290278:(.text+0xe177a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1784): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1792): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe1808): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe1836): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe187c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe1888): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe1894): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0xe18c8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_119getLocalBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290191:(.text+0xe18dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79407:(.text+0xe195c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe19b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xe1b12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe1b6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xe1ba4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_27duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105860:(.text+0xe1bb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_26duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105892:(.text+0xe1bd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105906:(.text+0xe1c04): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105917:(.text+0xe1c10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1d20): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe1d2c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_27duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105861:(.text+0xe1d56): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105862:(.text+0xe1d7c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_26duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105906:(.text+0xe1da2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105944:(.text+0xe1dcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_27duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105861:(.text+0xe1dde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_26duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105944:(.text+0xe1e18): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe1e24): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xe1ea8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe1eba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_449getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191603:(.text+0xe1eda): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191644:(.text+0xe1f08): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe1f1a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xe1f22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191649:(.text+0xe1f2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe1f9e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191637:(.text+0xe1fb0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe1fb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xe1fc4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe1fda): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191644:(.text+0xe1fec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191644:(.text+0xe1ff4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe2000): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_448getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191696:(.text+0xe203a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191696:(.text+0xe204a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe2066): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe2086): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_449getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191605:(.text+0xe2094): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe20c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_449getISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191604:(.text+0xe2118): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_13getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337291:(.text+0xe21dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337291:(.text+0xe21ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337291:(.text+0xe21f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337387:(.text+0xe2354): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337396:(.text+0xe2360): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337406:(.text+0xe238a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337417:(.text+0xe23b0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe23d6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe2400): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe2412): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_13getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337303:(.text+0xe244c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe2458): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe24dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_13getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337297:(.text+0xe24ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337297:(.text+0xe250e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe253c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337406:(.text+0xe254e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe2556): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe2562): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe25d2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe25e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe25ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe25f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337396:(.text+0xe260e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe2620): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_12getGlobalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe2628): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337432:(.text+0xe2634): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe266e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xe267e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xe269a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0xe26ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/listobject.h:43:(.text+0xe26c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_23getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229214:(.text+0xe26fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229220:(.text+0xe274c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69939:(.text+0xe2810): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe281e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe282c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_22getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229319:(.text+0xe2988): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe2994): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_22getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229281:(.text+0xe29be): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69977:(.text+0xe29e4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe2a0a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PySet_ContainsUnhashable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447932:(.text+0xe2a34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447934:(.text+0xe2a46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PySet_GET_SIZE': /usr/include/python3.12/cpython/setobject.h:65:(.text+0xe2a80): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/cpython/setobject.h:65:(.text+0xe2a8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe2b10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_22getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229318:(.text+0xe2b22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe2b42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0xe2b70): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyFrozenSet_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447923:(.text+0xe2b82): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447923:(.text+0xe2b8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447923:(.text+0xe2b96): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe2c06): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe2c18): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe2c20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe2c2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe2c42): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_23getApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229226:(.text+0xe2c54): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe2c5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_75getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233004:(.text+0xe2c68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe2ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_75getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233008:(.text+0xe2cb2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233042:(.text+0xe2cce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233054:(.text+0xe2cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xe2cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233096:(.text+0xe2d2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe2d80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe2e44): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe2e52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233221:(.text+0xe2e60): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe2fba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe2fc6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_74getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233221:(.text+0xe2ff0): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233169:(.text+0xe3016): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233183:(.text+0xe303c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233016:(.text+0xe3066): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe3078): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe30c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399026:(.text+0xe30d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__GetModuleGlobalName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447699:(.text+0xe30f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447699:(.text+0xe3102): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe3150): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe3162): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399082:(.text+0xe316a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399034:(.text+0xe3176): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe31e6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe31f8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3200): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe320c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399028:(.text+0xe3222): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399028:(.text+0xe3234): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399028:(.text+0xe323c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__GetModuleGlobalName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447703:(.text+0xe3248): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399022:(.text+0xe3282): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe32aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6_pre_finalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399066:(.text+0xe32c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe32de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe330a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445650:(.text+0xe3318): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe334a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_89getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253914:(.text+0xe339c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe346a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xe3478): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe3486): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_88getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253927:(.text+0xe35e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe35ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_88getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254018:(.text+0xe3616): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe363c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_88getI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253927:(.text+0xe3662): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe368c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe369e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_25getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112480:(.text+0xe36d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112480:(.text+0xe36e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112561:(.text+0xe3768): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xe377a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112589:(.text+0xe379a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xe37c8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xe37da): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xe37e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe37ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_25getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112492:(.text+0xe385e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xe3870): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xe3878): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xe3884): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0xe389a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0xe38ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0xe38b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0xe38c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe38fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112645:(.text+0xe390a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0xe3926): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0xe3946): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112571:(.text+0xe3954): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3986): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_25getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112486:(.text+0xe39d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_24getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0xe3a9c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112693:(.text+0xe3aaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112694:(.text+0xe3ab8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109217:(.text+0xe3c12): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109183:(.text+0xe3c1e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109226:(.text+0xe3c48): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xe3c6e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xe3c94): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe3cbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe3cd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe3d18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_81getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109168:(.text+0xe3d34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xe3d52): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xe3d5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446559:(.text+0xe3dac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109288:(.text+0xe3dbe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109288:(.text+0xe3dc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109294:(.text+0xe3dd2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe3e42): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe3e54): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe3e5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3e68): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3e7e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe3e90): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_81getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109162:(.text+0xe3e98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109162:(.text+0xe3ea4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe3ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe3f0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109342:(.text+0xe3f20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xe3f3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109342:(.text+0xe3f66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109343:(.text+0xe3f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_80getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109311:(.text+0xe3fa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:798:(.text+0xe3ff8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xe40c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xe40d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_42getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303688:(.text+0xe40e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xe423a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_42getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303765:(.text+0xe4246): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_copy_object_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448837:(.text+0xe4270): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe4296): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xe42bc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_43getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303656:(.text+0xe42e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303656:(.text+0xe42f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xe4340): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe4356): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe4376): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xe4382): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe43d0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe43e2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe43ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe43f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_43getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303650:(.text+0xe4466): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303650:(.text+0xe4478): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303649:(.text+0xe4480): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe448c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe44a2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe44b4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe44bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe44c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_42getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303752:(.text+0xe4502): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303724:(.text+0xe452a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe4544): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe455e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe458a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe4598): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe45ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_42getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303754:(.text+0xe461c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe46ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe46f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_43getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303656:(.text+0xe4706): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0xe4852): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0xe4890): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0xe48a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe48c2): undefined reference to `PyType_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_103getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254746:(.text+0xe499e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe49aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe49ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0xe49ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe49e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe4a50): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe4a64): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_103getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254739:(.text+0xe4a78): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_102getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254866:(.text+0xe4b28): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254800:(.text+0xe4b42): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe4bb0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_103getTimeSpanSolutions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254746:(.text+0xe4bca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_89getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109902:(.text+0xe4bee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xe4bfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe4c06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xe4c10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_89getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109906:(.text+0xe4c1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109950: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xe4c98): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_89getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109914:(.text+0xe4cd8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe4d54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe4d8a): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_88getStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109969:(.text+0xe4df0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe4e76): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe4ec6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe4ed2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0xe4f68): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe4fd2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe5080): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe508e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_70getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305759:(.text+0xe50a0): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305784:(.text+0xe50da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_71getRefinementFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305702:(.text+0xe50f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0xe510a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe5264): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xe52b2): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xe5310): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_61getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250853:(.text+0xe531c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_60getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250883:(.text+0xe532c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250883:(.text+0xe5340): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250887:(.text+0xe5358): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe54a6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe54b6): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe54dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_61getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250854:(.text+0xe550e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_60getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250957:(.text+0xe552a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_61getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250854:(.text+0xe5538): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_60getRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250957:(.text+0xe558c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe5634): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe5686): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206099:(.text+0xe56d2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xe56f4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206148:(.text+0xe5706): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0xe575a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xe5766): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206149:(.text+0xe57d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206169:(.text+0xe580e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe581e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0xe583c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0xe584c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe5894): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0xe58a4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0xe58b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446557:(.text+0xe58da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_134getFieldSplitSchurGetSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206244:(.text+0xe598a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe5a7e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe5b72): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0xe5bb8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe5bc4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206063:(.text+0xe5c16): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206063:(.text+0xe5c22): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe5c2e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_17getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337613:(.text+0xe5c44): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_16getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337691:(.text+0xe5ce0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_LGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22663:(.text+0xe5d1c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe5d44): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3644:(.text+0xe5d7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe5d8e): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_16getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337708:(.text+0xe5da0): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337728:(.text+0xe5dce): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337728:(.text+0xe5dec): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xe5e78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_17getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337625:(.text+0xe5e8e): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe5ea8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe5ee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe5ff2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xe6024): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe6030): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe605a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0xe6114): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_17getLGMaps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337625:(.text+0xe6130): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337625:(.text+0xe6148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_71__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125500:(.text+0xe615c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125500:(.text+0xe616c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125553:(.text+0xe6202): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe6294): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125611:(.text+0xe62a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe62ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125623:(.text+0xe62bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_71__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125512:(.text+0xe6346): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/tupleobject.h:34: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe63fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125589:(.text+0xe6424): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe6450): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125606:(.text+0xe6468): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe6494): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe649c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe64be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_71__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125506:(.text+0xe64cc): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125506:(.text+0xe64d8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125506:(.text+0xe64e8): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125516:(.text+0xe64fa): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125601:(.text+0xe6506): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125652:(.text+0xe6534): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe65ce): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xe65e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe65fa): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125601:(.text+0xe661a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe6644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe66aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_70__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125558:(.text+0xe67ea): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe682a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xe6836): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe6888): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe6894): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe68a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xe68ba): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_46getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218656:(.text+0xe68ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xe68f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe6924): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe6936): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe6950): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_47getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218585:(.text+0xe69d6): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218585:(.text+0xe69e6): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe6a14): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xe6aa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe6ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_39getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303336:(.text+0xe6bf2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303375:(.text+0xe6c1e): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303412:(.text+0xe6c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe6cbe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303432:(.text+0xe6cea): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyTuple_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448866:(.text+0xe6da8): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe6dce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe6dda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_39getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303344:(.text+0xe6e04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe6e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe6e68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303408:(.text+0xe6ed2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_39getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303343:(.text+0xe6efe): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe6fbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe6fc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303412:(.text+0xe6fe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe6fee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyTuple_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448864:(.text+0xe7038): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe7064): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe7104): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_38getGhostRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303412:(.text+0xe7110): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe711c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe7154): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.12/object.h:798:(.text+0xe7160): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303468: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0xe7288): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_3getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74240:(.text+0xe7294): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74291:(.text+0xe7346): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74293:(.text+0xe7358): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe739e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe73aa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74358:(.text+0xe73cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74362:(.text+0xe73f8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74372:(.text+0xe7426): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74384:(.text+0xe746c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0xe74b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0xe74ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74281:(.text+0xe7600): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe763e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe764a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74325:(.text+0xe76cc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe7770): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xe7828): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0xe7830): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe783c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74437:(.text+0xe7862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe786e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe788a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe7896): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xe791a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xe7924): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74418:(.text+0xe79a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xe79c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xe79e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74409:(.text+0xe7a16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74384:(.text+0xe7a2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74437:(.text+0xe7a7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74330:(.text+0xe7a9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74248:(.text+0xe7b34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_2getVersionInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74297:(.text+0xe7b72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xe7c6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xe7cac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe7cb8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe7d3a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303954:(.text+0xe7dde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe7e96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xe7e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303981:(.text+0xe7eaa): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe7ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe7edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe7ef8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe7f04): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_45getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303828:(.text+0xe7f88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303828:(.text+0xe7f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe8012): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe8036): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303902:(.text+0xe8050): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe8084): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303851:(.text+0xe809a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe80ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_44getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303930:(.text+0xe810a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303954:(.text+0xe81a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe81e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_24getTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147112:(.text+0xe82dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0xe831a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xe8326): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe83a8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_25getTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147079:(.text+0xe844c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_24getTileSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147144:(.text+0xe8504): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe850c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe8518): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe853e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xe854a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe8566): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe8572): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe85f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe8600): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82145:(.text+0xe8680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe86a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe86be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82156:(.text+0xe86f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe8708): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe8758): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe8778): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_5__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82116:(.text+0xe8810): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe884e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xe894a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xe8988): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xe8994): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe8a16): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_83getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233897:(.text+0xe8aba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_82getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233989:(.text+0xe8b72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe8b7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xe8b86): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_82getJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233949:(.text+0xe8bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233908:(.text+0xe8bb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe8bd4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe8be0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_14getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337508:(.text+0xe8c64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337499:(.text+0xe8c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe8cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe8d12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe8d2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_SIZE': /usr/include/python3.12/object.h:283:(.text+0xe8d60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_14getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337530:(.text+0xe8d76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337567:(.text+0xe8dc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22613:(.text+0xe8de6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe8e7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xe8ebc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xe8fb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_14getLocalISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337593:(.text+0xe8ff6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe9002): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe9084): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337464:(.text+0xe9128): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_16getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195378:(.text+0xe91e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195378:(.text+0xe91e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195409:(.text+0xe91f4): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195421:(.text+0xe921a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xe9226): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0xe9242): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe924e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_16getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195409:(.text+0xe92d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195465:(.text+0xe92dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe935c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe9380): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_17getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195317:(.text+0xe939a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_16getVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195465:(.text+0xe93ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195465:(.text+0xe93e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195465:(.text+0xe9434): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195378:(.text+0xe9454): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/listobject.h:43:(.text+0xe94ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xe952a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0xe9626): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe9664): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xe9670): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe96f2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xe9796): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289299:(.text+0xe984e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xe9856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe9862): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289305:(.text+0xe9888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe9894): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289344:(.text+0xe98b0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xe98bc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xe9940): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289311:(.text+0xe994a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe99ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289396:(.text+0xe99ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xe9a08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289305:(.text+0xe9a3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289305:(.text+0xe9a52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_102getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289396:(.text+0xe9aa2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_103getCoordinateDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289304:(.text+0xe9ac2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe9b5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xe9b98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xe9c94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xe9cd2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_77getIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252663:(.text+0xe9cde): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252657:(.text+0xe9d8e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_76getIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252759:(.text+0xe9e34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe9ed8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xe9ee0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0xe9eec): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xe9f14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_51getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270829:(.text+0xe9f22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_50getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270871:(.text+0xe9f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270883:(.text+0xe9f62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xe9fe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xe9ff0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xea00c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xea024): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xea074): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xea094): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_50getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270949:(.text+0xea124): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270949:(.text+0xea14e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xea166): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xea1aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_50getHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270923:(.text+0xea1b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_8__copy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85935:(.text+0xea2ee): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xea386): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_9__copy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85878:(.text+0xea44a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xea496): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xea4e0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xea4f6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_11duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84630:(.text+0xea58c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xea60a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84718:(.text+0xea616): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84727:(.text+0xea622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xea62e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xea63a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84732: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xea7f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xea818): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xea848): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_10duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84732:(.text+0xea852): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84732:(.text+0xea864): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xea88a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xea89a): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xea954): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xeab14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xeab58): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xeabd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xeabe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xeabee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0xeabfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xeac06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xead22): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xead52): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191138:(.text+0xeadce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xeadde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191023:(.text+0xeade8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xeadf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_443getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191018:(.text+0xeae46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xeae64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xeae70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xeae7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191092: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191157:(.text+0xeaf30): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191153:(.text+0xeaf4a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xeaf56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_442getNestISs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191132:(.text+0xeaf62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191132:(.text+0xeaf6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xeafc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xeb04a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xeb0de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xeb1fa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xeb246): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_19_DMComposite_access_4__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62981:(.text+0xeb29a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xeb2b0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xeb33a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112812:(.text+0xeb4fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xeb508): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112821:(.text+0xeb514): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112821:(.text+0xeb520): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xeb52c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xeb5b6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112812:(.text+0xeb5d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112848:(.text+0xeb5e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112848:(.text+0xeb5ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xeb5f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112821:(.text+0xeb620): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0xeb640): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112859:(.text+0xeb686): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112887:(.text+0xeb6be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112887:(.text+0xeb6c8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112919:(.text+0xeb6da): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_27getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112725:(.text+0xeb73c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xeb756): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xeb780): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xeb7cc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_26getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112919:(.text+0xeb8ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xeb96e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xeb9ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xeba04): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xeba1a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_102getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235512:(.text+0xeba9e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xebae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xebaf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_102getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235506:(.text+0xebb00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xebb0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xebb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xebd52): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_28getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113007:(.text+0xebd9a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113007:(.text+0xebda6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113019:(.text+0xebdb0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113019:(.text+0xebdc2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113038:(.text+0xebdee): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xebe3e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xebf1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_28getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113114:(.text+0xebfe0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_29getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112951:(.text+0xec02c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xec076): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xec08c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xec110): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_29getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112944:(.text+0xec15a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112945:(.text+0xec166): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112945:(.text+0xec172): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112945:(.text+0xec17e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_28getBlockInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113145:(.text+0xec18a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113145: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0xec3ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xec3fe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xec40a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205956:(.text+0xec414): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205956:(.text+0xec426): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205956:(.text+0xec450): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205937:(.text+0xec49e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206000:(.text+0xec57e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205987:(.text+0xec640): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205937:(.text+0xec68c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xec6d6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xec6ec): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_132getFieldSplitSubKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205963:(.text+0xec770): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xec7ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0xec7c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/listobject.h:43:(.text+0xec7d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/listobject.h:43:(.text+0xec7de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xec7ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xeca28): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xeca70): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xeca7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_181getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170525:(.text+0xeca86): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0xeca98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_180getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170681:(.text+0xecac4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0xecb14): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_180getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170755:(.text+0xecbf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xeccb6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xecd02): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_181getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170520:(.text+0xecd4c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170520:(.text+0xecd62): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_180getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170811:(.text+0xecde6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xece30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xece3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xece48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xece54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xece60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_181getValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170526:(.text+0xed090): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_121getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166097:(.text+0xed0d4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166097:(.text+0xed0e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xed0ea): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xed0fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_120getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166135:(.text+0xed126): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xed16a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xed19e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_120getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166190:(.text+0xed1d0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xed1e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_120getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166198:(.text+0xed1ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_121getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166109:(.text+0xed21c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xed22a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xed234): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xed246): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xed250): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xed2ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xed2c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xed2fe): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xed30c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_121getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166103:(.text+0xed334): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xed352): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_120getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166188:(.text+0xed3b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xed400): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_120getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166188:(.text+0xed40c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xed480): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xed49a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:798:(.text+0xed4a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_121getSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166109:(.text+0xed4c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:166109:(.text+0xed4d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xed616): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_144getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277924:(.text+0xed636): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_145getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277817:(.text+0xed67a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xed694): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_144getSolutionStatus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277834:(.text+0xed6ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xed6c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xed6e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xed726): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0xeda62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241099:(.text+0xeda8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0xedaae): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241111:(.text+0xedab8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241111:(.text+0xedac4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241111:(.text+0xedad0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xedc5a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xedc68): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xedcea): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_193getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241013:(.text+0xedcf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241123:(.text+0xedde0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xeddea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xeddf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xeddfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xede36): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xede6a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xede92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xedefc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xedf3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_192getParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241159:(.text+0xedf4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xedf54): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xedf62): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xedfee): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xee0b2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13839:(.text+0xee0e6): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62262:(.text+0xee170): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xee17c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xee186): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xee1a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xee1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xee1c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xee1cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xee1d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62324:(.text+0xee24a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xee25e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_37getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332950:(.text+0xee272): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332950:(.text+0xee27e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332950:(.text+0xee28a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62302:(.text+0xee296): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62302:(.text+0xee2a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xee2c0): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xee2ce): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62342:(.text+0xee388): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_37getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332943:(.text+0xee3d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xee3fc): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xee4c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xee50a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_36getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:333017:(.text+0xee51a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xee584): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_37getOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332950:(.text+0xee5a6): undefined reference to `PyCapsule_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_153getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257446:(.text+0xee5cc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257540:(.text+0xee66e): undefined reference to `PyCapsule_IsValid' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0xee684): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xee6cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xee6f6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0xee706): undefined reference to `PyNumber_Multiply' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xee766): undefined reference to `PyCapsule_SetName' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_153getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257458:(.text+0xee802): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xee840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667:(.text+0xee858): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667:(.text+0xee864): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xee8cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xee8d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0xee8ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_153getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257451:(.text+0xeea0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257452:(.text+0xeea16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257452:(.text+0xeea20): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xeea6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_152getTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667:(.text+0xeea7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667:(.text+0xeea8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xeeaa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xeeab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257667: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_34getStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303078:(.text+0xeeba6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xeebf2): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_35getStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303031:(.text+0xeecf2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56815:(.text+0xeed1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xeed3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xeed9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xeedda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xeedf4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0xeee08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_85getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109523:(.text+0xeee1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109527:(.text+0xeee56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_84getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109586:(.text+0xeee68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xeeea0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xeeeb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_84getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109632:(.text+0xeeeec): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xeef2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xeef42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xeef4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_84getBlockIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109647:(.text+0xeef5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xeef6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xef0b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xef0ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xef0e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xef0f4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xef2ba): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xef2ee): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0xef3b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_390getLRCMats': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187435:(.text+0xef3f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xef40a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xef502): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xef542): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xef57e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xef58c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_390getLRCMats': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187464:(.text+0xef5c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187464:(.text+0xef5d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xef69e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_117getBoundingBox': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290035:(.text+0xef6ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xef70a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xefad8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xefb10): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xefb1c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xefba8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261634:(.text+0xefc44): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xefc56): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xefc66): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261608:(.text+0xefd16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261674:(.text+0xefd50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24223:(.text+0xefd88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xefd9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xefdbc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0xefdc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261673:(.text+0xefe0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0xefe48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261724:(.text+0xefe84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xefec0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_209getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261540:(.text+0xefeda): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xefefa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xeffd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf0012): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_208getCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261634:(.text+0xf001e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261676:(.text+0xf00aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf01e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261540:(.text+0xf0250): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xf0266): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf0286): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf0292): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xf02d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_73sortGetSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351499:(.text+0xf037e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf0398): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf03b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf04ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf04e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_72sortGetSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351533:(.text+0xf04f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0xf057e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf0704): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xf0772): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xf0788): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_22getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112356:(.text+0xf07a6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xf07b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf07ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_22getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112386:(.text+0xf0894): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0xf08ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_22getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112417:(.text+0xf0906): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112460:(.text+0xf0a16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112460:(.text+0xf0a50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf0a5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_22getIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:112460:(.text+0xf0ae6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xf0c6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xf0cda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365778:(.text+0xf0cf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0xf0d0e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0xf0d1a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394642:(.text+0xf0d54): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0xf0dfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf0e16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf0e6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf0f86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394726:(.text+0xf0fc6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394726:(.text+0xf0fd2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0xf0ffc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0xf100c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394637:(.text+0xf1014): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf10be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0xf1172): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394673:(.text+0xf1190): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394673:(.text+0xf1222): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99604:(.text+0xf1238): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99604:(.text+0xf1248): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf1256): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99614:(.text+0xf125e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf127c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99633:(.text+0xf1284): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99701:(.text+0xf12ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99709:(.text+0xf12c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf12d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0xf12e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf1326): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf1332): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99653:(.text+0xf13ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf141c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf1490): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf14aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99703:(.text+0xf14ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99791:(.text+0xf14ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf153c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xf154e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0xf1556): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99624:(.text+0xf1592): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xf15b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_27setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99631:(.text+0xf15fe): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99624:(.text+0xf162e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0xf169a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf16d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_26setInterval': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99738:(.text+0xf17be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf17d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf17dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf1800): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf1816): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf1822): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf1a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_38getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311847:(.text+0xf1ac2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311864:(.text+0xf1b02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311865:(.text+0xf1b0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf1b38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_38getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311756:(.text+0xf1b48): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xf1b50): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_39getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311703:(.text+0xf1bfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311707:(.text+0xf1cae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311707:(.text+0xf1ccc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf1d5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_39getConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311729:(.text+0xf1d76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_21setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229055:(.text+0xf1d86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229055:(.text+0xf1d94): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf1d9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf1dba): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xf1dc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_20setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229125:(.text+0xf1dea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf1e04): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_FromSize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464759:(.text+0xf1e14): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_registerAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69824:(.text+0xf1e24): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf1e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf1e70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf1f28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_20setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229178:(.text+0xf1f5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229195:(.text+0xf1fce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_21setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229075:(.text+0xf1fe8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_registerAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69843:(.text+0xf2008): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_20setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229147:(.text+0xf2028): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf207a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf208c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_registerAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69828:(.text+0xf2094): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf20d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf20ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_21setApplicationContext': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229082:(.text+0xf213c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf216c): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf21d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78971:(.text+0xf2210): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79021:(.text+0xf2302): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79033:(.text+0xf2314): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79033:(.text+0xf2320): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf2346): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xf235c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf2368): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xf25c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf2608): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf2644): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xf2650): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf267a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf268e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79033:(.text+0xf269a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_1decorator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78547:(.text+0xf26be): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78547:(.text+0xf26cc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78567:(.text+0xf26f2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78570:(.text+0xf2700): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78574:(.text+0xf2756): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445651:(.text+0xf2786): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf27c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf27d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_209setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210812:(.text+0xf2872): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210857:(.text+0xf2892): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0xf289e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0xf28ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210859:(.text+0xf28da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/listobject.h:43: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210901:(.text+0xf293c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf297e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210918:(.text+0xf299c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0xf29b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf29be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210923:(.text+0xf2a04): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210933:(.text+0xf2a22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf2a44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf2ab0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0xf2c2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xf2c74): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0xf2c80): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf2caa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xf2ce0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0xf2cee): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_209setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210800:(.text+0xf2d14): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210806:(.text+0xf2d22): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210859:(.text+0xf2d48): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_209setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210803:(.text+0xf2d56): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210933:(.text+0xf2d7c): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_209setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210807:(.text+0xf2d8a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210807:(.text+0xf2db0): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_208setBDDCDofsSplitting': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210933:(.text+0xf2dbe): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf2de2): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf2df0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf2e44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_67sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351066:(.text+0xf2e7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351153:(.text+0xf2ee8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf2f02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351172:(.text+0xf2f1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351184: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0xf2ff4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf3008): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf302e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351212:(.text+0xf305e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf306a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf3164): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf3262): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf3290): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351227:(.text+0xf329e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf32d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xf32f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf331a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf333e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_66sortGetPointsPerCell': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351143:(.text+0xf3362): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351241:(.text+0xf3386): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf361e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf365a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0xf3666): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_211setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210970:(.text+0xf3690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210980:(.text+0xf36a4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210981:(.text+0xf36b0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210999:(.text+0xf36d4): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf36e2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf3708): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf3716): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf376e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_210setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211091:(.text+0xf379e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf37dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_210setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211107:(.text+0xf37ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf388a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf38aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf38b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_210setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211057:(.text+0xf38e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211057:(.text+0xf38f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211139: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf3954): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf3996): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf39b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf39c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_211setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211008:(.text+0xf39d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211019:(.text+0xf3a08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf3a26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_210setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211139:(.text+0xf3a58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0xf3ac4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf3c3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf3c7a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf3c86): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_211setBDDCDofsSplittingLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211019:(.text+0xf3cb0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_59setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200051:(.text+0xf3d22): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0xf3d30): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0xf3d58): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0xf3d66): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf3d8e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf3d9c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf3dc4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf3dd2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_59setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200068:(.text+0xf3e1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf3e4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_58setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200107:(.text+0xf3e60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf3e72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_DIM': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1550:(.text+0xf3e86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf3ea6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf3eba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf3f66): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf3f72): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_58setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200132:(.text+0xf3fa4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf401a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_58setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200201:(.text+0xf403e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf4058): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf409e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf40bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_59setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200042:(.text+0xf40e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xf4100): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_59setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200046:(.text+0xf419e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200130:(.text+0xf41ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70420:(.text+0xf4226): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70589:(.text+0xf43a6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf43b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf4448): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xf4482): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xf4494): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf44c2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf44d4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xf4516): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf456a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xf459a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf45a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf45b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70460:(.text+0xf45e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70460:(.text+0xf45f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70469:(.text+0xf4602): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0xf4634): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70556:(.text+0xf4644): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0xf4698): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70619:(.text+0xf46ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70620:(.text+0xf46dc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf470a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70687:(.text+0xf471c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70639: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf475e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf47ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf47b8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xf47ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf47fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xf4804): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf4816): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf4820): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70654:(.text+0xf491c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70654:(.text+0xf4928): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70476:(.text+0xf4934): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70569:(.text+0xf4940): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70569:(.text+0xf494c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70569: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70446:(.text+0xf496e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xf499a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70587:(.text+0xf49a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70593:(.text+0xf49dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70447:(.text+0xf4a26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70447:(.text+0xf4a30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf4a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error_6__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70587:(.text+0xf4a90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70595:(.text+0xf4a9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70623:(.text+0xf4afc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_7__str__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70469:(.text+0xf4b2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70469:(.text+0xf4b38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_49createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285935:(.text+0xf4b76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf4bc4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_48createSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286020:(.text+0xf4c04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0xf4c38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xf4d08): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf4d14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf4f9a): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf4fa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf4fb4): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf50ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf50fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf5108): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf5114): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf5120): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285984: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_33createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116531:(.text+0xf516e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116552:(.text+0xf519a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_32createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116594:(.text+0xf51a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf51e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf51f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf51fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0xf5210): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0xf5266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf5356): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_33createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116562:(.text+0xf53f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf543c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_32createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116597:(.text+0xf5468): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_32createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116595:(.text+0xf54f4): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf552a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_32createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116629:(.text+0xf55ea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_33createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116546:(.text+0xf5612): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf561e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf5638): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_33createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116543:(.text+0xf5668): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_32createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116666:(.text+0xf5696): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116666:(.text+0xf569e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_33createEmbeddedRootSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116547:(.text+0xf56ca): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xf5714): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf5776): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf57c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_30getCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310951:(.text+0xf5838): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311012:(.text+0xf5870): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf587c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5942): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5956): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf595e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_30getCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311022:(.text+0xf59cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311039:(.text+0xf59da): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf59f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf5a14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_30getCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310931:(.text+0xf5a20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf5aba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_31getCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310878:(.text+0xf5ae0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310878:(.text+0xf5aec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf5b06): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf5b36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf5bf4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf5c7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf5cbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_52getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312966:(.text+0xf5cfa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313008:(.text+0xf5d06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xf5d34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xf5d56): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0xf5d62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xf5d78): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_53getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312874:(.text+0xf5de4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5dee): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5e06): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf5e18): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_53getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312900:(.text+0xf5e3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf5eee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_52getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312968:(.text+0xf5f16): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312977:(.text+0xf5f22): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312978:(.text+0xf5f3e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_53getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312880:(.text+0xf5f4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf5f74): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_53getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312880:(.text+0xf5f86): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312883:(.text+0xf5f9a): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf5fd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf6016): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_53getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312887:(.text+0xf6044): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf60b0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf60bc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf60d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_53getSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312909:(.text+0xf6108): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194262:(.text+0xf6134): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194281:(.text+0xf615e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf61a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0xf61b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf61c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf61cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194349:(.text+0xf623c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6294): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194292:(.text+0xf62d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194333:(.text+0xf6342): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194294:(.text+0xf6382): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194272:(.text+0xf639c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194275:(.text+0xf63ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf644a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf6464): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf6470): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194301:(.text+0xf64b0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_183getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170833:(.text+0xf64bc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf64dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_183getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170862:(.text+0xf650c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170918:(.text+0xf6558): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170945:(.text+0xf656a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13839:(.text+0xf6594): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0xf65b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170988:(.text+0xf665e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf6686): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0xf6692): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf66b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf670a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf6786): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xf6792): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0xf67b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf67e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171011:(.text+0xf6812): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171011:(.text+0xf6830): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf6838): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf6844): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf6866): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf6888): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170908:(.text+0xf6898): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf68b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf68de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_182getRow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171011:(.text+0xf6918): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171011:(.text+0xf6932): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171011:(.text+0xf69fc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf6a24): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf6a30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf6a9a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xf6aaa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_22pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76129:(.text+0xf6bb2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf6bbe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_23pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75860:(.text+0xf6bde): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_22pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75930:(.text+0xf6c0e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76007:(.text+0xf6c60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76007:(.text+0xf6c70): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76113:(.text+0xf6d0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76116:(.text+0xf6d18): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf6d4c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6d84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf6da0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_23pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75834:(.text+0xf6e64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf6f60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_23pushErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75860:(.text+0xf6f92): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xf6f9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf7000): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf7026): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xf702e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xf7052): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf708a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317935:(.text+0xf711a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf71b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf71e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_113getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317832:(.text+0xf721e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317945:(.text+0xf727c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446559:(.text+0xf7296): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317954:(.text+0xf72c8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318008:(.text+0xf7308): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317966:(.text+0xf7314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf7342): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317920:(.text+0xf734e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf735a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xf7362): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf736e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf737a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf7386): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf73aa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318008:(.text+0xf7434): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_113getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317815:(.text+0xf7474): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317815:(.text+0xf7482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf748e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318008:(.text+0xf749a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318008:(.text+0xf74ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf74f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_112getAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317945:(.text+0xf754c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf7564): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322523:(.text+0xf763e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322571:(.text+0xf764a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xf7656): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf770c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf7716): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xf7768): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf7772): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322624:(.text+0xf7786): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322543:(.text+0xf77ba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf77e6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322508:(.text+0xf77f8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7808): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf781c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7828): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7836): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322532:(.text+0xf7840): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322534:(.text+0xf7854): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322536:(.text+0xf785e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0xf789a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322620:(.text+0xf78c2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14005:(.text+0xf78ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf7950): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf795a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xf796e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xf7984): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0xf79ea): undefined reference to `_PyDict_NewPresized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322618:(.text+0xf79fc): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322653:(.text+0xf7a1a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322520:(.text+0xf7a3c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf7a52): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322517:(.text+0xf7a74): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322517:(.text+0xf7a8a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf7aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_176computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322620:(.text+0xf7ab4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322620:(.text+0xf7aca): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf7ae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf7af4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322521:(.text+0xf7b0a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322521:(.text+0xf7b2c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf7b42): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf7b64): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xf7b78): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf7b9a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf7bae): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_177computeCellGeometryFVM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322543:(.text+0xf7bd0): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf7be4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350383:(.text+0xf7c06): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350383:(.text+0xf7c1a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf7c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf7cb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf7cc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0xf7ccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf7cd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7d0c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf7d18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350421:(.text+0xf7d34): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350423:(.text+0xf7d4c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350432:(.text+0xf7d5e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350432:(.text+0xf7d66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350470:(.text+0xf7d9e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350470:(.text+0xf7da6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350472:(.text+0xf7dba): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xf7de8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf7e06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xf7e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf7e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf7e34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350468:(.text+0xf7e42): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf7e54): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf7e5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf7e6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350555:(.text+0xf7e86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350555:(.text+0xf7e92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf7ec0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350506:(.text+0xf7f06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf7f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350511:(.text+0xf7f48): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf7f5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350425:(.text+0xf7f6a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_56setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350555:(.text+0xf7f7e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350406:(.text+0xf8022): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf8086): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf8090): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf80a4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350410:(.text+0xf80d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350493:(.text+0xf8104): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf8116): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf8126): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_57setPointCoordinatesCellwise': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350432:(.text+0xf813a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116687:(.text+0xf8146): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116687:(.text+0xf8154): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116687:(.text+0xf815e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf8172): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf817c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0xf8254): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf825c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0xf8270): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0xf8286): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf8308): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf8310): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116736:(.text+0xf8324): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xf834c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf8378): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xf838a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116701:(.text+0xf839a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xf83ae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116725:(.text+0xf83d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf8412): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14258:(.text+0xf842e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf8440): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf8450): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf8464): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf8482): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_34createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116833:(.text+0xf849c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf8510): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf8522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf852e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf8538): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0xf8556): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_34createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116784:(.text+0xf8564): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0xf85e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_34createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116796:(.text+0xf85f0): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116707:(.text+0xf860c): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf8634): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf8646): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116710:(.text+0xf867a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf8684): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf86b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf86be): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116714:(.text+0xf86d0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116714:(.text+0xf86dc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116714:(.text+0xf86f0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf870e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_34createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116764:(.text+0xf8718): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf874c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf8756): undefined reference to `_PyDict_Pop' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xf878a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_35createEmbeddedLeafSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116736:(.text+0xf8794): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0xf87d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xf87dc): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xf880a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xf8814): undefined reference to `_PyDict_Pop' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30510:(.text+0xf883e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0xf8846): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xf886a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30548:(.text+0xf88fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30649:(.text+0xf89d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30653:(.text+0xf89f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30655:(.text+0xf89fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xf8a0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf8a26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf8a32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30680: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf8acc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf8afe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30853:(.text+0xf8b2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30797:(.text+0xf8b58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xf8b8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30728: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xf8cb0): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf8cdc): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xf8d58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf8d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf8d84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf8d90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf8d9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xf8e04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30680: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30622:(.text+0xf8f2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf8f5c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30622:(.text+0xf8f68): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30548:(.text+0xf8fe6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf9022): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30761:(.text+0xf902e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30470:(.text+0xf90b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30771:(.text+0xf90c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf914a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xf9166): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30606:(.text+0xf91a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30680:(.text+0xf9204): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_7__iadd__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156357:(.text+0xf9232): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_16__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156705:(.text+0xf933c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf936e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0xf937a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_radd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32439:(.text+0xf93f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_17__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156685:(.text+0xf9434): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_16__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156742:(.text+0xf9440): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153399:(.text+0xf94c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153411:(.text+0xf94da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf955c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xf9578): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_46addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153533:(.text+0xf95ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153459:(.text+0xf9616): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153461:(.text+0xf9644): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xf9742): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xf9776): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf9782): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xf9824): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xf9832): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153428:(.text+0xf9866): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153416:(.text+0xf98ae): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153416:(.text+0xf98ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf98d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_46addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153536:(.text+0xf98e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153536:(.text+0xf98fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf9956): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_46addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153502:(.text+0xf9984): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153444:(.text+0xf99e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf9a0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_47addFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153418:(.text+0xf9b2c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153243:(.text+0xf9b36): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153243:(.text+0xf9b4a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xf9b7e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xf9baa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf9bbc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xf9bcc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf9be0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xf9bec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xf9bfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xf9c04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_44setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153366:(.text+0xf9c18): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0xf9c22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153314:(.text+0xf9c5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xf9c84): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153303:(.text+0xf9c90): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153269:(.text+0xf9d02): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153269:(.text+0xf9d0e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153276:(.text+0xf9d2a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153282:(.text+0xf9d3e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153297:(.text+0xf9d58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf9d8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_44setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153336:(.text+0xf9d96): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153336:(.text+0xf9da2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf9e1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf9e2a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xf9e58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xf9e70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0xf9e90): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xf9eaa): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf9ebe): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153272:(.text+0xf9eec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xf9efa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xf9f0c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xf9f14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153262:(.text+0xf9f3e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0xf9f50): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xf9f58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_44setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153380:(.text+0xf9f72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf9fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xf9ff8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_44setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153346:(.text+0xfa00a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153356:(.text+0xfa01a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfa02c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfa08a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153278:(.text+0xfa0d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfa100): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xfa10c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_45setFieldDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153260:(.text+0xfa17e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153260:(.text+0xfa18a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153262:(.text+0xfa1a6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154101:(.text+0xfa1ba): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154101:(.text+0xfa1d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xfa208): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154148:(.text+0xfa212): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154152:(.text+0xfa21e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_56setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154224:(.text+0xfa29a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xfa2a6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154172:(.text+0xfa2d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfa2ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xfa30c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154161:(.text+0xfa326): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154163:(.text+0xfa33a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154117:(.text+0xfa368): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154122:(.text+0xfa376): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154127:(.text+0xfa388): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154127:(.text+0xfa390): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154140:(.text+0xfa3ba): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154140:(.text+0xfa3cc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154145:(.text+0xfa3d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfa3ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfa464): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfa474): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfa486): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfa496): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfa4a8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfa506): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154130:(.text+0xfa556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfa57e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfa58a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_56setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154238:(.text+0xfa5fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154120:(.text+0xfa60a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154128:(.text+0xfa628): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfa63c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfa652): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_56setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154214:(.text+0xfa690): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154146:(.text+0xfa6c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154146:(.text+0xfa6d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfa6f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfa70c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfa718): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154136:(.text+0xfa766): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfa786): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfa7a0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_57setFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154172:(.text+0xfa7b4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154118:(.text+0xfa7e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154118:(.text+0xfa7f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154118:(.text+0xfa802): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154118:(.text+0xfa80a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154120:(.text+0xfa832): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311524:(.text+0xfa844): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311524:(.text+0xfa84c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfa87e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311571:(.text+0xfa894): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfa8fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfa90a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_36insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311647:(.text+0xfa91c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xfa92c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311595:(.text+0xfa940): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311550:(.text+0xfa994): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311584:(.text+0xfa9e4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311584:(.text+0xfa9ee): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311586:(.text+0xfaa02): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfaa36): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xfaa62): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfaa74): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfaa84): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xfaa98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfaaa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfaab2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfaabc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfaad0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfaada): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfab34): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xfab40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfab64): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfab6e): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311545:(.text+0xfab82): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311557:(.text+0xfab98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311557:(.text+0xfabb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311563:(.text+0xfabc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311541:(.text+0xfac14): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311541:(.text+0xfac20): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xfac6c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311543:(.text+0xfac7e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_36insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311617:(.text+0xfaca4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfacac): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfacc0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfad12): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_36insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311637:(.text+0xfad26): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311569:(.text+0xfad44): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311569:(.text+0xfad62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfad6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfad80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311565:(.text+0xfad96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfae1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_37insertConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311595:(.text+0xfae28): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311543:(.text+0xfae3a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311543:(.text+0xfae4a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311545:(.text+0xfae5e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154257:(.text+0xfaec8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xfaf18): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfaf22): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xfaf36): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0xfaf6a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0xfaf96): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_58addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154391:(.text+0xfafa8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154328:(.text+0xfafb8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154328:(.text+0xfafcc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfafd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfafe6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xfaff0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154317:(.text+0xfb004): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154317:(.text+0xfb00e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154278:(.text+0xfb068): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154283:(.text+0xfb074): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154290:(.text+0xfb098): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154290:(.text+0xfb0a2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154296:(.text+0xfb0b6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154312:(.text+0xfb0cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfb0ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfb0fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfb148): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfb154): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfb1a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_58addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154360:(.text+0xfb1b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfb1d8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfb1e0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_58addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154370:(.text+0xfb1f4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154286:(.text+0xfb246): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154286:(.text+0xfb25a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfb278): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfb296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154276:(.text+0xfb2a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154283:(.text+0xfb2b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfb2ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfb354): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfb360): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_58addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154360:(.text+0xfb372): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154370:(.text+0xfb382): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfb396): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfb400): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154292:(.text+0xfb450): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154292:(.text+0xfb45a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfb46e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_59addFieldConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154328:(.text+0xfb4a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154278:(.text+0xfb4ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154274:(.text+0xfb4e0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154274:(.text+0xfb4f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154276:(.text+0xfb504): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154276:(.text+0xfb510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154276:(.text+0xfb51e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155784:(.text+0xfb528): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155784:(.text+0xfb53c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155784:(.text+0xfb546): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155831:(.text+0xfb586): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfb5b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfb5c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfb5fc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xfb61c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_80setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155918:(.text+0xfb628): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155855:(.text+0xfb646): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155799:(.text+0xfb65a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155810:(.text+0xfb670): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfb6ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155846:(.text+0xfb6e8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155846:(.text+0xfb6f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_80setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155877:(.text+0xfb742): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfb74e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfb7a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfb7b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_80setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155887:(.text+0xfb7de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfb7ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfb856): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155805:(.text+0xfb872): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155823:(.text+0xfb8b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfb8e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155810:(.text+0xfb920): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xfb932): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_80setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155907:(.text+0xfb93a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155921:(.text+0xfb94c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155848:(.text+0xfb95e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155803:(.text+0xfb966): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_80setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155877:(.text+0xfb998): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155887:(.text+0xfb9c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfbafe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_81setFieldOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155803:(.text+0xfbb30): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155803:(.text+0xfbb3c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155801:(.text+0xfbb74): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155801:(.text+0xfbb94): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311368:(.text+0xfbba0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311380:(.text+0xfbbbe): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfbbd2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xfbbe8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0xfbc24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfbc60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfbc6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311439:(.text+0xfbcba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311383:(.text+0xfbcc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfbd1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xfbd2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311428:(.text+0xfbd56): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311430:(.text+0xfbd68): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311430:(.text+0xfbd70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfbdbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfbdda): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0xfbdfa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfbe0c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfbe14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0xfbe66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0xfbe96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311394:(.text+0xfbef4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311407:(.text+0xfbf22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0xfbf70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfc064): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfc06e): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0xfc082): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311413:(.text+0xfc0b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0xfc0e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311409:(.text+0xfc0f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311409:(.text+0xfc104): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311403:(.text+0xfc118): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311403:(.text+0xfc124): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311403:(.text+0xfc132): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311403:(.text+0xfc13c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311403:(.text+0xfc150): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfc15a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_35insertCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311387:(.text+0xfc1b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311389:(.text+0xfc1c0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311385:(.text+0xfc1e4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311385:(.text+0xfc1ee): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311385:(.text+0xfc202): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91274:(.text+0xfc218): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91282:(.text+0xfc236): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_long': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453436:(.text+0xfc248): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91336:(.text+0xfc294): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91340:(.text+0xfc2a0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91355:(.text+0xfc2ec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfc2fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xfc324): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfc32c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfc340): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfc392): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91354:(.text+0xfc3a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfc3c4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfc3e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91298:(.text+0xfc3ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91438:(.text+0xfc400): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xfc416): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91371:(.text+0xfc4a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91371:(.text+0xfc4ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfc4be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfc4ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfc4e2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfc54c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfc59c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xfc5a6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91342:(.text+0xfc5ba): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfc5ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfc61a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfc62c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfc63c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91437:(.text+0xfc650): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfc65c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfc66a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Lookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91446:(.text+0xfc674): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91437:(.text+0xfc688): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91403:(.text+0xfc692): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0xfc6ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0xfc6f8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0xfc71c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396108:(.text+0xfc726): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396117:(.text+0xfc73a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396129:(.text+0xfc750): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0xfc76e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396142:(.text+0xfc780): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396263:(.text+0xfc7cc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396263:(.text+0xfc7d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xfc824): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfc836): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfc85c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfc864): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfc878): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396303:(.text+0xfc8ca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfc8de): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396306:(.text+0xfc8fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfc91a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfc926): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0xfc938): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396342:(.text+0xfc94e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0xfc9d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396400:(.text+0xfc9e4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396405:(.text+0xfc9f6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xfca06): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfca1a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396321:(.text+0xfca84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfcad4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfcade): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0xfcaf2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0xfcb26): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfcb52): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfcb64): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfcb74): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0xfcb88): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfcb94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396453:(.text+0xfcba2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396453:(.text+0xfcbac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfcbc0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfcbca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfcc2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfcc36): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfcc60): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfcc6a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfcc7e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396469:(.text+0xfcc94): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396469:(.text+0xfccae): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xfccd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396178:(.text+0xfcce8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfcd3a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfcd46): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfcd90): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396412:(.text+0xfcda2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfcdee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfcdf6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfce0a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfce40): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfce52): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfce5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfce66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfce9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396314:(.text+0xfceaa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xfcebe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396069:(.text+0xfcece): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396086:(.text+0xfceea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396008:(.text+0xfcf02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396117:(.text+0xfcf32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfcf3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xfcf66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396287:(.text+0xfcf90): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396011:(.text+0xfd010): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xfd048): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfd078): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396376:(.text+0xfd08a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfd09a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfd0ae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0xfd11a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396174:(.text+0xfd194): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396176:(.text+0xfd19e): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396203:(.text+0xfd1b2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396209:(.text+0xfd1e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfd212): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfd224): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396181:(.text+0xfd234): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396182:(.text+0xfd248): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396010:(.text+0xfd254): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396055:(.text+0xfd262): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396054:(.text+0xfd26c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396055:(.text+0xfd280): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396070:(.text+0xfd28a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfd2ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xfd2f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396296:(.text+0xfd31c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396298:(.text+0xfd342): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396203:(.text+0xfd34c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396203:(.text+0xfd360): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396325:(.text+0xfd376): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfd396): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396218:(.text+0xfd3a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:706:(.text+0xfd3fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0xfd406): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscPythonMonitorSet_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396314:(.text+0xfd450): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396314:(.text+0xfd462): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396189:(.text+0xfd4a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:396189:(.text+0xfd4b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56011:(.text+0xfd4ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56011:(.text+0xfd4c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfd514): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfd51c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xfd530): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55944:(.text+0xfd55e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfd572): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfd580): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0xfd596): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfd5b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56110:(.text+0xfd5e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0xfd5f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56111:(.text+0xfd5fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.12/cpython/listobject.h:34:(.text+0xfd620): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56123:(.text+0xfd646): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56169:(.text+0xfd6c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xfd6fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfd72a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfd73c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56224:(.text+0xfd74c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0xfd760): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfd7c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xfd83e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0xfd848): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0xfd85c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfd890): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56138:(.text+0xfd8bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56139:(.text+0xfd8ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56139:(.text+0xfd8de): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56141:(.text+0xfd8f2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56142:(.text+0xfd8fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0xfd90c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56142:(.text+0xfd916): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfd92a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfd934): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56234:(.text+0xfd98e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56290:(.text+0xfd99a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfd9be): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfd9c8): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfd9dc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfd9f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfda10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfda22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56305:(.text+0xfda6e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56305:(.text+0xfda7a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56190:(.text+0xfdac4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56190:(.text+0xfdad6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56193:(.text+0xfdafc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56193:(.text+0xfdb04): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56195:(.text+0xfdb18): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56199:(.text+0xfdb68): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfdb7c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdb9a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdbb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdbc4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdbd6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdbec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdc6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56224:(.text+0xfdc7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56211:(.text+0xfdc8c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfdc9c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xfdcb0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdd1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56129:(.text+0xfdd68): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56129:(.text+0xfdd72): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfdd86): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfddba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfdde6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfddf8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfde08): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfde1c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfde28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55994:(.text+0xfde36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55994:(.text+0xfde40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56047:(.text+0xfde54): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56173:(.text+0xfde5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56240:(.text+0xfdef8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0xfdfaa): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56206:(.text+0xfe022): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56206:(.text+0xfe02c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56143:(.text+0xfe040): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0xfe056): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xfe084): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0xfe09e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0xfe0a8): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfe0bc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xfe0d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56206:(.text+0xfe110): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56206:(.text+0xfe11a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56197:(.text+0xfe124): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfe130): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfe13c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xfe17c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56142:(.text+0xfe188): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56138:(.text+0xfe1a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfe1ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DM_PyCoarsenHook': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56173:(.text+0xfe272): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0xfe27e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447735:(.text+0xfe28a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447746:(.text+0xfe296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfe2ca): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfe306): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfe322): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfe38a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_SetItemInt_Fast': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447747:(.text+0xfe39e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447749:(.text+0xfe3b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447750:(.text+0xfe3bc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447752:(.text+0xfe3d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447754:(.text+0xfe3ea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfe418): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfe42e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61747:(.text+0xfe440): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61747:(.text+0xfe450): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61747:(.text+0xfe464): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61772:(.text+0xfe482): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61784:(.text+0xfe48e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61794:(.text+0xfe498): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61785:(.text+0xfe4a6): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfe4d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfe4e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61885:(.text+0xfe518): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61887:(.text+0xfe522): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfe536): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0xfe56a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61914:(.text+0xfe596): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61989:(.text+0xfe5a8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61991:(.text+0xfe5b8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfe5cc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfe5d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61994:(.text+0xfe5e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61994:(.text+0xfe5f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfe604): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62005:(.text+0xfe60e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62131:(.text+0xfe6a8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfe75a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61848:(.text+0xfe7d2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfe7dc): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61859:(.text+0xfe7f0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfe806): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfe834): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62207:(.text+0xfe84e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62207:(.text+0xfe858): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62207:(.text+0xfe86c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62207:(.text+0xfe882): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfe8c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfe8ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61832:(.text+0xfe8d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfe8e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfe8ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62207:(.text+0xfe92c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62207:(.text+0xfe938): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfe952): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61890:(.text+0xfe99c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61954:(.text+0xfea22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61954:(.text+0xfea2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfea3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xfea46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62093:(.text+0xfea7a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfeab6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfead2): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62029:(.text+0xfeb3a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62031:(.text+0xfeb4e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0xfeb62): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62047:(.text+0xfeb6c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xfeb86): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62058:(.text+0xfeb9a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62061:(.text+0xfebc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfebde): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61830:(.text+0xfebf0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61848:(.text+0xfec00): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfec14): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfec32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61923:(.text+0xfec3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61925:(.text+0xfec48): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xfec56): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61927:(.text+0xfec82): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfec92): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0xfecc8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62135:(.text+0xfecd2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xfece6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62027:(.text+0xfed1a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62058:(.text+0xfed46): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:62214:(.text+0xfed58): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331600:(.text+0xfed68): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331600:(.text+0xfed7c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xfed88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331611:(.text+0xfed96): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfeda0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xfedb4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331629:(.text+0xfedbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331708:(.text+0xfedfa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331708:(.text+0xfee04): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331708:(.text+0xfee18): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331729:(.text+0xfee4c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331740:(.text+0xfee78): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xfee8a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331649:(.text+0xfee9a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331649:(.text+0xfeeae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xfeeba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xfeec8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0xfeed2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfeee6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0xfeef0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_15setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331640:(.text+0xfef3c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_14setOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331744:(.text+0xfefce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331744:(.text+0xff03a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0xff0d6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xff0e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0xff0ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262294:(.text+0xff150): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262379:(.text+0xff1da): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xff2c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xff2cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xff2d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0xff2e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0xff2f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0xff35e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0xff3c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xff3d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0xff3dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262377:(.text+0xff426): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262357:(.text+0xff436): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_216setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262500:(.text+0xff4f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262468:(.text+0xff506): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262326:(.text+0xff522): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262334:(.text+0xff536): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262334:(.text+0xff542): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262339:(.text+0xff550): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262369:(.text+0xff566): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262315:(.text+0xff5ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_216setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262466:(.text+0xff6aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0xff6b2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_216setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262531:(.text+0xff6f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262393:(.text+0xff700): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_217setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262319:(.text+0xff7b6): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262319:(.text+0xff7c4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261745:(.text+0xff7ec): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261761:(.text+0xff808): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261830:(.text+0xff858): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_210setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261962:(.text+0xff932): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261962:(.text+0xff93e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0xff958): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0xff964): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261830:(.text+0xff9dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0xffa52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0xffa6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261824:(.text+0xffa86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261826:(.text+0xffaa4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261830:(.text+0xffb4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_210setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261999:(.text+0xffb68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0xffb82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_211setRHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261777:(.text+0xffbbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261786:(.text+0xffbde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261820:(.text+0xffbfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261770:(.text+0xffe3c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250979:(.text+0xffe76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250979:(.text+0xffe82): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251039:(.text+0xffed8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251039:(.text+0xffee6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251064:(.text+0xfff0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_62setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251125:(.text+0xfff38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251164:(.text+0xfff4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0xfff8a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_62setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251185:(.text+0xfff96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251074:(.text+0x100056): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251039:(.text+0x100062): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1000ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251058:(.text+0x100138): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251060:(.text+0x10014e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251042:(.text+0x10016a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x100182): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1001a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250998:(.text+0x1001be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_62setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251233:(.text+0x100204): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x100230): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10041e): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251078:(.text+0x10043e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251074:(.text+0x10044a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x100478): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_63setIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251000:(.text+0x1004b2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251000:(.text+0x1004bc): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251000:(.text+0x1004d0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251004:(.text+0x1004e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252781:(.text+0x10053e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x10055e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252841:(.text+0x100574): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252848:(.text+0x100592): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1005b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252914:(.text+0x1005ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252938:(.text+0x1005d8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1005f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x100608): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x10061a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x10067c): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x100690): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253031:(.text+0x1006a0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1006ac): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1006c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252876:(.text+0x1006d2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252876:(.text+0x1006e4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10073a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x100746): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252955:(.text+0x100770): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252860:(.text+0x1007ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252860:(.text+0x1007c4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252860:(.text+0x1007d6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252862:(.text+0x1007e6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252841:(.text+0x1007fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252841:(.text+0x100806): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253031:(.text+0x100832): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252866:(.text+0x100876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252864:(.text+0x10088e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253035:(.text+0x10089e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1008ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1008d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x100966): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252833:(.text+0x1009c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252834:(.text+0x1009d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252804:(.text+0x100a3a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252806:(.text+0x100a46): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252808:(.text+0x100a5c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252813:(.text+0x100a64): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x100a80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252998:(.text+0x100a8e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252827:(.text+0x100a9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x100ab8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_78setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253018:(.text+0x100ac2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252880:(.text+0x100ad6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252876:(.text+0x100aec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x100b0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x100b1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_79setI2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252802:(.text+0x100b6c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252806:(.text+0x100b78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249552:(.text+0x100c2e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249570:(.text+0x100c40): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x100c50): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_46setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249617:(.text+0x100c64): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249670:(.text+0x100c82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x100ca0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x100cba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_46setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249691:(.text+0x100cca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249691:(.text+0x100ce0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x100e02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x100e0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x100e3a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x100e44): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249564:(.text+0x100e58): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249564:(.text+0x100e6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249566:(.text+0x100e8c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_46setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249739:(.text+0x100f3a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249739:(.text+0x100f46): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249524:(.text+0x100f94): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249525:(.text+0x100fa6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249526:(.text+0x100fb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x101010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249510:(.text+0x10103c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249518:(.text+0x10104c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249537:(.text+0x10105e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249538:(.text+0x101066): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249542:(.text+0x101072): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249508:(.text+0x1010aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249508:(.text+0x1010be): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249508:(.text+0x1010cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249510:(.text+0x1010e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249517:(.text+0x101100): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_46setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249702:(.text+0x101128): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x101150): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249584:(.text+0x101170): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_47setRHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249510:(.text+0x10121e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x101336): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x101342): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x101382): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x10138c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_66setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251786:(.text+0x1013a0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1013b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x101458): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x101464): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1014ae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1014c0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1014ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_66setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251806:(.text+0x101540): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x101570): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251588:(.text+0x101584): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251589:(.text+0x101592): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251654:(.text+0x1015a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_66setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251754:(.text+0x1015c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1015ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x10160e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251609:(.text+0x101634): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251592:(.text+0x101770): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251602:(.text+0x10179e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_66setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251741:(.text+0x1017aa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251664:(.text+0x101822): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10182c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x101840): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_67setIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251596:(.text+0x101856): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251596:(.text+0x101876): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251590:(.text+0x101888): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251594:(.text+0x1018b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251594:(.text+0x1018c2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_73setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232730:(.text+0x1018f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232743:(.text+0x101902): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232809:(.text+0x101982): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232795:(.text+0x101998): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1019c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_72setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232899:(.text+0x1019e0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1019f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x101a18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_72setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232934:(.text+0x101a46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x101a76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x101abc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x101b7c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_72setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232965:(.text+0x101b84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x101bb6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_73setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232748:(.text+0x101bc2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232764:(.text+0x101c5a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232764:(.text+0x101c64): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232764:(.text+0x101c78): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232768:(.text+0x101c8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232761:(.text+0x101cc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232786:(.text+0x101d38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232756:(.text+0x101db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x101de2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_72setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232945:(.text+0x101df4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232900:(.text+0x101e04): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x101e18): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x101e24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x101e3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_73setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232770:(.text+0x101e5a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232770:(.text+0x101e66): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x101e78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x101eaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_73setFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232754:(.text+0x101f16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232756:(.text+0x101f34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384461:(.text+0x101f58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x102060): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x10206c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x102096): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1020bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1020c6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384553:(.text+0x1020da): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1020f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x102104): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384584:(.text+0x102126): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x10213a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x102182): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x102198): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1021b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1021c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384668:(.text+0x102216): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384671:(.text+0x102228): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384632:(.text+0x10226a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x10227c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x102284): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x102290): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x102302): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x102316): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10233a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x102354): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x10236e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1023a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1023ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1023ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1023ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10242a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildSolution_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384662:(.text+0x10249e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13667:(.text+0x102602): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37155:(.text+0x10260e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x102638): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14698:(.text+0x102642): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x102656): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10266c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x102686): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x102690): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1026a4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1026ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37276:(.text+0x1026da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1026ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37313:(.text+0x10273e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37313:(.text+0x10274a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13667:(.text+0x102794): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13667:(.text+0x1027a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1027b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1027c8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x102864): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37166:(.text+0x102878): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14701:(.text+0x102888): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1028a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1028bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37304:(.text+0x1028f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x102900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10290c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x10291e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x102932): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10295c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15006:(.text+0x102982): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37231:(.text+0x1029fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x102ad2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14954:(.text+0x102ada): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x102b0c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x102b18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matgetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37176:(.text+0x102baa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37276:(.text+0x102bc6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37184:(.text+0x102bd0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37178:(.text+0x102be4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x102bfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x102ca0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375285:(.text+0x102d22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x102d40): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x102d52): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x102d66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x102d7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x102d9c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x102da8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x102dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375335:(.text+0x102dce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x102de2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x102e1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x102e8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x102ea6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x102ec6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x102ed8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x102fb6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x102fbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x102ff0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x102ffc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375362:(.text+0x10308e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375374:(.text+0x1030aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1030b4): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1030c8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1030de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375431:(.text+0x103184): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x103206): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x103224): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x103236): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10324a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x103260): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x103280): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x10328c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1032a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375431:(.text+0x1032b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375471:(.text+0x1032c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1032fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x103370): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x10338a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375485:(.text+0x1033aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375485:(.text+0x1033bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375385:(.text+0x103498): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375385:(.text+0x1034a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387641:(.text+0x1034d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1034de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387680:(.text+0x103568): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386109:(.text+0x103584): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422410:(.text+0x10358e): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422411:(.text+0x1035a2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1035b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x10366e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x103710): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x103722): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x103736): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x10374c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x10376c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x103778): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x103790): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1037a0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1037b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387816:(.text+0x1037ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x103860): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x10387a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x10389a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x1038ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1039b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1039be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x1039e4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1039f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x103a0e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x103a18): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x103a2c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x103a42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x103a62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387807:(.text+0x103a76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387754:(.text+0x103ac8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387754:(.text+0x103ad4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x103b20): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x103b32): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387754:(.text+0x103b5a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x103bae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x103bc2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381201:(.text+0x103c0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379465:(.text+0x103c26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x103c3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x103c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x103c7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0x103c8c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0x103ca0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366074:(.text+0x103cc4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365778:(.text+0x103cee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x103d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x103d7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x103d90): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x103da4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x103dd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x103dfe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x103eda): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x103ee2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x103f1c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x103f28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0x103fea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x104006): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x104010): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x104024): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x10403a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x10419c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1041a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1041b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1041c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x104264): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389171:(.text+0x10426e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0x104280): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390878:(.text+0x10429a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x10434c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x104364): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365778:(.text+0x104384): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x10439e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390923:(.text+0x1043f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x104442): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1044a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1044ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1044da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391014:(.text+0x104520): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x104534): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x104562): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10457a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391005:(.text+0x1045fe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366312:(.text+0x104616): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391005:(.text+0x104722): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391005:(.text+0x10472e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10475e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10476a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x104776): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x104782): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x10478e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391005: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:390849:(.text+0x1047d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x104852): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384276:(.text+0x1048c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x104aa6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384389:(.text+0x104ae8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x104af4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x104b1e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x104b4e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x104b82): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x104b8c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x104ba0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x104bb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384451:(.text+0x104bca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x104bf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x104c04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x104c36): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x104c44): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x104c54): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x104d16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0x104d26): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0x104d38): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384287:(.text+0x104d40): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x104d4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x104d5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x104da2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x104dde): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x104df0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x104e00): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x104e14): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384442:(.text+0x104e44): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384389:(.text+0x104eb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x104ece): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x104ef2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x104f16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x104f6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x104f90): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x104fa6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x104ff2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x105034): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x105042): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:412:(.text+0x10517e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:413:(.text+0x10518a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236212:(.text+0x1051e8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236212:(.text+0x1051f2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x105206): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x10521c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236203:(.text+0x105252): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x105266): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236147:(.text+0x105296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_112callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236238:(.text+0x1052ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236248:(.text+0x1052cc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236248:(.text+0x1052d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x105320): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_112callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236268:(.text+0x105332): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:416:(.text+0x1053dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x105410): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236178:(.text+0x105454): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236172:(.text+0x1054c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236162:(.text+0x1054da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236162:(.text+0x1054f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236166:(.text+0x10550e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236148:(.text+0x105528): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10556e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1055ae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_112callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236268:(.text+0x1055c2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_113callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236174:(.text+0x105632): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:413:(.text+0x1057aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:413:(.text+0x1057b4): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:414:(.text+0x1057c8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:415:(.text+0x1057fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:415:(.text+0x105828): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:412:(.text+0x10583a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:412:(.text+0x10584a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:412:(.text+0x10585e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19172:(.text+0x10586a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19172:(.text+0x105878): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19172:(.text+0x105882): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19185:(.text+0x105896): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19188:(.text+0x1058a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19217:(.text+0x1058d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19217:(.text+0x1058e0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19254:(.text+0x1058ee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19267:(.text+0x10590a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x10591c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x105932): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x105988): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x105990): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1059a2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19397:(.text+0x1059ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19461:(.text+0x1059e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19557:(.text+0x1059fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19626:(.text+0x105a0a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x105a1e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x105a28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19671:(.text+0x105a64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19271:(.text+0x105a70): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19329:(.text+0x105a82): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19330:(.text+0x105a92): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19340:(.text+0x105aa6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19331:(.text+0x105ab6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19342:(.text+0x105ae0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x105b10): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x105b1c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19383:(.text+0x105b5e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19470:(.text+0x105ba6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x105bee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x105c04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x105c24): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x105c30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19506:(.text+0x105ccc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x105cde): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19522:(.text+0x105ce6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19522:(.text+0x105cf2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x105d40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19535:(.text+0x105d56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19537:(.text+0x105d7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19470:(.text+0x105db0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19296:(.text+0x105e0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x105e3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19434:(.text+0x105e74): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19586:(.text+0x105f82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x105fb2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19597:(.text+0x105fbe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x106000): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19461:(.text+0x106048): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x106090): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19411:(.text+0x1060a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19293:(.text+0x1060c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19662:(.text+0x1060d2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19432:(.text+0x10616e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19434:(.text+0x106180): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19434:(.text+0x106188): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19662:(.text+0x106194): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1061e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19568:(.text+0x1061f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19570:(.text+0x106220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x106252): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19377:(.text+0x1062ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19522:(.text+0x1062dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19277:(.text+0x106316): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x106424): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123851:(.text+0x106454): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x106460): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123891:(.text+0x106490): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x1064ae): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x106506): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123908:(.text+0x106530): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123928:(.text+0x106546): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123958:(.text+0x106566): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124020:(.text+0x106572): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1065e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124050:(.text+0x1065fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124050:(.text+0x106602): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10660e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25766:(.text+0x10664c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25766:(.text+0x10665c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25766:(.text+0x106668): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124394:(.text+0x1066c4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124403:(.text+0x1066da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x106726): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_63createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123731:(.text+0x106784): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1067b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x10680c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124045:(.text+0x106928): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124050:(.text+0x106958): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x106964): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x106994): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_63createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123739:(.text+0x1069b2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123670:(.text+0x106a0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123903:(.text+0x106a34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123851:(.text+0x106a4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124092:(.text+0x106a6a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124094:(.text+0x106a76): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123969:(.text+0x106aec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123972:(.text+0x106afe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x106b06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x106b12): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123981:(.text+0x106b50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x106b60): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x106b6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x106bc8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123992:(.text+0x106bde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_63createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123677:(.text+0x106c2a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123707:(.text+0x106c88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123682:(.text+0x106cb6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123690:(.text+0x106d10): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124546:(.text+0x106f74): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x106fa4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455004:(.text+0x10701e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1070b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123987:(.text+0x107160): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124050:(.text+0x10716c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123760:(.text+0x107178): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124212:(.text+0x107294): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1072ac): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124352:(.text+0x1072d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124263:(.text+0x107302): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124263:(.text+0x107332): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x107390): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1073ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124470:(.text+0x1073c4): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123760:(.text+0x1074a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1074b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124110:(.text+0x1074c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123759:(.text+0x1074de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1074f6): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10756c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124546:(.text+0x1075cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x107616): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x107622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124548:(.text+0x10762e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124594: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_63createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123677:(.text+0x107824): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123673:(.text+0x107858): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123673:(.text+0x107864): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123671:(.text+0x1078a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123671:(.text+0x1078be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123671:(.text+0x1078ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCreateSeqHIPWithArray': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:956:(.text+0x1079a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123760:(.text+0x1079ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCreateSeqCUDAWithArray': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:955:(.text+0x107a00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:955:(.text+0x107a28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_62createWithDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:124274:(.text+0x107a3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCreateSeqCUDAWithArray': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:955:(.text+0x107a58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75460:(.text+0x107a6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x107aac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x107c54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75523:(.text+0x107c88): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75464:(.text+0x107c94): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75508:(.text+0x107cd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_18splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75572:(.text+0x107cee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75572:(.text+0x107cfa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75647:(.text+0x107dd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75494:(.text+0x107e1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75494:(.text+0x107e30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_18splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75572:(.text+0x107e58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_19splitOwnership': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75468:(.text+0x107e6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75488:(.text+0x107e88): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75489:(.text+0x107e9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x107edc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127502:(.text+0x108084): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19700:(.text+0x1080b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127532:(.text+0x1080c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x108106): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19771:(.text+0x10811e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_78createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127550:(.text+0x10812a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x108206): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_79createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127430:(.text+0x10824a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x108260): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x108288): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_79createShared': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127418:(.text+0x10829e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127422:(.text+0x1082b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127446:(.text+0x1082ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x10830c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121290:(.text+0x1084b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1084e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1084f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121345:(.text+0x108536): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121347:(.text+0x10854e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121354:(.text+0x10855a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_50createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121440:(.text+0x108636): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121467:(.text+0x10867a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x108690): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1086b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121327:(.text+0x1086ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121294:(.text+0x1086e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121295:(.text+0x1086fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_50createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121380:(.text+0x10873c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_51createSeq': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121300:(.text+0x108a02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_53createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121520:(.text+0x108a66): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x108a92): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x108c2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_52createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121623:(.text+0x108ce6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121744:(.text+0x108cf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x108d12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_52createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121644:(.text+0x108d2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121683:(.text+0x108e42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121683:(.text+0x108e4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_53createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121541:(.text+0x108e5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121543:(.text+0x108e66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x108ebc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x108ef8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_53createMPI': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121541:(.text+0x108f8e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121543:(.text+0x108fb8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x10905e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1090ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1090ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122881:(.text+0x1090fc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x109126): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123049:(.text+0x109206): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123049:(.text+0x109212): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123049:(.text+0x10921e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122841:(.text+0x10922a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122841:(.text+0x109236): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123151: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122692:(.text+0x109426): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122928:(.text+0x10945c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x109468): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122949:(.text+0x10948e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122696:(.text+0x1094b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122707:(.text+0x1094ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122708:(.text+0x1094d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1095dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x109620): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122761:(.text+0x109636): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122711:(.text+0x109668): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122694:(.text+0x10967a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122991:(.text+0x109698): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122993:(.text+0x1096b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123014:(.text+0x1096f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1098a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122718:(.text+0x1098e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1098ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x109994): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_59createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122702:(.text+0x109a26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCreateMPIHIPWithArrays': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:968:(.text+0x109a96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123080:(.text+0x109aac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCreateSeqHIPWithArrays': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:959:(.text+0x109af4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_58createHIPWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123091:(.text+0x109b1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123112:(.text+0x109b3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:123112:(.text+0x109b52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x109b70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x109b90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x109be8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x109bf4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122466:(.text+0x109d78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122547:(.text+0x109db8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122547:(.text+0x109dc4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122349:(.text+0x109e6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122381:(.text+0x109efc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x109f6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_57createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122264:(.text+0x109f82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122190:(.text+0x109fca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122191:(.text+0x109ff4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x10a010): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x10a028): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10a046): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_57createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122205:(.text+0x10a066): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122196:(.text+0x10a0be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122196:(.text+0x10a0ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122489:(.text+0x10a24e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122512:(.text+0x10a28e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122512:(.text+0x10a29a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10a340): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x10a3d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10a442): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10a458): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10a4a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122489:(.text+0x10a4ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10a4e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_56createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122523:(.text+0x10a4fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122275:(.text+0x10a51c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10a53c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_57createCUDAWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122192:(.text+0x10a594): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122192:(.text+0x10a5a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x10a724): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218364:(.text+0x10a764): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218350:(.text+0x10a770): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10a816): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x10a8a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218472:(.text+0x10a916): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218413:(.text+0x10a92c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218433:(.text+0x10a974): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x10a99e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218371:(.text+0x10a9ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218371:(.text+0x10a9d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218535:(.text+0x10a9f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218484:(.text+0x10aa10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10aa68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218512:(.text+0x10aa74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_45setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218410:(.text+0x10abf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218387:(.text+0x10ac2c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218388:(.text+0x10ac38): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218512:(.text+0x10ac5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218484:(.text+0x10ac82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10ac9a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_44setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218498:(.text+0x10aca6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240619:(.text+0x10adac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240619:(.text+0x10adf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10ae06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0x10ae38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240745:(.text+0x10ae4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_190setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240879:(.text+0x10ae68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10ae84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10aec2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0x10b07a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0x10b0b0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0x10b0bc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240736:(.text+0x10b0e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x10b106): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240765:(.text+0x10b11e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240765:(.text+0x10b12a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10b230): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_190setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240921:(.text+0x10b274): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240935:(.text+0x10b28a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240949:(.text+0x10b2bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240949:(.text+0x10b2ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240675:(.text+0x10b2ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240683:(.text+0x10b308): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240679:(.text+0x10b346): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240722:(.text+0x10b4fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240729:(.text+0x10b534): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240733:(.text+0x10b540): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240733:(.text+0x10b566): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240693:(.text+0x10b58a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240698:(.text+0x10b5a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240699:(.text+0x10b5ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10b6b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10b6f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10b70e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_191setParamsEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240681:(.text+0x10b740): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240673:(.text+0x10b752): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240673:(.text+0x10b770): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240671:(.text+0x10b78c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240683:(.text+0x10b7ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_100setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235326:(.text+0x10b988): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235276:(.text+0x10b9be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235274:(.text+0x10b9ca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235289:(.text+0x10b9fe): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x10ba2e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10ba8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_100setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235349:(.text+0x10baa4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235416:(.text+0x10bab0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235283:(.text+0x10bb54): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235232:(.text+0x10bb66): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235232:(.text+0x10bb6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235234:(.text+0x10bb7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235242:(.text+0x10bbba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235284:(.text+0x10bbd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235234:(.text+0x10bbe0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235262:(.text+0x10bc46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10bc88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235243:(.text+0x10bca2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235243:(.text+0x10bcb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10bcd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x10bcec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_100setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235363:(.text+0x10bd32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235300:(.text+0x10bd40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10bd58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_101setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235232:(.text+0x10be0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10bf86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10bfbc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10bfc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_116monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276414:(.text+0x10bffc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276183:(.text+0x10c02c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276156:(.text+0x10c08a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276152:(.text+0x10c0a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x10c0ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276098:(.text+0x10c152): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276099:(.text+0x10c164): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276099:(.text+0x10c16c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276099:(.text+0x10c178): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_116monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276428:(.text+0x10c1b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276335:(.text+0x10c1d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276335:(.text+0x10c1de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276114:(.text+0x10c244): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276122:(.text+0x10c286): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x10c2a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276108:(.text+0x10c2b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276129:(.text+0x10c2d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276134:(.text+0x10c2ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276146:(.text+0x10c330): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276146:(.text+0x10c33e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276146:(.text+0x10c356): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10c40a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_117monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276106:(.text+0x10c584): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276108:(.text+0x10c5b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_25getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332128:(.text+0x10c5c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332202:(.text+0x10c654): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332212:(.text+0x10c692): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332214:(.text+0x10c69e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332226:(.text+0x10c72c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10c73e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332246:(.text+0x10c7c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10c7e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x10c826): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10c884): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332273:(.text+0x10c8c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x10c9d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x10ca08): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10ca14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332160:(.text+0x10caa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x10cae4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10caf0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_25getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332140:(.text+0x10cb7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10cb90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_25getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332134:(.text+0x10cc1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332134:(.text+0x10cc36): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332216:(.text+0x10cc78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10ccd6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_24getCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332226:(.text+0x10cd1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332270:(.text+0x10ce28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332271:(.text+0x10ce5a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332271:(.text+0x10ce66): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332305:(.text+0x10cef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10cf36): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x10cf42): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224290:(.text+0x10cfd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0x10cfe2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10d06c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x10d088): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10d0ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_FLAGS': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1574:(.text+0x10d128): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x10d16c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10d27c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224350:(.text+0x10d284): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10d2b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224362:(.text+0x10d2c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10d418): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_135computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224221:(.text+0x10d444): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224221:(.text+0x10d454): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x10d494): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224362:(.text+0x10d4b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10d504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224391:(.text+0x10d556): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224391:(.text+0x10d5f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d60a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x10d62c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224314:(.text+0x10d6e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224314:(.text+0x10d6f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10d6fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x10d714): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10d734): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10d740): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10d754): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10d760): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224352:(.text+0x10d76c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224338:(.text+0x10d79c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x10d80a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_134computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224338:(.text+0x10d824): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10d852): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x10d866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_135computeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224227:(.text+0x10d872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x10d972): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x10d9a8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26399:(.text+0x10d9b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x10d9fa): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x10da34): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10da40): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26399:(.text+0x10da7c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x10dad2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x10db08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_118getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130060:(.text+0x10db28): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130025:(.text+0x10db34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26542:(.text+0x10dbaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26507:(.text+0x10dbee): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10dc7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_119getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129972:(.text+0x10dcc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x10dce0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_119getArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129976:(.text+0x10dcf2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129976:(.text+0x10dcfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129977:(.text+0x10dd06): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129981:(.text+0x10dd46): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129981:(.text+0x10dd52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10dd92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91651:(.text+0x10dddc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x10ddf6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10de16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10de2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10de42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x10de8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x10de9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x10deb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91795:(.text+0x10df72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91695:(.text+0x10dfa2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x10dfbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x10e07c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91811:(.text+0x10e0b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10e298): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x10e2a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_138duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167263:(.text+0x10e368): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10e370): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x10e41a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10e42c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x10e4a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_138duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167237:(.text+0x10e4b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167304:(.text+0x10e4c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10e4e8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10e4f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_138duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167304:(.text+0x10e58c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167304:(.text+0x10e598): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_139duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167181:(.text+0x10e5aa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167154:(.text+0x10e5e8): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167173:(.text+0x10e5f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167163:(.text+0x10e60a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167163:(.text+0x10e616): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167163:(.text+0x10e622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10e62e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_138duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167261:(.text+0x10e676): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10e690): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_138duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167263:(.text+0x10e6aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_139duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167188:(.text+0x10e78c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x10e7ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x10e9a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_125resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130424:(.text+0x10e9e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x10e9f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10eacc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x10eb16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_125resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130439:(.text+0x10eb2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10eb4c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10eb58): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x10ebae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_124resetArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130584:(.text+0x10ec3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130548:(.text+0x10ecf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190019:(.text+0x10ed98): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190008:(.text+0x10edae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x10edcc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190114:(.text+0x10edea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x10ee2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10ee42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190151:(.text+0x10ee76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x10f092): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190244:(.text+0x10f0cc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x10f0d8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x10f194): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x10f1dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x10f1f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_432getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190302:(.text+0x10f212): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190303:(.text+0x10f21e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_433getDenseArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190038:(.text+0x10f272): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190303:(.text+0x10f2e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15860:(.text+0x10f3ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10f41a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x10f430): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15995:(.text+0x10f44e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15998:(.text+0x10f46c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x10f4b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x10f4de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16012:(.text+0x10f6c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10f6f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x10f700): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15893:(.text+0x10f792): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x10f7d0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10f7dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x10f86a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x10f87c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x10f906): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16023:(.text+0x10f922): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x10f964): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getprefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16073:(.text+0x10f9c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15941:(.text+0x10fa06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_6prefix_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71342:(.text+0x10fb14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x10fb46): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x10fb52): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464653:(.text+0x10fbe4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455602:(.text+0x10fc22): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455602:(.text+0x10fc2e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_137getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167000:(.text+0x10fcbc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167000:(.text+0x10fcce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167046:(.text+0x10fd58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167055:(.text+0x10fd74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455485:(.text+0x10fdb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_136getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167097:(.text+0x10fe14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_MatInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450785:(.text+0x10fe58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x10ff60): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_MatInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450799:(.text+0x10ff6a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450800:(.text+0x10ff7e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450803:(.text+0x10ffb2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450805:(.text+0x10ffde): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450806:(.text+0x10fff0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x110000): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_MatInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450808:(.text+0x110014): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450809:(.text+0x110020): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450809:(.text+0x11002e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x110038): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_convert__to_py_MatInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450811:(.text+0x11004c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450812:(.text+0x110056): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_136getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167097:(.text+0x110096): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1100a0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1100b4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_136getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167114:(.text+0x1100e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x110114): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_136getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167097:(.text+0x110126): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_137getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167014:(.text+0x110136): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x11014a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x110156): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x110164): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x11016e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_infotype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32868:(.text+0x110182): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_136getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167077:(.text+0x11018c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_infotype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32883:(.text+0x1101ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455477:(.text+0x1101f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455477:(.text+0x1101fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x110286): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455485:(.text+0x110290): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455598:(.text+0x1102a4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_infotype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32868:(.text+0x1102ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1102e8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_137getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167030:(.text+0x110340): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455591:(.text+0x110370): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x110382): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x110392): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x110418): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x110424): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11044c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_137getInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167016:(.text+0x11049c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167016:(.text+0x1104a6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167016:(.text+0x1104b8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167016:(.text+0x1104c8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455608:(.text+0x1104dc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455631:(.text+0x1104e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455681:(.text+0x11050e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455798:(.text+0x11057e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455794:(.text+0x1105a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455681:(.text+0x1105ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37406:(.text+0x1106a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37420:(.text+0x1106ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455631:(.text+0x1106d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37480:(.text+0x11075c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37480:(.text+0x110766): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37480:(.text+0x11077a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455631:(.text+0x110790): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455681:(.text+0x1107be): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455798:(.text+0x110816): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455794:(.text+0x110846): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37380:(.text+0x110858): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37393:(.text+0x110868): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455794:(.text+0x1108ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455794:(.text+0x1108fa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37433:(.text+0x110922): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x110972): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11097c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorshifttype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37440:(.text+0x11098e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11099e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1109b2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatFactorShiftType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455675:(.text+0x1109be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455675:(.text+0x1109e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `MatFactorInfoDefaults': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:302:(.text+0x110a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:310:(.text+0x110a78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37573:(.text+0x110ac2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x110b76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x110b9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37708:(.text+0x110baa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37792:(.text+0x110c32): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x110c3c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x110c50): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37834:(.text+0x110c66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447427:(.text+0x110c94): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37987:(.text+0x110cec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x110d1c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x110d2e): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38007:(.text+0x110d3e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x110dc4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x110dd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x110df8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38085:(.text+0x110e48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38085:(.text+0x110e52): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `MatFactorInfoDefaults': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:319:(.text+0x110e64): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:312:(.text+0x110e74): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:315:(.text+0x110e88): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:315:(.text+0x110e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x110eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x110f2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37547:(.text+0x110f4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37582:(.text+0x110f9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38006:(.text+0x111050): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37987:(.text+0x11105a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37987:(.text+0x11106e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37643:(.text+0x1110a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37727:(.text+0x1110ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37769:(.text+0x1110e0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37666:(.text+0x1110f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37499:(.text+0x111104): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37811:(.text+0x111110): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37811:(.text+0x11111e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37708:(.text+0x111128): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37500:(.text+0x11113c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37922:(.text+0x111146): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38021:(.text+0x1111a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38021:(.text+0x1111b0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38032:(.text+0x1111d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38032:(.text+0x1111de): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38035:(.text+0x1111f2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x111208): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37500:(.text+0x111226): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37834:(.text+0x111238): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Keys': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447459:(.text+0x111288): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447459:(.text+0x111294): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1112e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1112fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x111324): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38032:(.text+0x11132c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_Keys': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447459:(.text+0x111340): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `MatFactorInfoDefaults': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:300:(.text+0x111396): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:300:(.text+0x1113aa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matfactorinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37500:(.text+0x1113c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37524:(.text+0x1113e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185613:(.text+0x1113f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185626:(.text+0x111404): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185625:(.text+0x11141a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_362factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185722:(.text+0x1114ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1114b8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_362factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185733:(.text+0x1114ca): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185694:(.text+0x1114da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185694:(.text+0x1114ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185629:(.text+0x111560): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185647:(.text+0x1115b0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185647:(.text+0x1115ba): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185672:(.text+0x1115ce): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185684:(.text+0x111602): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_362factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185736:(.text+0x11162e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185640:(.text+0x111640): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185643:(.text+0x111650): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185643:(.text+0x111664): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x111670): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:967:(.text+0x11167e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185631:(.text+0x111688): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185635:(.text+0x11169c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185658:(.text+0x1116a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1116e6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_362factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185722:(.text+0x1116f0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185654:(.text+0x111704): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185640:(.text+0x111738): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x111764): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x111776): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x111786): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x11179a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_363factorILU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185694:(.text+0x1117a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185635:(.text+0x1117b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185635:(.text+0x1117be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185635:(.text+0x1117d2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185631:(.text+0x1117dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185189:(.text+0x11183a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185202:(.text+0x111846): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185203:(.text+0x11186a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x111874): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x111888): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185239:(.text+0x11189e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185260:(.text+0x1118bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_356factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185289:(.text+0x1118ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185270:(.text+0x11191e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185270:(.text+0x11192a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185255:(.text+0x11197e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185255:(.text+0x111990): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185206:(.text+0x1119ba): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185206:(.text+0x1119c2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185216:(.text+0x1119d6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185259:(.text+0x111a2c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185260:(.text+0x111a40): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_356factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185289:(.text+0x111a5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185264:(.text+0x111a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185216:(.text+0x111a88): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185219:(.text+0x111a9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x111ab0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_357factorLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185230:(.text+0x111b42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185231:(.text+0x111b4e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185209:(.text+0x111b60): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185211:(.text+0x111b70): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185225:(.text+0x111b84): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185211:(.text+0x111bf6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185209:(.text+0x111c46): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185209:(.text+0x111c50): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185209:(.text+0x111c64): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204821:(.text+0x111c98): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x111cc4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204852:(.text+0x111cd6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204866:(.text+0x111ce6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204868:(.text+0x111cfa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204868:(.text+0x111d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204877:(.text+0x111d14): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204877:(.text+0x111d1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204877:(.text+0x111d32): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_120setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204912:(.text+0x111d3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x111d80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_120setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204999:(.text+0x111dae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204855:(.text+0x111dba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_120setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204969:(.text+0x111e46): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204969:(.text+0x111e50): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205002:(.text+0x111e64): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204921:(.text+0x111e7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204861:(.text+0x111eb0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_120setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204979:(.text+0x111f08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204931:(.text+0x111f22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204849:(.text+0x111f7c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204849:(.text+0x111f84): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204849:(.text+0x111f98): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x111fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x111fd0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204969:(.text+0x111fe2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_121setFactorShift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204877:(.text+0x112024): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204829:(.text+0x112030): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204829:(.text+0x112046): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204827:(.text+0x11205a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455216:(.text+0x11207e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x1120b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x112100): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x11214e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x11218c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455283:(.text+0x112198): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1121aa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_255assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176860:(.text+0x1121ba): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176871:(.text+0x1121ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176906:(.text+0x112242): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x1122be): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x1122c8): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_254assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176935:(.text+0x1122dc): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x112310): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32820:(.text+0x11233c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_254assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176935:(.text+0x11234e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176959:(.text+0x11235e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_255assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176874:(.text+0x112372): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176874:(.text+0x11237e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176875:(.text+0x11238c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x112396): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1123aa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1123b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_255assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176881:(.text+0x1123f4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176884:(.text+0x1123fe): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455395:(.text+0x112412): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x112446): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x112472): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x112484): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x112494): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1124a8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1124b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_254assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176945:(.text+0x1124c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x1124cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x1124e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x1124ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455395:(.text+0x112550): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455397:(.text+0x11255c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x112586): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x112590): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x1125a4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x1125ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455283:(.text+0x1125d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455283:(.text+0x1125de): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1125f2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x112608): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x112628): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_255assemblyEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176876:(.text+0x11263a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_253assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176754:(.text+0x112690): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x11269c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_253assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176788:(.text+0x1126e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176788:(.text+0x1126fa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176797:(.text+0x11270a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176797:(.text+0x11271c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455281:(.text+0x112748): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455281:(.text+0x112750): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455289:(.text+0x112764): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32820:(.text+0x1127ee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_252assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176841:(.text+0x112802): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176841:(.text+0x112812): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_253assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176756:(.text+0x11282e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x112846): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_253assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176758:(.text+0x11287c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176763:(.text+0x11288a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176782:(.text+0x112896): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176766:(.text+0x1128a8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455395:(.text+0x1128bc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455282:(.text+0x1128e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11290c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x112986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_253assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176768:(.text+0x1129b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176772:(.text+0x1129c8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176772:(.text+0x1129da): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176772:(.text+0x1129ea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455395:(.text+0x1129fe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x112a72): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_253assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176758:(.text+0x112ae8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176758:(.text+0x112af2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176758:(.text+0x112b06): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176978:(.text+0x112b3a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177011:(.text+0x112b66): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177022:(.text+0x112b78): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177022:(.text+0x112b88): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177024:(.text+0x112b9c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177024:(.text+0x112ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177033:(.text+0x112bb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177033:(.text+0x112bc0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32778:(.text+0x112bd4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32778:(.text+0x112bde): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_256assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177063:(.text+0x112c3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177072:(.text+0x112c48): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177083:(.text+0x112c6c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176992:(.text+0x112c76): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176993:(.text+0x112c8a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x112ca0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x112cbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176994:(.text+0x112cd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_256assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177053:(.text+0x112d20): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177086:(.text+0x112d2c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455239:(.text+0x112d80): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455284:(.text+0x112d92): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x112dbc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x112dc4): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455406:(.text+0x112dd8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455402:(.text+0x112e2e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x112e42): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177003:(.text+0x112e60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177004:(.text+0x112e7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_assemblytype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32805:(.text+0x112e8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_257assemble': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177008:(.text+0x112e9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177008:(.text+0x112eb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455404:(.text+0x112f44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455283:(.text+0x112f50): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x112f62): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x112f72): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x112f86): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462446:(.text+0x112ff8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462561:(.text+0x113048): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462561:(.text+0x113052): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x113066): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x11309a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1130c6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1130d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462453:(.text+0x1130e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x1130fc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_27setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248535:(.text+0x113108): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248535:(.text+0x113116): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248535:(.text+0x113120): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x113134): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11313e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_26setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248603:(.text+0x1131a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248604:(.text+0x1131ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248615:(.text+0x1131d4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_27setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248548:(.text+0x1131fa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248548:(.text+0x113204): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x113218): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11322e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_27setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248573:(.text+0x11324e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248575:(.text+0x113260): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462403:(.text+0x1132b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462445:(.text+0x1132c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_26setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248618:(.text+0x113314): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248618:(.text+0x113326): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_27setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248555:(.text+0x113368): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462447:(.text+0x11337a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x113382): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462453:(.text+0x11338e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_27setProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248562:(.text+0x1133f4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248562:(.text+0x113408): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248562:(.text+0x113416): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462561:(.text+0x11342c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11344a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSProblemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x113478): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x113486): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462566:(.text+0x113492): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462447:(.text+0x1134b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1134dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459898:(.text+0x113562): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x11365a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x113664): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200819:(.text+0x113678): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1136ac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459897:(.text+0x1136d8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459898:(.text+0x1136ea): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459905:(.text+0x1136fa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_70setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200888:(.text+0x11370e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200898:(.text+0x11371a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x113728): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x113732): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200868:(.text+0x113746): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200868:(.text+0x113750): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x113790): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x11379a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200857:(.text+0x1137ae): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200861:(.text+0x1137e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460011:(.text+0x11380e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459855:(.text+0x113820): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459897:(.text+0x113830): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459905:(.text+0x113844): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459905:(.text+0x113850): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11385e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x113868): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_70setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200912:(.text+0x11387c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200912:(.text+0x113886): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200834:(.text+0x1138c6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200839:(.text+0x1138d0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459899:(.text+0x1138e4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200839:(.text+0x113918): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_70setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200898:(.text+0x113944): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200846:(.text+0x113956): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200846:(.text+0x113966): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200846:(.text+0x11397a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460011:(.text+0x113986): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460013:(.text+0x113994): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460013:(.text+0x11399e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1139b2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1139bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460018:(.text+0x1139fc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x113a06): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459899:(.text+0x113a1a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x113a4e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_71setASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200834:(.text+0x113a7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200834:(.text+0x113a8c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200834:(.text+0x113a9c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455043:(.text+0x113ab0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455085:(.text+0x113abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455085:(.text+0x113aca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455088:(.text+0x113ad4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x113ae8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455213:(.text+0x113af2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455087:(.text+0x113b58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455206:(.text+0x113b64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x113b8a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x113bb0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x113bba): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x113bce): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182654:(.text+0x113be0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182667:(.text+0x113bfc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182654:(.text+0x113c06): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182668:(.text+0x113c1a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x113c30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182704:(.text+0x113c50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182724:(.text+0x113c62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455085:(.text+0x113cb8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455088:(.text+0x113cc4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x113d12): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_330axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182787:(.text+0x113d24): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182734:(.text+0x113d34): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182734:(.text+0x113d46): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x113d56): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x113d68): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x113d70): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182718:(.text+0x113d7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182670:(.text+0x113de6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182714:(.text+0x113e5a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x113e6c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32729:(.text+0x113e7a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32729:(.text+0x113e90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_330axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182790:(.text+0x113eae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182722:(.text+0x113edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182684:(.text+0x113eea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182684:(.text+0x113ef6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182684:(.text+0x113f08): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455199:(.text+0x113f1c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x113f40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182672:(.text+0x113f60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455206:(.text+0x113fec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_330axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182776:(.text+0x114020): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1140f8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_331axpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182734:(.text+0x114102): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182676:(.text+0x114116): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182672:(.text+0x11414a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182674:(.text+0x114176): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182674:(.text+0x114188): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182809:(.text+0x114198): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182822:(.text+0x1141ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182809:(.text+0x1141b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182809:(.text+0x1141c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1141d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1141e4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1141ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x11422e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x114238): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32701:(.text+0x11424c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x114280): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_332aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182931:(.text+0x1142ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1142be): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_332aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182942:(.text+0x1142ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182889:(.text+0x1142e2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182889:(.text+0x1142ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1142fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x114306): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11431a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x114324): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182826:(.text+0x1143b2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182831:(.text+0x1143ba): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182831:(.text+0x1143ce): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182843:(.text+0x1143e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_332aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182945:(.text+0x11444c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182877:(.text+0x114454): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182879:(.text+0x114468): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182836:(.text+0x114490): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455206:(.text+0x1144bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x1144d6): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x114532): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182827:(.text+0x114544): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182855:(.text+0x11456c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182855:(.text+0x114580): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182855:(.text+0x11458c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182855:(.text+0x114598): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1145a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_332aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182931:(.text+0x1145ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182836:(.text+0x1145ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182836:(.text+0x1145f6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x114608): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x114618): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182845:(.text+0x11462c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182845:(.text+0x114636): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182845:(.text+0x114644): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x114664): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_333aypx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182831:(.text+0x1146ac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182831:(.text+0x1146b8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182827:(.text+0x1146ee): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182829:(.text+0x114728): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462795:(.text+0x11473e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x114794): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1147a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462845:(.text+0x114846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x114854): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462839:(.text+0x114866): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257688:(.text+0x11486e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257688:(.text+0x11487a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257699:(.text+0x114890): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1148ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462795:(.text+0x1148c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_154setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257757:(.text+0x11490a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x114930): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257728:(.text+0x1149d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x114ae8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462845:(.text+0x114af2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257711:(.text+0x114b06): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_154setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257767:(.text+0x114b3a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257715:(.text+0x114b66): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257715:(.text+0x114b78): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462952:(.text+0x114b88): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x114b9c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x114ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x114bb6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_TSExactFinalTimeOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462962:(.text+0x114bc0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462839:(.text+0x114bd4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462958:(.text+0x114bde): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:462839:(.text+0x114c1e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x114c28): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x114c3c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_155setExactFinalTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257703:(.text+0x114c70): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463594:(.text+0x114c9c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463617:(.text+0x114cae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463659:(.text+0x114cbe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463667:(.text+0x114cd2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463667:(.text+0x114cde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463787:(.text+0x114cec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x114cf6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x114d0a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463775:(.text+0x114d14): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463774:(.text+0x114dcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349649:(.text+0x114e24): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x114e2c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463659:(.text+0x114e40): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463667:(.text+0x114e56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x114e96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349669:(.text+0x114eb0): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349658:(.text+0x114f18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463773:(.text+0x114f6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463617:(.text+0x114f84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463659:(.text+0x114f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x114fca): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x114fd2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_48setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349713:(.text+0x114fe6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463784:(.text+0x115016): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349640:(.text+0x115032): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349654:(.text+0x115044): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x115054): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349640:(.text+0x115068): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349643:(.text+0x11508a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349643:(.text+0x115096): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_48setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349699:(.text+0x1150a6): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349647:(.text+0x1150b4): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349647:(.text+0x1150e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11511e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463784:(.text+0x11512a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463784:(.text+0x11513c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463780:(.text+0x11514c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463780:(.text+0x115160): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x115170): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x115198): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1151c0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_49setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349669:(.text+0x1151cc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1152f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x115302): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x115312): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_55insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350259:(.text+0x115364): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463863:(.text+0x1153d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463863:(.text+0x1153de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1153fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x11542a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463863:(.text+0x1154ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_54insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350364:(.text+0x11552e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463969:(.text+0x11553c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11559c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1155b0): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463980:(.text+0x115628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_55insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350271:(.text+0x115650): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350264:(.text+0x1156ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1157cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_55insertPointUsingCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350280:(.text+0x1157de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463976:(.text+0x115838): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x115844): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11588a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMSwarmPICLayoutType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463857:(.text+0x1158b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463202:(.text+0x11590e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1159fa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x115a04): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x115a18): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312125:(.text+0x115a4c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x115a78): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x115a8a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312163:(.text+0x115a9a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x115aae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x115aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x115ac8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463225:(.text+0x115ad2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463267:(.text+0x115ae6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463270:(.text+0x115af0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x115b92): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x115b9a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x115bae): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312174:(.text+0x115bc4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x115c2a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x115c32): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x115c46): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x115c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_42setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312241:(.text+0x115c92): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312178:(.text+0x115ca4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x115cb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463267:(.text+0x115cd2): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312151:(.text+0x115d4c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312155:(.text+0x115d60): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312155:(.text+0x115d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312170:(.text+0x115d84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x115dc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312148:(.text+0x115dcc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x115dde): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312148:(.text+0x115dee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x115e02): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x115e0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_42setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312227:(.text+0x115e1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x115e24): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x115e32): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_43setCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312161:(.text+0x115e52): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312161:(.text+0x115e78): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x115e82): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463381:(.text+0x115e96): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x115eca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463392:(.text+0x115ef6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463392:(.text+0x115f08): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463388:(.text+0x115f18): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463388:(.text+0x115f2c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x115f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463269:(.text+0x115f46): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:463269:(.text+0x115f50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x115f64): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x115f6e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_28pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94175:(.text+0x116202): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_29pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94144:(.text+0x11621c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x116254): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_29pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94133:(.text+0x116278): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94135:(.text+0x116298): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94135:(.text+0x1162a0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458102:(.text+0x1162b4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458095:(.text+0x1162ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_28pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94178:(.text+0x116350): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0x116358): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0x11636c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_29pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94129:(.text+0x116394): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457989:(.text+0x1163bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_29pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94118:(.text+0x1163ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94118:(.text+0x1163de): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1163f2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_29pushFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94122:(.text+0x116418): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458097:(.text+0x116454): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11646e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0x116480): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458106:(.text+0x116490): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458102:(.text+0x1164a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1164fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454101:(.text+0x116566): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454143:(.text+0x116574): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21474:(.text+0x1166da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21483:(.text+0x1166e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x116728): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1167d8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x116886): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21599:(.text+0x11689c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454143:(.text+0x1168bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454146:(.text+0x1168c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21644:(.text+0x116918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x116960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x11699e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447056:(.text+0x1169cc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21638:(.text+0x1169de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21638:(.text+0x1169e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21639:(.text+0x1169f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x116a9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x116ab2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21545:(.text+0x116ad0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21556:(.text+0x116af8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21559:(.text+0x116b2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x116b80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21528:(.text+0x116c08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454342:(.text+0x116d72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454347:(.text+0x116d7e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464661:(.text+0x116da8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454464:(.text+0x116de6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x116e40): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x116e4c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x116ece): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x116ee0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21851:(.text+0x116ee8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21854:(.text+0x116ef4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x116f60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x116f76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x116f94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21894:(.text+0x116fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0x116fe0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x117000): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x11708a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11718e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x117276): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21939:(.text+0x117338): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x117384): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454464:(.text+0x1173ce): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1173e4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454464:(.text+0x117468): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1174b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1174be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21939:(.text+0x1174ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21939:(.text+0x1174d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22001:(.text+0x1174e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21939: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x117732): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x117776): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x117782): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x11778c): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x11779e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376887:(.text+0x1177c8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x117814): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x117856): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376943:(.text+0x117862): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x11788c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11790c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376985:(.text+0x1179b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x117a50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x117a58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x117a64): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377099:(.text+0x117a88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377099:(.text+0x117a9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x117aac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x117ac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x117ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x117b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x117b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x117c08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x117c44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376926:(.text+0x117cbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376974:(.text+0x117cdc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x117cfc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:377005:(.text+0x117d1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x117d78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMissingDiagonal_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376987:(.text+0x117da6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x117dbc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x117e22): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252040:(.text+0x117f62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252066:(.text+0x117fa4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x117fb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252134:(.text+0x117fda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252164:(.text+0x11805a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_70computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252269:(.text+0x118100): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252070:(.text+0x11819e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252164:(.text+0x1181a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252164:(.text+0x1181b2): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252165:(.text+0x1181d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252166:(.text+0x1181ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252167:(.text+0x1181fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252167:(.text+0x118214): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x118220): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252073:(.text+0x1182a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252075:(.text+0x1182ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252101:(.text+0x118354): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252113:(.text+0x118390): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252079:(.text+0x11840a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252079:(.text+0x118428): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252091:(.text+0x118448): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252095:(.text+0x118468): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252120:(.text+0x1184c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252126:(.text+0x1184f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252131:(.text+0x118506): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x11856c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_71computeIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252081:(.text+0x1186ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252083:(.text+0x1186ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252083:(.text+0x1186fa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252071:(.text+0x118724): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1187a4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_68computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252007:(.text+0x11884a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251941:(.text+0x1188e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251941:(.text+0x1188f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251943:(.text+0x1188fc): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251872:(.text+0x118920): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251945:(.text+0x118934): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251945:(.text+0x118944): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251946:(.text+0x11895e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251947:(.text+0x11896a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251877:(.text+0x1189ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251877:(.text+0x1189f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251889:(.text+0x118aa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251899:(.text+0x118adc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251873:(.text+0x118b56): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251913:(.text+0x118b74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251917:(.text+0x118b94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x118bb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251901:(.text+0x118c10): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251895:(.text+0x118c3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x118c54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_69computeIFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251879:(.text+0x118cba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x118dfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_186setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240458:(.text+0x118e3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240468:(.text+0x118e48): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240478:(.text+0x118e72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x118ef2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x118f98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x119036): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x11903e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11904a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_186setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240489:(.text+0x11906e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240513:(.text+0x119082): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x119092): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_187setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240389:(.text+0x1190ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240390:(.text+0x1190b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x11913c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x119146): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x1191ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_187setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240400:(.text+0x11922a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240422:(.text+0x1192a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240422:(.text+0x1192c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1192e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x119302): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_187setUseEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240392:(.text+0x11935e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_33setSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354652:(.text+0x11938c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354652:(.text+0x1193a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x119408): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x119552): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x119590): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_32setSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354731:(.text+0x11959c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x119604): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x119652): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_33setSumConcatenate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354672:(.text+0x11965e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354679:(.text+0x1196ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11971c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310091:(.text+0x119778): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310102:(.text+0x11978c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310103:(.text+0x11979a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1197b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1197d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x1197de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_20createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310207:(.text+0x119862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310151:(.text+0x1198a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310151:(.text+0x1198b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310140:(.text+0x11990e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310142:(.text+0x119932): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_20createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310232:(.text+0x119996): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1199d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1199f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x119a8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_20createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310232:(.text+0x119bd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_21createCohesiveSubmesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310123:(.text+0x119c10): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310123:(.text+0x119c1c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310151:(.text+0x119c84): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310109:(.text+0x119cd2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108678:(.text+0x119cde): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x119d2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_74embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108765:(.text+0x119d9c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108743:(.text+0x119df8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108743:(.text+0x119e0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108692:(.text+0x119e1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108693:(.text+0x119e30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x119e52): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x119e5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108733:(.text+0x119ee2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x119f24): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x119f30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x119f8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_75embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108704:(.text+0x119fb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108701:(.text+0x11a016): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_74embed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108812:(.text+0x11a056): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108812:(.text+0x11a070): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11a10a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453056:(.text+0x11a252): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x11a290): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x11a29c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209810:(.text+0x11a304): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x11a352): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x11a35e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209818:(.text+0x11a3ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x11a41c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209818:(.text+0x11a478): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x11a48c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_190setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209893:(.text+0x11a49a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_191setBDDCChangeOfBasisMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209827:(.text+0x11a4b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209831:(.text+0x11a4d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209831:(.text+0x11a4de): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209811:(.text+0x11a562): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209416:(.text+0x11a5a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209416:(.text+0x11a5b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209466:(.text+0x11a60e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209482:(.text+0x11a632): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x11a696): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_186setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209523:(.text+0x11a6d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209556:(.text+0x11a6f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209451:(.text+0x11a78a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11a8d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209463:(.text+0x11a910): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209463:(.text+0x11a91c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209457:(.text+0x11a984): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209453:(.text+0x11a9d2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11a9de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_187setBDDCDivergenceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209437:(.text+0x11aa2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_45setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285618:(.text+0x11aa9c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x11aaf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x11ab0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x11ab1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x11ab30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11ab52): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_44setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285722:(.text+0x11ab5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_45setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285633:(.text+0x11abe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x11ac22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11ac2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x11ac8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x11acb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_44setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285712:(.text+0x11ad12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x11ad52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11ad6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_45setFieldAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285672:(.text+0x11ae06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285659:(.text+0x11af46): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285689:(.text+0x11afdc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285637:(.text+0x11afe8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285637:(.text+0x11aff4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285373:(.text+0x11b060): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11b0a8): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453056:(.text+0x11b0de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11b0ee): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11b0fc): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x11b11e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11b134): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11b1d8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285422:(.text+0x11b1fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285422:(.text+0x11b20a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285424:(.text+0x11b216): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285424:(.text+0x11b222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x11b22e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285399:(.text+0x11b348): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285399:(.text+0x11b354): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11b3c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x11b3ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285389:(.text+0x11b422): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285397:(.text+0x11b430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285409:(.text+0x11b46c): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285405:(.text+0x11b490): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285405:(.text+0x11b4a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x11b4d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x11b4ea): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_41setBasicAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285389:(.text+0x11b51e): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285389:(.text+0x11b53c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285391:(.text+0x11b546): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285391:(.text+0x11b558): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309100:(.text+0x11b576): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309113:(.text+0x11b58a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309114:(.text+0x11b596): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309166:(.text+0x11b602): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309168:(.text+0x11b622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_10createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309241:(.text+0x11b6de): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309160:(.text+0x11b774): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309162:(.text+0x11b780): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_10createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309202:(.text+0x11b78c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309231:(.text+0x11b7f8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309131:(.text+0x11b840): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11b876): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x11b886): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11b894): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x11b8b6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_11createCGNS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309119:(.text+0x11b8cc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309142:(.text+0x11b970): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309136:(.text+0x11b996): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309136:(.text+0x11b9a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11b9ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x11b9ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x11b9c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11bae4): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309760:(.text+0x11baf0): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309765:(.text+0x11bb5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_16createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309812:(.text+0x11bb6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11bbc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_16createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309822:(.text+0x11bbce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x11bc0a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309763:(.text+0x11bc2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309727:(.text+0x11bc42): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309733:(.text+0x11bc70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309772:(.text+0x11bc88): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x11bcbc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11bcda): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x11bce4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_16createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309822:(.text+0x11bcf6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309841:(.text+0x11bd14): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x11bd28): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x11bd34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11bda2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x11bdc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309753:(.text+0x11be96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x11bed0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_17createExodus': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309729:(.text+0x11bf72): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309729:(.text+0x11bf80): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309904:(.text+0x11bf92): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309917:(.text+0x11bfa2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309904:(.text+0x11bfb0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309904:(.text+0x11bfc6): undefined reference to `PyByteArray_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x11bfce): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11bfec): undefined reference to `_PyByteArray_empty_string' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309954:(.text+0x11c000): undefined reference to `PyBytes_AsStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309976:(.text+0x11c056): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_18createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310009:(.text+0x11c062): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310009:(.text+0x11c06e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310009:(.text+0x11c07a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x11c088): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453058:(.text+0x11c0ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309921:(.text+0x11c152): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309922:(.text+0x11c15c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309927:(.text+0x11c174): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x11c1fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x11c206): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x11c27e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309925:(.text+0x11c2f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309923:(.text+0x11c300): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x11c34e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_18createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310038:(.text+0x11c358): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310038:(.text+0x11c360): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309925:(.text+0x11c374): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309941:(.text+0x11c3d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x11c3e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11c402): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_19createGmsh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309923:(.text+0x11c43e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309927:(.text+0x11c45e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_110setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165656:(.text+0x11c5a6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_111setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165623:(.text+0x11c5b2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165578:(.text+0x11c5de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165612:(.text+0x11c620): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165614:(.text+0x11c64e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_110setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165643:(.text+0x11c6be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165659:(.text+0x11c6ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x11c716): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x11c71e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_111setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165586:(.text+0x11c74a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165593:(.text+0x11c780): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165598:(.text+0x11c796): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11c7b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_111setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165579:(.text+0x11c7ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x11c80e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459583:(.text+0x11c95c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11c98a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x11c996): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x11ca6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_3createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307745:(.text+0x11cac0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307745:(.text+0x11cacc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307754:(.text+0x11caf6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307729:(.text+0x11cb0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x11cb90): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307801:(.text+0x11cb9c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307893:(.text+0x11cbc6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307905:(.text+0x11cbfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_DATA': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1526:(.text+0x11cc5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_3createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307675:(.text+0x11cd5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11cd96): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x11cda2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308017:(.text+0x11ce4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x11cf44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_3createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307678:(.text+0x11cf50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307676:(.text+0x11cf94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307684:(.text+0x11d00c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307690:(.text+0x11d022): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307714:(.text+0x11d040): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307715:(.text+0x11d04c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307720:(.text+0x11d084): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11d10a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307982:(.text+0x11d124): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307931:(.text+0x11d1a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x11d2c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307791:(.text+0x11d2fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11d308): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_2createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307929:(.text+0x11d3b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308027:(.text+0x11d4aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308017:(.text+0x11d4b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_3createFromCellList': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307698:(.text+0x11d4fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307754:(.text+0x11d572): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307678:(.text+0x11d588): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307678:(.text+0x11d5a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307676:(.text+0x11d5b2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307682:(.text+0x11d5ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209589:(.text+0x11d670): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209589:(.text+0x11d68a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x11d70e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209662:(.text+0x11d82a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209683:(.text+0x11d864): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209683:(.text+0x11d870): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x11d91a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209616:(.text+0x11da18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209626:(.text+0x11da2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209616:(.text+0x11da6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209645:(.text+0x11dac2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209646:(.text+0x11dad8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209651:(.text+0x11daf6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209655:(.text+0x11db02): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209675:(.text+0x11db5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209634:(.text+0x11dbe6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x11dc00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_189setBDDCDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209618:(.text+0x11dc84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317500:(.text+0x11dd9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x11ddd8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453058:(.text+0x11dde4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317447:(.text+0x11de8c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317501:(.text+0x11df86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317502:(.text+0x11df92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11dfd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317439:(.text+0x11e04e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317444:(.text+0x11e064): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317435:(.text+0x11e082): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317435:(.text+0x11e08e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317444:(.text+0x11e0c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317488:(.text+0x11e14c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317437:(.text+0x11e166): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_106labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317554:(.text+0x11e1ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_107labelCohesiveComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317439:(.text+0x11e304): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317433:(.text+0x11e33e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317433:(.text+0x11e34a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453683:(.text+0x11e3f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_insertmode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15578:(.text+0x11e4fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15592:(.text+0x11e50a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15605:(.text+0x11e54e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453563:(.text+0x11e5c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11e5dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_insertmode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15579:(.text+0x11e5fa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453680:(.text+0x11e606): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453563:(.text+0x11e63e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453676:(.text+0x11e6c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141417:(.text+0x11e6de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141487:(.text+0x11e762): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141487:(.text+0x11e8ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11e8e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x11e8f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141457:(.text+0x11e99c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141437:(.text+0x11ea64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141439:(.text+0x11ea70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x11eab4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_293strideGather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141437:(.text+0x11eb2c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141437:(.text+0x11eb42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141439:(.text+0x11eb60): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141439:(.text+0x11eb6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141262:(.text+0x11eba4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141332:(.text+0x11ec2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x11ec44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_290strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141374:(.text+0x11ec64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141328:(.text+0x11ed5e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x11ed8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x11ed9a): undefined reference to `PyDict_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x11edb8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_290strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141398:(.text+0x11ee02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141284:(.text+0x11ee2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141296:(.text+0x11ee4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_290strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141384:(.text+0x11eef8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141303:(.text+0x11ef04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141303: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_290strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141364:(.text+0x11ef46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x11ef5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141298:(.text+0x11efac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11efc0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x11efd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11efe6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_291strideScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141282:(.text+0x11f012): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_269setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139847:(.text+0x11f06c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x11f0e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x11f116): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_268setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139976:(.text+0x11f142): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139976:(.text+0x11f150): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x11f15c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x11f168): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x11f1cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_269setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139913:(.text+0x11f212): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139913:(.text+0x11f21e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_268setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139956:(.text+0x11f2d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139966:(.text+0x11f2fa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_269setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139864:(.text+0x11f320): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139881:(.text+0x11f348): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139887:(.text+0x11f35e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139906:(.text+0x11f366): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139869:(.text+0x11f388): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139869:(.text+0x11f396): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139893:(.text+0x11f3d0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139888:(.text+0x11f404): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x11f498): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_269setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139865:(.text+0x11f55e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139867:(.text+0x11f56e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139867:(.text+0x11f580): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139867:(.text+0x11f588): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139102:(.text+0x11f594): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139115:(.text+0x11f5aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139114:(.text+0x11f5bc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139115:(.text+0x11f5c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x11f5d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139155:(.text+0x11f608): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x11f638): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x11f648): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_256setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139221:(.text+0x11f65a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139221:(.text+0x11f662): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139231:(.text+0x11f66e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139118:(.text+0x11f69e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139132:(.text+0x11f6da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x11f702): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139168:(.text+0x11f738): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139177:(.text+0x11f754): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139151:(.text+0x11f76c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x11f786): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_256setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139201:(.text+0x11f7a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x11f848): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139136: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_256setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139231:(.text+0x11f90e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_257setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139143:(.text+0x11f91a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139138:(.text+0x11f9ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139138:(.text+0x11f9d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139138:(.text+0x11f9e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_DIM': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1550:(.text+0x11fbac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36126:(.text+0x11fbb8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36183:(.text+0x11fbea): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x11fc3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x11fcb4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36224:(.text+0x11fcc0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35841:(.text+0x11fd12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35853:(.text+0x11fd1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36031:(.text+0x11fd32): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36033:(.text+0x11fd44): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11fd4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x11fd58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36307:(.text+0x11fd92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x11fdca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x11fde0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36315:(.text+0x11fdfe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x11fe38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36174:(.text+0x11fe5e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36271:(.text+0x11ff04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35977:(.text+0x12002a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35979:(.text+0x120036): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1200cc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x120170): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x12017e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x12019e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36057:(.text+0x1201ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36068:(.text+0x1201fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36068:(.text+0x120208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x120216): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36071:(.text+0x120222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1202b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x120314): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x120334): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_rcv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35947:(.text+0x12034a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36187:(.text+0x120438): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36208:(.text+0x12046c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x120478): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174091:(.text+0x1205d6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174091:(.text+0x1205e2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174037:(.text+0x120682): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174046:(.text+0x12068e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174039:(.text+0x12069a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174059:(.text+0x120700): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12070c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174046:(.text+0x120720): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x120784): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_223setValuesBlockedLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174071:(.text+0x1207be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174061:(.text+0x1207ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174055:(.text+0x120812): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174037:(.text+0x12091a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173455:(.text+0x120952): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173468:(.text+0x12095e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1209dc): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1209ea): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173530:(.text+0x120a16): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173530:(.text+0x120a22): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173541:(.text+0x120a4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_214setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173573:(.text+0x120aa8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173476:(.text+0x120abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173476:(.text+0x120ad2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173485:(.text+0x120ade): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173498:(.text+0x120b2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173480:(.text+0x120b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173488:(.text+0x120b96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x120bbe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173505:(.text+0x120bdc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173494:(.text+0x120c64): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173494:(.text+0x120c78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x120cbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_215setValuesLocalRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173478:(.text+0x120d12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173480:(.text+0x120d30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172442:(.text+0x120d70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172459:(.text+0x120eaa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172460:(.text+0x120eb6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172472:(.text+0x120f18): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172473:(.text+0x120f22): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172513:(.text+0x120f36): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172467:(.text+0x120f4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172485:(.text+0x120f6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172475:(.text+0x120fe6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x120ff2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172497:(.text+0x121042): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172497:(.text+0x12104e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172497:(.text+0x12105a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172487:(.text+0x12106c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1210ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_201setValuesBlockedRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172461:(.text+0x121104): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172461:(.text+0x12111a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172465:(.text+0x121138): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172467:(.text+0x12115e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172467:(.text+0x121172): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172463:(.text+0x121196): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_193setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171881:(.text+0x1211b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_192setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171996:(.text+0x121250): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_193setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171906:(.text+0x121346): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171911:(.text+0x121352): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171906:(.text+0x121388): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171918:(.text+0x1213dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171931:(.text+0x121454): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171932:(.text+0x121460): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171926:(.text+0x1214b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171926:(.text+0x1214bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171920:(.text+0x1214ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171920:(.text+0x1214e0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171920:(.text+0x1214e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171920:(.text+0x1214f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12152e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_193setValuesRCV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171900:(.text+0x121568): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171904:(.text+0x121584): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171906:(.text+0x12159c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171902:(.text+0x1215e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36325:(.text+0x121608): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1216ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1217d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36637:(.text+0x1217e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x12181c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36891:(.text+0x12190c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36900:(.text+0x121918): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36880:(.text+0x121978): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36919:(.text+0x121984): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36929:(.text+0x121994): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36929:(.text+0x1219a4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36938:(.text+0x1219b6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36938:(.text+0x1219be): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36938:(.text+0x1219ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36396:(.text+0x121a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_fcn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35422:(.text+0x121a62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36557:(.text+0x121a7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36585:(.text+0x121a96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36457:(.text+0x121ad8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x121b02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36938:(.text+0x121bca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x121cf4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36736:(.text+0x121d00): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36747:(.text+0x121d3a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x121d96): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x121e0a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36716:(.text+0x121e16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x121e66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x121e72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36792:(.text+0x121e84): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x121e96): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x121e9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36803:(.text+0x121eaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x121ee4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36385:(.text+0x121f66): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x121f82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x121f9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x121fe0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_ijv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36606:(.text+0x122006): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:36792:(.text+0x1220aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1221dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_197setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172226:(.text+0x1221e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_196setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172283:(.text+0x122222): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x122248): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_197setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172254:(.text+0x1222a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_196setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172286:(.text+0x12230c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172286:(.text+0x122322): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_197setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172189:(.text+0x122342): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172198:(.text+0x12234e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172211:(.text+0x12239e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172211:(.text+0x1223aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1223bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_197setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172198:(.text+0x1223ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172198:(.text+0x1223d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172205:(.text+0x1223e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172201:(.text+0x12241c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172201:(.text+0x12242c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12243e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_197setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172187:(.text+0x122446): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x122452): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_197setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172223:(.text+0x12248c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172207:(.text+0x1224da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172207:(.text+0x1224f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12250e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_197setValuesCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172187:(.text+0x12255a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172193:(.text+0x1225b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x122656): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x122664): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1227ba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174178:(.text+0x1227c6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174180:(.text+0x122800): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174200:(.text+0x122826): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174174:(.text+0x12287e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174208:(.text+0x1228ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174213:(.text+0x122900): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174218:(.text+0x122920): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174218:(.text+0x12292c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174202:(.text+0x12297c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174202:(.text+0x122988): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174202:(.text+0x12299a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174196:(.text+0x1229ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174196:(.text+0x1229b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174196:(.text+0x1229c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1229fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x122a0a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x122a1c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x122a24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x122a30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_225setValuesBlockedLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174174:(.text+0x122a6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174180:(.text+0x122ab8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174180:(.text+0x122ace): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_217setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173607:(.text+0x122aec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x122b38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_217setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173691:(.text+0x122b92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_216setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173723:(.text+0x122c34): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173723:(.text+0x122c42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_217setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173629:(.text+0x122d90): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173633:(.text+0x122d9c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173652:(.text+0x122dd2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x122e32): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_217setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173635:(.text+0x122ea6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x122eb2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x122f02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_217setValuesLocalIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173691:(.text+0x122f0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173615:(.text+0x122f20): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173615:(.text+0x122f32): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173615:(.text+0x122f3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173613:(.text+0x122f46): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173621:(.text+0x122f80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x122ffc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x123012): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_203setValuesBlockedIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172667:(.text+0x123030): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172671:(.text+0x12306a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172652:(.text+0x123090): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172602:(.text+0x123130): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172614:(.text+0x123224): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172616:(.text+0x12325e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172616:(.text+0x12326a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172608:(.text+0x123444): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172608:(.text+0x12345e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172606:(.text+0x12346a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172606:(.text+0x123476): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172606:(.text+0x123482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172034:(.text+0x1234ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172117:(.text+0x123554): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172091:(.text+0x12356a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x12358a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_194setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172146:(.text+0x123596): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172038:(.text+0x1235d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172043:(.text+0x123670): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172045:(.text+0x12368e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172047:(.text+0x1236e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x123804): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_195setValuesIJV': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172067:(.text+0x12382a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172061:(.text+0x123836): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12387e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1238a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x12399e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1239b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1239c2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x123a22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_227setValuesBlockedLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174378:(.text+0x123a42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174378:(.text+0x123a4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174361:(.text+0x123a98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_csr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:37053:(.text+0x123ada): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_226setValuesBlockedLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174421:(.text+0x123aea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174421:(.text+0x123afc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174421:(.text+0x123b04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x123b10): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_227setValuesBlockedLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174324:(.text+0x123b26): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174333:(.text+0x123b38): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174352:(.text+0x123b40): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174373:(.text+0x123b4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174346:(.text+0x123b82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174333:(.text+0x123bec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174336:(.text+0x123c06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174353:(.text+0x123c40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x123d00): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x123d1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_227setValuesBlockedLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174322:(.text+0x123d3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174324:(.text+0x123de0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173742:(.text+0x123dee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173819:(.text+0x123ee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173828:(.text+0x123f1c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173759:(.text+0x123f28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_218setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173860:(.text+0x123f80): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173765:(.text+0x123fa6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x124024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173775:(.text+0x124098): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1240ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173792:(.text+0x1240ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173793:(.text+0x1240da): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173787:(.text+0x12412e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173781:(.text+0x12413a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1241ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_219setValuesLocalCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173828:(.text+0x1241be): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173761:(.text+0x1241d0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173761:(.text+0x1241d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173761:(.text+0x1241e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173765:(.text+0x1241fa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173765:(.text+0x12420c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173765:(.text+0x124214): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173767:(.text+0x124220): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173763:(.text+0x124256): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_205setValuesBlockedCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172744:(.text+0x1242aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1242ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x124328): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_205setValuesBlockedCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172804:(.text+0x12435c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172806:(.text+0x124376): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_204setValuesBlockedCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172847:(.text+0x124414): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_205setValuesBlockedCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172772:(.text+0x12448c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172772:(.text+0x12449a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172774:(.text+0x12459c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172768:(.text+0x1245ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172768:(.text+0x1245d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172748:(.text+0x124672): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173134:(.text+0x12471e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173147:(.text+0x12472a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173192:(.text+0x124764): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173193:(.text+0x124770): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_210setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173256:(.text+0x1247ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x1247d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x124816): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173211:(.text+0x124870): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173151:(.text+0x1248ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_210setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173299:(.text+0x1249ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173219:(.text+0x1249ba): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173167:(.text+0x124a74): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173171:(.text+0x124a80): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173159:(.text+0x124ab2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173164:(.text+0x124ac0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x124ae0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_211setValueLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173189:(.text+0x124b0c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173179:(.text+0x124bca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173173:(.text+0x124bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173173:(.text+0x124bec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173220:(.text+0x124c52): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173157:(.text+0x124c76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173159:(.text+0x124c8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x124de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_188setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171701:(.text+0x124dec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x124e1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x124e2a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171618:(.text+0x124ec2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171577:(.text+0x124ecc): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171578:(.text+0x124ee0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x124ef6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x124f04): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x124f2e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_188setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171681:(.text+0x124f68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171603:(.text+0x12503e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171593:(.text+0x125082): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171610:(.text+0x1250fa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171614:(.text+0x12510c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171615:(.text+0x12511c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171615:(.text+0x125130): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171615:(.text+0x12513c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_188setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171711:(.text+0x125152): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x125172): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12517e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x125194): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1251a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_189setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171599:(.text+0x1251e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171583:(.text+0x125268): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171583:(.text+0x125282): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171585:(.text+0x1252a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289100:(.text+0x12538a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289118:(.text+0x125392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_98localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289159:(.text+0x1253c4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289159:(.text+0x1253d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289114:(.text+0x125478): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289116:(.text+0x125496): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289064:(.text+0x1254a0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289065:(.text+0x1254b4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289070:(.text+0x1254ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289078:(.text+0x125580): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289078:(.text+0x125592): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289070:(.text+0x1255d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289090:(.text+0x125640): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12564a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_98localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289168:(.text+0x12565c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289084:(.text+0x12568a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289084:(.text+0x1256a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1256be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1256ca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1256e0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_99localToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289070:(.text+0x1256f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289066:(.text+0x125724): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1257b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1257cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_97localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288948:(.text+0x1257ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288965:(.text+0x1257fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288963:(.text+0x1258f2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288911:(.text+0x1258fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288922:(.text+0x12592c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288922:(.text+0x125938): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288925:(.text+0x1259e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1259fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x125a08): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_97localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288913:(.text+0x125a1c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288922:(.text+0x125a32): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288931:(.text+0x125ae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288931:(.text+0x125afa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x125b3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_97localToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288915:(.text+0x125ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288915:(.text+0x125bb2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288915:(.text+0x125bc4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288742:(.text+0x125bf2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288742:(.text+0x125c08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x125c26): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x125c32): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288794:(.text+0x125c48): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288812:(.text+0x125c5c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_94globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288853:(.text+0x125c8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288806:(.text+0x125d1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288808:(.text+0x125d34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288791:(.text+0x125d54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288758:(.text+0x125d66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x125e68): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:967:(.text+0x125e70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288788:(.text+0x125ea6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288788:(.text+0x125eb2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x125f08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_95globalToLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288762:(.text+0x125f26): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288769:(.text+0x125f30): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288770:(.text+0x125f44): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288778:(.text+0x125f5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350019:(.text+0x126074): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12608e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x12609a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350081:(.text+0x1260fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350081:(.text+0x126106): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350081:(.text+0x126112): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1261aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1261b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350123:(.text+0x1261c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13083:(.text+0x126220): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350193:(.text+0x126234): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x12625e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12627e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_FLAGS': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1574:(.text+0x1262de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x126316): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350032:(.text+0x12632c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350066:(.text+0x126340): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x126354): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350228:(.text+0x126384): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350148:(.text+0x1263d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x126516): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x126522): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x126554): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350051:(.text+0x1265a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_52setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350123:(.text+0x12661e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350040:(.text+0x12662a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350183:(.text+0x12667c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x126688): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x12669c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_53setPointCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350081:(.text+0x1266ae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350027:(.text+0x1266b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350027:(.text+0x1266c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350025:(.text+0x1266fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349732:(.text+0x126734): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349732:(.text+0x12674a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349745:(.text+0x126768): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349790:(.text+0x1267a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1267c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12686e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349879:(.text+0x126992): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349894:(.text+0x12699e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349910:(.text+0x1269d0): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349880:(.text+0x126a20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349750:(.text+0x126a9a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349910:(.text+0x126aa6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x126af8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x126b04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x126b18): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x126b2a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349866:(.text+0x126b32): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349866:(.text+0x126b3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349763:(.text+0x126b78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349762:(.text+0x126bb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349763:(.text+0x126bc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349775:(.text+0x126be4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349769:(.text+0x126c1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349751:(.text+0x126c44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_50setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349922:(.text+0x126cea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349922:(.text+0x126eaa): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349950:(.text+0x126efc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_51setPointsUniformCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349755:(.text+0x126f88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349755:(.text+0x126f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349755:(.text+0x126fa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349755:(.text+0x126fac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349751:(.text+0x126fb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349751: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x1270f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x127104): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x12718e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1271a0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1271aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1271bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1271da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337255:(.text+0x12720c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x127218): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337150:(.text+0x127286): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1272e2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337134:(.text+0x127302): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337134:(.text+0x127318): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337136:(.text+0x127326): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337138:(.text+0x12733c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337100:(.text+0x127476): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337107:(.text+0x127482): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x12751e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337271:(.text+0x127546): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/include/python3.12/object.h:798:(.text+0x1275a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337100:(.text+0x1275d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337119:(.text+0x1275f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337119:(.text+0x127604): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337115:(.text+0x127624): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_10gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337255:(.text+0x127650): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_11gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337091:(.text+0x1276e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337093:(.text+0x127772): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337150:(.text+0x127784): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316319:(.text+0x1277a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316319:(.text+0x1277d4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1277e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1277f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316403:(.text+0x127804): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316404:(.text+0x127812): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316430:(.text+0x127828): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1278ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1278e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316450:(.text+0x1278fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316363:(.text+0x12792c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316426:(.text+0x1279a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_94setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316576:(.text+0x127ad0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_95setMatClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316354:(.text+0x127b66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316417:(.text+0x127c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316370:(.text+0x127c56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316400:(.text+0x127c9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x127da4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316087:(.text+0x127e96): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x127eda): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x127eee): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_92setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316295:(.text+0x127fb2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316123:(.text+0x128012): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x128026): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x128032): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x12803e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316173:(.text+0x12804a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316173:(.text+0x128056): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316179:(.text+0x1280c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316179: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_92setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316299:(.text+0x1281a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316109:(.text+0x1281ac): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316121:(.text+0x1281d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316139:(.text+0x128286): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316139:(.text+0x128292): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316169:(.text+0x1282b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316107:(.text+0x1282e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316151:(.text+0x12833c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_92setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316299:(.text+0x128350): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1283ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1283fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x128408): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_93setVecClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316190:(.text+0x128418): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316109:(.text+0x128442): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316115:(.text+0x12848c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316115:(.text+0x128496): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316113:(.text+0x1284a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305146:(.text+0x1284ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305159:(.text+0x1284e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305210:(.text+0x128622): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305168:(.text+0x12867e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305173:(.text+0x12868a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305186:(.text+0x1286b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305163:(.text+0x128764): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305164:(.text+0x128770): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305173:(.text+0x128790): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305192:(.text+0x1287c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x12881a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_63naturalToGlobal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305166:(.text+0x12882e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305168:(.text+0x1288cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305164:(.text+0x1288da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305164:(.text+0x1288e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305164:(.text+0x1288f6): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305166:(.text+0x128920): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12896a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x128974): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x128986): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305063:(.text+0x1289a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_60globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305094:(.text+0x1289c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305027:(.text+0x128b00): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305063:(.text+0x128b38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_60globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305094:(.text+0x128b64): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305127:(.text+0x128b70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305039:(.text+0x128c04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305029:(.text+0x128cac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305029:(.text+0x128cb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x128cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_61globalToNatural': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305074:(.text+0x128cfe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305015:(.text+0x128d0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453709:(.text+0x128d92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453751:(.text+0x128da8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x128dee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453872:(.text+0x128e46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x128e5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459430:(.text+0x128f88): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459432:(.text+0x128f94): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x128fba): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459311:(.text+0x128fc2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x128fe0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459424:(.text+0x128fee): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x129036): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x129044): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x12913a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x12914c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_182norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134910:(.text+0x129158): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_183norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134805:(.text+0x129180): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1291b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_183norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134798:(.text+0x129240): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134799:(.text+0x12924c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134805:(.text+0x129294): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1292e0): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x1292fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_182norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134910:(.text+0x129350): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x129396): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1293a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_183norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134810:(.text+0x129402): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134814:(.text+0x12940a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134814:(.text+0x129418): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134814:(.text+0x12942e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12946c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_186normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135212:(.text+0x1295e2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135223:(.text+0x1295ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x12960e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x129616): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_186normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135235:(.text+0x129634): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135281:(.text+0x129642): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x12968c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x12969a): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x129740): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1297b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x1297ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x1297d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459311:(.text+0x1297fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_186normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135253:(.text+0x12982e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x12987e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_187normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135139:(.text+0x12990c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x129954): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_187normEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135125:(.text+0x1299ac): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181989:(.text+0x1299c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182033:(.text+0x129a1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182044:(.text+0x129a68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x129a76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x129afc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x129b04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_320norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182115:(.text+0x129b12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182161:(.text+0x129b28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_321norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182010:(.text+0x129b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x129b84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_320norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182135:(.text+0x129b8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x129ba0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_320norm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182133:(.text+0x129bdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x129cee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x129d2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x129d5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x129d6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459311:(.text+0x129e10): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x129e18): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x129e42): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460101:(.text+0x129ecc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x129efc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x129f12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x129f1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460214:(.text+0x129f54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x129f92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460095:(.text+0x129fb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460208:(.text+0x129fc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201979:(.text+0x129fe2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201989:(.text+0x129fee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460093:(.text+0x12a03e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202028:(.text+0x12a0ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201992:(.text+0x12a0c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12a0e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202013:(.text+0x12a234): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202006:(.text+0x12a2d6): undefined reference to `PySequence_Contains' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12a316): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460214:(.text+0x12a350): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460216:(.text+0x12a35c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12a368): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_83setGASMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201994:(.text+0x12a3f0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x12a470): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12a484): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460414:(.text+0x12a498): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460414:(.text+0x12a4b0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x12a4ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x12a502): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460291:(.text+0x12a51a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460420:(.text+0x12a53c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460485:(.text+0x12a55e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460613:(.text+0x12a58e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x12a5a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460606:(.text+0x12a602): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12a61a): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460600:(.text+0x12a66c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206264:(.text+0x12a680): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206274:(.text+0x12a694): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x12a73a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206277:(.text+0x12a762): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206277:(.text+0x12a76e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206278:(.text+0x12a77a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12a786): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460485: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460493:(.text+0x12a84e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460493:(.text+0x12a856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206279:(.text+0x12a8c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206290:(.text+0x12a8d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12a936): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x12a93e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_136setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206343:(.text+0x12a94c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_137setFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206291:(.text+0x12a954): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206291:(.text+0x12a95e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206291:(.text+0x12a96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206291:(.text+0x12a974): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460809:(.text+0x12aaf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x12ab02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x12ab0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460797:(.text+0x12ab1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460797:(.text+0x12ab28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_139setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206403:(.text+0x12ada8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206407:(.text+0x12adb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206425:(.text+0x12adbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206435:(.text+0x12adc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460795:(.text+0x12adde): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460689:(.text+0x12ae14): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_138setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206516:(.text+0x12ae76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x12aeac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_139setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206400:(.text+0x12aeee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206395:(.text+0x12aef6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206395:(.text+0x12af24): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206435:(.text+0x12af46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206413:(.text+0x12afa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206413:(.text+0x12afb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460797:(.text+0x12afee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12b010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12b064): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460683:(.text+0x12b078): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12b094): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x12b09e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_139setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206445:(.text+0x12b0bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460689:(.text+0x12b0c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_139setFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206393:(.text+0x12b0e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206393: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x12b198): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x12b234): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459010:(.text+0x12b26a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459076:(.text+0x12b28c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459200:(.text+0x12b314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_92setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128576:(.text+0x12b498): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128577:(.text+0x12b4a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128555:(.text+0x12b4e8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_VecOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459075:(.text+0x12b5d0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459200:(.text+0x12b696): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128518:(.text+0x12b6a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128521:(.text+0x12b6ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128521:(.text+0x12b6ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128521:(.text+0x12b6c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128525:(.text+0x12b6d0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x12b706): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128513:(.text+0x12b796): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12b7a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128531:(.text+0x12b7d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128531:(.text+0x12b7e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12b8dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12b8e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12b8f2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_93setOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128555:(.text+0x12b906): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x12b9c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x12b9d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460993:(.text+0x12b9dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x12b9e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12b9f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461002: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_151setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207159:(.text+0x12bb82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207159:(.text+0x12bb8e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207150:(.text+0x12bbfe): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460998:(.text+0x12bc22): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460998:(.text+0x12bc2e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461002:(.text+0x12bcca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461002:(.text+0x12bce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460885:(.text+0x12bd24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_151setMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207130:(.text+0x12bd3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460998:(.text+0x12be16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460879:(.text+0x12be46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12be58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x12be60): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x12be68): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12bf66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x12bfb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x12bfc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x12c102): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_178setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209010:(.text+0x12c10c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_179setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208957:(.text+0x12c122): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208950:(.text+0x12c1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12c200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x12c22c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_178setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208979:(.text+0x12c23e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208989:(.text+0x12c252): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209013: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_179setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208950:(.text+0x12c26c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12c29c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461198:(.text+0x12c2b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_179setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208920:(.text+0x12c2c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208923:(.text+0x12c2d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208923:(.text+0x12c2ea): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208927:(.text+0x12c306): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208942:(.text+0x12c31c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208915:(.text+0x12c388): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x12c3b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_179setMGCycleTypeOnLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208933:(.text+0x12c3e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208933:(.text+0x12c406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12c498): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458532:(.text+0x12c5b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12c5d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x12c5dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458419:(.text+0x12c606): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12c6b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x12c6c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461394:(.text+0x12c6d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461390:(.text+0x12c702): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461271:(.text+0x12c734): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461277:(.text+0x12c746): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461271:(.text+0x12c766): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464640:(.text+0x12c7c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCHPDDMCoarseCorrectionType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461590:(.text+0x12c804): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461586:(.text+0x12c824): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x12c8fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461777:(.text+0x12c918): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x12c924): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461786:(.text+0x12c94e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214973:(.text+0x12c9fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214973:(.text+0x12ca08): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12ca1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x12ca4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461661:(.text+0x12ca7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461669:(.text+0x12ca8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x12caae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_264setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215076:(.text+0x12cb08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214987:(.text+0x12cb4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x12cb6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_264setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215055:(.text+0x12cc46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x12cc60): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12cc6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461777:(.text+0x12cc96): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214996:(.text+0x12cd44): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214999:(.text+0x12cd50): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214999:(.text+0x12cd62): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215008:(.text+0x12cd92): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461669:(.text+0x12cdc4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461782:(.text+0x12cdd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12cdf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_264setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215076:(.text+0x12ce50): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_265setDeflationSpaceToCompute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215009:(.text+0x12ce94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215009:(.text+0x12ceb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214991:(.text+0x12cf8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214991:(.text+0x12cfaa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456392:(.text+0x12cfb6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456465:(.text+0x12cfe2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12d094): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x12d0a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456459:(.text+0x12d0b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456459:(.text+0x12d0e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456656:(.text+0x12d116): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12d172): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456778:(.text+0x12d18a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456655:(.text+0x12d19c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x12d1ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56774:(.text+0x12d2d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56769:(.text+0x12d2ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56769:(.text+0x12d2f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456611:(.text+0x12d322): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56729:(.text+0x12d3d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56729:(.text+0x12d3dc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56732:(.text+0x12d3ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456778:(.text+0x12d41e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456774:(.text+0x12d450): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456774:(.text+0x12d462): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x12d482): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456778:(.text+0x12d4dc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56727:(.text+0x12d520): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56727:(.text+0x12d540): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302941:(.text+0x12d634): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302941:(.text+0x12d640): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302896:(.text+0x12d664): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302896:(.text+0x12d66c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x12d68a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x12d698): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_32setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302963:(.text+0x12d6e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:303006:(.text+0x12d6f0): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302911:(.text+0x12d7aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x12d7da): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302904:(.text+0x12d7ee): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x12d844): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302917:(.text+0x12d86a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302917:(.text+0x12d878): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_32setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302973:(.text+0x12d898): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302973:(.text+0x12d8c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12d912): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12d922): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x12d946): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12d952): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x12d960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_33setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302897:(.text+0x12d980): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302899:(.text+0x12d9b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456849:(.text+0x12d9e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456850:(.text+0x12d9e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456857:(.text+0x12d9f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456974:(.text+0x12da58): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456851:(.text+0x12da74): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12da9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456857:(.text+0x12dad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456851:(.text+0x12dadc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456980:(.text+0x12dafe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457045:(.text+0x12db10): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x12db6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12db82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457047:(.text+0x12dbac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457166:(.text+0x12dbc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_daelementtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57041:(.text+0x12dcea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457046:(.text+0x12dd38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_daelementtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57091:(.text+0x12dd58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57091:(.text+0x12dd64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12ddfe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x12de0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_daelementtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57072:(.text+0x12de1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57107:(.text+0x12de4e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12de94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_daelementtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57041:(.text+0x12deaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457053:(.text+0x12deee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12df16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_daelementtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57022:(.text+0x12df2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457170:(.text+0x12e03e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457166:(.text+0x12e05e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457166:(.text+0x12e06a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x12e104): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x12e110): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306295:(.text+0x12e124): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306353:(.text+0x12e154): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x12e19a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306389:(.text+0x12e1b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12e1f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x12e21c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x12e234): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_81getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306245:(.text+0x12e344): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306247:(.text+0x12e364): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x12e370): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x12e40a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306433:(.text+0x12e416): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306413:(.text+0x12e42a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306438:(.text+0x12e45a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306447:(.text+0x12e4a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306458:(.text+0x12e4b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x12e4fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x12e522): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12e53a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x12e668): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x12e674): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12e68e): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306403:(.text+0x12e69a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12e6d2): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306433:(.text+0x12e778): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306469:(.text+0x12e842): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306471:(.text+0x12e850): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306473:(.text+0x12e870): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12e89c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x12e8ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_81getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306256:(.text+0x12e8d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_80getElements': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306405:(.text+0x12e8ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457176:(.text+0x12e8f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457241:(.text+0x12e90e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457244:(.text+0x12e924): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457366:(.text+0x12e99c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457362:(.text+0x12e9b8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457362:(.text+0x12e9c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x12ea22): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60151:(.text+0x12ea82): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60212:(.text+0x12ea9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457241:(.text+0x12eab4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457249:(.text+0x12eae2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60212:(.text+0x12eaf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60207:(.text+0x12eb16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60207:(.text+0x12eb20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12ec1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x12ec40): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60172:(.text+0x12ec4c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x12ecd4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x12ece0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x12ecf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457362:(.text+0x12ed22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457565:(.text+0x12edd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x12ee1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457439:(.text+0x12ee3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457445:(.text+0x12ee9c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60407:(.text+0x12ef98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60419:(.text+0x12efa4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60458:(.text+0x12efec): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60536:(.text+0x12f080): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60562:(.text+0x12f0b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60575:(.text+0x12f0ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60601:(.text+0x12f0fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60602:(.text+0x12f10a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60627:(.text+0x12f12a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60653:(.text+0x12f156): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60679:(.text+0x12f186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60679:(.text+0x12f192): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60693:(.text+0x12f1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60695:(.text+0x12f1d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457445:(.text+0x12f260): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60733:(.text+0x12f2a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457551:(.text+0x12f2dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457395:(.text+0x12f2e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457437:(.text+0x12f2fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457445:(.text+0x12f310): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60302:(.text+0x12f412): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457562:(.text+0x12f41e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagStencilLocation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60693:(.text+0x12f536): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60484:(.text+0x12f544): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60562:(.text+0x12f564): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60536:(.text+0x12f590): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60655:(.text+0x12f5c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60601:(.text+0x12f618): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60577:(.text+0x12f63a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334945:(.text+0x12f650): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335021:(.text+0x12f7f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335021:(.text+0x12f800): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334974:(.text+0x12f840): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_62VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335163:(.text+0x12f8ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335163:(.text+0x12f8f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12f916): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x12f942): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335009:(.text+0x12f974): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x12f98a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x12f996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_62VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335163:(.text+0x12fa32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334978:(.text+0x12fa62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334978:(.text+0x12fa78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334984:(.text+0x12fa94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335000:(.text+0x12faa4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334961:(.text+0x12faba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x12fbbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_63VecSplitToDMDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334980:(.text+0x12fbf8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334980:(.text+0x12fc04): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334966:(.text+0x12fcd6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334966:(.text+0x12fce2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334177:(.text+0x12fcee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334237:(.text+0x12fdc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334203:(.text+0x12ff3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334207:(.text+0x12ff64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334222:(.text+0x12ff70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x12ff7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334193:(.text+0x12ff90): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334213:(.text+0x130032): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334213:(.text+0x130044): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13004c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334209:(.text+0x130056): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334209:(.text+0x13005e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334209:(.text+0x13006a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x13007c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x130088): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x130094): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_53getLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334237:(.text+0x1300d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334193:(.text+0x1300f8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334195:(.text+0x130108): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x130180): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368658:(.text+0x130188): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x130192): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x13019a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x1301a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x1301b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370105:(.text+0x1301c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368666:(.text+0x1301e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x1301f2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x130208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x130220): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x130264): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365778:(.text+0x1302a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365778:(.text+0x1302aa): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365790:(.text+0x1302ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370148:(.text+0x130308): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x130346): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370179:(.text+0x13034e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x130378): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x130392): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1303b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1303c4): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1303d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1303e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370238:(.text+0x130430): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370241:(.text+0x13044c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x130476): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x130484): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370232:(.text+0x130504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370232:(.text+0x130516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x130522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370232:(.text+0x130562): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Viewer_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365815:(.text+0x130594): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1305f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatView_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370232:(.text+0x1306c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x13079a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:370190:(.text+0x1307a6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x130822): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233647:(.text+0x130856): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233675:(.text+0x130868): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x13089a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1308ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233800: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1308ee): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233821:(.text+0x130926): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233821:(.text+0x130934): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x130940): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233865:(.text+0x130982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1309a8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233686:(.text+0x1309d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233686:(.text+0x1309e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233773:(.text+0x1309f4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x130a20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233786:(.text+0x130a2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x130a3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233647:(.text+0x130a6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233647:(.text+0x130a80): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233671:(.text+0x130ad6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x130b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x130b2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233598:(.text+0x130b38): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233599:(.text+0x130b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233599:(.text+0x130b54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_80setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233869:(.text+0x130bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_81setJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233614:(.text+0x130c2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233604:(.text+0x130c38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233604:(.text+0x130c44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233604:(.text+0x130c50): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233604:(.text+0x130c62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233606:(.text+0x130c78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233606:(.text+0x130c82): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233628:(.text+0x130cae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233633:(.text+0x130cbc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233643:(.text+0x130cf6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233613:(.text+0x130d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233620:(.text+0x130d4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233613:(.text+0x130d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233616:(.text+0x130d98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233600:(.text+0x130da2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x130e0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233691:(.text+0x130e20): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233686:(.text+0x130e62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249776:(.text+0x130f4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x130f78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249831:(.text+0x130fa4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249838:(.text+0x130fb0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249859:(.text+0x130fcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x130ffc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_48setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250016:(.text+0x1310a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250016:(.text+0x1310ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1310ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x131104): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x131150): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_48setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249971:(.text+0x131180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x131198): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_49setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249860:(.text+0x1312ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249860:(.text+0x1312d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249788:(.text+0x131396): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249788:(.text+0x1313a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249790:(.text+0x1313be): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249811:(.text+0x1313ee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249824:(.text+0x13143e): undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249846:(.text+0x13149c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249784:(.text+0x1314f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_48setRHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:250036:(.text+0x131558): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x131578): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x131592): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253057:(.text+0x131674): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253155:(.text+0x13170e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1317a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x131808): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x131828): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253166:(.text+0x131874): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1318be): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1318d4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253149:(.text+0x13195e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253079:(.text+0x1319e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253079:(.text+0x1319ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_80setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253349:(.text+0x131a50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253301:(.text+0x131a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253084:(.text+0x131a9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253093:(.text+0x131aaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253094: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253084:(.text+0x131ada): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253114:(.text+0x131b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253119:(.text+0x131b78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253119:(.text+0x131b82): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253123:(.text+0x131b90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253124:(.text+0x131b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253124:(.text+0x131ba8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253144:(.text+0x131bfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253155:(.text+0x131c02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253096:(.text+0x131c16): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253080:(.text+0x131c3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x131c48): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x131c5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_80setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253312:(.text+0x131c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253101:(.text+0x131c80): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x131cf0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253166:(.text+0x131cfc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_81setI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253086:(.text+0x131d50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253088:(.text+0x131d60): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253080:(.text+0x131d82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251255:(.text+0x131dae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x131e12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251325:(.text+0x131e36): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251353:(.text+0x131e4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_64setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251510:(.text+0x131f4e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x131f8c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x131f98): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x131ffa): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x132008): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x132030): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251325:(.text+0x132044): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251325:(.text+0x132064): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251328:(.text+0x132072): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x132082): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251347:(.text+0x1320a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251347:(.text+0x1320ac): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251276:(.text+0x132122): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251277:(.text+0x13213a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251282:(.text+0x132222): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251282:(.text+0x13222e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251284:(.text+0x132266): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251291:(.text+0x132272): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251312:(.text+0x1322ba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251294:(.text+0x13236a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x132384): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_64setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251465:(.text+0x13239e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251510:(.text+0x1323bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251369:(.text+0x132400): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x132416): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x132432): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251364:(.text+0x13244a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_65setIJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:251284:(.text+0x132498): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_238zeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175457:(.text+0x1326ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175498:(.text+0x13272e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175498:(.text+0x13273a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1327b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x132a70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x132a8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x132a9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x132ab0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_239zeroRows': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175299:(.text+0x132b00): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175299:(.text+0x132b0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175798:(.text+0x132b80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175798:(.text+0x132baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175811:(.text+0x132bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175814:(.text+0x132bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x132bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175923: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x132d90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_242zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176024:(.text+0x132db4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175833:(.text+0x132dec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x132e2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175879:(.text+0x132e6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175817:(.text+0x132e82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175818:(.text+0x132e9e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175883:(.text+0x132eb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_242zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176042:(.text+0x132f2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175825:(.text+0x132f4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175849:(.text+0x132f6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175825:(.text+0x133016): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x133050): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_243zeroRowsColumns': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175845:(.text+0x1330e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_241zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175535:(.text+0x133200): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175549:(.text+0x133210): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175550:(.text+0x13321c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175535:(.text+0x133232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:234: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x133450): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_241zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175567:(.text+0x133476): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x13348e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_241zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175614:(.text+0x1334c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175614:(.text+0x1334ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175616:(.text+0x1334e2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175616:(.text+0x1334ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175555:(.text+0x133514): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x133534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_241zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175558:(.text+0x1335c2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175558:(.text+0x1335d2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175592:(.text+0x133622): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175562:(.text+0x133690): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175575:(.text+0x1336b6): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175581:(.text+0x13374e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1337a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1337b8): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_241zeroRowsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175556:(.text+0x133872): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176075:(.text+0x1338ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176121:(.text+0x1338fc): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1339c4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_244zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176300:(.text+0x1339f6): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176157:(.text+0x133a22): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176157:(.text+0x133a32): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176146:(.text+0x133a56): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_244zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176275:(.text+0x133a86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176096:(.text+0x133b06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_244zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176304:(.text+0x133db8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176107:(.text+0x133dc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176107:(.text+0x133dd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176108:(.text+0x133de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x133dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176196: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x133e28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x133e36): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_245zeroRowsColumnsLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176084:(.text+0x133e4c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176088:(.text+0x133e76): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x133f8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49149:(.text+0x133fa0): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49154:(.text+0x133fd4): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49225:(.text+0x134078): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49225:(.text+0x134080): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1340a8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49234:(.text+0x1340ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1340e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1340f4): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x134104): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13412e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x13418c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x134198): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49280:(.text+0x1341ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49283:(.text+0x1341c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x134330): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13433c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49189:(.text+0x134352): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x134386): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x134408): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49165:(.text+0x134420): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1344e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1344f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x134538): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x134540): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49118:(.text+0x13457e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49111:(.text+0x1345a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49193:(.text+0x134608): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49111:(.text+0x13461e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49165:(.text+0x13468c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1346ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46050:(.text+0x1346f4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x134702): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13475e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49344:(.text+0x134772): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x13478c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1347b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1347c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49402:(.text+0x1347d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49409:(.text+0x134816): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13483c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1348f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1348fe): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x134910): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13499e): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1349ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x134a68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49367:(.text+0x134aca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x134ada): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49371:(.text+0x134af0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49375:(.text+0x134b04): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x134b1a): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x134b2c): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49341:(.text+0x134b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x134b8e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49402:(.text+0x134bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x134ccc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x134cde): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x134d08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_str2bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12311:(.text+0x134e4a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12375:(.text+0x134e7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x134eec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x134ffa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_str2bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12455:(.text+0x13500c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12455:(.text+0x13501e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1350fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_str2bytes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12401:(.text+0x135132): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x13513e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1351d2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1351de): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1351fc): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_50setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88706:(.text+0x135210): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x135226): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88686:(.text+0x1352a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1352ce): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88677:(.text+0x135312): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88677:(.text+0x13531a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x135356): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_50setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88744:(.text+0x135372): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88652:(.text+0x1353ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88656:(.text+0x1353da): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88642:(.text+0x13540e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88644:(.text+0x13541a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88644:(.text+0x135434): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88662:(.text+0x13545c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88662:(.text+0x135466): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1354ac): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1354c4): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1354d8): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_51setAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88644:(.text+0x135506): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88644:(.text+0x135510): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88642:(.text+0x135522): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88642:(.text+0x13552a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88642:(.text+0x13553a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87859:(.text+0x13554c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87859:(.text+0x135554): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87859:(.text+0x135562): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x135586): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_40compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87966:(.text+0x1355d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x135646): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87873:(.text+0x13567a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87874:(.text+0x13568e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87908:(.text+0x1356c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87910:(.text+0x1356d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87914:(.text+0x135710): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87914:(.text+0x13571c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13572e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_40compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88006:(.text+0x13573e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88006:(.text+0x135752): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87889:(.text+0x1357a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87891:(.text+0x13586c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87875:(.text+0x135916): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_27viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87107:(.text+0x13592e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87119:(.text+0x13593e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87107:(.text+0x13594a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87148:(.text+0x1359ce): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87123:(.text+0x135ac8): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_26viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87260:(.text+0x135c2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_27viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87139:(.text+0x135c46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87144:(.text+0x135c6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87144:(.text+0x135c76): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87144:(.text+0x135c84): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x135c9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:969:(.text+0x135ca6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x135cb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x135cc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x135cce): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x135d70): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93043:(.text+0x135e10): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_18createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93101:(.text+0x135e4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x135e5a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x135e68): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93049:(.text+0x135f98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_18createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93203:(.text+0x135fc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93016:(.text+0x136002): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93007:(.text+0x13605e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93009:(.text+0x13606e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93035:(.text+0x136082): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93035:(.text+0x136092): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93035:(.text+0x13609e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93035: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_19createHDF5': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93009:(.text+0x13629a): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92753:(.text+0x1362a8): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92830:(.text+0x13635e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92856:(.text+0x1363a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92875:(.text+0x1363c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1363ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1363de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92906:(.text+0x1363f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x136404): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x136418): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92916:(.text+0x136428): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1364b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92771:(.text+0x1364e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92788:(.text+0x136504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x13653a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92968: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92781:(.text+0x136672): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_16createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92968:(.text+0x1366ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92968:(.text+0x1366dc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_17createVTK': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92789:(.text+0x13670a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92774:(.text+0x136812): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92051:(.text+0x136826): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92064:(.text+0x136846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_10createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92219:(.text+0x136976): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x136a20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x136a38): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92068:(.text+0x136a48): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92069:(.text+0x136a54): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92082:(.text+0x136ad8): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_10createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92281:(.text+0x136bd2): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_11createASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92072:(.text+0x136d34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92074:(.text+0x136d50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92070:(.text+0x136d74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92070:(.text+0x136d80): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92070:(.text+0x136d8e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97406:(.text+0x136da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97406:(.text+0x136db0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97418:(.text+0x136dc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97420:(.text+0x136dcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x136dd8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x136e7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97569:(.text+0x136f1a): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97596:(.text+0x136f54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x136f64): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x136f72): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1370a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97427:(.text+0x1370ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97453:(.text+0x13710c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97434:(.text+0x137168): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97448:(.text+0x137178): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97449:(.text+0x13718c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x13719c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97621:(.text+0x1371a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97621: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92577:(.text+0x1373a4): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92577:(.text+0x1373b2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92662:(.text+0x137468): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92690:(.text+0x1374aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92708:(.text+0x1374cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92708:(.text+0x1374d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1374e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1374fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92562:(.text+0x13750e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x137522): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x137532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92631:(.text+0x1375ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92537:(.text+0x1375ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x13760e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92528:(.text+0x137644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92528: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_15createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92545:(.text+0x13777c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1377d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_14createMPIIO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92733:(.text+0x1377e6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x137814): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x13791c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_13createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92351:(.text+0x137930): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92367:(.text+0x137950): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x137a38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x137a66): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x137a72): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_13createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92351:(.text+0x137a8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92319:(.text+0x137abe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_12createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92423:(.text+0x137b28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_13createBinary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92348:(.text+0x137bf4): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92338:(.text+0x137c9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92320:(.text+0x137d0a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92320:(.text+0x137d16): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92324:(.text+0x137d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92324:(.text+0x137d64): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91042:(.text+0x137d7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91095:(.text+0x137daa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91095:(.text+0x137db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91095:(.text+0x137dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_ContainsTF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3791:(.text+0x137dca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscType_Register': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91114:(.text+0x137de4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91125:(.text+0x137e08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x137e34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x137e74): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x137e8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146029:(.text+0x1382de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146034:(.text+0x1382ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13837a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13082:(.text+0x1383ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146141:(.text+0x1383da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1384fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x138506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145972:(.text+0x13854a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145972:(.text+0x138556): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1385f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x138666): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x138676): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x138698): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146131:(.text+0x1386c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145989:(.text+0x1386f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145989:(.text+0x138700): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145989:(.text+0x13870c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145981:(.text+0x138722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145989:(.text+0x138760): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145988:(.text+0x138784): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145991:(.text+0x1387ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146007:(.text+0x1387ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146007:(.text+0x1387fc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146044:(.text+0x138812): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146191:(.text+0x138940): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146191:(.text+0x13894c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x138970): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_8createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146131:(.text+0x1389e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x138a08): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146003:(.text+0x138a80): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146003:(.text+0x138a90): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145997:(.text+0x138ab2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x138ade): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x138b10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_9createDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:146061:(.text+0x138b18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145979:(.text+0x138bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151846:(.text+0x138bca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151846:(.text+0x138bdc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151857:(.text+0x138be4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x138bf0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_22setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151948:(.text+0x138c50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x138c66): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x138c72): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x138cae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151861:(.text+0x138cf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x138d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x138d14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151895:(.text+0x138d2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x138dd6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_22setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151975:(.text+0x138ed6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_23setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151882:(.text+0x138f26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151882:(.text+0x138f2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151882:(.text+0x138f3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_353getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184866:(.text+0x13905c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x139068): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_353getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184895:(.text+0x13909e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1390d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_352getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184975:(.text+0x13911c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x139128): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_352getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184985:(.text+0x139134): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1391a0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_353getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184880:(.text+0x1391fe): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184906:(.text+0x139240): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184906:(.text+0x13924e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_352getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185008:(.text+0x1392a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185008:(.text+0x1392ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x139404): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13942e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13943a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x139446): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x139452): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x13945e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184915: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_145convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167742:(.text+0x1394aa): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_144convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167858:(.text+0x13952e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x13953a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_144convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167966:(.text+0x13956e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167977:(.text+0x13958a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1395a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167805: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_145convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167801:(.text+0x13967c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167801:(.text+0x139688): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167785:(.text+0x139698): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1396a6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_144convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167872:(.text+0x1396b2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_145convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167805:(.text+0x139714): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_144convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167991:(.text+0x1397ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167991:(.text+0x1397c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_145convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167760:(.text+0x1397dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167767:(.text+0x1397f0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167805:(.text+0x139808): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167805:(.text+0x13983e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167771:(.text+0x139850): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167782:(.text+0x1398c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167762:(.text+0x13993c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167760:(.text+0x139954): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204307:(.text+0x13997c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204360:(.text+0x1399de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x139a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204377:(.text+0x139b6e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204363:(.text+0x139bac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204326:(.text+0x139bde): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204331:(.text+0x139bf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204331:(.text+0x139bfe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204336:(.text+0x139c06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_116setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204485:(.text+0x139ce6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_117setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204357:(.text+0x139d54): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x139db4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_116setFactorOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204495:(.text+0x139df6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x139e04): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_205setLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296101:(.text+0x13a17a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x13a1ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_203clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295929:(.text+0x13a37c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295940:(.text+0x13a3a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x13a3b0): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13a432): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x13a450): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13a46c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x13a478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_203clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295989:(.text+0x13a484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295989: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_203clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295955:(.text+0x13a5f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295955:(.text+0x13a5fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295964:(.text+0x13a62e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x13a63c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_203clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295952:(.text+0x13a64e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295952:(.text+0x13a664): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295945:(.text+0x13a674): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295947:(.text+0x13a680): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295965:(.text+0x13a704): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295965:(.text+0x13a714): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295965:(.text+0x13a722): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295961:(.text+0x13a74c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13a798): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_203clearLabelStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295947:(.text+0x13a7c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295945:(.text+0x13a7ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295945:(.text+0x13a804): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295756:(.text+0x13a826): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295767:(.text+0x13a836): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13a898): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_200getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295871:(.text+0x13a8da): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295871:(.text+0x13a8ec): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295805:(.text+0x13a9b0): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295807:(.text+0x13a9d4): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13a9f8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x13aa08): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295815:(.text+0x13aa12): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x13aa46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13aa8c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_200getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295908:(.text+0x13aaa0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295908:(.text+0x13aab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295782:(.text+0x13aaf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295792:(.text+0x13ac20): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295792:(.text+0x13ac38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295792:(.text+0x13ac4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x13ac9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x13acb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_201getStratumIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295816:(.text+0x13ace4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295772:(.text+0x13acee): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295772:(.text+0x13ad14): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295774:(.text+0x13ad1e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13ad8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_199getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295634:(.text+0x13aec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295644:(.text+0x13af06): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_198getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295678:(.text+0x13af3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295736:(.text+0x13afcc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295736:(.text+0x13afd8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295736:(.text+0x13afe4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_199getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295620:(.text+0x13b040): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295608:(.text+0x13b098): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_198getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295678:(.text+0x13b0da): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x13b0ec): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_199getStratumSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295601:(.text+0x13b206): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295124:(.text+0x13b230): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295124:(.text+0x13b23c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295124:(.text+0x13b248): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295136:(.text+0x13b254): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x13b260): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x13b2ae): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13b2ba): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295153:(.text+0x13b3bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13b3e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295184:(.text+0x13b3f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295184:(.text+0x13b406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13b43e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13b520): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x13b52c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_192clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295267:(.text+0x13b53c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295140:(.text+0x13b55a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295150:(.text+0x13b56e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295150:(.text+0x13b57a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295163:(.text+0x13b5a8): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295140:(.text+0x13b5d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295141:(.text+0x13b5ea): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x13b60a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_193clearLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295169:(.text+0x13b6e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295145:(.text+0x13b7c4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295141:(.text+0x13b7fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x13b88a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x13b896): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13b8a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13b8fe): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295032:(.text+0x13b956): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294990:(.text+0x13b998): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294990:(.text+0x13b9aa): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x13bac4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x13baee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x13bafa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13bb06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x13bb12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_190setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295077:(.text+0x13bb1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295104: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294994:(.text+0x13bb6c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294994:(.text+0x13bb78): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_190setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295058:(.text+0x13bc7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x13bca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295006:(.text+0x13bcae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295006:(.text+0x13bcc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295002:(.text+0x13bcfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295002: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_191setLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294978:(.text+0x13bdde): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294978:(.text+0x13bdea): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294798:(.text+0x13bdfa): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294798:(.text+0x13be18): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x13be2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13be38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x13be66): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_188getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294902:(.text+0x13be90): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294902:(.text+0x13bea8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294914:(.text+0x13bec8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294849:(.text+0x13bfa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_188getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294941:(.text+0x13c086): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294821:(.text+0x13c0bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x13c14c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_188getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294941:(.text+0x13c158): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294941:(.text+0x13c164): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294834:(.text+0x13c1c0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x13c218): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13c25a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_189getLabelValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294816:(.text+0x13c26c): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292605:(.text+0x13c2ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292618:(.text+0x13c2d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292797:(.text+0x13c438): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292818:(.text+0x13c462): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x13c46e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x13c47a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13c486): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x13c496): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292754:(.text+0x13c4fa): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13c506): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292628:(.text+0x13c578): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292636:(.text+0x13c622): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13c64a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x13c656): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292623:(.text+0x13c668): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292652: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_152adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292843:(.text+0x13c78e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292641:(.text+0x13c79a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292642:(.text+0x13c7aa): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13c800): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_153adaptMetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292626:(.text+0x13c814): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292626:(.text+0x13c820): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292624:(.text+0x13c84e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292628:(.text+0x13c878): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286344:(.text+0x13c890): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286344:(.text+0x13c8b0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13c8f0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286397:(.text+0x13c8fe): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13c96c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_52getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286535:(.text+0x13c9e6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x13c9fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13ca06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13ca8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286400:(.text+0x13caec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_52getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286462:(.text+0x13cc1c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286560:(.text+0x13cc58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286364:(.text+0x13ccee): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286368:(.text+0x13ccfa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286368:(.text+0x13cd06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_52getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286560:(.text+0x13cd62): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_53getAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286368:(.text+0x13cdbe): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286383:(.text+0x13ce00): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286384:(.text+0x13ce0e): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286364:(.text+0x13cf24): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286366:(.text+0x13cf48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286366:(.text+0x13cf54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286368:(.text+0x13cf6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286368:(.text+0x13cf7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_51setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286117:(.text+0x13cf86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286117: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13d20e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_51setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286136:(.text+0x13d21a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286137:(.text+0x13d224): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286137:(.text+0x13d238): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286202:(.text+0x13d244): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x13d2e4): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x13d304): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x13d318): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13d328): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_50setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286324:(.text+0x13d34a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x13d35e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_51setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286142:(.text+0x13d37e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x13d472): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x13d554): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13d590): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_51setAuxiliaryVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286140:(.text+0x13d626): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286142:(.text+0x13d632): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286142:(.text+0x13d63e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x13d69a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342994:(.text+0x13d6f6): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x13d738): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343027:(.text+0x13d746): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13d85c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343102:(.text+0x13d880): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343055:(.text+0x13d88c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342966:(.text+0x13d8a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342966:(.text+0x13d8b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342970:(.text+0x13d8be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:969: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_18getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348139:(.text+0x13db46): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348151:(.text+0x13db52): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348153:(.text+0x13db5c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348194:(.text+0x13db70): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348194:(.text+0x13db7c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_19getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347990:(.text+0x13dc1c): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347990:(.text+0x13dc3c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_18getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348176:(.text+0x13dc50): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348176:(.text+0x13dc60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x13dc82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13dc96): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_18getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348140:(.text+0x13dcb6): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348194:(.text+0x13ddaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316595:(.text+0x13deac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316595:(.text+0x13deb8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316595:(.text+0x13dedc): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316665:(.text+0x13df66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316667:(.text+0x13df7e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x13df96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_96generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316745:(.text+0x13e05e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x13e096): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x13e0a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316677:(.text+0x13e0ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_96generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316721:(.text+0x13e0fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x13e150): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316618:(.text+0x13e15e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x13e1f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x13e1fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x13e20a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x13e21a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13e286): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_96generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316723:(.text+0x13e296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316616:(.text+0x13e2cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316641:(.text+0x13e2dc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316642:(.text+0x13e2ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316642:(.text+0x13e2f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316642:(.text+0x13e302): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316631:(.text+0x13e384): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316632:(.text+0x13e396): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13e3b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13e3c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_97generate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316618:(.text+0x13e3fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309516:(.text+0x13e47e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x13e54a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_14createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309605:(.text+0x13e556): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x13e57a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_14createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309655:(.text+0x13e604): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x13e61c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_14createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309676:(.text+0x13e634): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309690:(.text+0x13e6fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13e734): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x13e740): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_14createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309615:(.text+0x13e768): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309533:(.text+0x13e798): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x13e7ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x13e7fc): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.12/object.h:967:(.text+0x13e88e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309523:(.text+0x13e89a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309530:(.text+0x13e8a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309544:(.text+0x13e8b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13e924): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x13e934): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_15createExodusFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309521:(.text+0x13e96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309525:(.text+0x13e97a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309525:(.text+0x13e98c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309525:(.text+0x13e994): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309525:(.text+0x13e9a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13ea22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x13ea34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309360:(.text+0x13ea4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309360:(.text+0x13ea64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309371:(.text+0x13ea9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x13eb1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13ebc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x13ebea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x13ebf6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309322:(.text+0x13ec3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_12createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309435:(.text+0x13ece2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309435:(.text+0x13ecee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309325:(.text+0x13ed0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13ed3a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309313:(.text+0x13ed72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309313:(.text+0x13ed82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309341:(.text+0x13eda2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_12createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309482:(.text+0x13ede2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309315:(.text+0x13ee14): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309331:(.text+0x13ee5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13ee9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_13createCGNSFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309313:(.text+0x13eeec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308855:(.text+0x13ef68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308871:(.text+0x13ef90): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x13ef9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x13efe4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_8createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309020:(.text+0x13f088): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x13f094): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_8createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:309032:(.text+0x13f0b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x13f0e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x13f118): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x13f128): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308945:(.text+0x13f148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13f188): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308934:(.text+0x13f1ba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308918:(.text+0x13f204): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308875:(.text+0x13f244): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x13f292): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x13f32e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x13f33a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308896:(.text+0x13f44a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308890:(.text+0x13f45a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x13f47c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x13f4a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308901:(.text+0x13f4da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308901:(.text+0x13f4e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13f528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x13f534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13f540): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_9createFromFile': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308878:(.text+0x13f574): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308878:(.text+0x13f590): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308880:(.text+0x13f5a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308880:(.text+0x13f5b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_55setCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304679:(.text+0x13f6fe): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x13f740): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13f794): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x13f7a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13f7b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x13f818): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_55setCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304645:(.text+0x13f866): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304637:(.text+0x13f8b0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304642:(.text+0x13f8c2): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_54setCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304702:(.text+0x13f92a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x13f93a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x13f9e8): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x13fa04): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_55setCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304637:(.text+0x13fa46): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_47setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304015:(.text+0x13fb9e): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304049:(.text+0x13fbe0): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304129:(.text+0x13fcc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_47setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304023:(.text+0x13fcd0): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304026:(.text+0x13fcec): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x13fd2c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x13fe18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_47setFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304032:(.text+0x13fe2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304032:(.text+0x13fe3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x13fe4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x13fe60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getpair': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16951:(.text+0x13fff8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x140038): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x140044): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x140050): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14005c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x140068): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x14021a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x140226): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x140236): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x14024a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x140256): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x140334): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_25hasName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72077:(.text+0x140382): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72086:(.text+0x140396): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72086:(.text+0x1403a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1403c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_24hasName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72180:(.text+0x1403e0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72180:(.text+0x14040e): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_25hasName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72071:(.text+0x140440): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72060:(.text+0x140480): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_29delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72548:(.text+0x14056c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72580:(.text+0x1405ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_28delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72642:(.text+0x1405d6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72644:(.text+0x140608): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72726:(.text+0x1406a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x140722): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x140738): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x140760): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_29delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72588:(.text+0x1407a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72597:(.text+0x1407ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14080e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14081c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_28delValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72667:(.text+0x140872): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72755:(.text+0x14088c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x140a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72597:(.text+0x140b62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17032:(.text+0x140b6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Real': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16541:(.text+0x140c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16394:(.text+0x140dc0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16436:(.text+0x140df6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16443:(.text+0x140e46): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16457:(.text+0x140e52): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16457:(.text+0x140e62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x140ec4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x140f14): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x140f56): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Scalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16679:(.text+0x140f68): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17174:(.text+0x140fc4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x140fd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17085:(.text+0x141044): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Real': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16557:(.text+0x141060): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16562:(.text+0x1410a0): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getopt_Int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:16443:(.text+0x1411de): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14121e): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecHIPGetArrayRead': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:977:(.text+0x1413b0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1413ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1413fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14140a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x14141a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14142a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_134getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131553:(.text+0x14157a): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_135getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131354:(.text+0x141596): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131368:(.text+0x1415d6): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_134getHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131475:(.text+0x1416fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecHIPGetArrayWrite': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:983:(.text+0x14172a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:983:(.text+0x14173e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_131getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130803:(.text+0x1417a4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130814:(.text+0x1417b0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130803:(.text+0x1417c0): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130815:(.text+0x1417ce): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1417da): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x141834): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130969:(.text+0x1418a2): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1418da): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1418ee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x141908): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x141920): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_131getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130849:(.text+0x141944): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131018:(.text+0x141960): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1419ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131022:(.text+0x1419b8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131051:(.text+0x1419ca): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x141a54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131018:(.text+0x141a62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_131getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130833:(.text+0x141abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x141ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_130getCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130903:(.text+0x141aec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130824: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCUDAGetArrayWrite': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:982:(.text+0x141bf6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:982:(.text+0x141c0e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_41ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94906:(.text+0x141cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_40ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94984:(.text+0x141db4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_41ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94869:(.text+0x141e50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_40ASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95009:(.text+0x141ffc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95009:(.text+0x142008): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_3Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77198:(.text+0x1420b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77198:(.text+0x1420d0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1420f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77357:(.text+0x14223a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14226e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14227c): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1422d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_3Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77212:(.text+0x1422e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1422ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x142318): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_3Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77236:(.text+0x142326): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77238:(.text+0x142330): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77247:(.text+0x14235c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0x14236a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x142408): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_2Class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0x142418): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77412:(.text+0x142442): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x14244c): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81876:(.text+0x14256e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14257a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1425da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81874:(.text+0x142638): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x142644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1426a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x142710): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_1Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76963:(.text+0x14271c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77037:(.text+0x1427b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77063:(.text+0x1427c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447398:(.text+0x142816): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x142912): undefined reference to `PyList_New' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x142922): undefined reference to `PyList_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x142930): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x14295e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_1Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77001:(.text+0x1429ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76997:(.text+0x142ba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77131:(.text+0x142bb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77177:(.text+0x142bbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77177:(.text+0x142bcc): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447399:(.text+0x142bf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x142bfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x142c0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77163:(.text+0x142c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80846:(.text+0x142c2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:647: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x142c76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_1Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76986:(.text+0x142ca2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogStage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80945:(.text+0x142d32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_1Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76990:(.text+0x142d74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_Stage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77177:(.text+0x142da2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77177:(.text+0x142dae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76367:(.text+0x142f58): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x142fba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76307:(.text+0x1430e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76308:(.text+0x1430f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x143154): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76309:(.text+0x1431b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76318:(.text+0x1431be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76311:(.text+0x14321c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x14328a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_28infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76476:(.text+0x143296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_29infoAllow': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76309:(.text+0x14332c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76309:(.text+0x143338): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39536:(.text+0x14339c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1433fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39548:(.text+0x143406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PySequence_ContainsTF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3539:(.text+0x143462): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39713:(.text+0x1434cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39826:(.text+0x1434d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454733:(.text+0x14356c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454853:(.text+0x143578): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39894:(.text+0x1435dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39913:(.text+0x14363a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x143646): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39920:(.text+0x1436a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscMemType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454918:(.text+0x143712): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39942:(.text+0x14371e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1437b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1437c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39997:(.text+0x143824): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x143882): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40024:(.text+0x14388e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1438ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14395a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x143966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1439fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39761:(.text+0x143a08): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `MatGetCurrentMemType': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:278:(.text+0x143a6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x143aca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x143ad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x143b34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40056:(.text+0x143ba2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40056:(.text+0x143bae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x143e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x143e46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x143e54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39605:(.text+0x143f16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39623:(.text+0x143f2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x143f48): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39866:(.text+0x143f8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39886:(.text+0x144004): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39886:(.text+0x144010): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40050:(.text+0x14401c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39907:(.text+0x144028): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39831: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1440e2): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39909:(.text+0x1440f0): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39911:(.text+0x14412e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39510:(.text+0x144164): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40050:(.text+0x144170): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14425e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40050:(.text+0x144276): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x144294): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39722:(.text+0x1442a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39993:(.text+0x1442b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39724:(.text+0x1442be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39565:(.text+0x14437c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454733:(.text+0x1443fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39882:(.text+0x144440): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39752:(.text+0x14445a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39761:(.text+0x14448a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39770:(.text+0x14449c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1444b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1444ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1444ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_get_dlpack_ctx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39836:(.text+0x1444f8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39713:(.text+0x144528): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193108:(.text+0x1446c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1446fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x144706): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_457__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193067:(.text+0x1447f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193067:(.text+0x14480c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14482a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14483a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14484a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x144854): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193159:(.text+0x144912): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_457__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193061:(.text+0x144994): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193207:(.text+0x1449d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1449f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193095:(.text+0x144a20): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193178:(.text+0x144a32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193114:(.text+0x144a48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193116:(.text+0x144a64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x144a82): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x144a8e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x144abe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193067:(.text+0x144c56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_456__dlpack_device__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193107:(.text+0x144c7a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193107:(.text+0x144c86): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418848:(.text+0x144cde): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418849:(.text+0x144cea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x144d20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10_IS_buffer___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22810:(.text+0x144d64): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22828:(.text+0x144d70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__IS_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:418861:(.text+0x144d8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x144dbc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22755:(.text+0x144dea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22757:(.text+0x144e26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22737:(.text+0x144e5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22751:(.text+0x144e74): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22740:(.text+0x144eda): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x144f56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_129setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205343:(.text+0x144f70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205348:(.text+0x144f8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x144f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:642:(.text+0x144fb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x144fd6): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12770:(.text+0x144fea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205423:(.text+0x145004): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x14501a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x145088): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205482:(.text+0x1450c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1450d0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1451bc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1451c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1451f0): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205515:(.text+0x145254): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x145260): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_129setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205357:(.text+0x145288): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1452da): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x145356): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14539c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseNeedMoreValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446996:(.text+0x145432): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x14549c): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1455fc): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x14560a): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_128setFieldSplitIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205433:(.text+0x1456f0): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205433:(.text+0x1456fe): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205436:(.text+0x145728): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x145776): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x14577e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_36STDOUT': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94622:(.text+0x1457a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94632:(.text+0x1457b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94632:(.text+0x1457c2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94644:(.text+0x1457d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_37STDOUT': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94600:(.text+0x14581c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94559:(.text+0x145836): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94560:(.text+0x14584c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x145858): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x145872): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x14588c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x145898): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1458a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_37STDOUT': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94589:(.text+0x1458b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94591:(.text+0x1458c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94591: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14590e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_36STDOUT': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94679:(.text+0x145930): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94679:(.text+0x145942): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94679:(.text+0x145952): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94679:(.text+0x145960): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_37STDOUT': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94570:(.text+0x1459c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94571:(.text+0x1459dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94575:(.text+0x1459fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94575:(.text+0x145a06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x145a30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_45DRAW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95184:(.text+0x145aa0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_44DRAW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95271:(.text+0x145b1e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x145b38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x145b56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x145ba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x145be8): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_45DRAW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95205:(.text+0x145cf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95213:(.text+0x145d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_43BINARY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95041:(.text+0x145e02): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x145e14): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x145e24): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_43BINARY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95063:(.text+0x145e32): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95085:(.text+0x145ec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x145ef2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_42BINARY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95164:(.text+0x145ff2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95164:(.text+0x146018): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1460ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1460e6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1460f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_43BINARY': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95085:(.text+0x1460fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x14615e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20027:(.text+0x1461c4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346745:(.text+0x146206): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346745:(.text+0x146218): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x146288): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346736:(.text+0x1462b2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346736:(.text+0x1462ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346828:(.text+0x146314): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346706:(.text+0x146322): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x146370): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1464a6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_38STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94776:(.text+0x1464e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94776:(.text+0x1464ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94786:(.text+0x1464f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94786:(.text+0x146504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94798:(.text+0x146510): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94799: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1465ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1465c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1465cc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1465d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_39STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94743:(.text+0x1465ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94745:(.text+0x146604): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94720:(.text+0x146618): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94699:(.text+0x146628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14664e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_38STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94833:(.text+0x146670): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94833:(.text+0x146690): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_39STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94747:(.text+0x14669c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_38STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94833:(.text+0x1466ae): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_39STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94729:(.text+0x146748): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94729:(.text+0x146758): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x146774): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_39STDERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94715:(.text+0x1467a8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94715:(.text+0x1467bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1467d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76550:(.text+0x146818): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x146834): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x14684a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_30registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76620:(.text+0x146886): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14689c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1468c8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1468dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1468ec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1468fa): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscCitationsRegister': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscsys.h:2226:(.text+0x14694e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1469ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x146a6c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76570:(.text+0x146ac6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_citation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76861:(.text+0x146af4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x146b00): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x146b1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x146b4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x146bbc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_get_citation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76891:(.text+0x146c50): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76541:(.text+0x146c62): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76541:(.text+0x146c6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76547:(.text+0x146c76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x146cb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x146cba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_set_citation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76925:(.text+0x146cde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76944:(.text+0x146d08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_30registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76622:(.text+0x146d1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x146d86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_31registerCitation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76548:(.text+0x146da0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76548:(.text+0x146dac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76597:(.text+0x146dd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x146e16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscCitationsRegister': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscsys.h:2225:(.text+0x146e76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscsys.h:2225:(.text+0x146e98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x146f22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x146ff2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14701a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_179mtDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134591:(.text+0x147026): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134593:(.text+0x147040): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134562:(.text+0x147070): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x147162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_179mtDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134555:(.text+0x1471ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_173mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134181:(.text+0x14720a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_172mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134274:(.text+0x147276): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_173mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134233:(.text+0x147284): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134233:(.text+0x147290): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134185:(.text+0x1472b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134202:(.text+0x147406): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x147488): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x147494): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_173mDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134188:(.text+0x1474ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_175mDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134292:(.text+0x147500): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x14753c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134356: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_175mDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134307:(.text+0x1475b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1475d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_175mDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134324:(.text+0x1476f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134324:(.text+0x147704): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134329:(.text+0x14773a): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134329:(.text+0x147748): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x14788c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1478b2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_10__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86127:(.text+0x1478de): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x147904): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_10__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86207:(.text+0x147952): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1479d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_11__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86059:(.text+0x147a80): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86059:(.text+0x147a8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_10__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86138:(.text+0x147ae6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x147af8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x147b04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_10__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86215:(.text+0x147b10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86217:(.text+0x147b1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86124:(.text+0x147b92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86235:(.text+0x147b9e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x147bac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x147bc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x147bfc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_10__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86153:(.text+0x147c14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86153:(.text+0x147c1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86154:(.text+0x147c24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86154:(.text+0x147c2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86154:(.text+0x147c36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86154:(.text+0x147c40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86182:(.text+0x147c48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86182:(.text+0x147c56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x147c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x147c6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x147c74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_11__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86039:(.text+0x147c7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86039:(.text+0x147c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86045:(.text+0x147c94): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86039:(.text+0x147cac): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86039:(.text+0x147cba): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_10__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86217:(.text+0x147d00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86166:(.text+0x147d0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_11__deepcopy__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86046:(.text+0x147d2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x147d56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x147d64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x147d78): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x147d86): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106505:(.text+0x147dda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106505:(.text+0x147df8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x147e10): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x147e20): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106520:(.text+0x147e92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x147ea8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x147ebc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106551:(.text+0x147f18): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_36buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106612:(.text+0x147f2c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106624:(.text+0x147f42): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106635:(.text+0x147f56): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x147f60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x147f9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x147fb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_36buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106612:(.text+0x148022): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106650:(.text+0x148064): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106530:(.text+0x148070): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106531:(.text+0x14807e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106535:(.text+0x148096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106535:(.text+0x1480a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1480f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_37buildTwoSided': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106521:(.text+0x14810e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106521:(.text+0x148122): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94404:(.text+0x148144): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_34restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94484:(.text+0x1481ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94418:(.text+0x1482fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x148334): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94442:(.text+0x148340): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_34restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94495:(.text+0x148416): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94493:(.text+0x148474): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94438:(.text+0x14849c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1484ae): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_34restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94495:(.text+0x1484b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94495:(.text+0x1484c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_35restoreSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94427:(.text+0x148508): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94431:(.text+0x148526): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14858a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x148594): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1485b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108184:(.text+0x1485c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1485e4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108184:(.text+0x1485f0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108228:(.text+0x148628): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14869c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108238:(.text+0x1486ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_68union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108311:(.text+0x1486de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x148722): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108207:(.text+0x148834): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x148864): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_68union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108367:(.text+0x148876): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108368:(.text+0x1488be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1488ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_68union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108367:(.text+0x1488e8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x148982): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_69union': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108238:(.text+0x148996): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1489e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1489ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_171permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322178:(.text+0x148a0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_170permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322221:(.text+0x148a3a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322239:(.text+0x148a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322239:(.text+0x148a8e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_171permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322188:(.text+0x148ac6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322148:(.text+0x148b06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x148b28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_171permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322172:(.text+0x148b3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x148cde): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x148cea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_170permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322266:(.text+0x148d08): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269866:(.text+0x148da4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269879:(.text+0x148dba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x148dfe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269916:(.text+0x148e0c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269932:(.text+0x148e2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269943:(.text+0x148e58): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x148e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:642:(.text+0x148eaa): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x148ee0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x148f20): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270063:(.text+0x148f42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x148f58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1490fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x149120): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269919:(.text+0x14914c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x149172): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1491c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x149242): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270007:(.text+0x1492ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270033:(.text+0x1492fa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270183:(.text+0x149354): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x149366): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x149372): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14937e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14938a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x149400): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270011:(.text+0x14940c): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269978:(.text+0x14941a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270040:(.text+0x149434): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269950:(.text+0x14946a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270021:(.text+0x149482): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270066:(.text+0x14948a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270068:(.text+0x149492): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269978:(.text+0x14949c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270197:(.text+0x1494a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1494ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1494b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1494c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270199:(.text+0x1494cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1494da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269885:(.text+0x1494e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269889:(.text+0x1494ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269885:(.text+0x1494f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269894:(.text+0x149502): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269913:(.text+0x14951a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269913:(.text+0x149528): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269894:(.text+0x14956e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269907:(.text+0x149578): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269909:(.text+0x149598): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1495c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1495d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270013:(.text+0x1495e6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1495f4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269978:(.text+0x149648): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270138:(.text+0x149666): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269978:(.text+0x14967e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269976:(.text+0x14968e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x149700): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x149718): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270151:(.text+0x14972c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270033:(.text+0x149788): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270033:(.text+0x14979c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1497b2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1497c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x1497d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14980a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x149824): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_44setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:270020:(.text+0x149894): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_45setVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269887:(.text+0x1498d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269887:(.text+0x1498e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269887:(.text+0x1498f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269889:(.text+0x149908): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269889:(.text+0x149912): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:269885:(.text+0x149966): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_27getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332358:(.text+0x149982): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x149996): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_27getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332364:(.text+0x1499b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x149a44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x149b90): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x149b9c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x149bcc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332471:(.text+0x149bf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332473:(.text+0x149c06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332481:(.text+0x149c5a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x149c66): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x149c7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332496:(.text+0x149caa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x149cf6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332509:(.text+0x149d08): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_27getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332370:(.text+0x149d10): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332445:(.text+0x149d50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332443:(.text+0x149d6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x149d86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x149ddc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_27getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332369:(.text+0x149e32): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332363:(.text+0x149ef0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_26getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332435:(.text+0x149efc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332481:(.text+0x14a076): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14a0b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x14a0be): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_27getGhostCorners': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:332370:(.text+0x14a0d0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_253getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138878:(.text+0x14a18a): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x14a1a6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14a1b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x14a1c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_253getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138906:(.text+0x14a1d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14a1e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14a1f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14a208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x14a2b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_252getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138966:(.text+0x14a2d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138966:(.text+0x14a2ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_253getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138890:(.text+0x14a312): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138885:(.text+0x14a356): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138902:(.text+0x14a36c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138903:(.text+0x14a3c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_145getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132136:(.text+0x14a4ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x14a50c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_144getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132204:(.text+0x14a518): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14a5f2): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14a600): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_FromSize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464759:(.text+0x14a654): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x14a736): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_144getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132369:(.text+0x14a74a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_145getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132150:(.text+0x14a7aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14a7f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_144getCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132369:(.text+0x14a80a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132370:(.text+0x14a81e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132369:(.text+0x14a834): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132370:(.text+0x14a852): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132369:(.text+0x14a896): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132369:(.text+0x14a8ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x14a91c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x14a950): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x14a95c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x14aaa6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyEnd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372262:(.text+0x14ab94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14abac): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyEnd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372103:(.text+0x14abb8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x14abc4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyEnd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372127:(.text+0x14ac20): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14ac7c): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14acbe): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatAssemblyEnd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372162:(.text+0x14accc): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x14adf0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x14ae4e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x14ae5c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x14ae70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x14af1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159531:(.text+0x14af2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_58setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159588:(.text+0x14af36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14af42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159551: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14afbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14afc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14afd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159542:(.text+0x14afe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159542:(.text+0x14afec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159544:(.text+0x14aff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159612: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_59setPreallocationNNZ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159525:(.text+0x14b074): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159525:(.text+0x14b082): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14b10a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_73computeIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252302:(.text+0x14b14a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252302:(.text+0x14b176): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252317:(.text+0x14b18a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252327:(.text+0x14b19a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x14b1a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x14b1ba): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x14b1f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_73computeIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252415:(.text+0x14b20a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x14b24c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_73computeIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252407:(.text+0x14b2ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252330:(.text+0x14b3e2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252337:(.text+0x14b4d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252347:(.text+0x14b4e8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252347:(.text+0x14b4f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252335:(.text+0x14b500): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252337:(.text+0x14b55c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252365:(.text+0x14b5b8): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252400:(.text+0x14b5fa): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252403:(.text+0x14b608): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x14b72c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_73computeIJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252367:(.text+0x14b78a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252367:(.text+0x14b798): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252361:(.text+0x14b7ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252333:(.text+0x14b85a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252333:(.text+0x14b866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252341:(.text+0x14b872): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252341:(.text+0x14b87e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:252341: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126920:(.text+0x14b8f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126920:(.text+0x14b900): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126943:(.text+0x14b90c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126920:(.text+0x14b91c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126934:(.text+0x14b928): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126945:(.text+0x14b934): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14b9b0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127079:(.text+0x14b9be): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14712:(.text+0x14ba46): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_DATA': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1526:(.text+0x14ba86): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14bab2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x14bac6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127145:(.text+0x14bad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127159:(.text+0x14bae2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127183:(.text+0x14baf6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19731:(.text+0x14bb2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19754:(.text+0x14bb46): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19771:(.text+0x14bb88): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14bc28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14bd2c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x14bd38): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127018:(.text+0x14bd5e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14bd82): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126948:(.text+0x14be80): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126949:(.text+0x14be8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14bede): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x14bf6c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14745:(.text+0x14bf7e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x14bf86): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x14bf92): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x14bfa8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127145:(.text+0x14bfba): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127145:(.text+0x14bfc2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127145:(.text+0x14bfce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126956:(.text+0x14c014): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126964:(.text+0x14c030): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126956:(.text+0x14c048): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127013:(.text+0x14c072): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x14c080): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126966:(.text+0x14c0c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126970:(.text+0x14c0ec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126994:(.text+0x14c1ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126994:(.text+0x14c1ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14c2d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127268:(.text+0x14c2f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127131:(.text+0x14c304): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x14c3ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127162:(.text+0x14c3ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14c3ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x14c3fe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14c45c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127164:(.text+0x14c472): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14c4ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_76createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127224:(.text+0x14c4e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:127228:(.text+0x14c4fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_77createGhostWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126950:(.text+0x14c60e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126956:(.text+0x14c62e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126956:(.text+0x14c63a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454903:(.text+0x14c6e4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x14c6f0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x14c704): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454890:(.text+0x14c734): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454890:(.text+0x14c792): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125674:(.text+0x14c7a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14c7f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125707:(.text+0x14c81c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125751:(.text+0x14c834): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x14c944): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14c964): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14c970): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x14ca1a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125992:(.text+0x14ca26): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125947:(.text+0x14ca3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126002:(.text+0x14ca6a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126240:(.text+0x14cac8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126240:(.text+0x14cade): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126261:(.text+0x14cb26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14cb52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14cb6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14cc7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125689:(.text+0x14cc9a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x14cca6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125779:(.text+0x14cd50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14cd5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14cd70): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126071:(.text+0x14cda0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126100:(.text+0x14cdfe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14ce14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14ce5c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x14ce88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126611:(.text+0x14cea0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125819:(.text+0x14cfa6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125819:(.text+0x14cfb2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125733:(.text+0x14cfe6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125735:(.text+0x14cffc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14d028): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126294:(.text+0x14d076): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126297:(.text+0x14d08a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126338:(.text+0x14d0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126340:(.text+0x14d0e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126340:(.text+0x14d0f0): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14d102): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x14d118): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126357:(.text+0x14d186): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126393:(.text+0x14d1ac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126393:(.text+0x14d1b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14d216): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x14d222): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126402:(.text+0x14d23e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126314:(.text+0x14d26e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14d2c4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125737:(.text+0x14d3a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14d434): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14d462): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14d46c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14d474): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14d48c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126041:(.text+0x14d4ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126050:(.text+0x14d4be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126609:(.text+0x14d4f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126170:(.text+0x14d52c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x14d540): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126170:(.text+0x14d556): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125893:(.text+0x14d5bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14d64c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_73toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125695:(.text+0x14d672): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125695:(.text+0x14d67e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126129:(.text+0x14d6de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126609:(.text+0x14d6ea): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126199:(.text+0x14d706): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125743:(.text+0x14d736): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126608:(.text+0x14d7a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126609:(.text+0x14d7aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125872:(.text+0x14d850): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14d866): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125780:(.text+0x14d88c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126240:(.text+0x14d8f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126259:(.text+0x14d91c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125805:(.text+0x14da00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14da26): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14da32): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14da92): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14da9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125910:(.text+0x14daba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126606:(.text+0x14daea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126375:(.text+0x14db56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126376:(.text+0x14db5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126588:(.text+0x14dc06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126607:(.text+0x14dc1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14dc42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126365:(.text+0x14dcac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126395:(.text+0x14dcd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14ddb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x14dddc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454853:(.text+0x14dde8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126338:(.text+0x14de46): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126609:(.text+0x14de52): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126041:(.text+0x14de6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126609:(.text+0x14de9e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126609:(.text+0x14def6): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126091:(.text+0x14dfda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126268:(.text+0x14e068): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454853:(.text+0x14e096): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454733:(.text+0x14e0a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454853:(.text+0x14e0a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14e0c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14e0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126270:(.text+0x14e0f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126609:(.text+0x14e12e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126402:(.text+0x14e164): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126402:(.text+0x14e178): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125862:(.text+0x14e18e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126606:(.text+0x14e1f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int64_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454890:(.text+0x14e282): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x14e28e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_72toDLPack': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125868:(.text+0x14e2b6): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167367:(.text+0x14e3ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167387:(.text+0x14e406): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167387:(.text+0x14e412): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32673:(.text+0x14e42a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32687:(.text+0x14e436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x14e446): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x14e472): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x14e480): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167397:(.text+0x14e4ce): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167397:(.text+0x14e4da): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167397:(.text+0x14e4e4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_140copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167456:(.text+0x14e528): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167456:(.text+0x14e532): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167470:(.text+0x14e55a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x14e59c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674:(.text+0x14e5aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14e5b4): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x14e5c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_140copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167549:(.text+0x14e5e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167387:(.text+0x14e664): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32729:(.text+0x14e6ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674:(.text+0x14e6fc): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455086:(.text+0x14e72a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455093:(.text+0x14e74a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14e756): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32714:(.text+0x14e792): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455206:(.text+0x14e79e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14e85e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14e8a8): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matstructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32674:(.text+0x14e8e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14e8f2): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x14e900): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167359:(.text+0x14e924): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14e940): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455087:(.text+0x14e9ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14e9e0): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x14e9fa): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_141copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167344:(.text+0x14ea40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167342:(.text+0x14ea58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167342:(.text+0x14ea68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40163:(.text+0x14ea80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40163:(.text+0x14ea94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40163: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40163:(.text+0x14eac6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14ec00): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40384:(.text+0x14ec3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40384:(.text+0x14ec48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40384:(.text+0x14ec54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.12/cpython/bytesobject.h:37:(.text+0x14ec60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40386:(.text+0x14ec6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40386: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40391:(.text+0x14ecbc): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40393:(.text+0x14ecf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14edae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40440:(.text+0x14ee74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40440:(.text+0x14ee88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14eea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14ef34): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40480:(.text+0x14ef74): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40480:(.text+0x14ef88): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40480:(.text+0x14efa8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40480:(.text+0x14efb0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40482:(.text+0x14efd2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14efde): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40485:(.text+0x14f006): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14f0b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40514:(.text+0x14f0d6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40519:(.text+0x14f0f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14f120): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x14f17a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x14f190): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x14f1b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f338): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f344): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40347:(.text+0x14f554): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40349:(.text+0x14f562): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40353:(.text+0x14f582): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40347:(.text+0x14f5ae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40299:(.text+0x14f5f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40173:(.text+0x14f5fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14f63e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f64c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f6aa): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40347:(.text+0x14f6be): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14f6fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14f706): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14f712): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x14f7d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f7ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f7fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f80c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x14f822): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40392:(.text+0x14f8e4): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40420:(.text+0x14f928): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40361:(.text+0x14fa40): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40358:(.text+0x14fa4c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14fc5c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x14fc6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14fc8a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41065:(.text+0x14fcb6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x14fcf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41123:(.text+0x14fd02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x14fd46): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41183:(.text+0x14fd54): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41188:(.text+0x14fdb2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x14fdc6): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14fe02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41194:(.text+0x14fe0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41194:(.text+0x14fe1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x14feda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41228:(.text+0x14fef6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41228:(.text+0x14ff02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x14ff14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41230:(.text+0x14ff2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x14ffec): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41102:(.text+0x150030): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x150148): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x150154): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447581:(.text+0x150364): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447574:(.text+0x150372): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447583:(.text+0x150392): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41377:(.text+0x1503be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41377:(.text+0x150400): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41377:(.text+0x15040a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15044e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15045c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1504ba): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40975:(.text+0x1504ce): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15050a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41358:(.text+0x150516): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41358:(.text+0x150522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x1505e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40975:(.text+0x1505fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41039:(.text+0x15060a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x15061c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40986:(.text+0x150632): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41120:(.text+0x1506f4): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x150738): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15082c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15086a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x150876): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x150914): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeOperatorInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41323:(.text+0x150abc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41323:(.text+0x150acc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41229:(.text+0x150adc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41243:(.text+0x150b1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40975:(.text+0x150b26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41148:(.text+0x150b3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41161:(.text+0x150b5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41162:(.text+0x150b6a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40970:(.text+0x150bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41377:(.text+0x150c0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41154:(.text+0x150c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41053:(.text+0x150cc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161605:(.text+0x150d2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x150d4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_70createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161702:(.text+0x150dea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x150e22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161634:(.text+0x150e3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_70createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161664:(.text+0x150e82): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161669:(.text+0x150eb2): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161681:(.text+0x150f40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x150f4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161592:(.text+0x15102e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161596:(.text+0x15103a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161614:(.text+0x151046): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15106c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1510a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_71createScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161589:(.text+0x1510c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161582:(.text+0x1510d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20925:(.text+0x15127c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20939:(.text+0x151288): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x15131c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21080:(.text+0x151342): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x151368): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x151392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1513a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1513f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21074:(.text+0x151416): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x151428): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x151430): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20939:(.text+0x15143c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20987:(.text+0x151476): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21011:(.text+0x151486): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x151498): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1514a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_DM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21035:(.text+0x1514ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21090:(.text+0x1514e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21186:(.text+0x15151e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x151532): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x151544): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15154c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x151558): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_subtype_Object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21223:(.text+0x15156a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21163:(.text+0x151580): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:21222:(.text+0x1515a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1515ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1515e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15166e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360984:(.text+0x151688): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1516a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscObject_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360977:(.text+0x15174a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360977:(.text+0x151758): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x151766): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x151868): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_42query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88130:(.text+0x151874): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88153:(.text+0x15188e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88158:(.text+0x1518be): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1518f6): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x151904): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x151938): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x15194a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x151970): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x151982): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1519d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1519e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1519fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_43query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88026:(.text+0x151a0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88046:(.text+0x151a56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_42query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88153:(.text+0x151a70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_43query': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88026:(.text+0x151aae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x151bb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286961:(.text+0x151bde): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286961:(.text+0x151bea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x151c72): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_60getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287073:(.text+0x151c7e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287088:(.text+0x151c90): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287093:(.text+0x151cc0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x151dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x151db6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286999:(.text+0x151dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287001:(.text+0x151dde): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_60getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287093:(.text+0x151dfe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0x151e62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287075:(.text+0x151f40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0x151f66): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0x151f72): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286984:(.text+0x151ffa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286984:(.text+0x152006): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286984:(.text+0x152018): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_60getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0x152048): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_61getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287010:(.text+0x152134): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287010:(.text+0x15213e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287010:(.text+0x152146): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_60getField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287147:(.text+0x152166): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDM_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363889:(.text+0x152186): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1521ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1522ee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_setref': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360633:(.text+0x1522fa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPetscDM_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:363950:(.text+0x152314): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x152344): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69441:(.text+0x15237c): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69477:(.text+0x15238a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69482:(.text+0x1523be): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x1523d0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69524:(.text+0x1523f6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69550:(.text+0x152408): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15245a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x152466): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69615:(.text+0x152480): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69627:(.text+0x152492): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1524dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69637:(.text+0x1524f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69645:(.text+0x152534): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x152668): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1526d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1526e8): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69784:(.text+0x1526fa): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69784:(.text+0x15270c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x152730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x152748): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x152754): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x152760): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1527bc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69443:(.text+0x152812): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x152874): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1528b6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1528c8): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69446:(.text+0x152914): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69511:(.text+0x152932): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15293e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15294a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69536:(.text+0x152966): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69537:(.text+0x152976): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69702:(.text+0x152a8c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69642:(.text+0x152ae0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69639:(.text+0x152ae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69649:(.text+0x152b02): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69652:(.text+0x152b10): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69646:(.text+0x152b1e): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69656:(.text+0x152b32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69683:(.text+0x152b3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69683:(.text+0x152b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x152b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69687:(.text+0x152b62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69687: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateSubDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69691:(.text+0x152d8a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69560:(.text+0x152d98): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69669:(.text+0x152e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x152eb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x152ec8): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68979:(.text+0x152f08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x152f2e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x152f44): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x152f86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:44:(.text+0x152fa4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69062:(.text+0x152fec): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x153000): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x153048): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69127:(.text+0x153058): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x15306a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69152:(.text+0x153114): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x153126): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69274:(.text+0x1531ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69274:(.text+0x1531f8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69292:(.text+0x153250): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69313:(.text+0x15327c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69313:(.text+0x153288): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69330:(.text+0x1532fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x153308): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x153360): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69356:(.text+0x15338c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69356:(.text+0x153398): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69381:(.text+0x15340c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69381:(.text+0x153418): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69395:(.text+0x153470): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68984:(.text+0x15349c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68870:(.text+0x1534a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15351c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x153556): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69413:(.text+0x153562): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15361c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68868:(.text+0x1536d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68979:(.text+0x1536e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68867:(.text+0x153716): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x153756): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15375e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15376a): undefined reference to `PyDict_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x153818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x153824): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x153830): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68865:(.text+0x153874): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68909:(.text+0x1538a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68869:(.text+0x1538b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68957:(.text+0x1538c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68957:(.text+0x1538e8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68930:(.text+0x1538f4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68883:(.text+0x15390a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x153942): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69093:(.text+0x153980): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69098:(.text+0x1539aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69102:(.text+0x1539c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69049:(.text+0x153a12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69149:(.text+0x153b46): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69149:(.text+0x153b52): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68868:(.text+0x153b80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x153b92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69162:(.text+0x153bbc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68870:(.text+0x153bcc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69188:(.text+0x153bee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69192:(.text+0x153c1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69064:(.text+0x153c7a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69078:(.text+0x153c9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69225:(.text+0x153cb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69340:(.text+0x153de0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x153dec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecompositionScatters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69283:(.text+0x153e84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69214:(.text+0x153e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69274:(.text+0x153e9c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69274:(.text+0x153ea8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69383:(.text+0x153f5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69292:(.text+0x153f72): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69214:(.text+0x153f88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69110:(.text+0x154064): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69072:(.text+0x154152): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69072:(.text+0x154160): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69198:(.text+0x15416c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68870:(.text+0x154178): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67102:(.text+0x154222): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x154232): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x15429e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67207:(.text+0x1542d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1542e8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1542fa): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67297:(.text+0x15441c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x154458): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x154500): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67360:(.text+0x15450c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67363:(.text+0x154518): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67363:(.text+0x154524): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67363: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15466c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x154678): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67081:(.text+0x154720): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67102:(.text+0x154734): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15474c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15475a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67105:(.text+0x15476e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67102:(.text+0x15477e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1547d6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67072:(.text+0x154802): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67168:(.text+0x154818): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67272:(.text+0x154858): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x154872): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67301:(.text+0x154966): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67217:(.text+0x154a7a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66843:(.text+0x154b68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x154b76): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66861:(.text+0x154b82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66861:(.text+0x154b8e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66965:(.text+0x154c1c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x154c2e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x154c40): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x154c4e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66983:(.text+0x154cc0): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x154d02): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x154d14): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x154d86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66940:(.text+0x154eda): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66906:(.text+0x154f14): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x154f26): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x154f32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x154f3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x154f4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x154f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x154f62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67041: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x155096): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1550a2): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x155152): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66934:(.text+0x15515e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66914:(.text+0x155172): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66973:(.text+0x155182): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66973:(.text+0x155194): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66975:(.text+0x1551a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66977:(.text+0x1551f8): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66994:(.text+0x155234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66931:(.text+0x155254): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15526c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x15528a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66910:(.text+0x155344): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66405:(.text+0x15543a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x155538): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x155550): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15555c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x155568): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x1555c4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15562e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x155670): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66626:(.text+0x155682): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1557c4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x155822): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66493:(.text+0x155830): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66496:(.text+0x155844): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1558f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x155900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x15590c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x155918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66733: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66321:(.text+0x1559ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66357:(.text+0x1559b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1559c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1559ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1559da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66360:(.text+0x1559ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66324: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66376:(.text+0x155a84): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66325:(.text+0x155a92): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x155b2a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66477:(.text+0x155b6e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66535:(.text+0x155b8e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66542:(.text+0x155ba2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66542:(.text+0x155bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66549:(.text+0x155bd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66549:(.text+0x155bec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66583:(.text+0x155c26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x155c3e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x155c84): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x155d22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x155e1a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66569:(.text+0x155f18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66034:(.text+0x155f30): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66034:(.text+0x155f3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66057:(.text+0x155f48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_new_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18950:(.text+0x155fa4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66114:(.text+0x15600e): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66156:(.text+0x156050): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66163:(.text+0x156062): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1561a4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x156202): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x156210): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x156224): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1562d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1562e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1562ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1562f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15638e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x156396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1563a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1563ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1563ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66294:(.text+0x1563ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66070:(.text+0x156464): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x156472): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66073:(.text+0x15650a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66139:(.text+0x15654e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66153:(.text+0x15656e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66184:(.text+0x156582): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66189:(.text+0x156596): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66193:(.text+0x1565b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1565cc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66218:(.text+0x156606): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66226:(.text+0x15661e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x156664): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66247:(.text+0x156702): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66167:(.text+0x156850): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:66167:(.text+0x156860): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65772:(.text+0x15688a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1568ca): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_new_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18965:(.text+0x156912): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x15693a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65829:(.text+0x156946): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65877:(.text+0x156996): undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1569be): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1569ca): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65941:(.text+0x156a1c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x156a28): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65943:(.text+0x156a48): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65952:(.text+0x156a8a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65958:(.text+0x156a96): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x156ab6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65882:(.text+0x156c80): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65883:(.text+0x156c8a): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x156c98): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x156d32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x156d58): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x156d8c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65755:(.text+0x156d9a): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65829:(.text+0x156e78): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x156fa8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65801:(.text+0x156fb6): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65949:(.text+0x156fe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65955:(.text+0x156ffa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65955:(.text+0x157008): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65952:(.text+0x157030): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65952:(.text+0x15703c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65962:(.text+0x157046): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65832:(.text+0x157080): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x15708e): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x1570b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x157120): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x15712c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x157138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_Coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65878:(.text+0x15714c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65878: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x15722a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x157280): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1572b8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292054:(.text+0x1572c4): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x157306): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292081:(.text+0x157314): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x157322): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x15734e): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x15735c): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292067:(.text+0x15737e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x157388): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1573e4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15741a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x157428): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_143coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291964:(.text+0x15746e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291973:(.text+0x157496): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128:(.text+0x1574cc): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128:(.text+0x1574dc): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1574fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x15750e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15753e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1575ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x157606): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x157616): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x157622): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x157644): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x15764e): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292001:(.text+0x15765a): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x15767e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_142coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292020:(.text+0x157688): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292128:(.text+0x15769c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292022:(.text+0x1576ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_143coarsenHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291947:(.text+0x15771c): undefined reference to `PyExc_UnboundLocalError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x157736): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1579dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x1579ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x1579f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x157a50): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x157a58): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x157ad8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_141refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291738:(.text+0x157b0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291738:(.text+0x157b16): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291747:(.text+0x157b1e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291875:(.text+0x157b6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291902:(.text+0x157b8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x157bca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x157bdc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291828:(.text+0x157c0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291902:(.text+0x157c34): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291850:(.text+0x157c48): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291775:(.text+0x157d04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x157d10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x157d82): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_141refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291713:(.text+0x157d8c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291732:(.text+0x157da0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291718:(.text+0x157dba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x157de0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_141refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291740:(.text+0x157df2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x157e02): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x157e12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_140refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291775:(.text+0x157e34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_141refineHierarchy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291725:(.text+0x157e60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291522:(.text+0x157f20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291511:(.text+0x157f2c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_138coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291627:(.text+0x157fac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291636:(.text+0x157fc6): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291566:(.text+0x15802e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291566:(.text+0x15803a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x158050): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291526:(.text+0x15806e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291555:(.text+0x1580a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291532:(.text+0x1580d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291535:(.text+0x1580e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x158106): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_138coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291608:(.text+0x15815a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291636:(.text+0x158162): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291527:(.text+0x158176): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291541:(.text+0x1581a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291541:(.text+0x1581b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1581c4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1581cc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_138coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291641:(.text+0x1581de): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1581f0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_139coarsen': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291511:(.text+0x1581f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291536:(.text+0x15824e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291537:(.text+0x15825a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x158286): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x158294): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1582f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x15830a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291358:(.text+0x15831c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_136refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291412:(.text+0x15832c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291421:(.text+0x15833e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291454:(.text+0x1583ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1583fe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x15840a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15843e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x158450): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291370:(.text+0x15847c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291345:(.text+0x15848c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1584ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_137refine': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291324:(.text+0x1584da): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291364:(.text+0x15853e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291354:(.text+0x158562): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x158578): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1586a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1586b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_134convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291229:(.text+0x1586e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1586f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_134convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291259:(.text+0x158724): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291261:(.text+0x158734): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x158756): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x158782): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1587e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x158806): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15881c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_135convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291170:(.text+0x158942): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291170:(.text+0x15894e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291174:(.text+0x158982): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291174:(.text+0x158994): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1589c0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1589d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1589f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_135convert': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291196:(.text+0x158a1e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68089:(.text+0x158a82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68102:(.text+0x158aa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x158abc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68254:(.text+0x158bea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68254:(.text+0x158bf6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68257:(.text+0x158c2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68262:(.text+0x158c3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68269:(.text+0x158c68): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x158c78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x158c9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x158cc6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x158d26): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x158d4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68339:(.text+0x158d60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68550:(.text+0x158e8a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscStrlen': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:109:(.text+0x158e96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscStrallocpy': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:151:(.text+0x158eca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:153:(.text+0x158edc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68534:(.text+0x158f08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68657:(.text+0x158f18): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68754:(.text+0x158f3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x158f66): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x158fca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68789:(.text+0x158fee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68791:(.text+0x159004): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x159112): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68635:(.text+0x159154): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68635:(.text+0x159160): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68059:(.text+0x159212): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x159226): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x159254): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1592de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x159410): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15947a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x159490): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1594ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68102:(.text+0x1594c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1594de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159526): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68105:(.text+0x15955e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68143:(.text+0x159582): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x159632): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15963e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68431:(.text+0x1597b8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68713:(.text+0x1598b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1598ce): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1598da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68687:(.text+0x1598e6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68066:(.text+0x159944): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159954): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68315:(.text+0x1599c0): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68825:(.text+0x159a02): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x159a14): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x159aba): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68462:(.text+0x159ac8): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68462:(.text+0x159adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68633:(.text+0x159c34): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68522:(.text+0x159c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68635:(.text+0x159c6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68635:(.text+0x159c78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68775:(.text+0x159c84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68775:(.text+0x159c90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68697: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68711:(.text+0x159d1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68711:(.text+0x159d22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68791:(.text+0x159d2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68791:(.text+0x159d3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159d48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68713: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159de4): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159df2): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68227:(.text+0x159e88): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x159ef4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.12/object.h:706:(.text+0x159f08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159f18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159f2a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68676:(.text+0x159f54): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68328:(.text+0x159f6a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68829:(.text+0x159f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x159fb0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateDomainDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68288:(.text+0x15a06c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67373:(.text+0x15a146): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67405:(.text+0x15a152): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15a180): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67421:(.text+0x15a196): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x15a1a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67472:(.text+0x15a1d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67498:(.text+0x15a1e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67563:(.text+0x15a25e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15a26a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67570:(.text+0x15a2a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15a2d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x15a2e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67599:(.text+0x15a386): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67601:(.text+0x15a392): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15a3b2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15a3ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67799:(.text+0x15a3f6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67800:(.text+0x15a404): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15a4a2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67826:(.text+0x15a4be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15a4ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscStrlen': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:109:(.text+0x15a4f4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:109:(.text+0x15a4fe): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PetscStrallocpy': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:151:(.text+0x15a512): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:153:(.text+0x15a528): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscstring.h:158:(.text+0x15a546): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67811:(.text+0x15a558): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67953:(.text+0x15a5aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x15a5b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67962:(.text+0x15a5c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67976:(.text+0x15a5f8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67979:(.text+0x15a62c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67988:(.text+0x15a63e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15a6b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x15a6c4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x15a6e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x15a700): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x15a710): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x15a724): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68045:(.text+0x15a756): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15a7a0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x15a844): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15a860): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15a86c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68029:(.text+0x15a896): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:68029:(.text+0x15a8a0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15a8b4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15a8ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15a8e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15a8fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67875:(.text+0x15a94c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67875:(.text+0x15a958): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67875:(.text+0x15a96a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67896:(.text+0x15a99a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15a9ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67901:(.text+0x15a9e0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67391:(.text+0x15aa54): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67418:(.text+0x15aa66): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:705:(.text+0x15aa86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15aaa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15aab2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15aac6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67421:(.text+0x15aaf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67484:(.text+0x15ab42): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67503:(.text+0x15abe6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67379:(.text+0x15ac04): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67382:(.text+0x15ac10): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67568:(.text+0x15ac3c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67568:(.text+0x15ac46): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67568:(.text+0x15ac5a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67570:(.text+0x15ac70): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67585:(.text+0x15ad3e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15ad4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67589:(.text+0x15ad5c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67624:(.text+0x15ad8c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15ae72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67856:(.text+0x15ae86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67821:(.text+0x15aeae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67799:(.text+0x15aff2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67799:(.text+0x15affc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67990:(.text+0x15b00e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67912:(.text+0x15b02e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67962:(.text+0x15b078): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67884:(.text+0x15b08c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15b09a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67391:(.text+0x15b0aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:67529:(.text+0x15b0c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15b0da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336797:(.text+0x15b4ac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15b4c8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15b4d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x15b4fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x15b508): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x15b51c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:44:(.text+0x15b532): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336795:(.text+0x15b550): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336858:(.text+0x15b562): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15b5b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_7getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336684:(.text+0x15b5c0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336684:(.text+0x15b5d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336800:(.text+0x15b602): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336829:(.text+0x15b636): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336858:(.text+0x15b648): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15b6bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15b6ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b6ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15b70a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_7getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336678:(.text+0x15b71a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336678:(.text+0x15b72e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x15b760): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15b7aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15b84e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_6getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336840:(.text+0x15b86a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336840:(.text+0x15b876): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15b8a0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x15b8aa): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x15b8be): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_7getEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336684:(.text+0x15b8d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_47getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349497:(.text+0x15b8f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349497:(.text+0x15b904): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x15b956): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_46getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349549:(.text+0x15b962): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15b974): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x15b9a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_47getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349509:(.text+0x15b9d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15b9ea): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_47getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349503:(.text+0x15ba5e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349503:(.text+0x15ba70): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_46getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349554:(.text+0x15ba90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15baac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_47getCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349497:(.text+0x15babc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15bad0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349509:(.text+0x15bb02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_211createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296575:(.text+0x15bb4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_IS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22563:(.text+0x15bbf0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15bc0c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15bc18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15bc42): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x15bc4c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15bc60): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3641:(.text+0x15bc76): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x15bc94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SET_SIZE': /usr/include/python3.12/object.h:283:(.text+0x15bca6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296721:(.text+0x15bcf8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296827:(.text+0x15bd04): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296712:(.text+0x15bd16): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296743:(.text+0x15bd46): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15bd7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296757:(.text+0x15bd8c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296827:(.text+0x15be00): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296827:(.text+0x15be12): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296827:(.text+0x15be32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296910:(.text+0x15be4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15be5e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x15be72): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x15bea4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_211createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296587:(.text+0x15beee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296673:(.text+0x15bf92): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15bfb0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15bfbc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15bfe8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15bff2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15c006): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15c01c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296855:(.text+0x15c0e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_211createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296581:(.text+0x15c0ee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296581:(.text+0x15c100): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296667:(.text+0x15c130): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296699:(.text+0x15c1f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296743:(.text+0x15c204): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296746:(.text+0x15c22c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296864:(.text+0x15c29c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296864:(.text+0x15c2a6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296845:(.text+0x15c2b8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296864:(.text+0x15c2d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296883:(.text+0x15c322): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x15c336): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x15c344): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x15c354): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15c36a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_210createFieldDecomposition': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296712:(.text+0x15c384): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_109getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255087:(.text+0x15c5c4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255087:(.text+0x15c5cc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255088:(.text+0x15c5f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_108getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255134:(.text+0x15c60e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255139:(.text+0x15c626): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_109getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255082:(.text+0x15c674): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15c6c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_25getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229338:(.text+0x15c6de): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_24getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229372:(.text+0x15c722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229390:(.text+0x15c730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229390:(.text+0x15c73c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_25getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229344:(.text+0x15c828): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229350:(.text+0x15c8c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15c8d6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_27getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217105:(.text+0x15c95a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15ca16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x15ca22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_26getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217202:(.text+0x15ca40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15cac4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_27getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217099:(.text+0x15cad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15cadc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15cae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x15caf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_27getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217099:(.text+0x15cb06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217111:(.text+0x15cb1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15cb2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x15cb34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15cb54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_55getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199791:(.text+0x15cb72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x15cb8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_54getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199825:(.text+0x15cbb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x15cbbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_54getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199843:(.text+0x15cbcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15cbe0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_54getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199859:(.text+0x15cbfe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15cc26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_55getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199803:(.text+0x15cc32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199803:(.text+0x15cc4a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15cc6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_54getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199894:(.text+0x15cc80): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_55getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199796:(.text+0x15ccb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15cd4a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_55getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199791:(.text+0x15cd56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15cd96): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x15cdda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15ce28): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15ce3c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15ce9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15cea4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15ceae): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_451getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191716:(.text+0x15cec0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_450getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191819:(.text+0x15cedc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_451getDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191716:(.text+0x15cf66): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15cf72): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191728:(.text+0x15cfb2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39275:(.text+0x15cff6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39310:(.text+0x15d044): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x15d058): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14612:(.text+0x15d0b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14612:(.text+0x15d0c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x15d0ca): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15d0dc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39375:(.text+0x15d0f8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15d192): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x15d19e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39311:(.text+0x15d1da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39322:(.text+0x15d1ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15d218): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15d228): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x15d24a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14650:(.text+0x15d276): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39479:(.text+0x15d2a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39479:(.text+0x15d2ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x15d2f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39387:(.text+0x15d318): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39387:(.text+0x15d32e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x15d442): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x15d44e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x15d48a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x15d49c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvaluestencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39387:(.text+0x15d4c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39486:(.text+0x15d4d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_235setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174959:(.text+0x15d4fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174959:(.text+0x15d526): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175017:(.text+0x15d556): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175017:(.text+0x15d55e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175045:(.text+0x15d5a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175020:(.text+0x15d5c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x15d5de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_234setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175112:(.text+0x15d6f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175112:(.text+0x15d6fe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175112:(.text+0x15d73a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15d74c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_234setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175112:(.text+0x15d778): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15d788): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_234setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:175112:(.text+0x15d7aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_235setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174980:(.text+0x15d7d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x15d806): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_235setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174982:(.text+0x15d80e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174984:(.text+0x15d854): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174996:(.text+0x15d878): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174989:(.text+0x15d88e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15d9a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x15d9ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_235setValueBlockedStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174984:(.text+0x15d9ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174984:(.text+0x15d9fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174978:(.text+0x15da28): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174980:(.text+0x15da38): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174980:(.text+0x15da5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_231setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174646:(.text+0x15da86): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174659:(.text+0x15dab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174659:(.text+0x15dabe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174721:(.text+0x15db04): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174723:(.text+0x15db28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174732:(.text+0x15db3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15dc3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_231setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174664:(.text+0x15dc56): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174664:(.text+0x15dc62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_230setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174759:(.text+0x15dcbc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174799:(.text+0x15dcc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15dce8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_230setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174799:(.text+0x15dd18): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174799:(.text+0x15dd4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_231setValueStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174667:(.text+0x15dd5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174676:(.text+0x15dd7c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174715:(.text+0x15dd94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174671:(.text+0x15ddb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174665:(.text+0x15de90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174701:(.text+0x15debe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174701:(.text+0x15deca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174701:(.text+0x15dee6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174691:(.text+0x15df16): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174665:(.text+0x15dfac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90909:(.text+0x15e0a2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90875:(.text+0x15e1b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90875:(.text+0x15e1c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90875:(.text+0x15e1ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15e222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90850:(.text+0x15e25e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90858:(.text+0x15e26a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91025:(.text+0x15e2e0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90988:(.text+0x15e2fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90988:(.text+0x15e306): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90990:(.text+0x15e31c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90850:(.text+0x15e33c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90858:(.text+0x15e374): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445651:(.text+0x15e3c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2garbage_view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90947:(.text+0x15e3e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181223:(.text+0x15e51a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181223:(.text+0x15e526): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181223:(.text+0x15e534): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15e556): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x15e56a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181275:(.text+0x15e580): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x15e5f6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15e608): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x15e62e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x15e636): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x15e64a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181302:(.text+0x15e674): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15e6b2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181343:(.text+0x15e6c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181389:(.text+0x15e6f4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x15e76a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x15e776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15e782): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x15e78c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181411:(.text+0x15e7ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181405:(.text+0x15e7d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181421:(.text+0x15e7e8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181423:(.text+0x15e7fa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15e80e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x15e818): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181437:(.text+0x15e826): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181440:(.text+0x15e846): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15e864): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15e896): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15e8a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181503:(.text+0x15e8c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181516:(.text+0x15e90a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x15e970): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181538:(.text+0x15e97c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181285:(.text+0x15ea12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181657:(.text+0x15ea32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15ea6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x15eac8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181232:(.text+0x15eb00): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181408:(.text+0x15ebd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15ec08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15ec14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x15ec34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15ec92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181174:(.text+0x15ecf8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181181:(.text+0x15ed04): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181389:(.text+0x15ed9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181177:(.text+0x15edba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x15edf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181302:(.text+0x15ee50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181193:(.text+0x15eea2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181423:(.text+0x15ef78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181538:(.text+0x15efaa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181538:(.text+0x15efb6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181569:(.text+0x15efd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x15f01e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x15f084): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181602:(.text+0x15f090): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15f126): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181234:(.text+0x15f146): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_315createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181169:(.text+0x15f180): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_314createSubMatrices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181475:(.text+0x15f1dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181490:(.text+0x15f214): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181589:(.text+0x15f2f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181538:(.text+0x15f330): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:181538:(.text+0x15f33c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x15f408): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x15f4f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x15f538): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43878:(.text+0x15f556): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x15f584): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x15f596): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43888:(.text+0x15f5ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15f5c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x15f5e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43892:(.text+0x15f5ee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43903:(.text+0x15f622): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x15f796): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x15f7d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x15f7e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43960:(.text+0x15f8ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x15f99c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15f9dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x15f9fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43666:(.text+0x15fa28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43726:(.text+0x15fa3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43657:(.text+0x15fa50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43667:(.text+0x15fa6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x15fa86): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_PreCheck': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43813:(.text+0x15fa92): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43849:(.text+0x15fac6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43705:(.text+0x15fc3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43893:(.text+0x15fc78): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43893:(.text+0x15fc84): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43860:(.text+0x15fd6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43823:(.text+0x15fe60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177811:(.text+0x15fea0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177811:(.text+0x15febe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x15feec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177851:(.text+0x15fefe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x15ff14): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x15ff30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177866:(.text+0x15ff4a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177866:(.text+0x15ff56): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177870:(.text+0x15ff8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177838:(.text+0x160118): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x160156): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x160162): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x16022e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x16031e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16035e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_269getColumnVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177828:(.text+0x16037c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177830:(.text+0x1603aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177830:(.text+0x1603bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_263createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177281:(.text+0x1603d2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177281:(.text+0x1603ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x160408): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x160414): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x160448): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177371:(.text+0x1605bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177397:(.text+0x1605fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177397:(.text+0x160606): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1606d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177533:(.text+0x1607c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177590:(.text+0x160802): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x160820): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16084e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x160860): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x160876): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177456:(.text+0x160892): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177477:(.text+0x1608ac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x1608b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1608ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x160a86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x160af4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177445:(.text+0x160b04): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x160bd0): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_262createVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177336:(.text+0x160bfc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x160c04): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:177612:(.text+0x160c34): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57156:(.text+0x160c6a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57207:(.text+0x160ca6): undefined reference to `PyBytes_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57353:(.text+0x160cf4): undefined reference to `PyObject_Malloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/include/python3.12/object.h:798:(.text+0x160d58): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57486:(.text+0x160dc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x160dd8): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57354:(.text+0x160de6): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x160e10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x160e1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x160e4a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x160e5e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x160e6e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x160e9a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57207:(.text+0x160fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57198:(.text+0x160fd0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57477:(.text+0x160fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57477:(.text+0x160ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57478:(.text+0x161000): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57449:(.text+0x16100a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x161086): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57423:(.text+0x16111c): undefined reference to `PyBytes_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57198:(.text+0x161130): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57255:(.text+0x16114e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57423:(.text+0x161166): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57294:(.text+0x161184): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57327:(.text+0x1611c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1611d6): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1611e2): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57300:(.text+0x161206): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57196:(.text+0x161210): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57385:(.text+0x16122a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57392:(.text+0x161250): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57296:(.text+0x1612d2): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x161338): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x16134e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57264:(.text+0x161370): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x161392): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16141a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x161426): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16147c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57385:(.text+0x161508): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16151a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57276:(.text+0x161534): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57253:(.text+0x161556): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57327:(.text+0x161582): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:798:(.text+0x161590): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1615a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57269:(.text+0x1615c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1615d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57307:(.text+0x1615f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57307:(.text+0x161610): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57364:(.text+0x1616ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174440:(.text+0x161710): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174440:(.text+0x161728): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16173e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174490:(.text+0x161756): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174517:(.text+0x1617ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174493:(.text+0x1617cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174542:(.text+0x1617da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174564:(.text+0x1617e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174544: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174574:(.text+0x1618d8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174458:(.text+0x1618fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x161904): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_228setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174564:(.text+0x161938): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x16196c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_229setStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174468:(.text+0x161a40): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174461:(.text+0x161aa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174461:(.text+0x161ba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174461:(.text+0x161bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174459:(.text+0x161bbc): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:174459:(.text+0x161bcc): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_16setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301970:(.text+0x161cfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302018:(.text+0x161d26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x161d44): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x161d50): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_17setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301943:(.text+0x161df0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301932:(.text+0x161e62): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301934:(.text+0x161e6e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301936:(.text+0x161e80): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_16setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301970:(.text+0x161eb0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302018:(.text+0x161ee2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302089:(.text+0x161f02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302090:(.text+0x161f10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302089:(.text+0x161fa0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302089:(.text+0x161fea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302089:(.text+0x161ffa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_17setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301921:(.text+0x162046): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x16210a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_13setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301591:(.text+0x162116): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301659:(.text+0x16214e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMDAGetDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57132:(.text+0x162168): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1621ce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301753:(.text+0x1621da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1621ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x162218): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_13setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301576:(.text+0x162246): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301600:(.text+0x16227e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301602:(.text+0x162292): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301602:(.text+0x1622a0): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1622c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_12setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301757:(.text+0x1622d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301757:(.text+0x1622e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301758:(.text+0x1622fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301757:(.text+0x1623d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_13setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301589:(.text+0x162440): undefined reference to `PyModule_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301589:(.text+0x16244c): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1624b0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1624b8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_13setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301611:(.text+0x1624dc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60947:(.text+0x16258e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16260a): undefined reference to `PyBytes_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61017:(.text+0x162772): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61017:(.text+0x16277c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61018:(.text+0x162788): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16279e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1627fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x162806): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x162812): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16281e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16282a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x162834): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60801:(.text+0x16283e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x16284a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61043:(.text+0x16289c): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61043:(.text+0x1628ac): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1628e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1628ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x16292e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61030:(.text+0x16293c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61030:(.text+0x162946): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60837:(.text+0x162952): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60858:(.text+0x16295c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60860:(.text+0x162964): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60863:(.text+0x162972): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60863:(.text+0x16297e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x162986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x162994): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1629a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61017:(.text+0x1629aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x1629ca): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60843:(.text+0x1629d4): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60849:(.text+0x1629e0): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61017:(.text+0x1629fe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61017:(.text+0x162a0a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60888:(.text+0x162a16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60888:(.text+0x162a1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x162a66): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60892:(.text+0x162a84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60948:(.text+0x162aae): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60979:(.text+0x162ab8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60979:(.text+0x162ac4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60953:(.text+0x162b22): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x162b30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60890:(.text+0x162b68): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x162b72): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60901:(.text+0x162b7c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x162c16): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x162c22): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x162c5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x162c86): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x162c94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x162d34): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60792:(.text+0x162d40): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60995:(.text+0x162d78): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60979:(.text+0x162da4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x162db2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x162e52): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60863:(.text+0x162e5e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60901:(.text+0x162e96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60901:(.text+0x162ec2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asStagDims': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60898:(.text+0x162ed0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:60962:(.text+0x162f74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_21sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75704:(.text+0x162f9c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75693:(.text+0x162fa8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x162fc2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450911:(.text+0x162ff2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_20sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75789:(.text+0x163036): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_21sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75748:(.text+0x163040): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75748:(.text+0x163054): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75707:(.text+0x16306a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x16309a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_21sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75741:(.text+0x163104): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x163110): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451074:(.text+0x163138): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16317c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_21sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75733:(.text+0x1631b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75717:(.text+0x1631c2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1631d2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_20sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75792:(.text+0x1631e6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75792:(.text+0x1631f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_21sleep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75723:(.text+0x163238): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451031:(.text+0x163282): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x163358): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1633f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_2addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336538:(.text+0x1634be): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336525:(.text+0x16350a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16355e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x163574): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1635f4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_3addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336456:(.text+0x16367a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x163686): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x163692): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_3addDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336459:(.text+0x16369e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336459:(.text+0x1636aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336459: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x163824): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x163848): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x163870): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x16387c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16388c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184199:(.text+0x1638f4): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184199:(.text+0x16392c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x163936): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x163948): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184294:(.text+0x1639b6): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184259:(.text+0x1639d0): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184283:(.text+0x1639fa): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_344matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184413:(.text+0x163a56): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184413:(.text+0x163a62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184282:(.text+0x163b16): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184283:(.text+0x163b26): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184283:(.text+0x163b2e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184284:(.text+0x163b4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_344matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184402:(.text+0x163b84): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184221:(.text+0x163bba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184221:(.text+0x163bc8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184223:(.text+0x163c1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184230:(.text+0x163c28): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x163d2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x163d38): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_345matMatMult': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184219:(.text+0x163e30): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184223:(.text+0x163e3e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184225:(.text+0x163e90): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184225:(.text+0x163ea4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x163f64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x163f74): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x163ff2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44898:(.text+0x164006): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44985:(.text+0x164112): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44985:(.text+0x16411e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16412a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x164136): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x164142): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45041:(.text+0x16423e): undefined reference to `PyList_Append' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44869:(.text+0x164278): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44882:(.text+0x164284): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1642aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1642b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16430c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45026:(.text+0x164338): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44808:(.text+0x164364): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16438a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1643b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164402): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16440e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16441a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16442a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44881:(.text+0x16453e): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:705:(.text+0x164616): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44935:(.text+0x16472c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44935:(.text+0x164738): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x164882): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x164894): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1648e0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x16493e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49978:(.text+0x164954): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1649a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1649b2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50072:(.text+0x164a92): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x164b34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x164b40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x164b4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x164b58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x164b9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x164be0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49862:(.text+0x164c0c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49893:(.text+0x164c1a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x164cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164cba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164cc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164cd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164ce4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164d20): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x164d66): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49849:(.text+0x164dba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x164dc4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49905:(.text+0x164dd6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49854:(.text+0x164ed6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x164ee2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x164efa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50049:(.text+0x164f26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:705:(.text+0x164f54): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x164f64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50055:(.text+0x164f86): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50058:(.text+0x164fb2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49999:(.text+0x164fec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x165008): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Objective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50015:(.text+0x165040): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x165056): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x165172): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_64getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154867:(.text+0x1651fc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x165208): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x165214): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154796:(.text+0x165270): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154796:(.text+0x165280): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1652ca): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154787:(.text+0x165304): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x165314): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x165322): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_64getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154877:(.text+0x165344): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154894:(.text+0x16535a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x165418): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x165440): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154759:(.text+0x16544c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154762:(.text+0x165458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154762:(.text+0x165464): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154762:(.text+0x165470): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154766: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1655f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_65getFieldConstraintIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154768:(.text+0x165606): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154768:(.text+0x165612): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:154768:(.text+0x165622): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x165630): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x16563c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_361factorNumericLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185496:(.text+0x16571a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185525:(.text+0x165754): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185544:(.text+0x165760): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_360factorNumericLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185582:(.text+0x165774): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_361factorNumericLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185554:(.text+0x1657a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185500:(.text+0x1657bc): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1657e0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x165810): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x16581a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16582c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x165836): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_361factorNumericLU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185540:(.text+0x16584a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185533:(.text+0x1658c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1659a2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_371factorNumericCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186154:(.text+0x165a2c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186154:(.text+0x165a38): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186154:(.text+0x165a44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_370factorNumericCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186251:(.text+0x165aa0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186264:(.text+0x165ab0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_371factorNumericCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186169:(.text+0x165afa): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x165b34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x165b44): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x165b52): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x165b74): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_371factorNumericCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186209:(.text+0x165b8a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186173:(.text+0x165c48): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186186:(.text+0x165c70): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186187:(.text+0x165c7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186191:(.text+0x165c88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186191:(.text+0x165c94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186191:(.text+0x165ca0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186191: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_375factorSymbolicICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186427:(.text+0x165e28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186428:(.text+0x165e36): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186428:(.text+0x165e42): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x165e52): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x165e60): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x165e6c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_375factorSymbolicICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186429:(.text+0x165f4a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186431:(.text+0x165f84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186436:(.text+0x165f90): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186444:(.text+0x165fa4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186449:(.text+0x165fd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186449:(.text+0x165fec): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x166010): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_375factorSymbolicICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186481:(.text+0x166040): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186429:(.text+0x16604a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186429:(.text+0x16605c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186429:(.text+0x166066): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186431:(.text+0x16607a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_369factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186066:(.text+0x1660f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x166208): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166218): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_369factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186050:(.text+0x166236): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186053:(.text+0x166258): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x166278): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_369factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186050:(.text+0x166296): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186050:(.text+0x1662c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186059:(.text+0x1662e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186059:(.text+0x1662f0): undefined reference to `PyBytes_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186063:(.text+0x1662fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186063:(.text+0x166304): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186063:(.text+0x166328): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16634e): undefined reference to `PyBytes_FromString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x166360): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_369factorSymbolicCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186045:(.text+0x1663a8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_17barrier': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85056:(.text+0x166402): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_16barrier': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85115:(.text+0x166418): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_17barrier': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85057:(.text+0x166450): undefined reference to `PyBytes_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85057:(.text+0x16645c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85058:(.text+0x166464): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85058:(.text+0x166486): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_16barrier': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85093:(.text+0x166496): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85130:(.text+0x1664f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x16652a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x166536): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x166542): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x16654e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85093:(.text+0x16656e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85093: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_29copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105964:(.text+0x1665dc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x16668a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166696): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1666a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_29copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106008:(.text+0x1666b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106010:(.text+0x1666c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1666d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1666ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1666f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16671a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x166770): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x166792): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_29copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106024:(.text+0x1667c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106024:(.text+0x1667ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x1667ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16681a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x166824): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_28copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106070:(.text+0x166836): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1668a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1668bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_29copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106014:(.text+0x1668de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_28copy': /usr/include/python3.12/object.h:705:(.text+0x166976): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_28copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106070:(.text+0x166a0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_131buildSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223905:(.text+0x166adc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x166b28): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_131buildSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223899:(.text+0x166b7c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223901:(.text+0x166b92): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x166c12): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_131buildSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223871:(.text+0x166c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223876:(.text+0x166ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223884:(.text+0x166cb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223905:(.text+0x166cbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223876:(.text+0x166cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223879: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224046:(.text+0x166e42): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x166e66): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224085:(.text+0x166e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224085:(.text+0x166e9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224085:(.text+0x166eaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x166f12): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224081:(.text+0x166f4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224083:(.text+0x166f54): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x166f66): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x166fd4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_133buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224095:(.text+0x166fee): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x167018): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16709a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_132buildResidual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224143:(.text+0x167132): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132680:(.text+0x167200): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132730:(.text+0x16724c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1672a0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1672b6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_150copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132777:(.text+0x167336): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132839:(.text+0x1673bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1673c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1673d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132740:(.text+0x1673e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132740:(.text+0x1673ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132740: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_150copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132839:(.text+0x167566): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132791:(.text+0x16758a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_150copy': /usr/include/python3.12/object.h:705:(.text+0x1675b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1675be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_151copy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132705:(.text+0x1675ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132710:(.text+0x167636): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16766e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x167678): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x16768a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18331:(.text+0x1676f8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18333:(.text+0x167712): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16773c): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x167784): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18353:(.text+0x1677aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18353:(.text+0x1677b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_18tompi4py': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85448:(.text+0x16783c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x167848): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16785a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16788a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mpi4py_Comm_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18353:(.text+0x16796a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_18tompi4py': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85433:(.text+0x1679a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ImportFrom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446965:(.text+0x1679f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x167a18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x167a20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x167a6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x167b4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54875:(.text+0x167b70): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54846:(.text+0x167b7c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54885:(.text+0x167c02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54887:(.text+0x167c0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x167c20): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x167c50): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54957:(.text+0x167d30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x167d68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x167dbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54864:(.text+0x167dde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54864:(.text+0x167de6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x167e32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54942:(.text+0x167f10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x167f36): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x167f42): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55006:(.text+0x167fc8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x167fd4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x167fe6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x168016): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54907:(.text+0x1680f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16812e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54913:(.text+0x168182): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54915:(.text+0x1681a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54915:(.text+0x1681ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1681f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1682f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x168302): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54890:(.text+0x16836a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54947:(.text+0x16837a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54810:(.text+0x16839c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54955:(.text+0x1683c8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54836:(.text+0x16841e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x168442): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54949:(.text+0x168458): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54924:(.text+0x1685a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54924:(.text+0x1685ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54842:(.text+0x16861a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54769:(.text+0x16862a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54868:(.text+0x16864c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x168678): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Monitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54885:(.text+0x1686ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54857:(.text+0x1686f2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54857:(.text+0x168708): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x168854): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x168860): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1688cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x1688dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1688fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16892a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x168980): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1689a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_85getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314995:(.text+0x1689ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_84getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315172:(.text+0x168b06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315210:(.text+0x168b12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x168b7c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x168b8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x168bae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_84getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315210:(.text+0x168bda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x168c30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_85getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315001:(.text+0x168c54): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315004:(.text+0x168c6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_84getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315210:(.text+0x168db4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315210:(.text+0x168dc0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x168e2c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_85getFullJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315030:(.text+0x168e3c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314483:(.text+0x168e5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x168e8a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x168ee0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x168f04): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x168f1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314532:(.text+0x169066): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x169072): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1690de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1690ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314523:(.text+0x169110): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16913c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0x169192): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_80getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314654:(.text+0x1691b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314654:(.text+0x1691cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314503:(.text+0x169314): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314503:(.text+0x169320): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_80getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314712:(.text+0x1693ee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_81getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314510:(.text+0x1693fa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314510:(.text+0x16940e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x16943a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_80getMeet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314687:(.text+0x16949e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1694ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x169504): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x16964a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_DATA': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1526:(.text+0x169656): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1696be): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16970a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_82getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314943:(.text+0x16971c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314781:(.text+0x16974e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314781:(.text+0x16975a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314781:(.text+0x16976c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x169798): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314746:(.text+0x1697c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1697d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314772:(.text+0x16981c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x169862): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x169878): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x169980): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x16998c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314752:(.text+0x169a5a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314755:(.text+0x169a66): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314755:(.text+0x169a7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_82getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314961:(.text+0x169aa6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_83getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314759:(.text+0x169b0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x169b5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_82getJoin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314932:(.text+0x169b70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x169cb8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x169cc4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19700:(.text+0x169d92): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19700:(.text+0x169d9e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19732:(.text+0x169db2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x169dde): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x169e40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x169e8e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x169ea4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x169fc4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121844:(.text+0x169fec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121844:(.text+0x169ff8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121823:(.text+0x16a012): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122076:(.text+0x16a042): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x16a074): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121782:(.text+0x16a07c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121906:(.text+0x16a0a6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121965:(.text+0x16a106): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121788:(.text+0x16a17a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121820:(.text+0x16a1b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121820:(.text+0x16a1c2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121836:(.text+0x16a24c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x16a25c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121790:(.text+0x16a264): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121804:(.text+0x16a296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122005:(.text+0x16a2a4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122009:(.text+0x16a2c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122065:(.text+0x16a3a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122065:(.text+0x16a3b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19791:(.text+0x16a3f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x16a41c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121869:(.text+0x16a42a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121810:(.text+0x16a4cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x16a4d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16a518): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_54createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122007:(.text+0x16a544): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:122065:(.text+0x16a552): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x16a5f4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_55createWithArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121790:(.text+0x16a600): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121784:(.text+0x16a640): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121788:(.text+0x16a66c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109740:(.text+0x16a67a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109808:(.text+0x16a71c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109808:(.text+0x16a728): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x16a768): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x16a794): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x16a7a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109763:(.text+0x16a844): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109775:(.text+0x16a850): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_86setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109839:(.text+0x16a890): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16a8bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16a8ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16a96c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16a978): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_86setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109859:(.text+0x16a9b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109771:(.text+0x16a9e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x16a9f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_86setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109869:(.text+0x16aa94): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109883:(.text+0x16aaa0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109782:(.text+0x16aae0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109776:(.text+0x16ab0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_86setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109839:(.text+0x16ab1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x16abbc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x16abc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16ac08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_87setStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109761:(.text+0x16ac34): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109763:(.text+0x16ac42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169856:(.text+0x16ace4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16acf0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169869:(.text+0x16ad30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16ad5c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16ad6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169837:(.text+0x16ae0c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169837:(.text+0x16ae18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16ae58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_168isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169946:(.text+0x16ae84): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169946:(.text+0x16ae92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_169isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169853:(.text+0x16af32): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169853:(.text+0x16af3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_168isHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169900:(.text+0x16af7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16afaa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x16afb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_151hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168379:(.text+0x16b05a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168396:(.text+0x16b066): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168360:(.text+0x16b0a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16b0d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x16b0e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_150hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168451:(.text+0x16b182): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16b18e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16b1ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x16b1fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16b208): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_150hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168545:(.text+0x16b2aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_151hermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168371:(.text+0x16b2b6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168376:(.text+0x16b2f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16b322): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x16b330): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x16b3d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_147transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168045:(.text+0x16b3e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16b420): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x16b44c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16b45a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16b4fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_146transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168117:(.text+0x16b508): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168198:(.text+0x16b548): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_147transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168072:(.text+0x16b574): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x16b582): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_146transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168211:(.text+0x16b624): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168211:(.text+0x16b630): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_147transpose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168042:(.text+0x16b670): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168042:(.text+0x16b69c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16b6aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_165isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169603:(.text+0x16b770): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x16b77c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_165isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169616:(.text+0x16b7b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169616:(.text+0x16b7c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16b7f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_164isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169666:(.text+0x16b802): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16b824): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_165isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169625:(.text+0x16b850): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169585:(.text+0x16b8a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x16b8ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x16b8e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16ba2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x16ba36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_165isSymmetric': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169586:(.text+0x16ba6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169586:(.text+0x16ba80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45331:(.text+0x16baac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45331:(.text+0x16babc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43319:(.text+0x16bade): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x16bb0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x16bb60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45428:(.text+0x16bb84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45465:(.text+0x16bb9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45580:(.text+0x16bce4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16bcf0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45589:(.text+0x16bd28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45595:(.text+0x16bd3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16bd66): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16bd76): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45611:(.text+0x16bd98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456143:(.text+0x16bdc4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16be1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16be3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16be54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16bf9e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16bfaa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16bfe2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16bff4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16c020): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16c030): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x16c052): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45336:(.text+0x16c07e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16c0d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x16c0f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45336:(.text+0x16c10e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45531:(.text+0x16c258): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16c264): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45497:(.text+0x16c29c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45338:(.text+0x16c2ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45507:(.text+0x16c2da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45567:(.text+0x16c2ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16c30c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45578:(.text+0x16c338): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45585:(.text+0x16c38e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45586:(.text+0x16c3b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16c3c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45538:(.text+0x16c512): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45539:(.text+0x16c51e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45539:(.text+0x16c556): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45529:(.text+0x16c568): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456143:(.text+0x16c594): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45531:(.text+0x16c5a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16c5c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Converged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45501:(.text+0x16c5f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x16c648): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_11getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81449:(.text+0x16c66c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_10getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81483:(.text+0x16c682): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16c7cc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16c7d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_23getActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83179:(.text+0x16c810): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83179:(.text+0x16c822): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16c84e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_19getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82809:(.text+0x16c85e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x16c880): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_18getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82860:(.text+0x16c8ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16c902): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_19getActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82815:(.text+0x16c926): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16c93c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275334:(.text+0x16ca86): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16ca92): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x16caca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275345:(.text+0x16cadc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16cb08): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275357:(.text+0x16cb18): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275370:(.text+0x16cb3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16cb66): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16cbbc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16cbe0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16cbf6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x16cd40): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16cd4c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_103setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275180:(.text+0x16cd84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275189:(.text+0x16cd96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275208:(.text+0x16cdc2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275208:(.text+0x16cdd2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275182:(.text+0x16cdf4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275203:(.text+0x16ce20): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275197:(.text+0x16ce76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x16ce9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_102setConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275323:(.text+0x16ceb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_16setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101518:(.text+0x16cffa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101477:(.text+0x16d006): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x16d03e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101442:(.text+0x16d050): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x16d07c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101466:(.text+0x16d08c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_16setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101497:(.text+0x16d0ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_17setDefaultType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101448:(.text+0x16d0da): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101451:(.text+0x16d130): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101455:(.text+0x16d154): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101455:(.text+0x16d16a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16d2b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16d2c0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16d2f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16d30a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29678:(.text+0x16d336): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29678:(.text+0x16d346): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29680:(.text+0x16d368): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14_Vec_LocalForm___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29746:(.text+0x16d394): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_14_Vec_LocalForm_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29660:(.text+0x16d3ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29667:(.text+0x16d40e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29667:(.text+0x16d424): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x16d56e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x16d57a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48629:(.text+0x16d5b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x16d5c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48658:(.text+0x16d5f0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48665:(.text+0x16d600): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16d622): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x16d64e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48761:(.text+0x16d6a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x16d6c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x16d6de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16d828): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16d834): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16d86c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48834:(.text+0x16d87e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48837:(.text+0x16d8aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48837:(.text+0x16d8ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x16d8dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16d908): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x16d95e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16d982): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16d998): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48686:(.text+0x16dae2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48688:(.text+0x16daee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48695:(.text+0x16db26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16db38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48585:(.text+0x16db64): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48747:(.text+0x16db74): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16db96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x16dbc2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48709:(.text+0x16dc18): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48775:(.text+0x16dc3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48775:(.text+0x16dc52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x16dd9c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48702:(.text+0x16dda8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48837:(.text+0x16dde2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48695:(.text+0x16ddf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48665:(.text+0x16de20): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16de30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x16de52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_EventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48669:(.text+0x16de7e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48847:(.text+0x16ded4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46026:(.text+0x16def8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16df0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49004:(.text+0x16e058): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48995:(.text+0x16e064): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16e09c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49020:(.text+0x16e0ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x16e0da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x16e0ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49037:(.text+0x16e10c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16e138): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49054:(.text+0x16e18e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16e1b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16e1c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16e312): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16e31e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49099:(.text+0x16e356): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49099:(.text+0x16e368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13036:(.text+0x16e394): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16e3a4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16e3c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16e3f2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48944:(.text+0x16e448): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16e46c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16e482): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x16e5cc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x16e5d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x16e610): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x16e622): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49020:(.text+0x16e64e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49037:(.text+0x16e65e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16e680): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_PostEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49039:(.text+0x16e6ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49051:(.text+0x16e702): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49054:(.text+0x16e726): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48961:(.text+0x16e73c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50978:(.text+0x16e886): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50978:(.text+0x16e892): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16e8ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49804:(.text+0x16e8dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16e908): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x16e918): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16e93a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16e966): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51112:(.text+0x16e9bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51115:(.text+0x16e9e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51123:(.text+0x16e9f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51219:(.text+0x16eb3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51219:(.text+0x16eb4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16eb82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16eb94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x16ebc0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16ebd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x16ebf2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16ec1e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x16ec74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51099:(.text+0x16ec98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16ecae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16edf8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16ee04): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16ee3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16ee4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x16ee7a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50984:(.text+0x16ee8a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16eeac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50985:(.text+0x16eed8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51150:(.text+0x16ef2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16ef52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51117:(.text+0x16ef68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51202:(.text+0x16f0b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51202:(.text+0x16f0be): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51219:(.text+0x16f0f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x16f108): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16f134): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51159:(.text+0x16f144): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51148:(.text+0x16f166): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x16f192): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51122:(.text+0x16f1e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51122:(.text+0x16f20c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51086:(.text+0x16f222): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50755:(.text+0x16f36c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50755:(.text+0x16f378): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x16f3b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50821:(.text+0x16f3c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16f3ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x16f3fe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x16f420): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x16f44c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16f4a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50905:(.text+0x16f4c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50911:(.text+0x16f4dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50968:(.text+0x16f626): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50777:(.text+0x16f632): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50805:(.text+0x16f66a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50805:(.text+0x16f67c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x16f6a8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50700:(.text+0x16f6b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16f6da): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x16f706): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16f75c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16f780): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x16f796): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50849:(.text+0x16f8e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50852:(.text+0x16f8ec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50858:(.text+0x16f924): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16f936): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50691:(.text+0x16f962): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50804:(.text+0x16f972): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50832:(.text+0x16f994): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50894:(.text+0x16f9c0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50896:(.text+0x16fa14): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50901:(.text+0x16fa38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16fa4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50689:(.text+0x16fb96): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x16fba2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50828:(.text+0x16fbda): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50828:(.text+0x16fbec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_ObjGrad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50832:(.text+0x16fc18): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50832:(.text+0x16fc28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memset': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:59:(.text+0x16fc4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406786:(.text+0x16fc76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x16fccc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406812:(.text+0x16fcf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x16fd06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407054:(.text+0x16fe50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16fe5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x16fe94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x16fea6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x16fed2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x16fee2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x16ff04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x16ff30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407130:(.text+0x16ff86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407143:(.text+0x16ffaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x16ffc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x17010a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x170116): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407224:(.text+0x17014e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407224:(.text+0x170160): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407224:(.text+0x17018c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407226:(.text+0x17019c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1701be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406845:(.text+0x1701ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_slice_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407373:(.text+0x170240): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407941:(.text+0x170264): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407973:(.text+0x17027a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407293:(.text+0x1703c4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407293:(.text+0x1703d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_slice_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408010:(.text+0x170408): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x17041a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x170446): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x170456): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x170478): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1704a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464730:(.text+0x1704fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17051e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406923:(.text+0x170534): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17067e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17068a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1706c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1706d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x170700): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_slice_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407457:(.text+0x170710): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406788:(.text+0x170732): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407285:(.text+0x17075e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406910:(.text+0x1707b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1707d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1707ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_slice_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407746:(.text+0x170938): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464732:(.text+0x170944): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_slice_memviewslice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408067:(.text+0x17097c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408069:(.text+0x17098e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407156:(.text+0x1709ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407156:(.text+0x1709ca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406908:(.text+0x1709ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407257:(.text+0x170a18): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407267:(.text+0x170a6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464733:(.text+0x170a92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x170aa8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memview_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407257:(.text+0x170bf2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407257:(.text+0x170bfe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407267:(.text+0x170c36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407057:(.text+0x170c48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407226:(.text+0x170c74): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407226:(.text+0x170c84): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407285:(.text+0x170ca6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407079:(.text+0x170cd2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407101:(.text+0x170d28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x170d4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x170d62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x170eac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x170eb8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402720:(.text+0x170ef0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402764:(.text+0x170f02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x170f2e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x170f3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402719:(.text+0x170f60): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x170f8c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402730:(.text+0x170fe2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x171006): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402784:(.text+0x17101c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x171166): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_73setInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305803:(.text+0x171172): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56866:(.text+0x1711aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56877:(.text+0x1711bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1711e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456807:(.text+0x1711f8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456857:(.text+0x17121a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_72setInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305872:(.text+0x171246): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x17129c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1712c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1712d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56913:(.text+0x171420): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56926:(.text+0x17142c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56928:(.text+0x171464): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x171476): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56933:(.text+0x1714a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1714b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_73setInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305823:(.text+0x1714d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56883:(.text+0x171500): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_73setInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305826:(.text+0x171556): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:305826:(.text+0x17157a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56902:(.text+0x171590): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1716da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1716e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_dainterpolationtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56926:(.text+0x17171e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:56928:(.text+0x171730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17175c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17176c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456974:(.text+0x17178e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456970:(.text+0x1717ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x171810): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMDAInterpolationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456857:(.text+0x171834): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_25setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302483:(.text+0x17184a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_24setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302552:(.text+0x171994): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302576:(.text+0x1719a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_25setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302517:(.text+0x1719d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302503:(.text+0x1719ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302506:(.text+0x171a16): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_24setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302562:(.text+0x171a26): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_25setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302510:(.text+0x171a48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x171a74): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x171ac8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_25setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302532:(.text+0x171aec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x171b02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_70setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96523:(.text+0x171c48): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96523:(.text+0x171c54): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_71setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96460:(.text+0x171c8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96463:(.text+0x171c9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x171cca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_71setFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96467:(.text+0x171cda): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96467:(.text+0x171cfc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x171d28): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x171d7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x171da2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x171db8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_5setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330959:(.text+0x171f02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330932:(.text+0x171f0e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330937:(.text+0x171f46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330940:(.text+0x171f58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330944:(.text+0x171f84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330944:(.text+0x171f94): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x171fb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x171fe2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_5setStencilType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330966:(.text+0x172038): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_9setStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101852:(.text+0x17205c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101863:(.text+0x172072): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101872:(.text+0x1721bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101886:(.text+0x1721c8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101875:(.text+0x172200): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x172212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_9setStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101879:(.text+0x17223e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101879:(.text+0x17224e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x172270): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x17229c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1722f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_77setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306013:(.text+0x172316): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17232c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_77setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306036:(.text+0x172476): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306022:(.text+0x172482): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1724ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_76setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306081:(.text+0x1724cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_77setElementType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:306029:(.text+0x1724f8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x172508): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17252a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x172556): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326408:(.text+0x1725ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326408:(.text+0x1725d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1725e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x172730): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17273c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326461:(.text+0x172774): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x172786): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326413:(.text+0x1727b2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326487:(.text+0x1727c2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326488:(.text+0x1727e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_254metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x172810): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x172864): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x172888): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326420:(.text+0x17289e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326414:(.text+0x1729e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326447:(.text+0x1729f2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326448:(.text+0x172a0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326458:(.text+0x172a3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_254metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x172a6e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x172a7e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326568:(.text+0x172aa0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x172acc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_255metricEnforceSPD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326442:(.text+0x172b06): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326436:(.text+0x172b22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x172b5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x172b70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x172c9c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x172ca8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x172ce0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x172cf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x172d1e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46150:(.text+0x172d2e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46162:(.text+0x172d50): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x172d7c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x172dd2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46292:(.text+0x172df6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x172e0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46202:(.text+0x172f56): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46213:(.text+0x172f62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x172f9a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46100:(.text+0x172fac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x172fd8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x172fe8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17300a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x173036): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17308c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1730b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1730c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x173210): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x17321c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46107:(.text+0x173254): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x173266): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46256:(.text+0x173292): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46258:(.text+0x1732a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46263:(.text+0x1732c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1732f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x173346): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46239:(.text+0x17336a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46241:(.text+0x173380): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46272:(.text+0x1734ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1734d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17350e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46265:(.text+0x173520): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46235:(.text+0x17354c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46235:(.text+0x17355c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17357e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46239:(.text+0x1735aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1735fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x173622): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_55stateIncrease': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88842:(.text+0x173638): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_295localForm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141577:(.text+0x173780): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141578:(.text+0x17378c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_294localForm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141620:(.text+0x1737c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141620:(.text+0x1737d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x173802): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_17getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78292:(.text+0x173812): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x173834): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_17getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78304:(.text+0x173860): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78298:(.text+0x1738b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_16getTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78360:(.text+0x1738da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78361:(.text+0x1738f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_149setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257066:(.text+0x173a3a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x173a46): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x173a7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x173a90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_149setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257097:(.text+0x173abc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257072:(.text+0x173acc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x173aee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_148setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257150:(.text+0x173b1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x173b70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_149setErrorIfStepFails': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257080:(.text+0x173b94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x173baa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321581:(.text+0x173cf4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x173d00): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x173d38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x173d4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_160setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321645:(.text+0x173d76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321655:(.text+0x173d86): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321625:(.text+0x173da8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321584:(.text+0x173dd4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x173e2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321614:(.text+0x173e4e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321616:(.text+0x173e64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321596:(.text+0x173fae): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321600:(.text+0x173fba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x173ff2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x174004): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x174030): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_161setRefinementUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321625:(.text+0x174040): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321586:(.text+0x174062): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241208:(.text+0x17408e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x1740e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x174108): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_194setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241283:(.text+0x17411e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:481:(.text+0x174268): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:488:(.text+0x174274): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:490:(.text+0x1742ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:495:(.text+0x1742be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:497:(.text+0x1742ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:508:(.text+0x1742fa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x17431c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241263:(.text+0x174348): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:503:(.text+0x17439e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:505:(.text+0x1743c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:506:(.text+0x1743d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x174522): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x17452e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241233:(.text+0x174566): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241234:(.text+0x174578): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1745a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1745b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1745d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_195setUseMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241224:(.text+0x174602): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:488:(.text+0x174658): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:489:(.text+0x17467c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:489:(.text+0x174692): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:506:(.text+0x1747dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:506:(.text+0x1747e8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:505:(.text+0x174820): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:504:(.text+0x174832): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x17485e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESSetUseMFFD': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:503:(.text+0x17486e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:503:(.text+0x174890): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:495:(.text+0x1748bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:497:(.text+0x174912): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x174936): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_121setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236885:(.text+0x17494c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x174a96): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x174aa2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_121setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236931:(.text+0x174ada): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236906:(.text+0x174aec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_120setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236960:(.text+0x174b18): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236984:(.text+0x174b28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453170:(.text+0x174b4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x174b76): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x174bcc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x174bf0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_121setResetCounters': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236910:(.text+0x174c06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x174d50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x174d5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_108setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317672:(.text+0x174d94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x174da6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317642:(.text+0x174dd2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317601:(.text+0x174de2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x174e04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x174e30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317608:(.text+0x174e86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x174eaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_108setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317662:(.text+0x174ec0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x17500a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x175016): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17504e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_109setAdjacencyUseAnchors': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317603:(.text+0x175060): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_245setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263871:(.text+0x17508c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263871:(.text+0x17509c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1750be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1750ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_244setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263956:(.text+0x175140): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_245setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263926:(.text+0x175164): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263926:(.text+0x17517a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x1752c4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x1752d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x175308): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x17531a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_244setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263956:(.text+0x175346): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_245setThetaEndpoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263896:(.text+0x175356): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263901:(.text+0x175378): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263901:(.text+0x1753a4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263926:(.text+0x1753fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263887:(.text+0x17541e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_199setUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241413:(.text+0x175434): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241427:(.text+0x17557e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241428:(.text+0x17558a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1755c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1755d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_199setUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241459:(.text+0x175600): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241459:(.text+0x175610): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESSetUseFDColoring': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:550:(.text+0x175632): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:552:(.text+0x17565e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1756b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_199setUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241468:(.text+0x1756d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241413:(.text+0x1756ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241439:(.text+0x175838): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x175844): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17587c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17588e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_199setUseFD': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:241429:(.text+0x1758ba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `SNESSetUseFDColoring': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:541:(.text+0x1758ca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:541:(.text+0x1758ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:550:(.text+0x175918): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:551:(.text+0x17596e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:551:(.text+0x175992): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:552:(.text+0x1759a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x175af2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17873:(.text+0x175afe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iskey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17477:(.text+0x175b36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x175b48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x175b74): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x175b84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x175ba6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x175bd2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446757:(.text+0x175c28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x175c4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17714:(.text+0x175c62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x175dac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17768:(.text+0x175db8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x175df2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x175e04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x175e30): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x175e40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17837:(.text+0x175e62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x175e8e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x175ee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x175f08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x175f1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17716:(.text+0x176068): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x176074): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446803:(.text+0x1760ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17748:(.text+0x1760be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1760ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1760fa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x17611c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x176148): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_getkey': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17843:(.text+0x17619e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1761c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1761d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x176322): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_12getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84860:(.text+0x17632e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x176366): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x176378): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1763a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_12getSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84856:(.text+0x1763b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1763d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x176402): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm_14getRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84966:(.text+0x176458): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x17647c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_15getRank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84945:(.text+0x176492): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:84945:(.text+0x1765dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1765e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_23setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216929:(.text+0x176620): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216929:(.text+0x176632): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17665e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x17666e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x176690): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_23setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216978:(.text+0x1766bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x176712): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x176736): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_23setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216969:(.text+0x17674c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x176896): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1768a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_37setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285203:(.text+0x1768da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285203:(.text+0x1768ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x176918): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_37setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285232:(.text+0x176928): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17694a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_37setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285252:(.text+0x176976): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1769cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1769f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_37setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285243:(.text+0x176a06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x176b50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x176b5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_43setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249315:(.text+0x176b94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x176ba6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_43setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249344:(.text+0x176bd2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_42setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249382:(.text+0x176be2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x176c04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_43setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249364:(.text+0x176c30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x176c86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_43setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249353:(.text+0x176caa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249355:(.text+0x176cc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x176e0a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x176e16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_25setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268145:(.text+0x176e4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x176e60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_24setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268212:(.text+0x176e8c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268212:(.text+0x176e9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x176ebe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x176eea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x176f40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_25setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268185:(.text+0x176f64): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268187:(.text+0x176f7a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1770c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_25setAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268194:(.text+0x1770d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70739:(.text+0x177108): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x17711a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70800:(.text+0x177146): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447255:(.text+0x177156): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70783:(.text+0x177178): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70743:(.text+0x1771a4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70774:(.text+0x1771fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70752:(.text+0x17721e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x177234): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x17737e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17738a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1773c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1773d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_39distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117119:(.text+0x177400): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117107:(.text+0x177410): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x177432): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_38distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117173:(.text+0x17745e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117253:(.text+0x1774b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1774da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13848:(.text+0x1774f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x17763c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_38distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117307:(.text+0x177648): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x177680): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x177692): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x1776be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x1776ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1776f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x17771c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_39distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117123:(.text+0x177772): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117124:(.text+0x177796): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1777ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_39distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117121:(.text+0x1778f4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_38distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117195:(.text+0x177900): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x177928): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17794e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x177960): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_39distributeSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117083:(.text+0x1779b0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117083:(.text+0x1779bc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117083:(.text+0x1779d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_scattermode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15685:(.text+0x1779fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453759:(.text+0x177a32): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453759:(.text+0x177a44): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_scattermode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15760:(.text+0x177a4c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15781:(.text+0x177a84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15722:(.text+0x177aa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453872:(.text+0x177ac0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453753:(.text+0x177ad6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_scattermode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15776:(.text+0x177b62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x177c32): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x177c3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453753:(.text+0x177c66): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x177c8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x177c9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_scattermode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15735:(.text+0x177cee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15735:(.text+0x177cfa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:15735:(.text+0x177d0e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_297ghostUpdateBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141639:(.text+0x177d3a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x177d70): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_297ghostUpdateBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141682:(.text+0x177d82): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141682:(.text+0x177d8a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_296ghostUpdateBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141749:(.text+0x177dc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141760:(.text+0x177de4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_297ghostUpdateBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141707:(.text+0x177dfe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141655:(.text+0x177e14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141685:(.text+0x177ea0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141679:(.text+0x177f72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141679:(.text+0x177f7e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141664:(.text+0x177f98): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141678:(.text+0x177ff0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x178002): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_297ghostUpdateBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141657:(.text+0x178064): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141657:(.text+0x178070): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141659:(.text+0x178082): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141937:(.text+0x1780ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1780e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1780ec): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_300ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142015:(.text+0x178122): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x17816a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141993:(.text+0x178182): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141969:(.text+0x178198): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141950:(.text+0x1782d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141964:(.text+0x1782e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141965:(.text+0x1782fa): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_300ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142035:(.text+0x178350): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142044:(.text+0x178362): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1783c4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1783d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1783e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_301ghostUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141943:(.text+0x17840e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141945:(.text+0x178440): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_299ghostUpdateEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141782:(.text+0x17844c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x178482): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_298ghostUpdateEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141872:(.text+0x1784ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141892:(.text+0x1784e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1784f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_299ghostUpdateEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141812:(.text+0x178634): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141816:(.text+0x178640): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141822:(.text+0x1786aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141821:(.text+0x178718): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141821:(.text+0x178724): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x178736): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_299ghostUpdateEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141850:(.text+0x178762): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141800:(.text+0x178794): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141802:(.text+0x1787a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_29scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150337:(.text+0x178832): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150357:(.text+0x17887a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150361:(.text+0x178890): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_28scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150428:(.text+0x17899c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_29scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150312:(.text+0x178aaa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150312:(.text+0x178ac2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x178ace): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x178ada): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_29scatterBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150334:(.text+0x178b38): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150334:(.text+0x178b48): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150372:(.text+0x178bc6): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150304:(.text+0x178c08): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150304:(.text+0x178c1a): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150298:(.text+0x178c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_25begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149954:(.text+0x178c84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149953:(.text+0x178ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_24begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150066:(.text+0x178d78): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_25begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149999:(.text+0x178dd8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149958:(.text+0x178de6): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149959:(.text+0x178dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150011:(.text+0x178eaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150013:(.text+0x178eb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149964:(.text+0x178ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149966:(.text+0x178ece): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149971: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x178f70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x178f78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x178f84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x178f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_25begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149980:(.text+0x179032): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149980:(.text+0x179040): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_25begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149962:(.text+0x1790d6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_33scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150616:(.text+0x179118): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150616:(.text+0x17912c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150616:(.text+0x179138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17917a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_33scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150693:(.text+0x1791a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150695:(.text+0x1791bc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150699:(.text+0x1791f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_32scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150732:(.text+0x17920a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_33scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150699:(.text+0x1792d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150642:(.text+0x1793d6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_32scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150752:(.text+0x1794e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150761:(.text+0x1794fc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_33scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150656:(.text+0x179508): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150656:(.text+0x179514): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150638:(.text+0x179572): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150638:(.text+0x179582): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_31scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150447:(.text+0x179600): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150447:(.text+0x179642): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x179654): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_31scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150526:(.text+0x1796a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150507:(.text+0x1796be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150530:(.text+0x1796dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150531:(.text+0x1797b2): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150469:(.text+0x179812): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150471:(.text+0x179820): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150497:(.text+0x179834): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150481:(.text+0x1798e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150481:(.text+0x1798f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150481:(.text+0x1798fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x179908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_30scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150583:(.text+0x1799aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_31scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150487:(.text+0x1799b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150487:(.text+0x1799be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150487:(.text+0x1799ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_31scatterEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150469:(.text+0x179a6c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150469:(.text+0x179a7a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x179b10): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_27end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150188:(.text+0x179b52): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150190:(.text+0x179b66): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150173:(.text+0x179b72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_26end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150235:(.text+0x179bb4): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150256:(.text+0x179be0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_27end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150203:(.text+0x179bf6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150128:(.text+0x179c2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150192:(.text+0x179c44): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150140:(.text+0x179d10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150165:(.text+0x179e12): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150165:(.text+0x179e1e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x179e8a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_27end': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150133:(.text+0x179ed8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150135:(.text+0x179eea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150131:(.text+0x179f1c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150131:(.text+0x179f28): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150129:(.text+0x179f3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422914:(.text+0x179f66): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422922:(.text+0x179f98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422921:(.text+0x179fa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399474:(.text+0x179fee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399525:(.text+0x17a036): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399557:(.text+0x17a04c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399563:(.text+0x17a148): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x17a186): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399837:(.text+0x17a24a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x17a256): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464687:(.text+0x17a262): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x17a2c2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17a2d2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17a340): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399869:(.text+0x17a382): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x17a394): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399880:(.text+0x17a3d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17a3f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17a4b8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x17a4e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399542:(.text+0x17a4ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17a4fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17a506): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17a512): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399716:(.text+0x17a580): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x17a58c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422917:(.text+0x17a686): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399477:(.text+0x17a6b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399477:(.text+0x17a6bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399477:(.text+0x17a6c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17a708): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_fill_contig_strides_array': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410372:(.text+0x17a7be): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:410372:(.text+0x17a7ca): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400043:(.text+0x17a7da): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400044:(.text+0x17a7f8): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17a80c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400056:(.text+0x17a818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399619:(.text+0x17a856): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399542:(.text+0x17a888): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399542:(.text+0x17a8a0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399964:(.text+0x17a8be): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399482:(.text+0x17a988): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399538:(.text+0x17aa6e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399494:(.text+0x17aaac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399522:(.text+0x17ab70): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399651:(.text+0x17ab7c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399651:(.text+0x17ab88): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399683:(.text+0x17abe8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399685:(.text+0x17abf8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17ac66): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17aca8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17acba): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17acfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399728:(.text+0x17ad18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399716:(.text+0x17adde): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399730:(.text+0x17ae08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17ae14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17ae20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399538:(.text+0x17ae2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399538:(.text+0x17ae38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399922: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399683:(.text+0x17aea6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399506:(.text+0x17aeb2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400014:(.text+0x17afac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400014:(.text+0x17afd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400084:(.text+0x17afe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400084:(.text+0x17afee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400088:(.text+0x17b02e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400007:(.text+0x17b0e4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400007:(.text+0x17b0f0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400007:(.text+0x17b100): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400084:(.text+0x17b11e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:400009:(.text+0x17b132): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_array___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399478:(.text+0x17b13e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399486:(.text+0x17b17c): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399484:(.text+0x17b1ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399484:(.text+0x17b1c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399484:(.text+0x17b1e4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_178constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322759:(.text+0x17b2ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17b394): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17b3d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_178constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322826:(.text+0x17b496): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322826:(.text+0x17b4a2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_179constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322688:(.text+0x17b4ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322693:(.text+0x17b50e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322672:(.text+0x17b51e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17b58c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_179constructGhostCells': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322688:(.text+0x17b5ce): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322688:(.text+0x17b5e0): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x17b620): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17b63e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x17b704): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17b72e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17b73a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_5__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70350:(.text+0x17b746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70350:(.text+0x17b752): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70352:(.text+0x17b75e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x17b7cc): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_5__repr__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70330:(.text+0x17b7d8): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70325:(.text+0x17b8d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367564:(.text+0x17b8fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367592:(.text+0x17b908): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/include/python3.12/cpython/bytesobject.h:37:(.text+0x17b914): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x17b954): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367695:(.text+0x17ba0a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367707:(.text+0x17ba16): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367984:(.text+0x17ba26): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367986:(.text+0x17ba44): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x17ba58): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447054:(.text+0x17ba64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367895:(.text+0x17baa2): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x17bad4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17baec): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367908:(.text+0x17bb0a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17bbd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x17bcba): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x17bcf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367797:(.text+0x17bdbc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367797:(.text+0x17bdc8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367799:(.text+0x17bdd4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x17be34): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17be44): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367863:(.text+0x17beb2): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x17bef4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447982:(.text+0x17bf06): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17bf46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367909:(.text+0x17bf64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367540:(.text+0x17c02a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17c054): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367548:(.text+0x17c060): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367659:(.text+0x17c06c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367548:(.text+0x17c078): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367682:(.text+0x17c084): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_6_PyObj_getname': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367726:(.text+0x17c0f2): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:367726:(.text+0x17c0fe): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_52getDict': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88812:(.text+0x17c1f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17c222): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17c22e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17c23a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10_IS_buffer_9__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23550:(.text+0x17c27a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:23594:(.text+0x17c330): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17c33c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17c34c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x17c36a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17c37e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x17c38a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x17c3c8): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_9__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28912:(.text+0x17c3fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28912:(.text+0x17c412): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11_Vec_buffer_8__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28954:(.text+0x17c430): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x17c4fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_185normBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135030:(.text+0x17c5e0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x17c61e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x17c6e2): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x17c6ee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459430:(.text+0x17c6fa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_185normBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135000:(.text+0x17c75a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135001:(.text+0x17c76a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17c7d8): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_185normBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134991:(.text+0x17c81a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382369:(.text+0x17c82c): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382382:(.text+0x17c86c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x17c88a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x17c950): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x17c97a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x17c986): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x17c992): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x17c99e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x17c9aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:647: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x17ca18): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x17ca24): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17cb1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382636:(.text+0x17cb48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382636:(.text+0x17cb54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x17cb60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x17cba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382627:(.text+0x17cc56): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382627:(.text+0x17cc62): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x17cc72): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x17cc90): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x17cca4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382539:(.text+0x17ccb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17ccee): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17cd20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17cd38): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x17cd56): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x17ce20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCMatApply_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382503:(.text+0x17cf06): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382636:(.text+0x17cf44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_42getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73586:(.text+0x17d008): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x17d014): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_42getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73596:(.text+0x17d020): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x17d080): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17963:(.text+0x17d090): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x17d0fe): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x17d140): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x17d152): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17d192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x17d1b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17d276): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x17d2a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17292:(.text+0x17d2ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17302:(.text+0x17d2b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17312:(.text+0x17d2c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17d2d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x17d33e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x17d34a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17d444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x17d46e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17d47a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18069:(.text+0x17d486): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18071:(.text+0x17d4c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18165:(.text+0x17d57c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18165:(.text+0x17d588): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17d598): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17d5b6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17d5ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17d5d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17d614): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17d646): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17d65e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17d67c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17960:(.text+0x17d746): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_42getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73617:(.text+0x17d848): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x17d854): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x17d896): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18165:(.text+0x17d930): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18165:(.text+0x17d93c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17d950): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17d980): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_42getAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73617:(.text+0x17d9ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17410:(.text+0x17da2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17da42): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17942:(.text+0x17da54): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17942:(.text+0x17da5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18137:(.text+0x17da7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_tokenize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:17347:(.text+0x17da92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x17daa2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_parseopt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:18059:(.text+0x17daf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17dc1c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17dc28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x17dc74): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17dc8a): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x17dd20): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x17dd2c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17dd40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115705:(.text+0x17dd6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x17dd9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17dda6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x17ddd8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x17ddfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x17de12): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17de24): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115752:(.text+0x17de32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x17de48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17df58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17df64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x17dfe4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115705:(.text+0x17e056): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115705:(.text+0x17e062): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115768:(.text+0x17e074): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17e0a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_array_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13904:(.text+0x17e0d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115691:(.text+0x17e0de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17e128): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115752:(.text+0x17e170): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x17e186): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115763:(.text+0x17e2ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x17e2d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x17e31a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_20getGraph': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115763:(.text+0x17e32c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115665:(.text+0x17e358): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115665:(.text+0x17e368): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17e38a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17e3b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_35setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103934:(.text+0x17e40c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17e430): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_35setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103966:(.text+0x17e446): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_34setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104058:(.text+0x17e57a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_35setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103954:(.text+0x17e594): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103954:(.text+0x17e5a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_34setCurrent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104044:(.text+0x17e5d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17e61a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x17e626): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x17e646): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17e676): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54174:(.text+0x17e6a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49795:(.text+0x17e6fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54256:(.text+0x17e74e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17e75e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54268:(.text+0x17e790): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17e832): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x17e83e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x17e882): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x17e894): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17e8c0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17e8d0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17e8f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x17e91e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54391:(.text+0x17e974): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17e998): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17e9ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17eae2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17eafc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17eb08): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17eb38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54256:(.text+0x17eb82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54287:(.text+0x17eb8e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54292:(.text+0x17ebae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17ebde): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x17ec0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54323:(.text+0x17ec60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54338:(.text+0x17ecb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54339:(.text+0x17ecc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17ecf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x17ed7a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x17edb6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x17ede8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54292:(.text+0x17edfa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54303:(.text+0x17ee02): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54294:(.text+0x17ee0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17ee40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17ee4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17ee58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54266:(.text+0x17ee6a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54266:(.text+0x17ee98): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44250:(.text+0x17eee4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17ef20): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17ef52): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44293:(.text+0x17ef64): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44293:(.text+0x17ef6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44306:(.text+0x17ef76): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44341:(.text+0x17efaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44342:(.text+0x17efb8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x17efc2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x17efd4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44399:(.text+0x17f002): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44409:(.text+0x17f04e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44413:(.text+0x17f08a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x17f0bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x17f0ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445856:(.text+0x17f0d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x17f0e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17f114): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x17f122): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17f12c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17f13e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17f16c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44467:(.text+0x17f1b8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17f1f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17f226): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17f238): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17f240): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x17f24a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44281:(.text+0x17f27e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x17f28c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17f296): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17f2a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44454:(.text+0x17f2d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17f322): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x17f35e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44319:(.text+0x17f390): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44319:(.text+0x17f3a2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44320:(.text+0x17f3aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44332:(.text+0x17f3b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44370:(.text+0x17f3e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44372:(.text+0x17f3f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17f400): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44366:(.text+0x17f412): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x17f440): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x17f4b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44409:(.text+0x17f4be): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44411:(.text+0x17f506): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44421:(.text+0x17f550): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x17f55a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44368:(.text+0x17f628): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x17f642): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Update': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44370:(.text+0x17f64e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44255:(.text+0x17f65a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44342:(.text+0x17f6ba): undefined reference to `PyNumber_Negative' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44342:(.text+0x17f6cc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403991:(.text+0x17f716): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403991:(.text+0x17f720): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404023:(.text+0x17f792): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404025:(.text+0x17f7b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x17f7ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404033:(.text+0x17f87e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x17f94a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404120:(.text+0x17f9b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x17fa0a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x17fb62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x17fb6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17fb92): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x17fcbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404101:(.text+0x17fcc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404101:(.text+0x17fcd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404023:(.text+0x17fce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403970:(.text+0x17fcf2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404023:(.text+0x17fcfe): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404106:(.text+0x17fd24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404106:(.text+0x17fd30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404106:(.text+0x17fd3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x17fd6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x17fd7c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404090:(.text+0x17fda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x17fdb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17fdbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17fdca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x17fdd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408700: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x17fdfa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryviewslice_assign_item_from_object': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408748:(.text+0x17fe1c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x17fe2a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373473:(.text+0x17fea0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x17fee6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x17ff6c): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x17ff80): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366003:(.text+0x17ffa4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x17ffc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x17ffce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x17ffda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373650:(.text+0x18003a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/classobject.h:40: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x18036e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x18037a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1803a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1803d6): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1803e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x180438): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTranspose_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373587:(.text+0x180504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373587:(.text+0x180510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373602:(.text+0x18051c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373596:(.text+0x18052a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373602:(.text+0x180536): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373607: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x18065e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373814:(.text+0x180694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1806cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365932:(.text+0x18070a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x180716): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1807ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1809c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x180a1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373920:(.text+0x180a28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x180a38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373797:(.text+0x180b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x180b9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373863:(.text+0x180c10): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373864:(.text+0x180c26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373864:(.text+0x180c48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373873:(.text+0x180c5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373884:(.text+0x180c72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373885:(.text+0x180c92): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x180c9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373960:(.text+0x180cc8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168565:(.text+0x180cd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168565:(.text+0x180cec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_152realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168687:(.text+0x180ee4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_153realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168615:(.text+0x180f26): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_152realPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168687:(.text+0x180f32): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x181052): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18117e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18118a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_157conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168951:(.text+0x1812c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_156conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169057:(.text+0x1812f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169100:(.text+0x181368): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169100:(.text+0x18137e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_157conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168965:(.text+0x1813be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168965:(.text+0x1813d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1813fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x181416): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_157conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168995:(.text+0x181432): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168951:(.text+0x18143e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168951:(.text+0x18145c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_155imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168761:(.text+0x18147e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168783:(.text+0x1814c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x181704): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1817c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1817da): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1817ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_155imagPart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168810:(.text+0x1817f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_149setTransposePrecursor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168260:(.text+0x18187c): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168273:(.text+0x18197a): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168254:(.text+0x1819c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1819e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_149setTransposePrecursor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:168258:(.text+0x181a1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x181a5e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x181b98): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_5load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283522:(.text+0x181c2e): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283525:(.text+0x181c68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283525:(.text+0x181c78): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283525:(.text+0x181c8a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x181dce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_32setFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147647:(.text+0x181df6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_33setFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147629:(.text+0x181e1e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x181e86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_33setFaceQuadrature': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147615:(.text+0x181ea8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147615:(.text+0x181eb4): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147617:(.text+0x181ec2): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147617:(.text+0x181eda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147590:(.text+0x181ee6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147596:(.text+0x181ef2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147609:(.text+0x181efe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147595:(.text+0x181f0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147598: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x182102): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_25restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360471:(.text+0x182110): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360477:(.text+0x1821c4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_24restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360550:(.text+0x182208): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360550:(.text+0x182218): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_25restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360484:(.text+0x18222c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x182278): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x182292): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1822a6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1822b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1822c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_25restoreVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360511:(.text+0x1822d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360511:(.text+0x1822e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_115projectCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289964:(.text+0x182348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289974: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_115projectCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289947:(.text+0x1824dc): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x18250c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x182522): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x182546): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x182642): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x182656): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18267c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18268e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1826a2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1827dc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_155load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133027:(.text+0x18289a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133042:(.text+0x1828b2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_154load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133082:(.text+0x1828c2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133128:(.text+0x1828ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x182954): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_155load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133046:(.text+0x182a52): undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_154load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133128:(.text+0x182aa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_155load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133025:(.text+0x182abe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x182af2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x182b36): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_33hasExternalPackage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76740:(.text+0x182c70): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x182d06): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x182d40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_32hasExternalPackage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76819:(.text+0x182d50): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76819:(.text+0x182d62): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_33hasExternalPackage': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76706:(.text+0x182ea6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_143load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167569:(.text+0x182ece): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x182ef6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_143load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167623:(.text+0x182f5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x182f80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_142load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167681:(.text+0x182f8c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167699:(.text+0x182f9a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_143load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167583:(.text+0x182fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x182fbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x182fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x182fd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x182fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_143load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167584:(.text+0x1831de): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:167584:(.text+0x1831ec): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_31load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106224:(.text+0x1832a0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106183:(.text+0x1832e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1832f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x183308): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_31load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106208:(.text+0x183354): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106210:(.text+0x18336e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106214:(.text+0x183382): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106214:(.text+0x18338e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106185:(.text+0x18339e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106190:(.text+0x1833ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106204:(.text+0x1833be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106193:(.text+0x183424): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106273: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_117getBuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129849:(.text+0x1835b8): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1835e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1835fe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26399:(.text+0x183622): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_117getBuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129820:(.text+0x18371e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x183732): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26436:(.text+0x183758): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26436:(.text+0x18376a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getbuffer_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26507:(.text+0x18377e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_117getBuffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129821:(.text+0x1838fa): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_51getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219021:(.text+0x183906): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x183912): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18391e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x183a50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_180getPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259969:(.text+0x183b9c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_181getPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259950:(.text+0x183bb0): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x183bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x183bde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_181getPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259943:(.text+0x183bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259944:(.text+0x183bf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259944:(.text+0x183c04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_180getPostStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259986:(.text+0x183c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259986:(.text+0x183c30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259986:(.text+0x183c3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x183c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_111getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236069:(.text+0x183d16): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236069:(.text+0x183d24): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x183d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_45getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249424:(.text+0x183e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_44getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249466:(.text+0x183e68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249466:(.text+0x183e74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249466:(.text+0x183e80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249466: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x183f54): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_71getInitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:232668:(.text+0x183f62): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x183fe8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x183ffe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_162getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258301:(.text+0x18403a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_163getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258276:(.text+0x1840a6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_162getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258318:(.text+0x1840da): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18418a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_79getUpdate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:233516:(.text+0x1841bc): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x18424e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x184262): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_39getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285318:(.text+0x18429e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285312:(.text+0x1842e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_38getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285354:(.text+0x18431a): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1843d4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_25getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217038:(.text+0x184406): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18450e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18451c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_112getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275981:(.text+0x18456c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275981:(.text+0x184578): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1845b4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_27getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268248:(.text+0x1845c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1845ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1845da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1845e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_27getAppCtx': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268252:(.text+0x1845f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268279: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272851:(.text+0x1847da): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1847ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_19getFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195490:(.text+0x184846): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18491c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_177getPreStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259633:(.text+0x1849e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259633:(.text+0x1849f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x184a44): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x184a54): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x184a76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_124getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237305:(.text+0x184aa2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_125getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237280:(.text+0x184b04): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_124getMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237322:(.text+0x184b28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237322:(.text+0x184b3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_104getConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275444:(.text+0x184c52): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275444:(.text+0x184c5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275444:(.text+0x184c7a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x184c94): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x184ca2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_205setBDDCNeumannBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210570:(.text+0x184cc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210580:(.text+0x184cd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x184d2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x184d36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_205setBDDCNeumannBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210624:(.text+0x184d4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x184d76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x184da6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x184db0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_205setBDDCNeumannBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210610:(.text+0x184dea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210590:(.text+0x184e1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210590:(.text+0x184e38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210593:(.text+0x184e4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x184fa2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_75copyDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287761:(.text+0x1850c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287737:(.text+0x1850d8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287743:(.text+0x1850e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287751:(.text+0x1850f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_74copyDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287803:(.text+0x185150): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1851e6): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_97setHYPREDiscreteCurl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202766:(.text+0x185228): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202766:(.text+0x18523a): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202810:(.text+0x18528a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_96setHYPREDiscreteCurl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202849:(.text+0x1852b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_97setHYPREDiscreteCurl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202820:(.text+0x1852ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202789:(.text+0x1853bc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_96setHYPREDiscreteCurl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202852:(.text+0x18540a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202852:(.text+0x185412): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_97setHYPREDiscreteCurl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202793:(.text+0x18542c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202793:(.text+0x18543a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202793:(.text+0x185446): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18545c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_111setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255215:(.text+0x185506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x185512): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18551e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18552a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255237: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_110setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255291:(.text+0x1856d0): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_111setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255232:(.text+0x1856e2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x185762): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1857ce): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_55setPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355921:(.text+0x1857f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18580e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18584c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18586a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1858a4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_55setPointPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355915:(.text+0x1858b8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355900:(.text+0x18594c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329697:(.text+0x185a50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329697:(.text+0x185a5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x185a86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x185a98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329751:(.text+0x185aec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329751:(.text+0x185af8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x185b0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329711:(.text+0x185b38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x185b6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329737:(.text+0x185b82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329741:(.text+0x185ba0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329720:(.text+0x185c0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_14setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329783:(.text+0x185c30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x185d84): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x185d90): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_213setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211214:(.text+0x185dba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x185dcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x185e20): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_213setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211198:(.text+0x185e2c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211200:(.text+0x185e40): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211175:(.text+0x185e6c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211180:(.text+0x185ea2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211183:(.text+0x185ebe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x185ed6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x185f4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x185f72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1860d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1860de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_41setPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218187:(.text+0x1860f6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218187:(.text+0x1860fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218191:(.text+0x18611a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218162:(.text+0x186126): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218181:(.text+0x186146): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218167:(.text+0x186158): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218170:(.text+0x186184): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x186194): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_40setPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218233:(.text+0x1861b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_41setPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218174:(.text+0x1861e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x186242): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x186266): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_41setPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:218201:(.text+0x18627c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_195setBDDCPrimalVerticesLocalIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210071:(.text+0x1863a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210071:(.text+0x1863b4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210075:(.text+0x1863cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210075:(.text+0x1863d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210051:(.text+0x1863f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210065:(.text+0x1863fc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210054:(.text+0x18641c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210054:(.text+0x18642e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_194setBDDCPrimalVerticesLocalIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210117:(.text+0x18645a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210117:(.text+0x18646a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_195setBDDCPrimalVerticesLocalIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210058:(.text+0x18648c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1864b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18651c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_77copyDisc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287822:(.text+0x186540): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287822:(.text+0x186556): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287866:(.text+0x186686): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287866:(.text+0x186692): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287842:(.text+0x1866aa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287848:(.text+0x1866b2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287842:(.text+0x1866ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287845:(.text+0x1866da): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287845:(.text+0x1866fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_76copyDisc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287908:(.text+0x18670c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_77copyDisc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287849:(.text+0x186738): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287849:(.text+0x186748): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18676a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x186796): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_193setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209926:(.text+0x1867f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209936:(.text+0x18681a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x186830): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_193setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209970:(.text+0x18693c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209946:(.text+0x186962): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209952:(.text+0x18696e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209949:(.text+0x18699e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_192setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210012:(.text+0x1869ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_193setBDDCPrimalVerticesIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209953:(.text+0x1869f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209953:(.text+0x186a00): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:209953:(.text+0x186a20): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x186a50): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x186a80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x186ad2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_14setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339300:(.text+0x186b22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x186b32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x186b62): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_15setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339272:(.text+0x186c04): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339248:(.text+0x186c10): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339254:(.text+0x186c28): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339262:(.text+0x186c30): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339251:(.text+0x186c4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339251:(.text+0x186c58): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x186c78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_14setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339314:(.text+0x186c8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_15setGlobalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339255:(.text+0x186cb6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339255:(.text+0x186cc6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x186ce8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x186d14): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_123setGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276687:(.text+0x186d78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x186d9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x186db2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_123setGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276713:(.text+0x186ee2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276721:(.text+0x186eee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276710:(.text+0x186f06): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276710:(.text+0x186f0e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x186f2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x186f36): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_122setGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276773:(.text+0x186f56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_123setGradientNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276714:(.text+0x186f68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276714:(.text+0x186f94): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x186fa4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x186fc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x186ff2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_193solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260331:(.text+0x187052): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260349:(.text+0x187076): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_192solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260392:(.text+0x18708c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_193solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260341:(.text+0x187198): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260343:(.text+0x1871de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1871ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_18apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196752:(.text+0x187370): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_19apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196709:(.text+0x187412): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196696:(.text+0x1874e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_5load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247369:(.text+0x1875a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247369:(.text+0x1875b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1875bc): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1875e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_5load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247413:(.text+0x1875fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_4load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247441:(.text+0x18760a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x187660): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x18766c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1876ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_5load': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247396:(.text+0x18779c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247396:(.text+0x1877ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247396:(.text+0x1877bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1877c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_19setLocalToGlobalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339766:(.text+0x18799a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339749:(.text+0x187a50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:339749:(.text+0x187a7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x187a92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x187aae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x187ac6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x187ae0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x187b3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_115setPartitioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318057:(.text+0x187b5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318100: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x187bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x187bce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x187bd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x187be4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_271coordinatesView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327591:(.text+0x187dee): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x187e86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_271coordinatesView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327607:(.text+0x187f40): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327601:(.text+0x187f50): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327601:(.text+0x187f5c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x187f8a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_270coordinatesView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327667:(.text+0x187f9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_271coordinatesView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327608:(.text+0x187fd0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327608:(.text+0x187fe2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x188016): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x188026): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x188058): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_271coordinatesView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327635:(.text+0x188068): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_313setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142902:(.text+0x18809c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142902:(.text+0x1880aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142934:(.text+0x1880d6): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142956:(.text+0x18812a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18835c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x188444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_165setGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293468:(.text+0x188458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293470:(.text+0x188474): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293474:(.text+0x18848c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293445:(.text+0x1884a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293464: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_45setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349392:(.text+0x1885f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349436:(.text+0x188652): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_44setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349464:(.text+0x188666): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_45setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349406:(.text+0x1886da): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349434:(.text+0x188734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349436:(.text+0x188740): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349436:(.text+0x18874c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349412:(.text+0x188764): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349412:(.text+0x18877a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1887c0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_45setCellDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349419:(.text+0x18881a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18886e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x188928): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_127setLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276944:(.text+0x18894e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276944:(.text+0x18895a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276930:(.text+0x1889e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276934:(.text+0x1889f2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276934:(.text+0x188a04): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276910:(.text+0x188a34): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276932:(.text+0x188aa0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276917:(.text+0x188aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x188b3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_127setLMVMH0': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276944:(.text+0x188b58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_67copyFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287388:(.text+0x188b78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x188be4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_67copyFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287442:(.text+0x188c06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287408:(.text+0x188cf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287411:(.text+0x188d1a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287411:(.text+0x188d26): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x188db2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x188dbe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x188dd0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x188e00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x188e6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_7setLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338297:(.text+0x188e74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338282:(.text+0x188f06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x188f24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_7setLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338306:(.text+0x188f44): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338288:(.text+0x188fb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338291:(.text+0x188fd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338322:(.text+0x1890d0): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x189110): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_200setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210432:(.text+0x189146): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210443:(.text+0x189166): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x189194): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_201setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210374:(.text+0x1891b6): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1891e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1891ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_201setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210402:(.text+0x189218): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_200setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210446:(.text+0x1892b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210446:(.text+0x1892b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210446:(.text+0x1892c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x189304): undefined reference to `PyUnicode_Join' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x189314): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_201setBDDCDirichletBoundaries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210414:(.text+0x18937a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210414:(.text+0x189382): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_91setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254040:(.text+0x1893a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254040:(.text+0x1893ae): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1893d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_91setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254084:(.text+0x1893ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254063:(.text+0x18952c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254063:(.text+0x189538): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254063:(.text+0x189544): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254063:(.text+0x189550): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x18955c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:254126: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1895e2): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1895f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1895fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_225swap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136994:(.text+0x18964c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136994:(.text+0x18965a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136994:(.text+0x189668): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137004:(.text+0x189672): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137017:(.text+0x189808): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x189814): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x189898): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_387setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187030:(.text+0x189908): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187030:(.text+0x189914): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x189926): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_387setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187059:(.text+0x189952): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x189982): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x18998e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_387setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187084:(.text+0x18999a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x189a04): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x189a1c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_387setISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187070:(.text+0x189a32): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x189b46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x189b6a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x189b76): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x189ba6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_179setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239954:(.text+0x189bd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x189c00): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_179setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239983:(.text+0x189c0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_178setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240026:(.text+0x189c2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_179setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240008:(.text+0x189c5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x189c8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_179setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239992:(.text+0x189cde): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239974:(.text+0x189d2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239988:(.text+0x189d3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239977:(.text+0x189d6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x189e36): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_452setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191911:(.text+0x189eea): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_453setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191893:(.text+0x189f1a): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191854:(.text+0x189fe0): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191862:(.text+0x18a028): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_452setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191925:(.text+0x18a04a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_453setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191881:(.text+0x18a06c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:191893:(.text+0x18a122): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x18a13e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_99setHYPREDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202915:(.text+0x18a198): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202925:(.text+0x18a1cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18a1ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18a1f6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18a1fe): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18a21c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18a22a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18a24a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_99setHYPREDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202905:(.text+0x18a2b4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202894:(.text+0x18a2d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202894:(.text+0x18a2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_98setHYPREDiscreteGradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202957:(.text+0x18a306): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202957:(.text+0x18a312): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202957:(.text+0x18a31e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202898: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18a3a6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_27setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229461:(.text+0x18a3fe): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229461:(.text+0x18a40a): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229515:(.text+0x18a48a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229515:(.text+0x18a494): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18a4b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18a4be): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_27setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229475:(.text+0x18a4ce): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18a4e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18a4f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18a4fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_27setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229505:(.text+0x18a536): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229484:(.text+0x18a58a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229484:(.text+0x18a596): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18a5b2): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_26setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229547:(.text+0x18a5c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229547:(.text+0x18a5da): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18a672): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_27setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:229515:(.text+0x18a6a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_291setNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179489:(.text+0x18a6ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18a6c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_291setNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179518:(.text+0x18a6f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18a76a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_291setNearNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179529:(.text+0x18a7d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179529:(.text+0x18a7e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179512:(.text+0x18a83e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179512:(.text+0x18a854): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179516:(.text+0x18a89e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179516:(.text+0x18a8cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18a8fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_156setSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293107:(.text+0x18a9f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_157setSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293078:(.text+0x18aa00): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293078:(.text+0x18aa0e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18aa30): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_157setSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293038:(.text+0x18aa44): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18aa5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_156setSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293110:(.text+0x18ab30): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293110:(.text+0x18ab42): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18ab90): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18ab98): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18abac): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18abd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18abea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18abfe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_161setLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293227:(.text+0x18ac36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293256:(.text+0x18ac6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_160setLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293299:(.text+0x18ac88): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x18ac9a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_161setLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293281:(.text+0x18acbc): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293265:(.text+0x18ad38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293267:(.text+0x18ad48): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293269:(.text+0x18ad5c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293271:(.text+0x18ad68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293271:(.text+0x18ad74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293248:(.text+0x18ad8e): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293261:(.text+0x18ad9c): undefined reference to `PyNumber_Remainder' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293247:(.text+0x18ada8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x18ade2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_161setLocalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293254:(.text+0x18ae26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293281:(.text+0x18aece): undefined reference to `PyObject_IsInstance' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196575:(.text+0x18af04): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196608:(.text+0x18af30): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x18af56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196618:(.text+0x18af6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18afe4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196608:(.text+0x18b022): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196584:(.text+0x18b034): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196584:(.text+0x18b040): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196590:(.text+0x18b04c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196598:(.text+0x18b058): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196584:(.text+0x18b064): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_16setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196650:(.text+0x18b0c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_17setAdjacency': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196591:(.text+0x18b0d6): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196591:(.text+0x18b0e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18b11e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18b13a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18b142): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18b14c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18b154): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18b15c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_22setLocalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340306:(.text+0x18b1f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18b200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x18b20a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_23setLocalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340288:(.text+0x18b222): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18b278): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_23setLocalToLocalVecScatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340274:(.text+0x18b2b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340274:(.text+0x18b2c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340278:(.text+0x18b2d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340278:(.text+0x18b2dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340254:(.text+0x18b2f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340255:(.text+0x18b2fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340268:(.text+0x18b30e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340257:(.text+0x18b336): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340257:(.text+0x18b344): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340261:(.text+0x18b38a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:340261:(.text+0x18b39e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18b3ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18b3c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18b3d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18b3d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18b3ea): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18b3f8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202976:(.text+0x18b448): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18b464): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203020:(.text+0x18b4a2): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_100setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203048:(.text+0x18b4b0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18b536): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18b552): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203014:(.text+0x18b566): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203020:(.text+0x18b596): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202991:(.text+0x18b5aa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202999:(.text+0x18b5e8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202999:(.text+0x18b5fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18b606): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_101setHYPRESetAlphaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203003:(.text+0x18b644): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203003:(.text+0x18b662): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18b6ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18b6ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_269topologyView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327486:(.text+0x18b724): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327505:(.text+0x18b74e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327520:(.text+0x18b75a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327530:(.text+0x18b79e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_268topologyView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327562:(.text+0x18b8e6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_269topologyView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327503:(.text+0x18b8fc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327503:(.text+0x18b908): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18b93a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18b946): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18b96c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_111setCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289746:(.text+0x18ba04): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289761:(.text+0x18ba16): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18ba6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18baa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18bab4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18babc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18bac8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_111setCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289757:(.text+0x18badc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289757:(.text+0x18bae4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289757:(.text+0x18baf0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289761:(.text+0x18bb08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289761:(.text+0x18bb10): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289737:(.text+0x18bb1c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289751:(.text+0x18bb34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289737:(.text+0x18bb40): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289737:(.text+0x18bb4a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289737:(.text+0x18bb58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289740:(.text+0x18bb66): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18bb7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_111setCoordinatesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289759:(.text+0x18bbac): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18bbfe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_3setMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338058:(.text+0x18bc84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18bc92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x18bc9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_3setMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338098:(.text+0x18bd96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_2setMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338144:(.text+0x18be46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_3setMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338085:(.text+0x18be64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338085:(.text+0x18be86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18beaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18bece): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18beee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_21waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102739:(.text+0x18bf4c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_20waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102820:(.text+0x18bf8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102839:(.text+0x18bfa4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c030): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c042): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_21waitFor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102769:(.text+0x18c060): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102752:(.text+0x18c0ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102752:(.text+0x18c100): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x18c10c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c2e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_271setDeflationCoarseMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215384:(.text+0x18c31e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215386:(.text+0x18c32a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215376:(.text+0x18c35a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215396:(.text+0x18c48c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_203setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210479:(.text+0x18c57e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c590): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c5a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_203setBDDCDirichletBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210505:(.text+0x18c5ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210505:(.text+0x18c5d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210485:(.text+0x18c624): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210492:(.text+0x18c694): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18c70c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_29addStrataIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344263:(.text+0x18c752): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18c770): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18c788): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_29addStrataIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344292:(.text+0x18c7a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x18c7ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18c806): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18c818): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_29addStrataIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344277:(.text+0x18c82a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344277:(.text+0x18c832): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18c83e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_29addStrataIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344303:(.text+0x18c878): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x18c91c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18ca54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_5setGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338189:(.text+0x18cb80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_4setGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338249:(.text+0x18cbda): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338249:(.text+0x18cbea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18cc64): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18cc6c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18cc90): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18ccfa): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18cd04): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18cdcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_159setBRGNDictionaryMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278889:(.text+0x18ceb6): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278874:(.text+0x18cec4): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18cefe): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_47setDualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148235:(.text+0x18cfa6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_46setDualSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148321:(.text+0x18d158): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18d1b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18d1bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_183setKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240177:(.text+0x18d398): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240180:(.text+0x18d3cc): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18d484): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18d4a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18d4b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18d4c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_183setKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:240211:(.text+0x18d4dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_273labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327686:(.text+0x18d4ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327686:(.text+0x18d4f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_272labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327758:(.text+0x18d558): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x18d572): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_272labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327769:(.text+0x18d580): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_273labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327740:(.text+0x18d58c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327740:(.text+0x18d594): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18d5a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18d5ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18d5ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x18d5c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327700: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_273labelsView': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327726:(.text+0x18d626): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327730:(.text+0x18d63c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327701:(.text+0x18d64e): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327707:(.text+0x18d664): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:327720:(.text+0x18d66c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18d730): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18d73c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18d762): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18d780): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_207setBDDCNeumannBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210675:(.text+0x18d7ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_206setBDDCNeumannBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210747:(.text+0x18d816): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_207setBDDCNeumannBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210729:(.text+0x18d84c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210689:(.text+0x18d884): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18d892): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_207setBDDCNeumannBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210702:(.text+0x18d9a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210702:(.text+0x18d9c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18d9e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18da06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18da2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_207setBDDCNeumannBoundariesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210729:(.text+0x18da4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139644: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_265setLGMap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139659:(.text+0x18dbcc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139667:(.text+0x18dc06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139667:(.text+0x18dc16): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139671:(.text+0x18dc64): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18dc94): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357092:(.text+0x18dd26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357092:(.text+0x18dd46): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18dd5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18dd66): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_14setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357164:(.text+0x18dd84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357146:(.text+0x18ddbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357106:(.text+0x18ddfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357132:(.text+0x18de42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357112:(.text+0x18de7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357112: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_14setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357178:(.text+0x18def8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_15setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357119:(.text+0x18df2c): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18dff8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18e016): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_61setNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231906:(.text+0x18e030): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231916:(.text+0x18e07e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18e08e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_61setNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231876:(.text+0x18e0b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231902:(.text+0x18e106): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231882:(.text+0x18e138): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231889:(.text+0x18e1f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18e222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18e232): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18e23e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_61setNPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:231916:(.text+0x18e286): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242899: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x18e456): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_225setPatchCellNumbering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242926:(.text+0x18e492): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242926:(.text+0x18e49e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18e4cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_29setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268315:(.text+0x18e574): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18e582): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18e594): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_29setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268344:(.text+0x18e59c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18e5c0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18e612): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x18e620): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18e64c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_29setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268335:(.text+0x18e6d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_28setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268401:(.text+0x18e72c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_29setSolution': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268357:(.text+0x18e73e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268342:(.text+0x18e74e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268342:(.text+0x18e770): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18e788): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18e7d0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_287setTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179286:(.text+0x18e814): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179286:(.text+0x18e820): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179296:(.text+0x18e82c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18e8c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18e8d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_287setTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179300:(.text+0x18e8de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18e8f6): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_287setTransposeNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179312:(.text+0x18e97c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179320:(.text+0x18e988): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179306:(.text+0x18e994): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179309:(.text+0x18e9a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18ea7a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18ea86): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_173setSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293848:(.text+0x18ead2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293858:(.text+0x18eae4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18eaf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18eb02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x18eb42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_173setSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293902:(.text+0x18eb5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18ebb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_173setSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293892:(.text+0x18ec04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293892:(.text+0x18ec10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293868:(.text+0x18ec20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293882: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_173setSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293871:(.text+0x18ec56): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293871:(.text+0x18ec78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_172setSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293934:(.text+0x18ecb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18ecf6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18ed14): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18ed28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18ed46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_173setSectionSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293902:(.text+0x18ed6a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215237:(.text+0x18ed90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18edbc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x18ee02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215291:(.text+0x18ee0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18ee3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x18ee4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215251:(.text+0x18ee5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18ee88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215275:(.text+0x18ee9a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215277:(.text+0x18eea8): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215257:(.text+0x18ef02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215260:(.text+0x18ef2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_268setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215323:(.text+0x18ef4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215264:(.text+0x18efa4): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18efb2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_269setDeflationProjectionNullSpaceMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215291:(.text+0x18f01e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18f07a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x18f10a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_39setBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147929:(.text+0x18f11a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18f132): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_39setBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147959:(.text+0x18f184): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147935:(.text+0x18f198): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147949:(.text+0x18f1b4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147935:(.text+0x18f1be): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147938:(.text+0x18f1d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_38setBasisSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148001:(.text+0x18f216): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_385restoreISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186925:(.text+0x18f2ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18f322): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_384restoreISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187011:(.text+0x18f4be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:187011:(.text+0x18f4ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_385restoreISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186967:(.text+0x18f4e4): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186952:(.text+0x18f4f0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186952:(.text+0x18f514): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x18f52a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18f57e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18f58a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_385restoreISLocalMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186979:(.text+0x18f59e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18f5ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_57setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199943:(.text+0x18f5fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199958:(.text+0x18f604): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18f674): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_57setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199928:(.text+0x18f68e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18f6a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18f7e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18f80c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18f818): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18f848): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x18f884): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18f8ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_177setPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294083:(.text+0x18f8ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18f8da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_177setPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294105:(.text+0x18f90a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x18f93a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_177setPointSF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294091:(.text+0x18f98c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294085:(.text+0x18f9de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294071:(.text+0x18f9ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294074:(.text+0x18fa1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18fac0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18facc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_105labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317307:(.text+0x18fb22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317307:(.text+0x18fb34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18fb60): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_105labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317336:(.text+0x18fb70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x18fb92): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_105labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317361:(.text+0x18fbbe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x18fc22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_105labelComplete': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317347:(.text+0x18fc46): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317347:(.text+0x18fc5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x18fd86): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x18fd92): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18fdac): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x18fdb8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x18fde2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_29setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217222:(.text+0x18fe00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217254:(.text+0x18fe2e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_28setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217294:(.text+0x18fe3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x18fe60): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x18fe8c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_29setDM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217236:(.text+0x18febe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217262:(.text+0x18fefe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217266:(.text+0x18ff22): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217242:(.text+0x18ff38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x190028): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x190060): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19006c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_283setNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179083:(.text+0x19009a): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179083:(.text+0x1900a6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1900ca): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1900d8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_282setNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179155:(.text+0x1900fc): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x19010a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x190148): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1901aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_283setNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179123:(.text+0x1901b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_282setNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179169:(.text+0x190272): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_283setNullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179110:(.text+0x190294): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:179110:(.text+0x1902a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1902c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1902d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x190304): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19032c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_35setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152621:(.text+0x19039a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x190410): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_35setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152606:(.text+0x19042e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152630:(.text+0x190468): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152634:(.text+0x19048c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1905ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_35setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152646:(.text+0x1905f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19064e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_107setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289558:(.text+0x190660): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x19068c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_107setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289568:(.text+0x19069c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1906be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_107setCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289528:(.text+0x1906ea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289558:(.text+0x19074e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289534:(.text+0x190772): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289548:(.text+0x190788): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:289568:(.text+0x1908b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_21remove': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195553:(.text+0x1908c2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195563:(.text+0x1908e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195597:(.text+0x19091e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_20remove': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195636:(.text+0x19094a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_21remove': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195607:(.text+0x19095a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19097c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1909a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_21remove': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195595:(.text+0x190a02): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195573:(.text+0x190a24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195579:(.text+0x190a3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x190b88): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_109setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203926:(.text+0x190b94): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x190bae): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x190bba): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_108setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203998:(.text+0x190be4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x190c02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x190c30): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x190c40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_109setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203940:(.text+0x190c62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x190c8e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_109setHYPREAMSSetInteriorNodes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203968:(.text+0x190cc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203960:(.text+0x190d00): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203949:(.text+0x190d24): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203949:(.text+0x190d3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324396:(.text+0x190e3c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x190e7c): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324430:(.text+0x190eb0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x190ed0): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324409:(.text+0x190efe): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x190fa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x190fbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_215metricSetNumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324423:(.text+0x1910be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324423:(.text+0x1910ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x191136): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1911a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1911ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1911ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_211metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324247:(.text+0x1911c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324250:(.text+0x1911d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324267:(.text+0x191234): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x191262): undefined reference to `PyUnicode_Join' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x191272): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_211metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324258:(.text+0x1912d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1912e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1912f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1912fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x191328): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19133a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x191346): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_211metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324233:(.text+0x191352): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324241:(.text+0x191398): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324241:(.text+0x1913a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_210metricSetVerbosity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324299:(.text+0x1913b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324299:(.text+0x1913c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324299:(.text+0x1913ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324299:(.text+0x1913d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19145e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_10setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331422:(.text+0x19155e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331388:(.text+0x19166c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437:(.text+0x191684): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437:(.text+0x191690): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331437:(.text+0x19169c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_11setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331348:(.text+0x1916fa): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331337:(.text+0x19170c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331337:(.text+0x19171e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1917a4): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1917e6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_11setGlobalSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331329:(.text+0x1917f4): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331457:(.text+0x191834): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x191852): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331486:(.text+0x191870): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x191946): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331497:(.text+0x1919a8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331497:(.text+0x1919b6): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1919ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331477:(.text+0x191a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331480:(.text+0x191a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331480:(.text+0x191a92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x191a9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331580: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x191b38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x191b40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x191b4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_13setProcSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331472:(.text+0x191b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_194getLabelSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295376:(.text+0x191bfa): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x191c08): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x191c9e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x191ce0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_195getLabelSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295325:(.text+0x191cf4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295327:(.text+0x191d00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x191d78): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_195getLabelSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295302:(.text+0x191db4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295314:(.text+0x191dd4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295314:(.text+0x191de8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295307:(.text+0x191e02): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295336:(.text+0x191ec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24223:(.text+0x191fc6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x191fd2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46892:(.text+0x1920d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46892:(.text+0x1920de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1920f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19211c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46911:(.text+0x19215e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19216a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x192178): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1921f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x19223c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x192252): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46799:(.text+0x19235c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46812:(.text+0x192368): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19245e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19246a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19247e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1924aa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1924ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1924f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x192506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46687:(.text+0x192576): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46695:(.text+0x19258e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46762:(.text+0x1925a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46892:(.text+0x1926f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46909:(.text+0x192700): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x192800): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46872:(.text+0x19280c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19281e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46872:(.text+0x19284a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46686:(.text+0x19288c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46686:(.text+0x192898): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46835:(.text+0x1928a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46839:(.text+0x192922): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46026:(.text+0x19296a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x192980): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x192aa4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x192b3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x192bae): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x192c4c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x192c58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x192c64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46670:(.text+0x192d4e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46394:(.text+0x192dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46424:(.text+0x192dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x192e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x192e20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x192e2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46448:(.text+0x192fd4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46393:(.text+0x192fe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x193062): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46527:(.text+0x193070): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1930e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46607:(.text+0x193142): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46609:(.text+0x193162): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46614:(.text+0x193176): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46621:(.text+0x1931e4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46624:(.text+0x1931f8): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46554:(.text+0x193220): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46570:(.text+0x19323e): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46559:(.text+0x19328a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x193308): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x193394): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1933a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_182hasLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294468:(.text+0x1933e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x19340e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x19341e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x193440): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x19346c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_183hasLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294417:(.text+0x193500): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x193524): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_183hasLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294427:(.text+0x19353a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x193668): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x193674): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65172:(.text+0x1936d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65183:(.text+0x1936e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19370a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x193736): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x193786): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65241:(.text+0x1937c4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1937e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1937fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65378:(.text+0x193948): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x193954): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x193994): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1939c2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1939d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1939f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x193a20): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x193ab4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x193ad8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x193aee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65408:(.text+0x193bfa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x193c3c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x193c48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65188:(.text+0x193cec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65188:(.text+0x193cf6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65155:(.text+0x193d0a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65156:(.text+0x193d20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65165:(.text+0x193d34): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65267:(.text+0x193d60): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65378:(.text+0x193e80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x193e8a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65311:(.text+0x193e9c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65316:(.text+0x193ef2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65327:(.text+0x193f06): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65320:(.text+0x193f36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:231:(.text+0x193fa2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65294:(.text+0x193fb8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65294:(.text+0x193fd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64018:(.text+0x193fec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64040:(.text+0x194006): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x194062): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x194086): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1940aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64109:(.text+0x1940ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x194124): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64151:(.text+0x194130): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19428c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1942c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1942d2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19439c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1943d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1943e4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x194434): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64148:(.text+0x194440): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1944e4): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64020:(.text+0x1945a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1945ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1945f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x194640): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64023:(.text+0x19464c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64025:(.text+0x194662): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64134:(.text+0x194682): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64135:(.text+0x19468e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64136:(.text+0x1946a2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1946b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64164:(.text+0x1946fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64231:(.text+0x19473a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64236:(.text+0x194750): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64236:(.text+0x19475c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x194774): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64246:(.text+0x1947b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64179:(.text+0x1947ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64195:(.text+0x1947ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x194850): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64188:(.text+0x194864): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1949ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19977:(.text+0x194a04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64392:(.text+0x194a10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x194adc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x194b18): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64514:(.text+0x194b24): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64522:(.text+0x194b74): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64523:(.text+0x194b80): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x194c24): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x194ce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x194cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x194d32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64462:(.text+0x194d7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64465:(.text+0x194d8a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64469:(.text+0x194da0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64471:(.text+0x194dc0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x194dcc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64435:(.text+0x194de0): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64437:(.text+0x194df2): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x194e38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64316:(.text+0x194e78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64334:(.text+0x194e8e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x194e9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x194eb2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x194eee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x194f08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64306:(.text+0x194f28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64307:(.text+0x194f8e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x194fa2): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x195108): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x195142): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64478:(.text+0x19514e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64445:(.text+0x19521a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64889:(.text+0x195256): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64889:(.text+0x195262): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1952b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1952be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64997:(.text+0x195362): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x19541e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x19542c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x195470): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65095:(.text+0x1954be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65095:(.text+0x1954ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1954e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x195500): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19550c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65108:(.text+0x195520): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x195532): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x195578): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1955b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65137:(.text+0x1955ce): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65140:(.text+0x1955da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1955f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19562e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x195648): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x195668): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65035:(.text+0x1956ce): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65037:(.text+0x1956e2): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64882:(.text+0x19584a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64872:(.text+0x195888): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x195894): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65064:(.text+0x19595a): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65078:(.text+0x19597e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65080:(.text+0x195986): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65085:(.text+0x1959aa): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65089:(.text+0x1959ee): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65044:(.text+0x195a7a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65044:(.text+0x195a84): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x195a98): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65035:(.text+0x195aae): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65007:(.text+0x195ae0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63768:(.text+0x195b98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63770:(.text+0x195ba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x195bac): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x195bda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x195c36): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x195c5a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63839:(.text+0x195c80): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x195cd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x195cf2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451134:(.text+0x195cfe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x195d4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63946:(.text+0x195d74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63948:(.text+0x195d80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x195d8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x195d9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63957: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x195e50): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x195e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x195ea0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x195ed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x195ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x195f1a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x195f3a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63899:(.text+0x195fdc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63905:(.text+0x196014): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63899:(.text+0x19602e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63871:(.text+0x196044): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19605a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x196086): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63993:(.text+0x1960b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63751:(.text+0x19610e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x19616c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63784:(.text+0x196184): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63773:(.text+0x196196): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63736:(.text+0x1961ba): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63740:(.text+0x1961ca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63826:(.text+0x1961de): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63826:(.text+0x1961e8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x196254): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63932:(.text+0x196286): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63946:(.text+0x196292): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63948:(.text+0x1962c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x196364): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_GlobalToLocalBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63901:(.text+0x1963e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19641e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19642a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64622:(.text+0x1964f0): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x196514): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19651c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x196540): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x196584): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x196610): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x19661a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451134:(.text+0x19662e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x196644): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x196676): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19672e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x196736): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x196742): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x196770): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1967cc): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1967f0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x196816): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19686c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x196888): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x196894): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64714:(.text+0x1968e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64748:(.text+0x19690a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64750:(.text+0x196916): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64752:(.text+0x196922): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64754:(.text+0x196934): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64720: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1969e6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x196a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64619:(.text+0x196a36): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x196a68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x196a74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64633:(.text+0x196ab0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64622:(.text+0x196ad0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x196b72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64766:(.text+0x196baa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64795:(.text+0x196bc4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64797:(.text+0x196bda): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64802:(.text+0x196bf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x196c1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_LocalToGlobalEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64806:(.text+0x196c4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64761:(.text+0x196ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64752:(.text+0x196d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64724:(.text+0x196d1a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:64724:(.text+0x196d2c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x196d50): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x196d60): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:231:(.text+0x196d74): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x196d7e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x196dea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_246metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325896:(.text+0x196e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325896:(.text+0x196e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325909:(.text+0x196e56): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x196efa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_247metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325846:(.text+0x1970b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325850:(.text+0x1970c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x197132): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x197142): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x197152): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_247metricCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325875:(.text+0x197162): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325836:(.text+0x197192): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_64getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335273:(.text+0x19726e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335273:(.text+0x19727c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_65getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335197:(.text+0x1972a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1972e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1972f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_65getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335211:(.text+0x197410): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335211:(.text+0x197434): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x197440): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x197490): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_65getVecArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:335238:(.text+0x19749c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_187removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294653:(.text+0x1974d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1974fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x197508): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_187removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294685:(.text+0x197528): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x197558): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x19758e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1975aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19760a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x197616): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_187removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294693:(.text+0x197666): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294693:(.text+0x197672): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_186removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294778:(.text+0x1976b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_187removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294668:(.text+0x1976cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294680:(.text+0x1976f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_186removeLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294778:(.text+0x197776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19778c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1977de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_160dotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133502:(.text+0x1978aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_161dotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133469:(.text+0x19798c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_160dotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133525:(.text+0x197a2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_161dotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133483:(.text+0x197b04): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x197b50): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196204:(.text+0x197c32): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196185:(.text+0x197d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196186:(.text+0x197d4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196189:(.text+0x197d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x197d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x197d6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_167tDotBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133817:(.text+0x197f16): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133836:(.text+0x197f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133822:(.text+0x197f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133822:(.text+0x197f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133825:(.text+0x197f64): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x198108): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98735:(.text+0x1981a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x198280): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1982cc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1983ae): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_12_Mat_Stencil_j': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419292:(.text+0x1984ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464651:(.text+0x1984c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464665:(.text+0x1984d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1984de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1984ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x198692): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_Mat_Stencil_5field___set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39260:(.text+0x1986b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:39261:(.text+0x1986c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1986d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464670:(.text+0x1986e0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x19887e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x19888a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_12_Mat_Stencil_1i___set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38935:(.text+0x198982): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38935:(.text+0x19898e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38935:(.text+0x1989a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464671:(.text+0x1989ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_12_Mat_Stencil_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x198a10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyNumber_IntOrLong': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464667:(.text+0x198a1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x198a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x198a9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30902:(.text+0x198ab2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30906:(.text+0x198ac8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x198c1c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x198c28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x198cc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x198cd4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31091:(.text+0x198d2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31091:(.text+0x198d36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x198d48): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x198d74): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31129:(.text+0x198e48): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x198e64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x198e7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31166:(.text+0x198f2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x198f56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1990aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31252:(.text+0x1990d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1990e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x199100): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x199130): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31289:(.text+0x1991b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19921e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19922a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x199286): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19929c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1992e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31080:(.text+0x199314): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30933:(.text+0x199346): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30994:(.text+0x199448): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31045:(.text+0x199476): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31002:(.text+0x199482): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31047:(.text+0x19949e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30866:(.text+0x1994ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31221:(.text+0x19954e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31290:(.text+0x1995bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31214:(.text+0x1995c8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31167:(.text+0x199624): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19963a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31225:(.text+0x199684): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31022:(.text+0x1996b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31020:(.text+0x1996e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31080:(.text+0x199804): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_8__isub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156448:(.text+0x199810): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156465:(.text+0x19982c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156465:(.text+0x199834): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_9__isub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156429:(.text+0x199850): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_sub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32043:(.text+0x19985c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x199880): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_sub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32088:(.text+0x199892): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1998be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_sub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32082:(.text+0x1998ce): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32088:(.text+0x1998f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x19991c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19994c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x19996a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_19__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156788:(.text+0x19998e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1999a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_18__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156846:(.text+0x199afa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x199b06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_rsub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32533:(.text+0x199b44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x199b56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_18__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156820:(.text+0x199b96): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156820:(.text+0x199ba4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156864:(.text+0x199bc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156845:(.text+0x199bf0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_rsub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32533:(.text+0x199c22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x199c60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156846:(.text+0x199c82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126637:(.text+0x199c98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x199dd4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x199de0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x199dfc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x199e04): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x199e20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x199e2c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x199e50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25766:(.text+0x199e62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_74createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126807:(.text+0x199e8e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19719:(.text+0x199e9e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19754:(.text+0x199ec0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19763:(.text+0x199eec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x199f1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_74createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126875:(.text+0x199f3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x199f5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x199f74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_74createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126775:(.text+0x19a0c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126775:(.text+0x19a0d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x19a0f0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19a0f8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x19a114): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_74createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126900:(.text+0x19a120): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19a144): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126657:(.text+0x19a156): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126669:(.text+0x19a182): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126709:(.text+0x19a192): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126659:(.text+0x19a1b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126663:(.text+0x19a1e0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126675:(.text+0x19a210): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126683:(.text+0x19a22e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126671:(.text+0x19a252): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x19a268): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126677:(.text+0x19a3bc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19a3c8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19a3e4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19a3ec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19a408): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19a414): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_75createGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126663:(.text+0x19a438): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126663:(.text+0x19a44a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126661:(.text+0x19a476): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:126657:(.text+0x19a486): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319642:(.text+0x19a4a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319642:(.text+0x19a4d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19a504): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319718:(.text+0x19a522): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319738:(.text+0x19a546): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319740:(.text+0x19a55c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319766:(.text+0x19a6b0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319766:(.text+0x19a6bc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_142distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319802:(.text+0x19a6d8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19a6e0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_142distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319818:(.text+0x19a6fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319818:(.text+0x19a708): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319878:(.text+0x19a72c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319887:(.text+0x19a73e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19a76a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_142distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319841:(.text+0x19a77a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19a79c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319670:(.text+0x19a7c8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319745:(.text+0x19a7f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319746:(.text+0x19a816): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319747:(.text+0x19a83a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319748:(.text+0x19a850): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319691:(.text+0x19a9a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319691:(.text+0x19a9b0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319671:(.text+0x19a9cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x19a9d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319687:(.text+0x19a9f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319687:(.text+0x19a9fc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19aa20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319704:(.text+0x19aa32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319710:(.text+0x19aa5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319715:(.text+0x19aa6e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319715:(.text+0x19aa90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_142distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319905:(.text+0x19aabc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19aaec): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19ab0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_142distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319841:(.text+0x19ab2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_143distributeField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319699:(.text+0x19ab44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x19ac98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x19aca4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x19acc0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40586:(.text+0x19acc8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40613:(.text+0x19ace4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40624:(.text+0x19acf0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40096:(.text+0x19ad14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19ad26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x19ad52): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x19ad62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40660:(.text+0x19ad84): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x19adb0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40738:(.text+0x19ade0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40746:(.text+0x19adfe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x19ae22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40804:(.text+0x19ae38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40834:(.text+0x19af8c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40854:(.text+0x19b0ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40856:(.text+0x19b0c6): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19b0d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x19b0de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40859:(.text+0x19b13c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40859:(.text+0x19b14c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19b1dc): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40889:(.text+0x19b216): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40889:(.text+0x19b226): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19b238): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40904:(.text+0x19b288): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19b2ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19b2cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447574:(.text+0x19b3bc): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447581:(.text+0x19b3f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40954:(.text+0x19b412): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40954:(.text+0x19b424): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40954:(.text+0x19b434): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40954:(.text+0x19b442): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40954:(.text+0x19b450): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19b464): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19b510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b51c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447579:(.text+0x19b6c2): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40672:(.text+0x19b6d0): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40773:(.text+0x19b73c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40804:(.text+0x19b7d8): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19b804): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b81a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b85a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b874): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b8b6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b8ca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19b960): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40840:(.text+0x19ba44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19ba72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19ba7e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19ba9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40887:(.text+0x19baca): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40901:(.text+0x19bb40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40782:(.text+0x19bbb0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40782:(.text+0x19bbbc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40782:(.text+0x19bbf0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40782:(.text+0x19bbfa): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40801:(.text+0x19bc30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40801:(.text+0x19bc46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40827:(.text+0x19bc8e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40775:(.text+0x19bcba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40745:(.text+0x19bcee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40096:(.text+0x19be0a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x19be48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41510:(.text+0x19be90): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41536:(.text+0x19be9c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41536:(.text+0x19bea8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19bf04): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41607:(.text+0x19bf4a): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19bf8c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x19bf9a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41614:(.text+0x19bfbc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19bfd2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19c0d6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41642:(.text+0x19c116): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41642:(.text+0x19c122): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41642:(.text+0x19c12e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x19c13a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41655:(.text+0x19c146): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41655: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41690:(.text+0x19c306): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41690:(.text+0x19c312): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19c322): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x19c330): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41694:(.text+0x19c33c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19c3f0): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x19c41c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19c430): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19c43c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19c448): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x19c45c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x19c478): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_XDEC_MEMVIEW': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447574:(.text+0x19c49c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41752:(.text+0x19c4f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41755:(.text+0x19c4fc): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41755:(.text+0x19c50e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41524:(.text+0x19c5a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19c698): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19c6d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_PC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40146:(.text+0x19c71e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40146:(.text+0x19c72a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:40146:(.text+0x19c736): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41461:(.text+0x19c792): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41536:(.text+0x19c7d8): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41572:(.text+0x19c81a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41574:(.text+0x19c828): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41576:(.text+0x19c84a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41570:(.text+0x19c860): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19c964): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19c9a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19c9b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19c9bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41570:(.text+0x19c9c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41550:(.text+0x19c9d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41552: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41662:(.text+0x19cb94): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41641:(.text+0x19cba0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41688:(.text+0x19cbae): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41688:(.text+0x19cbbc): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41688:(.text+0x19cbc8): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41393:(.text+0x19cc7a): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41583:(.text+0x19cca6): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41396:(.text+0x19ccba): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41581:(.text+0x19ccc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41393:(.text+0x19ccd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41583:(.text+0x19cce6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41408:(.text+0x19cd02): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41602:(.text+0x19cd26): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41628:(.text+0x19cd7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41629:(.text+0x19cd86): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyBytes_AS_STRING': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41629:(.text+0x19cd98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_ComputeFunctionInteriorFacets': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41550:(.text+0x19ce30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19cf1e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19cf5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19cfa4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34452:(.text+0x19cfb0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19cfbc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34617:(.text+0x19d018): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34640:(.text+0x19d05e): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34663:(.text+0x19d0a0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34729:(.text+0x19d0ae): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34842:(.text+0x19d0d0): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34906:(.text+0x19d0e6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19d1ea): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19d22a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19d236): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19d242): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19d24e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19d25a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35035:(.text+0x19d41a): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35035:(.text+0x19d426): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19d436): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19d444): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19d450): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34390:(.text+0x19d504): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34458:(.text+0x19d530): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34458:(.text+0x19d544): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34467:(.text+0x19d550): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34467:(.text+0x19d55c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34469:(.text+0x19d570): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34470:(.text+0x19d58c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34485:(.text+0x19d5b0): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34532:(.text+0x19d606): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34533:(.text+0x19d610): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34534:(.text+0x19d622): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x19d6ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x19d7a4): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34762:(.text+0x19d7ea): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34762:(.text+0x19d7f2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34765:(.text+0x19d816): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x19d860): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34685:(.text+0x19d8ac): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34821:(.text+0x19d970): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34859:(.text+0x19d9a0): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19da92): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34241:(.text+0x19daa4): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34240:(.text+0x19dafa): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19dc76): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34495:(.text+0x19dca4): undefined reference to `PyUnicode_Join' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34703:(.text+0x19dcde): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34797:(.text+0x19dcf8): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34415:(.text+0x19dd14): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34863:(.text+0x19dd86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34815:(.text+0x19dda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34431:(.text+0x19ddb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34879:(.text+0x19ddbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34818:(.text+0x19ddc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34915:(.text+0x19de0a): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34882:(.text+0x19de16): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34952:(.text+0x19de32): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34262:(.text+0x19de56): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19de7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34522:(.text+0x19de86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34523:(.text+0x19de92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34520:(.text+0x19de9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34513:(.text+0x19deaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34522: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19ded2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19dede): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ_CSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34394:(.text+0x19def8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34398:(.text+0x19df4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34495:(.text+0x19df5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34495:(.text+0x19df6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:34492:(.text+0x19df8a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_61setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159631:(.text+0x19dfac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159631:(.text+0x19dfb6): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159641:(.text+0x19dfd0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19dfee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_61setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159660:(.text+0x19dff8): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19e014): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19e050): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x19e05e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_61setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159645:(.text+0x19e068): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19e074): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_61setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159671:(.text+0x19e0c6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_60setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159741:(.text+0x19e0d2): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159741:(.text+0x19e0de): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_61setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159651:(.text+0x19e0fa): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159665:(.text+0x19e116): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159651:(.text+0x19e12c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159654:(.text+0x19e154): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159658:(.text+0x19e15e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159658:(.text+0x19e16a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159658:(.text+0x19e180): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19e19c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_61setPreallocationCSR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159680:(.text+0x19e20e): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_262setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214939:(.text+0x19e2ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214940:(.text+0x19e2b4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214951:(.text+0x19e2d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_263setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214909:(.text+0x19e2e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19e364): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19e374): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_263setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214898:(.text+0x19e380): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214900:(.text+0x19e392): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214880:(.text+0x19e432): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214883:(.text+0x19e43e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x19e482): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_263setDeflationCorrectionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214887:(.text+0x19e4ae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214887:(.text+0x19e4bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214875:(.text+0x19e56a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x19e59c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53027:(.text+0x19e5a8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19e5f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x19e612): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19e786): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x19e79c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53243:(.text+0x19e7bc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x19e7c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53245:(.text+0x19e7ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19e80c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19e884): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19e898): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19e8a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x19e8b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19e91e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19e95e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x19e970): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19e978): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19e984): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53304:(.text+0x19e9c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19ea08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53135:(.text+0x19ea1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53148:(.text+0x19ea46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53149:(.text+0x19ea50): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x19ea82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19eaca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x19eb2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53010:(.text+0x19ec8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53012:(.text+0x19ecbc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53098:(.text+0x19ecc8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53199:(.text+0x19ed1a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53250:(.text+0x19ee00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x19ee2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x19eeb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53192:(.text+0x19eecc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x19eeec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53208:(.text+0x19eef8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x19ef1a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53199:(.text+0x19ef3c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19ef86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53171:(.text+0x19ef9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53171:(.text+0x19efa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53171:(.text+0x19efb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53171:(.text+0x19efc8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53171:(.text+0x19efda): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianState': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53175:(.text+0x19efe2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53175:(.text+0x19efee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_59filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345977:(.text+0x19f02c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x19f046): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19f050): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_59filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346037:(.text+0x19f0b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345991:(.text+0x19f0c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f112): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_59filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346003:(.text+0x19f182): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346003:(.text+0x19f18c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_58filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346081:(.text+0x19f1e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_59filter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346013:(.text+0x19f242): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19f2e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19f43c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f448): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_49createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345467:(.text+0x19f48e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345442:(.text+0x19f4c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345446:(.text+0x19f4e8): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_48createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345520:(.text+0x19f510): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345520:(.text+0x19f518): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_49createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345434:(.text+0x19f536): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345439:(.text+0x19f566): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345452:(.text+0x19f584): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345448:(.text+0x19f5bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x19f5fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19f618): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_49createIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345434:(.text+0x19f652): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345434:(.text+0x19f660): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x19f6a6): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19f6e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_25setActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83271:(.text+0x19f6f0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83291:(.text+0x19f766): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19f786): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f7ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x19f7c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_25setActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83280:(.text+0x19f7e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83284:(.text+0x19f80a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83262:(.text+0x19f860): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83265:(.text+0x19f88a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83269:(.text+0x19f8b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83269:(.text+0x19f8be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83269:(.text+0x19f8ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83269:(.text+0x19f8d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83269:(.text+0x19f8e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19f950): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_25setActiveAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83291:(.text+0x19f962): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_27setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198366:(.text+0x19f99a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19f9ac): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x19f9b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_27setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198395:(.text+0x19f9c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_26setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198444:(.text+0x19fa04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198472:(.text+0x19fa0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_27setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198380:(.text+0x19fa82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198406:(.text+0x19facc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198406:(.text+0x19fae0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_26setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198444:(.text+0x19faec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_27setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198408:(.text+0x19fb0a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198392:(.text+0x19fb26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198389:(.text+0x19fb46): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198389:(.text+0x19fb66): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x19fb7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_27setUseAmat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198393:(.text+0x19fba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198393:(.text+0x19fbaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x19fbca): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19fbde): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x19fc34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x19fca8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x19fcdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x19fcfe): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x19fd08): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x19fd50): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80136:(.text+0x19fd64): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80160:(.text+0x19fd9e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80162:(.text+0x19fdac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80162:(.text+0x19fdb8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80142:(.text+0x19fdea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103540:(.text+0x19ff44): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x19ff50): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103573:(.text+0x19ff80): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_28setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103625:(.text+0x19ffa6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103595:(.text+0x19ffda): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103595:(.text+0x19ffec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x19fffc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a003e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103586:(.text+0x1a006c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103570:(.text+0x1a00f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103570:(.text+0x1a0102): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103564:(.text+0x1a012a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a0146): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_29setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103565:(.text+0x1a015e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103595:(.text+0x1a01c4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198592:(.text+0x1a01d6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198592:(.text+0x1a01de): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198592:(.text+0x1a01ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a0200): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a0212): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198621:(.text+0x1a021a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1a0226): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_30setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198698:(.text+0x1a0268): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198606:(.text+0x1a02de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a0302): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a030e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198630:(.text+0x1a031c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_30setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198712:(.text+0x1a034e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_31setReusePreconditioner': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198619:(.text+0x1a03fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198619:(.text+0x1a040a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a0446): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_24setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80572:(.text+0x1a053e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80584:(.text+0x1a054a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_25setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80543:(.text+0x1a0572): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a05c4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a05ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_25setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80534:(.text+0x1a05fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_24setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80598:(.text+0x1a062c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_25setVisible': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80515:(.text+0x1a065a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80517:(.text+0x1a0690): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80517:(.text+0x1a06a0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80521:(.text+0x1a06c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:80521:(.text+0x1a06dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a06fa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a072a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a073c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1a0744): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1a0750): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258623:(.text+0x1a07a2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258623:(.text+0x1a07ac): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a07e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1a07f4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258701:(.text+0x1a07fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258701:(.text+0x1a0808): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1a084a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258784:(.text+0x1a0866): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258784:(.text+0x1a0872): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1a08a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a0934): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258892:(.text+0x1a0974): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a0a7a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258937:(.text+0x1a0a86): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258949:(.text+0x1a0aba): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258734:(.text+0x1a0bea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258829:(.text+0x1a0c66): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a0c94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a0cc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259020:(.text+0x1a0ce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a0cf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258903:(.text+0x1a0d00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258969:(.text+0x1a0d14): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258969:(.text+0x1a0d24): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258980:(.text+0x1a0d4a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a0d60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258980:(.text+0x1a0d7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a0dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a0de6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259002:(.text+0x1a0df8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259002:(.text+0x1a0e00): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a0e0c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259002:(.text+0x1a0e2c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a0e36): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1a0ef6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1a0f0c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a0f16): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a0f58): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1a0f64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258654:(.text+0x1a0f94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258662:(.text+0x1a1058): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258687:(.text+0x1a115c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258692:(.text+0x1a1168): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258698:(.text+0x1a118c): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258698:(.text+0x1a1198): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258698:(.text+0x1a11b0): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a11c6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_168setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258816:(.text+0x1a11f6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258969:(.text+0x1a1206): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258879:(.text+0x1a121c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258676:(.text+0x1a1268): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258670:(.text+0x1a1280): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258735:(.text+0x1a12b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a12e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_169setEventHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258646:(.text+0x1a1322): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258648:(.text+0x1a132e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258648:(.text+0x1a133e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258648:(.text+0x1a134c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258654:(.text+0x1a1374): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258656:(.text+0x1a1390): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:258656:(.text+0x1a13a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1a13d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x1a1442): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a1472): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1a14c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1a14ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1a1502): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a1522): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a1698): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a16a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a16dc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a17f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1a186e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376184:(.text+0x1a189c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a18ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a18da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a18ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a18fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a190a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a191a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376334:(.text+0x1a1940): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a1956): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376340:(.text+0x1a1974): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376127:(.text+0x1a19c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376186:(.text+0x1a19d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a19e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a19f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a19fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a1a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a1aac): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a1ab6): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a1af2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a1b0a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a1b3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1a1c1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376125:(.text+0x1a1d20): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376198:(.text+0x1a1d2c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376202:(.text+0x1a1d96): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1a1e04): undefined reference to `PySequence_List' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSOR_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376216:(.text+0x1a1eba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376295:(.text+0x1a1ecc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_273getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178292:(.text+0x1a1fa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178292:(.text+0x1a1fbe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178257:(.text+0x1a1fee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2020): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1a202c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2038): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2044): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_273getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178286:(.text+0x1a2052): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_272getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178357:(.text+0x1a20da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a20e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_273getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178302:(.text+0x1a2112): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a212e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_272getDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178384:(.text+0x1a2146): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178410:(.text+0x1a21ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1a222a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178462:(.text+0x1a234e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a238e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178443:(.text+0x1a239a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a23d6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a23ec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a240a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2418): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178475:(.text+0x1a242a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a244e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_274getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178522:(.text+0x1a245c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a246e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_274getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178571:(.text+0x1a24ae): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1a24f8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_274getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178553:(.text+0x1a2504): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178455:(.text+0x1a25d2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_274getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178522:(.text+0x1a25e8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178459:(.text+0x1a2634): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a2656): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1a2668): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1a2670): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1a267c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_275getRowSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178445:(.text+0x1a26ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_15syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75084:(.text+0x1a26c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75090:(.text+0x1a26e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447397:(.text+0x1a271c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447397:(.text+0x1a27ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447397:(.text+0x1a27ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a27ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a284e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75263:(.text+0x1a295a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a2966): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75286:(.text+0x1a29dc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75286:(.text+0x1a29e6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1a29fa): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a2a10): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a2b56): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a2b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a2bc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447399:(.text+0x1a2c14): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447399:(.text+0x1a2c78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447401:(.text+0x1a2c94): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_14syncPrint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75207:(.text+0x1a2c9e): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75284:(.text+0x1a2cb2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75230:(.text+0x1a2cc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75275:(.text+0x1a2cfa): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75107:(.text+0x1a2d0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75275:(.text+0x1a2d64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x1a2d94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a2de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71836:(.text+0x1a2df6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71836:(.text+0x1a2e02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71836:(.text+0x1a2e0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71847:(.text+0x1a2e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a2e24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a2e3a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71865:(.text+0x1a2e46): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a2e7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_20prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71927:(.text+0x1a2e8e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a2ea6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71849:(.text+0x1a2f10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1a2f28): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a2f32): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1a2f44): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2f54): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a2f60): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_20prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71954:(.text+0x1a2fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71954:(.text+0x1a2ffc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71954:(.text+0x1a3086): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71954:(.text+0x1a3092): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71954:(.text+0x1a309e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71863: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71863:(.text+0x1a30b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71863:(.text+0x1a30c6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71863:(.text+0x1a30d2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a310e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_21prefixPush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71851:(.text+0x1a3152): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_17syncFlush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75340:(.text+0x1a316e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_16syncFlush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75414:(.text+0x1a31de): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1a31f6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_17syncFlush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75384:(.text+0x1a320a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a322a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1a3268): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_17syncFlush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75377:(.text+0x1a32ac): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75329:(.text+0x1a32ba): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75359:(.text+0x1a3324): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75354:(.text+0x1a338e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75355:(.text+0x1a33a2): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75384:(.text+0x1a33f8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_setprop_8petsc4py_5PETSc_3Vec_array_w': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414502:(.text+0x1a340c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414503:(.text+0x1a341c): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143956:(.text+0x1a346c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x1a3478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143964:(.text+0x1a34aa): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a34b8): undefined reference to `PyNumber_Remainder' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143965:(.text+0x1a34d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143970:(.text+0x1a350c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a35c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a35d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144000:(.text+0x1a3604): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_SetSlice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448801:(.text+0x1a362a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a365e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a3670): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a3680): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a36c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a36f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144023:(.text+0x1a3776): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144023:(.text+0x1a3786): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144028:(.text+0x1a37ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144028:(.text+0x1a37ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a37e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1a3848): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a385a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a3862): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a386e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a3884): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a3896): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a389e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a38aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a38ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:143994:(.text+0x1a3962): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a3986): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1a3992): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a39a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1a39d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144100:(.text+0x1a3a80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a3a8e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144098:(.text+0x1a3aca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a3bc2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_7array_w_2__set__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144028:(.text+0x1a3bce): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144043:(.text+0x1a3bf6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144044:(.text+0x1a3c10): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144024:(.text+0x1a3c1e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a3c66): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178616:(.text+0x1a3ca8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a3cd6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178671:(.text+0x1a3d34): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178671:(.text+0x1a3d44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_276setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178705:(.text+0x1a3d6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a3d88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178685:(.text+0x1a3da0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a3e04): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1a3e16): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1a3e1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178675:(.text+0x1a3e28): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178673:(.text+0x1a3e38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_276setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178705:(.text+0x1a3e42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_277setDiagonal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178633:(.text+0x1a3eb4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178633:(.text+0x1a3ec0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178665:(.text+0x1a3ed8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:178653:(.text+0x1a3f78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55208:(.text+0x1a4106): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55237:(.text+0x1a4112): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456465:(.text+0x1a4260): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a428c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a4330): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55298:(.text+0x1a4356): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:456578:(.text+0x1a4386): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55296:(.text+0x1a43ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55353:(.text+0x1a43e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55353:(.text+0x1a43fc): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1a440e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:642:(.text+0x1a4418): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1a442e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55423:(.text+0x1a4440): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a447a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a4486): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x1a449c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a44a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a44b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a44c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55775:(.text+0x1a44d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55775:(.text+0x1a44de): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55438:(.text+0x1a4506): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a451c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55494:(.text+0x1a453a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55591:(.text+0x1a45c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1a45dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a460c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55397:(.text+0x1a472c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55494:(.text+0x1a4738): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55397:(.text+0x1a4762): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a477e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1a47a8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a47da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a4812): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a4840): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55395:(.text+0x1a4876): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55438:(.text+0x1a4884): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a48ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:705:(.text+0x1a48c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a48e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a490c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a4918): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55736:(.text+0x1a4928): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55736:(.text+0x1a4934): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a4946): undefined reference to `PyNumber_And' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55723:(.text+0x1a4968): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55551:(.text+0x1a4986): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55551:(.text+0x1a498e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55553:(.text+0x1a4996): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55556:(.text+0x1a49b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a49c0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55395:(.text+0x1a49f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55609:(.text+0x1a4a4c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55612:(.text+0x1a4a58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55614:(.text+0x1a4a6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a4a7a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a4a8c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55585:(.text+0x1a4a94): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55586:(.text+0x1a4aa0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55677:(.text+0x1a4b10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55681:(.text+0x1a4b24): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a4b36): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a4b3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a4b4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1a4b9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55594:(.text+0x1a4bce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1a4be4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55397:(.text+0x1a4c48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a4cb0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a4cba): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a4cd4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55395:(.text+0x1a4d06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a4de4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x1a4df0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBoundary': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55655:(.text+0x1a4e18): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55540:(.text+0x1a4e6a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55681:(.text+0x1a4e92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55651:(.text+0x1a4ea4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:55591:(.text+0x1a4ed2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308114:(.text+0x1a4f00): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308114:(.text+0x1a4f36): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308143:(.text+0x1a4f46): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308145:(.text+0x1a4f6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a4f82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308212:(.text+0x1a4fa0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308223:(.text+0x1a4fd0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_4createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308314:(.text+0x1a4fe2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308304:(.text+0x1a4fea): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308314:(.text+0x1a4ff6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308366:(.text+0x1a5048): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308366:(.text+0x1a5052): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308363:(.text+0x1a5088): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308364:(.text+0x1a509a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308366:(.text+0x1a50a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308366:(.text+0x1a50ae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a50f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308212:(.text+0x1a510c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308212:(.text+0x1a5118): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308212:(.text+0x1a514a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_4createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308378:(.text+0x1a51da): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308390:(.text+0x1a521a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a52fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308242:(.text+0x1a5328): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308242:(.text+0x1a5334): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308148:(.text+0x1a536a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308155:(.text+0x1a53c0): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308159:(.text+0x1a53d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308166:(.text+0x1a53dc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308181:(.text+0x1a54b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308185:(.text+0x1a54c0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308187:(.text+0x1a54d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308197:(.text+0x1a5502): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308209:(.text+0x1a5554): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308234:(.text+0x1a55ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308236:(.text+0x1a55c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308155:(.text+0x1a5618): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_4createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308405:(.text+0x1a5654): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308405:(.text+0x1a5666): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308414:(.text+0x1a566e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308434:(.text+0x1a56b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308453:(.text+0x1a56de): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308462:(.text+0x1a56ec): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308338:(.text+0x1a5756): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308434:(.text+0x1a57ca): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308453:(.text+0x1a57de): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a57fc): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1a5820): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a5836): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_5createBoxMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308149:(.text+0x1a5894): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308161:(.text+0x1a58ee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308161:(.text+0x1a5906): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300709:(.text+0x1a5950): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_2duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301001:(.text+0x1a5aa0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301010:(.text+0x1a5aac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1a5ae4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300804:(.text+0x1a5bbe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300804:(.text+0x1a5bca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300765:(.text+0x1a5bdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300766:(.text+0x1a5c0c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300785:(.text+0x1a5c50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300787:(.text+0x1a5c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a5c82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_2duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5cc2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301135:(.text+0x1a5cea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5d3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300730:(.text+0x1a5d5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300745:(.text+0x1a5e28): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300746:(.text+0x1a5e34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1a5e6c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_2duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5f46): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5f52): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5f64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300762:(.text+0x1a5f94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_2duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5fda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a5fe8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a600c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a604e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a6078): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301134:(.text+0x1a608a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1a60cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a60ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_3duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300728:(.text+0x1a618c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299812:(.text+0x1a61e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299812:(.text+0x1a61f6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1a6228): undefined reference to `PyNumber_InPlaceAdd' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299963:(.text+0x1a6280): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299969:(.text+0x1a629a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1a62ee): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300092:(.text+0x1a6360): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300092:(.text+0x1a636a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1a6376): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a637e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a63ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300115:(.text+0x1a63d4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300117:(.text+0x1a6424): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300204:(.text+0x1a645a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300224:(.text+0x1a6466): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1a6472): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1a647e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300309:(.text+0x1a648c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a657c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a6598): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a65a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a65b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300487:(.text+0x1a65bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300496:(.text+0x1a65c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300525:(.text+0x1a65e8): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300555:(.text+0x1a65fc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300613:(.text+0x1a6632): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300613:(.text+0x1a6650): undefined reference to `PyExc_NameError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300613:(.text+0x1a6664): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a670e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a671a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300019:(.text+0x1a6772): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300019:(.text+0x1a677e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1a67a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300575:(.text+0x1a682c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a6844): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57775:(.text+0x1a6850): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57775:(.text+0x1a685c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57780:(.text+0x1a68a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57790:(.text+0x1a68be): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57881:(.text+0x1a6900): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a690c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a6918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57884:(.text+0x1a6924): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57985:(.text+0x1a6992): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a69a2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58023:(.text+0x1a6a12): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58025:(.text+0x1a6a26): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58097:(.text+0x1a6ae6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a6b06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299958:(.text+0x1a6b48): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299958:(.text+0x1a6b5c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299958:(.text+0x1a6b92): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299996:(.text+0x1a6ba6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a6c5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300092:(.text+0x1a6cbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300129:(.text+0x1a6cce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300131:(.text+0x1a6cde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300418:(.text+0x1a6e24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299875: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299893:(.text+0x1a6eba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299893:(.text+0x1a6ec6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299990:(.text+0x1a6eee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299892:(.text+0x1a6f1a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299895:(.text+0x1a6f26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299908:(.text+0x1a7056): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299915:(.text+0x1a7082): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299926:(.text+0x1a70b4): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299933:(.text+0x1a70ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299877:(.text+0x1a7198): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299873:(.text+0x1a71aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299873:(.text+0x1a71b6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299955:(.text+0x1a7232): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300555:(.text+0x1a72b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57718:(.text+0x1a72c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57718:(.text+0x1a72d2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57749:(.text+0x1a7362): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a736a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x1a7390): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a739c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57754:(.text+0x1a73a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a73b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a73c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300147:(.text+0x1a73d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57775:(.text+0x1a7480): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57775:(.text+0x1a7488): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58097:(.text+0x1a74c6): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58001:(.text+0x1a74e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a751e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300418:(.text+0x1a7526): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a7534): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a753c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a7546): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a754e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57813:(.text+0x1a7566): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57815:(.text+0x1a756e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57815:(.text+0x1a757c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57817:(.text+0x1a7584): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57817:(.text+0x1a758e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a7628): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57849:(.text+0x1a7636): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57983:(.text+0x1a764a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57985:(.text+0x1a765e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a7672): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a768c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299902:(.text+0x1a76aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300309:(.text+0x1a76da): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:300404:(.text+0x1a76e8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299896:(.text+0x1a7748): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57919:(.text+0x1a777c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57919:(.text+0x1a7784): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57919:(.text+0x1a7792): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57921:(.text+0x1a779a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57937:(.text+0x1a77c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a77e2): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a77f0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57722:(.text+0x1a7866): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a78be): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a78ec): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58021:(.text+0x1a7980): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a7994): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a799e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a79ae): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:706:(.text+0x1a79c2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asOwnershipRanges': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57917:(.text+0x1a7a06): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:58041:(.text+0x1a7a1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:57948:(.text+0x1a7a4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299869:(.text+0x1a7a92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299885:(.text+0x1a7ab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96842:(.text+0x1a7af4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a7b30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96905:(.text+0x1a7b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96908:(.text+0x1a7b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96951:(.text+0x1a7b78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1a7cd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1a7ce2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97305:(.text+0x1a7d34): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97305:(.text+0x1a7d44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1a7d6e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97056:(.text+0x1a7eae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a7f66): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a7f76): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x1a7f84): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1a7faa): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x1a7fde): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1a7fee): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97155:(.text+0x1a801a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1a804e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97178:(.text+0x1a805e): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1a808c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97228:(.text+0x1a80fe): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96862:(.text+0x1a81bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96862:(.text+0x1a81c4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96863:(.text+0x1a81e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97316:(.text+0x1a81ee): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a8212): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96991:(.text+0x1a821a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97322:(.text+0x1a8232): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97322:(.text+0x1a823a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97003:(.text+0x1a8254): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a825c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a8274): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a8280): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1a828a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1a8292): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a82b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a82bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1a82de): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1a82fa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97137:(.text+0x1a830a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97137:(.text+0x1a831a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a8326): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96866:(.text+0x1a8344): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96866:(.text+0x1a8354): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96868:(.text+0x1a838c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96868:(.text+0x1a8398): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96901:(.text+0x1a8478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97125:(.text+0x1a84c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97126:(.text+0x1a84dc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a84f4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1a85aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97070:(.text+0x1a862c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97199:(.text+0x1a8696): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a86c6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97204:(.text+0x1a86d4): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97243:(.text+0x1a8724): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97245:(.text+0x1a874c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97246:(.text+0x1a8756): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97212:(.text+0x1a87da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a8970): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97208:(.text+0x1a89b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1a89ce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97320:(.text+0x1a8a02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_79setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96868:(.text+0x1a8a1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96870:(.text+0x1a8a40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96866:(.text+0x1a8a64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96866:(.text+0x1a8a88): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_78setDrawInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97178:(.text+0x1a8aac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97069: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_113setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222499:(.text+0x1a8b58): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222518:(.text+0x1a8b84): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1a8b92): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a8bca): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_112setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222579:(.text+0x1a8bde): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a8c2a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a8c34): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a8c4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a8c7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_113setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222529:(.text+0x1a8ca2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `KSPSetResidualNorm': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:347:(.text+0x1a8cc6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:347:(.text+0x1a8cd0): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a8cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_113setResidualNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222504:(.text+0x1a8d16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `KSPSetResidualNorm': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:347:(.text+0x1a8e7a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359382:(.text+0x1a8e86): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359382:(.text+0x1a8ea0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359477:(.text+0x1a8f04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1a8f16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1a8f78): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359397:(.text+0x1a8f84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1a8f96): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359426:(.text+0x1a8fc2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1a8ff4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9000): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359398:(.text+0x1a9036): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359412:(.text+0x1a907e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359406:(.text+0x1a9096): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a90ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_6setBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331147:(.text+0x1a91ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_7setBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331078:(.text+0x1a91f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a9216): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_7setBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331071:(.text+0x1a929c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331049:(.text+0x1a92ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331056:(.text+0x1a9356): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331056:(.text+0x1a9364): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a9384): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a93b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a93e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1a93ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_7setBoundaryTypes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331078:(.text+0x1a93fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_12addFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78183:(.text+0x1a94b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a94fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_13addFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78107:(.text+0x1a9506): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a953c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_13addFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78133:(.text+0x1a9558): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78135:(.text+0x1a956e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_12addFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78186:(.text+0x1a9584): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_13addFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78135:(.text+0x1a95a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78108:(.text+0x1a95ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78119:(.text+0x1a95be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78113:(.text+0x1a95d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1a970a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a9716): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_87setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274248:(.text+0x1a972e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1a9754): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1a9766): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1a9792): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1a97a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1a97c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1a97f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_87setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274276:(.text+0x1a9824): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274253:(.text+0x1a9836): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274265:(.text+0x1a9878): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274267:(.text+0x1a989c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274269:(.text+0x1a98b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1a9a0a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1a9a16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1a9a2e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_87setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274244:(.text+0x1a9a54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274245:(.text+0x1a9a66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1a9a92): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_86setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274353:(.text+0x1a9aa2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_87setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274224:(.text+0x1a9ac4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274241:(.text+0x1a9af0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274235:(.text+0x1a9b24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274228:(.text+0x1a9b36): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_86setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274314:(.text+0x1a9b78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274328:(.text+0x1a9b9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1a9bb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1a9d0a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_20setBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302344:(.text+0x1a9d16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a9d5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_21setBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302240:(.text+0x1a9d6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1a9d98): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_21setBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302264:(.text+0x1a9da8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302266:(.text+0x1a9dca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302274:(.text+0x1a9df6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302249:(.text+0x1a9e42): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302253:(.text+0x1a9e84): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302253:(.text+0x1a9ea8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1a9ebe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_159createClosureIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321501:(.text+0x1a9fea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321501:(.text+0x1a9ff6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1aa00e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aa034): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aa046): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_159createClosureIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321487:(.text+0x1aa072): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321487:(.text+0x1aa082): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321492:(.text+0x1aa0a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321481:(.text+0x1aa0d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321470:(.text+0x1aa104): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1aa116): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_159createClosureIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321474:(.text+0x1aa158): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321474:(.text+0x1aa17c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1aa192): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1aa2ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1aa2f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_11logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77995:(.text+0x1aa30e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aa334): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1aa346): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_11logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78023:(.text+0x1aa372): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_10logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78050:(.text+0x1aa382): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78074:(.text+0x1aa3a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_11logFlops': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78015:(.text+0x1aa3d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78004:(.text+0x1aa404): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78008:(.text+0x1aa416): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1aa458): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1aa47c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1aa492): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19125:(.text+0x1aa5ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1aa5f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1aa60e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1aa634): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1aa646): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1aa672): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1aa682): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1aa6a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1aa6d0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1aa704): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1aa716): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_13Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74848:(.text+0x1aa758): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1aa77c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1aa792): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19157:(.text+0x1aa8e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74927:(.text+0x1aa8f4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74984:(.text+0x1aa91a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74984:(.text+0x1aa924): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1aa938): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1aa94e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75059:(.text+0x1aa96c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75059:(.text+0x1aa97e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_13Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74836:(.text+0x1aa9ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74836:(.text+0x1aa9da): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74837:(.text+0x1aa9ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74893:(.text+0x1aaa1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1aaa4c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyDict_GetItemDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447399:(.text+0x1aaa5e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_comm_rank': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19134:(.text+0x1aaabe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74952:(.text+0x1aaad2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74856:(.text+0x1aaaf0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74856:(.text+0x1aab0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1aab1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_12Print': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74855:(.text+0x1aab2a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:75043:(.text+0x1aab40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1aac64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1aac70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1aac96): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1aaca0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1aacb4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1aacca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1aace8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47364:(.text+0x1aacfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47451:(.text+0x1aad4a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1aad56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47454:(.text+0x1aad6a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1aad96): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1aadca): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47520:(.text+0x1aaddc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1aae3e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1aae52): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47542:(.text+0x1aae70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1aae8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1aae9a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47550:(.text+0x1aaeaa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47557:(.text+0x1aaec0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1aafea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1aaff6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47603:(.text+0x1ab020): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47603:(.text+0x1ab02a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1ab03e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ab054): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47439:(.text+0x1ab072): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47439:(.text+0x1ab084): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ab0d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1ab0e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1ab0f4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47587:(.text+0x1ab120): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ab154): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab166): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab1aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab1be): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab1dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab1fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab206): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab216): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x1ab22c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ab370): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ab37c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1ab3a2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1ab3ac): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ab3c0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47465:(.text+0x1ab3d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ab3f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1ab406): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ab456): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ab462): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ab476): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47547:(.text+0x1ab4a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47554:(.text+0x1ab4d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1ab4e8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x1ab54a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47498:(.text+0x1ab55e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ab57c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47487:(.text+0x1ab59a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47313:(.text+0x1ab5a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47312:(.text+0x1ab5b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ab5cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ab6f6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_6createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347237:(.text+0x1ab702): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ab72c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ab736): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_7createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347182:(.text+0x1ab74a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347182:(.text+0x1ab760): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347147:(.text+0x1ab77e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1ab790): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ab7e0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_7createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347171:(.text+0x1ab7ec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347173:(.text+0x1ab800): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ab82c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_6createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347262:(.text+0x1ab860): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347262:(.text+0x1ab872): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_7createLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347153:(.text+0x1ab8b6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347160:(.text+0x1ab8ca): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347160:(.text+0x1ab8e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347156:(.text+0x1ab906): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347156:(.text+0x1ab912): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347156:(.text+0x1ab922): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ab938): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_196getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295527:(.text+0x1aba7c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295527:(.text+0x1aba88): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295550:(.text+0x1abab2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ababc): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1abad0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_197getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295484:(.text+0x1abae6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295448:(.text+0x1abb04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1abb16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1abb66): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1abb72): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_197getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295475:(.text+0x1abb86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1abbb2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_196getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295564:(.text+0x1abbe6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295564:(.text+0x1abbf8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_197getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295455:(.text+0x1abc3c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295455:(.text+0x1abc50): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295458:(.text+0x1abc6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1abc8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_196getLabelIdIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295564:(.text+0x1abc98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:295564:(.text+0x1abca8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1abcbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_2createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346927:(.text+0x1abe02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346939:(.text+0x1abe0e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346951:(.text+0x1abe34): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346951:(.text+0x1abe3e): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1abe52): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1abe68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_3createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346896:(.text+0x1abe86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346896:(.text+0x1abe98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1abee8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1abef4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1abf08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_3createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346887:(.text+0x1abf34): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1abf68): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_2createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346976:(.text+0x1abf7a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_3createGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346862:(.text+0x1abfdc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346867:(.text+0x1abff0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346874:(.text+0x1ac00e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346874:(.text+0x1ac02c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346867:(.text+0x1ac038): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346870:(.text+0x1ac048): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346870:(.text+0x1ac05e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x1ac186): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1ac192): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x1ac1bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x1ac1c6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1ac1da): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ac1f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373000:(.text+0x1ac20e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1ac220): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ac270): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373108:(.text+0x1ac27c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ac290): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ac2bc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1ac2f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ac302): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373126:(.text+0x1ac346): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373134:(.text+0x1ac35a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ac378): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373184:(.text+0x1ac396): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373203:(.text+0x1ac3a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x1ac3b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1ac3c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ac50c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1ac518): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373104:(.text+0x1ac542): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373276:(.text+0x1ac54c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ac560): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ac576): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ac594): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ac5a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373117:(.text+0x1ac5f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373117:(.text+0x1ac602): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372985:(.text+0x1ac616): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ac642): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373277:(.text+0x1ac676): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ac688): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1ac6cc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373169:(.text+0x1ac6e0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373169:(.text+0x1ac6fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373170:(.text+0x1ac71c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373170:(.text+0x1ac728): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373123:(.text+0x1ac738): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ac74e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373050:(.text+0x1ac892): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373065:(.text+0x1ac89e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373070:(.text+0x1ac8c8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373071:(.text+0x1ac8d2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373072:(.text+0x1ac8e6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373150:(.text+0x1ac8fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ac91a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373165:(.text+0x1ac92c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373158:(.text+0x1ac97c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ac988): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ac99c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatCreateVecs_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373133:(.text+0x1ac9c8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373136:(.text+0x1ac9fc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:373276:(.text+0x1aca0e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_55getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334346:(.text+0x1aca52): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1aca66): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_55getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334368:(.text+0x1aca84): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_54getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334426:(.text+0x1acaa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1acaae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_55getProductCoordinateLocationSlot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334385:(.text+0x1acabe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334385:(.text+0x1acad4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334359:(.text+0x1acc18): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334359:(.text+0x1acc24): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334363:(.text+0x1acc4e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334363:(.text+0x1acc58): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334363:(.text+0x1acc6c): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1acc82): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1acca0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1accb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_25setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357552:(.text+0x1acd02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357552:(.text+0x1acd0e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357552:(.text+0x1acd22): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1acd4e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1acd82): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1acd94): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_25setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357566:(.text+0x1acdd8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1acdec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ace0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_25setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357592:(.text+0x1ace28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357592:(.text+0x1ace34): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357601:(.text+0x1ace44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ace5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1acf98): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1acfa4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1acfb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_56getLocationDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334552:(.text+0x1ad052): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_57getLocationDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334506:(.text+0x1ad1a8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_56getLocationDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334562:(.text+0x1ad1f4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326602:(.text+0x1ad2f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ad324): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326678:(.text+0x1ad370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326694:(.text+0x1ad48c): undefined reference to `PyNumber_TrueDivide' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326608:(.text+0x1ad4cc): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326684:(.text+0x1ad512): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ad556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x1ad574): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_256metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326716:(.text+0x1ad5b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326727:(.text+0x1ad5c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326623:(.text+0x1ad624): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326613:(.text+0x1ad648): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326613:(.text+0x1ad658): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326622:(.text+0x1ad744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326623:(.text+0x1ad750): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326642:(.text+0x1ad75c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326642:(.text+0x1ad768): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326649:(.text+0x1ad79a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326653: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ad81a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326637:(.text+0x1ad82c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326637:(.text+0x1ad838): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326631:(.text+0x1ad844): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326631:(.text+0x1ad850): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326631:(.text+0x1ad85c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326631:(.text+0x1ad868): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326631: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326694:(.text+0x1ad8a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326694:(.text+0x1ad8b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_257metricNormalize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326617:(.text+0x1ad8bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326617:(.text+0x1ad8c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326615:(.text+0x1ad912): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326615:(.text+0x1ad91e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281781:(.text+0x1ad96a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281793:(.text+0x1ad98a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281858:(.text+0x1ada10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281921:(.text+0x1ada7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281942:(.text+0x1adbc8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281951:(.text+0x1adbd4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1adbfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282072:(.text+0x1adc52): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282072:(.text+0x1adc5e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281804:(.text+0x1adcd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1add60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281809:(.text+0x1adde0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281828:(.text+0x1addec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281828:(.text+0x1ade08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1ade38): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281802:(.text+0x1ade82): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281822:(.text+0x1ade9c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_6createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282109:(.text+0x1adf1a): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282109:(.text+0x1adf66): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1adfca): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1adfe0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_7createBasic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281800:(.text+0x1ae02a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281804:(.text+0x1ae042): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282479:(.text+0x1ae0c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282493:(.text+0x1ae0ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282547:(.text+0x1ae148): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282556:(.text+0x1ae154): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282556:(.text+0x1ae160): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1ae198): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282600:(.text+0x1ae1aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282619:(.text+0x1ae1cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1ae1d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1ae1e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ae1f0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1ae21e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282649:(.text+0x1ae22e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1ae240): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x1ae248): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449027:(.text+0x1ae284): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282690:(.text+0x1ae290): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ae29c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x1ae2b4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282793:(.text+0x1ae2ce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ae2da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282640:(.text+0x1ae310): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282710:(.text+0x1ae322): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282733:(.text+0x1ae35e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ae36a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ae37c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282532:(.text+0x1ae3b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282496:(.text+0x1ae3e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282502:(.text+0x1ae40a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282510:(.text+0x1ae47a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1ae594): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282710:(.text+0x1ae5a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282500:(.text+0x1ae5c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282807:(.text+0x1ae64e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282808:(.text+0x1ae666): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282748:(.text+0x1ae672): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282748:(.text+0x1ae67e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ae6c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_10createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282807:(.text+0x1ae6e0): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ae726): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282556:(.text+0x1ae732): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282556:(.text+0x1ae73e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_11createMapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282498:(.text+0x1ae74a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282500:(.text+0x1ae7be): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282500:(.text+0x1ae7ce): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_9createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282180:(.text+0x1ae842): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282180:(.text+0x1ae84e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_8createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282260:(.text+0x1ae8ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282270:(.text+0x1ae90a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ae94a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1ae956): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ae9a4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1ae9b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1aea38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1aea82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_8createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282421:(.text+0x1aeade): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_9createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282153:(.text+0x1aeb42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282148:(.text+0x1aec30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282177: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1aecc6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1aecd2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_9createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282151:(.text+0x1aecfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282172:(.text+0x1aed2c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282173:(.text+0x1aed38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_8createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282458:(.text+0x1aed9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282459:(.text+0x1aeda6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_9createMemoryScalable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282149:(.text+0x1aee86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282151:(.text+0x1aeefa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:282151:(.text+0x1aef06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243907:(.text+0x1aef2a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243922:(.text+0x1aef50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1aef62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1aefb2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1aefbe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1aefd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1aeffe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1af032): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244062:(.text+0x1af044): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1af04c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1af056): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1af092): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1af0b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244135:(.text+0x1af0ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1af0e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244190:(.text+0x1af196): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1af264): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1af270): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244042:(.text+0x1af294): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1af2ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244071:(.text+0x1af2cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244076:(.text+0x1af31c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1af328): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1af33c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1af368): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244084:(.text+0x1af39e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1af3b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1af3b8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1af3c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243986:(.text+0x1af3fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243988:(.text+0x1af420): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1af43a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243967:(.text+0x1af450): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:705:(.text+0x1af504): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243928:(.text+0x1af5d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243928:(.text+0x1af5e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243940:(.text+0x1af604): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243960:(.text+0x1af62a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243964:(.text+0x1af63c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243930:(.text+0x1af68c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243930:(.text+0x1af698): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243932:(.text+0x1af6ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243982:(.text+0x1af6d8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243947:(.text+0x1af70e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243948:(.text+0x1af720): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243939:(.text+0x1af728): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243942:(.text+0x1af732): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1af76e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244102:(.text+0x1af790): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244102:(.text+0x1af7aa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244104:(.text+0x1af7c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461394:(.text+0x1af874): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243954:(.text+0x1af944): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1af950): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1af974): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_232setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:244102:(.text+0x1af99a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461277:(.text+0x1af9ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1af9fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1afa08): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243928:(.text+0x1afa1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1afa48): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_233setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243932:(.text+0x1afa7e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243934:(.text+0x1afa90): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243934:(.text+0x1afa98): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243934:(.text+0x1afaa2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212568:(.text+0x1afade): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1afb00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1afb1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212628:(.text+0x1afb30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1afbe4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1afcb4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212840:(.text+0x1afcc0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1afce4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461270:(.text+0x1afd0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461277:(.text+0x1afd1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1afd6c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1afd78): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1afd8c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212658:(.text+0x1afdb8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212689:(.text+0x1afdee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1afe00): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1afe08): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1afe12): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212705:(.text+0x1afe4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1afe70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1afe8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1afea0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1aff54): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1b0024): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212587:(.text+0x1b0030): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b0054): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b007a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b008c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212720:(.text+0x1b00dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b00e8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b00fc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b0128): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b015e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212589:(.text+0x1b0170): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212589:(.text+0x1b0178): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212591:(.text+0x1b0182): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212621:(.text+0x1b01be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212625:(.text+0x1b01e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212625:(.text+0x1b01fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212591:(.text+0x1b0210): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212600:(.text+0x1b02c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212840:(.text+0x1b0394): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212869:(.text+0x1b03a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461383:(.text+0x1b03c4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b03ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212851:(.text+0x1b03fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461390:(.text+0x1b044c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461390:(.text+0x1b0458): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1b046c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b0498): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212614:(.text+0x1b04ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212615:(.text+0x1b04e0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b04e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b04f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_224setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212763:(.text+0x1b052e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461271:(.text+0x1b0550): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b056a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b0580): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_225setPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:212595:(.text+0x1b0634): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues_fcn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25836:(.text+0x1b0704): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26113:(.text+0x1b0710): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b0734): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26156:(.text+0x1b075a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26156:(.text+0x1b076c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26019:(.text+0x1b07bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26149:(.text+0x1b07c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b07dc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b0808): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1b083c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26059:(.text+0x1b084e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26059:(.text+0x1b0856): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b0860): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b089c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b08be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26092:(.text+0x1b08d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26094:(.text+0x1b08ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b099c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b0a6a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b0a76): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b0a9a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vecsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26089:(.text+0x1b0ac0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b0ad2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b0b22): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b0b2e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_1garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90611:(.text+0x1b0b42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_GetComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85480:(.text+0x1b0b6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90792:(.text+0x1b0ba4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b0bb6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1b0bbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90659:(.text+0x1b0bc8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1b0c04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1b0c26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b0c40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_1garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90624:(.text+0x1b0c56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90697:(.text+0x1b0d0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_GetComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:85494:(.text+0x1b0dda): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90750:(.text+0x1b0de6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90809:(.text+0x1b0e0a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90770:(.text+0x1b0e30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90772:(.text+0x1b0e42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_1garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90604:(.text+0x1b0e92): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90695:(.text+0x1b0e9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b0eb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b0ede): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90717:(.text+0x1b0f14): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90730:(.text+0x1b0f26): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90730:(.text+0x1b0f2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90719:(.text+0x1b0f38): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_1garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90608:(.text+0x1b0f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b0f96): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_garbage_cleanup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90695:(.text+0x1b0fb0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:90695:(.text+0x1b0fc6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374351:(.text+0x1b107a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x1b114a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1b1156): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1b117a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1b11a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b11b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374527:(.text+0x1b1202): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x1b120e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1b1222): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374562:(.text+0x1b124e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1b1284): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1b1296): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374579:(.text+0x1b129e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374579:(.text+0x1b12a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b12e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1b1306): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b1320): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374620:(.text+0x1b1336): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b13ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374434:(.text+0x1b14ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374434:(.text+0x1b14c6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374443:(.text+0x1b14ea): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1b1510): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374516:(.text+0x1b1522): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1b1572): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374518:(.text+0x1b157e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374518:(.text+0x1b1592): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b15be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b15f4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b1606): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b160e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1b1618): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b1654): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1b1676): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374562:(.text+0x1b1690): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1b16a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.12/object.h:798:(.text+0x1b175a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1b182a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1b1836): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x1b185a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1b1880): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374070:(.text+0x1b1892): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1b18e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b18ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b1902): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1b192e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374217:(.text+0x1b1964): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374219:(.text+0x1b1976): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b197e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1b1988): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b19c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374259:(.text+0x1b19e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374265:(.text+0x1b1a00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1b1a16): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374320:(.text+0x1b1aca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b1b9a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374311:(.text+0x1b1ba6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b1bca): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b1bf0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b1c02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374131:(.text+0x1b1c52): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374140:(.text+0x1b1c5e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374140:(.text+0x1b1c72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1b1c9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b1cd4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b1ce6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1b1cee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1b1cf8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b1d34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b1d56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b1d70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b1d86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1b1e3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/include/python3.12/object.h:798:(.text+0x1b1f0a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374131:(.text+0x1b1f16): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374320:(.text+0x1b1f3a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_169getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321974:(.text+0x1b1f60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321974:(.text+0x1b1f72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_168getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322046:(.text+0x1b1fc2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322064:(.text+0x1b1fce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b1fe2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_168getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322088:(.text+0x1b200e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b2044): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_169getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322023:(.text+0x1b2056): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322023:(.text+0x1b205e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322023:(.text+0x1b2068): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b20a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b20c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b20e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_169getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322014:(.text+0x1b20f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321989:(.text+0x1b21aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1b227a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b2286): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b22aa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_169getOrdering': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321989:(.text+0x1b22d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321989:(.text+0x1b22e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b2332): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b233e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273532:(.text+0x1b2352): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b237e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_78computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273626:(.text+0x1b23b4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273686:(.text+0x1b23c6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b23ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1b23d8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273505:(.text+0x1b2414): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b2436): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b2450): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2466): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273546:(.text+0x1b251a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273551:(.text+0x1b25ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b25f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_78computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273578:(.text+0x1b261e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1b264c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273527:(.text+0x1b26a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273527:(.text+0x1b26ac): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273527:(.text+0x1b26c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b26ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_79computeVariableBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273557:(.text+0x1b274a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273509:(.text+0x1b275e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273509:(.text+0x1b2770): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:273507:(.text+0x1b2778): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1b27e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b27fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b2814): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_366factorCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185984:(.text+0x1b288a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_367factorCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185955:(.text+0x1b295a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185955:(.text+0x1b2966): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_366factorCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186007:(.text+0x1b298a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_367factorCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185923:(.text+0x1b29b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185927:(.text+0x1b29c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185945:(.text+0x1b2a12): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185915:(.text+0x1b2a1e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185920:(.text+0x1b2a32): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185928:(.text+0x1b2a5e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185933:(.text+0x1b2a94): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185933:(.text+0x1b2aa6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185933:(.text+0x1b2aae): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b2ab8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_367factorCholesky': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185913:(.text+0x1b2af4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185913:(.text+0x1b2b16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:185915:(.text+0x1b2b30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186282:(.text+0x1b2b46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186337:(.text+0x1b2bfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b2cca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b2cd6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186341:(.text+0x1b2cfa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_372factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186393:(.text+0x1b2d20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186393:(.text+0x1b2d32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b2d82): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186299:(.text+0x1b2d8e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186306:(.text+0x1b2da2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186306:(.text+0x1b2dce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186314:(.text+0x1b2e04): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186319:(.text+0x1b2e16): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186319:(.text+0x1b2e1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186319:(.text+0x1b2e28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b2e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b2e86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_373factorICC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186299:(.text+0x1b2ea0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186299:(.text+0x1b2eb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b2f6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b303a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_121setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222927:(.text+0x1b3046): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222921:(.text+0x1b306a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222913:(.text+0x1b3090): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222907:(.text+0x1b30a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_120setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222991:(.text+0x1b30f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222991:(.text+0x1b30fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_121setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222921:(.text+0x1b3112): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222914:(.text+0x1b313e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b3172): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b3184): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b318c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b3196): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_121setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222936:(.text+0x1b31d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149196:(.text+0x1b31f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149207:(.text+0x1b320e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b3224): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1b32ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149216:(.text+0x1b339c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149219:(.text+0x1b33a8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149219:(.text+0x1b33cc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149302:(.text+0x1b33f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149303:(.text+0x1b3404): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b3454): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b3460): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b3474): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b34a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_31setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217327:(.text+0x1b34d6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217327:(.text+0x1b34e8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1b34f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b34fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b3536): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_30setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217406:(.text+0x1b3558): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1b3572): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_31setDMActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217376:(.text+0x1b3588): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217361:(.text+0x1b363c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217354:(.text+0x1b370c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:217354:(.text+0x1b3718): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b373c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b3762): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b3774): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_89setInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221238:(.text+0x1b37c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b37d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1b37e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1b3810): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1b3844): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_88setInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221328:(.text+0x1b3856): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b385e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1b3868): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b38a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_89setInitialGuessKnoll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221252:(.text+0x1b38c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b38e0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b38f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1b39a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b3a72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b3a7e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_77setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220608:(.text+0x1b3aa2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b3ac8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b3ada): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b3b2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1b3b36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_76setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220698:(.text+0x1b3b4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_77setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220657:(.text+0x1b3b76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b3bac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_77setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220622:(.text+0x1b3bbe): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3bc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3bd0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_77setComputeEigenvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220648:(.text+0x1b3c0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220652:(.text+0x1b3c2e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220629:(.text+0x1b3c48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220628:(.text+0x1b3c5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1b3d12): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b3de2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_159setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238980:(.text+0x1b3dee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b3e12): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_159setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238995:(.text+0x1b3e38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1b3e4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b3e9a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1b3ea6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3eba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b3ee6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_159setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238985:(.text+0x1b3f1c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238971:(.text+0x1b3f2e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238971:(.text+0x1b3f36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238977:(.text+0x1b3f40): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238974:(.text+0x1b3f7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_158setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239055:(.text+0x1b3f9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239055:(.text+0x1b3fb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_159setErrorIfNotConverged': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238978:(.text+0x1b3fce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239000:(.text+0x1b4082): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_84setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221129:(.text+0x1b4152): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221077:(.text+0x1b415e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b4182): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221042:(.text+0x1b41a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b41ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221062:(.text+0x1b420a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221072:(.text+0x1b4216): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221048:(.text+0x1b422a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221051:(.text+0x1b4256): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_84setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221132:(.text+0x1b428c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221132:(.text+0x1b429e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221132:(.text+0x1b42a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_85setInitialGuessNonzero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221070:(.text+0x1b42b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221055:(.text+0x1b42ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b430e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b4328): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b433e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b43f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b44c2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b44ce): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_81setComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220858:(.text+0x1b44f2): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220833:(.text+0x1b4518): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220844:(.text+0x1b452a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1b457a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_80setComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220922:(.text+0x1b4586): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220922:(.text+0x1b459a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_81setComputeSingularValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:220845:(.text+0x1b45c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b45fc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b460e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b4616): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b4620): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b465c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47613:(.text+0x1b467e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47613:(.text+0x1b4698): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47637:(.text+0x1b46ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b4762): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1b4832): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1b483e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1b4862): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1b4888): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1b489a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1b48ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47860:(.text+0x1b48f6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47860:(.text+0x1b490a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47864:(.text+0x1b4936): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47875:(.text+0x1b496c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47875:(.text+0x1b497e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47875:(.text+0x1b4986): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b4990): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b49cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b49ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b4a08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b4a1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b4ad2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x1b4ba2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47660:(.text+0x1b4bae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b4bd6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b4c04): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4c58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4c64): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4c78): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4ca4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4d16): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4d28): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x1b4d30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47620:(.text+0x1b4d9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47621:(.text+0x1b4db6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47629:(.text+0x1b4dcc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b4e42): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b4f12): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x1b4f1e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47866:(.text+0x1b4f42): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b4f68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b4f7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47869:(.text+0x1b4fca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1b4fd6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1b4fea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b5016): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b504c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47818:(.text+0x1b505e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47818:(.text+0x1b5066): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47809:(.text+0x1b5070): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47781:(.text+0x1b50ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b50ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b50e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x1b50fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287207:(.text+0x1b51b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287236:(.text+0x1b5282): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b528e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287182:(.text+0x1b52b2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b52d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b52ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_62addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287306:(.text+0x1b533a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287224:(.text+0x1b5346): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287194:(.text+0x1b535a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b5386): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_63addField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287216:(.text+0x1b53bc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287186:(.text+0x1b53ce): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287186:(.text+0x1b53d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287191:(.text+0x1b53e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287200:(.text+0x1b541c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287204:(.text+0x1b543e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287204:(.text+0x1b5458): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b546e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63103:(.text+0x1b5522): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63222:(.text+0x1b55f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b55fe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1b5622): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1b5648): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b565a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63291:(.text+0x1b56aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63291:(.text+0x1b56b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x1b56ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1b56f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63302:(.text+0x1b572c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1b573e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63323:(.text+0x1b5746): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63332:(.text+0x1b5750): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b578c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b57ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x1b57c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x1b57de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63360:(.text+0x1b5892): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b5962): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b596e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63109:(.text+0x1b5992): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:705:(.text+0x1b59b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b59ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63172:(.text+0x1b5a1a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1b5a26): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63198:(.text+0x1b5a3a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63242:(.text+0x1b5a66): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63251:(.text+0x1b5a9a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b5aac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63245:(.text+0x1b5ab4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63216:(.text+0x1b5abe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63225:(.text+0x1b5afa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63281:(.text+0x1b5b1c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63283:(.text+0x1b5b36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1b5b4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63302:(.text+0x1b5bfa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b5cca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63249:(.text+0x1b5cd6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b5cfa): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateGlobalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63221:(.text+0x1b5d20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63221:(.text+0x1b5d32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63225:(.text+0x1b5d82): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65433:(.text+0x1b5d8e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65433:(.text+0x1b5da2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65468:(.text+0x1b5dce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65473:(.text+0x1b5e04): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x1b5e16): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65502:(.text+0x1b5e1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65502:(.text+0x1b5e28): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b5e64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65552:(.text+0x1b5e86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b5ea0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65606:(.text+0x1b5eb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1b5f6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b603a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b6046): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b606a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65736:(.text+0x1b6090): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65739:(.text+0x1b60a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b60f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b60fe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b6112): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65690:(.text+0x1b613e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b6174): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b6186): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b618e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65725:(.text+0x1b6198): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b61d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b61f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b6210): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65438:(.text+0x1b6226): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65528:(.text+0x1b62da): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65611:(.text+0x1b63aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65611:(.text+0x1b63b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1b63da): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65618:(.text+0x1b6400): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65618:(.text+0x1b6412): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65628:(.text+0x1b6462): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65435:(.text+0x1b646e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65632:(.text+0x1b6482): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1b64ae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b64e4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65572:(.text+0x1b64f6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b64fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b6508): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65588:(.text+0x1b6544): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:65577:(.text+0x1b6566): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b6580): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b6596): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63443:(.text+0x1b664a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b671a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1b6726): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63592:(.text+0x1b674a): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63597:(.text+0x1b6770): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63597:(.text+0x1b6782): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63607:(.text+0x1b67d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63608:(.text+0x1b67de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1b67f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b681e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19978:(.text+0x1b6854): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63657:(.text+0x1b6866): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63639:(.text+0x1b686e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b6878): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b68b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b68d6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b68f0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b6906): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b69ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b6a8a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b6a96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63456:(.text+0x1b6aba): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:706:(.text+0x1b6ae0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63459:(.text+0x1b6af2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1b6b42): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63513:(.text+0x1b6b4e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63514:(.text+0x1b6b62): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63561:(.text+0x1b6b8e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b6bc4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63531:(.text+0x1b6bd6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63532:(.text+0x1b6bde): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63533:(.text+0x1b6be8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63542:(.text+0x1b6c24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63597:(.text+0x1b6c46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1b6c60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x1b6c76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63421:(.text+0x1b6d2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63567:(.text+0x1b6dfa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63725:(.text+0x1b6e06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b6e2a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_DMSHELL_CreateLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63537:(.text+0x1b6e50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:63537:(.text+0x1b6e62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_1wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78609:(.text+0x1b6eb2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78609:(.text+0x1b6ebe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78616:(.text+0x1b6ed2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78639:(.text+0x1b6efe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b6f34): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b6f46): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78663:(.text+0x1b6f4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1b6f58): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78737:(.text+0x1b6f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1b6fb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b6fd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78764:(.text+0x1b6fe6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_LookupSpecial': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3695:(.text+0x1b709a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b716a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b7176): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b719a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78805:(.text+0x1b71c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78820:(.text+0x1b71d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78826:(.text+0x1b7222): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78906:(.text+0x1b722e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78906:(.text+0x1b7242): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b726e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b72a4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b72b6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b72be): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_1wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78627:(.text+0x1b72c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1b7304): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1b7326): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1b7340): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0x1b7356): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1b740a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b74da): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b74e6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b750a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_1wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78615:(.text+0x1b7530): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseClosureNameError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447973:(.text+0x1b7542): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b7592): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1b759e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b75b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b75de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseClosureNameError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447973:(.text+0x1b7614): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447973:(.text+0x1b7626): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78731:(.text+0x1b762e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b7638): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b7674): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b7696): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78794:(.text+0x1b76b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78732:(.text+0x1b76c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b777a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78632:(.text+0x1b784a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1b7856): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b787a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b78a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseClosureNameError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447973:(.text+0x1b78b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78841:(.text+0x1b7902): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78844:(.text+0x1b790e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78844:(.text+0x1b7922): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78850:(.text+0x1b794e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78855:(.text+0x1b7984): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b7996): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b799e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78859:(.text+0x1b79a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78888:(.text+0x1b79e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b7a06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_14EventDecorator_9decorator_wrapped_func': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78707:(.text+0x1b7a20): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78715:(.text+0x1b7a36): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:78853:(.text+0x1b7aea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7bba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7bc6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15_DMDA_Vec_array_7__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59260:(.text+0x1b7bea): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15_DMDA_Vec_array_6__enter__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59308:(.text+0x1b7c10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:59308:(.text+0x1b7c22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b7c72): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105421:(.text+0x1b7c7e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105421:(.text+0x1b7c92): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1b7cbe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105473:(.text+0x1b7cf4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1b7d06): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_22createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105524:(.text+0x1b7d0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105524:(.text+0x1b7d18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1b7d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1b7d76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x1b7d90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b7da6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1b7e5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7f2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b7f36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105487:(.text+0x1b7f5a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b7f80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1b7f92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b7fe2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_22createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105524:(.text+0x1b7fee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105619:(.text+0x1b8002): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1b802e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x1b8062): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_22createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105572:(.text+0x1b8074): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105572:(.text+0x1b807c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1b8086): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1b80c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b80e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1b80fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1b8114): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105467:(.text+0x1b81c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b8290): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105457:(.text+0x1b829c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105457:(.text+0x1b82c0): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b82e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b82f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_23createBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105439:(.text+0x1b8348): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105439:(.text+0x1b8354): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105439:(.text+0x1b8368): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105441:(.text+0x1b8394): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311070:(.text+0x1b83c8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1b83da): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1b83e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b83ec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1b8428): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1b844a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311184:(.text+0x1b8464): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311194:(.text+0x1b847a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b8528): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311088:(.text+0x1b85f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311088:(.text+0x1b8602): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b8626): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b864c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b865e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/include/python3.12/object.h:643:(.text+0x1b86ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b86ba): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1b86ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1b86fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1b8730): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b8742): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b874a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b8754): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311206:(.text+0x1b8790): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311347:(.text+0x1b87b2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311080:(.text+0x1b87cc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311085:(.text+0x1b87e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311347:(.text+0x1b8896): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311078:(.text+0x1b8966): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311085:(.text+0x1b8972): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_32setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311347:(.text+0x1b8996): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311347:(.text+0x1b89bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311347:(.text+0x1b89ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311094:(.text+0x1b8a1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311094:(.text+0x1b8a2a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311094:(.text+0x1b8a3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b8a6a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_33setCone': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311078:(.text+0x1b8aa0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311078:(.text+0x1b8ab2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311078:(.text+0x1b8aba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311076:(.text+0x1b8ac4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311080:(.text+0x1b8b00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347680:(.text+0x1b8b22): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347680:(.text+0x1b8b3c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347680:(.text+0x1b8b52): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1b8c06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b8cd6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b8ce2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b8d06): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__GetModuleGlobalName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447699:(.text+0x1b8d2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347845:(.text+0x1b8d3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1b8d8e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b8d9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347849:(.text+0x1b8dae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347862:(.text+0x1b8dda): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1b8e10): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1b8e22): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b8e2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b8e34): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b8e70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1b8e92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b8eac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b8ec2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347755:(.text+0x1b8f76): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347697:(.text+0x1b9046): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347697:(.text+0x1b9052): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347707:(.text+0x1b9076): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347714:(.text+0x1b909c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347739:(.text+0x1b90ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347790:(.text+0x1b90fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1b910a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b911e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445649:(.text+0x1b914a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b9180): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347921:(.text+0x1b9192): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347921:(.text+0x1b919a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1b91a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b91e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b9202): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b921c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347864:(.text+0x1b9232): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1b92e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347860:(.text+0x1b93b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347862:(.text+0x1b93c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347722:(.text+0x1b93e6): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347707:(.text+0x1b940c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347893:(.text+0x1b941e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b946e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b947a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445651:(.text+0x1b948e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_16registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347905:(.text+0x1b94ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1b94f0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347716:(.text+0x1b9502): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347716:(.text+0x1b950a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347716:(.text+0x1b9514): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b9550): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b9572): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b958c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_17registerField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347702:(.text+0x1b95a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b9656): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1b9726): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321077:(.text+0x1b9732): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321007:(.text+0x1b9756): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b977c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1b978e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b97de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1b97ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321102:(.text+0x1b97fe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b982a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320973:(.text+0x1b9860): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320973:(.text+0x1b9872): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320973:(.text+0x1b987a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320977:(.text+0x1b9884): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1b98c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b98e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1b98fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1b9912): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321073:(.text+0x1b99c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b9a96): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b9aa2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1b9ac6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_152getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321043:(.text+0x1b9aec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_153getPointLocalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320983:(.text+0x1b9afe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320979:(.text+0x1b9b4e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320979:(.text+0x1b9b5a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:320979:(.text+0x1b9b6e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1b9b9a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b9bd0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b9be2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1b9bea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b9bf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_29setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310673:(.text+0x1b9c30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1b9c52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1b9c6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1b9c82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_29setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310733:(.text+0x1b9d36): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310696:(.text+0x1b9e06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310699:(.text+0x1b9e12): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310703:(.text+0x1b9e36): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1b9e5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1b9e6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1b9ebe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_28setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310798:(.text+0x1b9eca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310799:(.text+0x1b9ede): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1b9f0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_28setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310812:(.text+0x1b9f40): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1b9f52): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1b9f5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1b9f64): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1b9fa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_28setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310778:(.text+0x1b9fc2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_29setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310697:(.text+0x1b9fdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_28setConeSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:310822:(.text+0x1b9ff2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ba0a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311883:(.text+0x1ba176): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311883:(.text+0x1ba182): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1ba1a6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311925:(.text+0x1ba1cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ba1de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312035:(.text+0x1ba22e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312026:(.text+0x1ba23a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1ba24e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyArray_FLAGS': /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1574:(.text+0x1ba27a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x1ba2b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ba2c2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1ba2ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ba2d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312090:(.text+0x1ba310): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ba332): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311943:(.text+0x1ba34c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311943:(.text+0x1ba362): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14258:(.text+0x1ba416): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1ba4e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ba4f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ba516): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311972:(.text+0x1ba53c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312004:(.text+0x1ba54e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x1ba59e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x1ba5aa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312062:(.text+0x1ba5be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1ba5ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ba620): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_40setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312076:(.text+0x1ba632): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312077:(.text+0x1ba63a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312077:(.text+0x1ba644): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311901:(.text+0x1ba680): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ba6a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_41setConeOrientation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:311906:(.text+0x1ba6bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ba6d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ba786): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260553:(.text+0x1ba856): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260553:(.text+0x1ba862): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1ba886): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260594:(.text+0x1ba8ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260645:(.text+0x1ba8be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ba90e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260659:(.text+0x1ba91a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260659:(.text+0x1ba92e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260662:(.text+0x1ba95a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260682:(.text+0x1ba990): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ba9a2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1ba9aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260693:(.text+0x1ba9b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ba9f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1baa12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260604:(.text+0x1baa2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x1baa42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260597:(.text+0x1baaf6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1babc6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1babd2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260662:(.text+0x1babf6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260576:(.text+0x1bac1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bac2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_196setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260646:(.text+0x1bac7e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260589:(.text+0x1bac8a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260589:(.text+0x1bac9e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260585:(.text+0x1bacca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bad00): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bad12): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1bad1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1bad24): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bad60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_197setStepLimits': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260613:(.text+0x1bad82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313063:(.text+0x1bad9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313074:(.text+0x1badb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1bae66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_54setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313244:(.text+0x1baf18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1baf3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1baf4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bafa2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bafae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bafce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1baffe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bb052): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313089:(.text+0x1bb094): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313098:(.text+0x1bb0ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1bb120): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_54setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313191:(.text+0x1bb1d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1bb1fe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x1bb20a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313086:(.text+0x1bb262): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313086:(.text+0x1bb26e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_54setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313259:(.text+0x1bb28e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313259:(.text+0x1bb2be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313151:(.text+0x1bb312): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1bb354): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_55setSupport': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313095:(.text+0x1bb37a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bb3e0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350683:(.text+0x1bb498): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bb4be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350695:(.text+0x1bb4ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1bb522): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bb52e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1bb54e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350753:(.text+0x1bb57e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350766:(.text+0x1bb5d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bb614): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350792:(.text+0x1bb63a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_59viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350635:(.text+0x1bb6a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bb778): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1bb784): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bb81a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1bb82a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_59viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350598:(.text+0x1bb84c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350605:(.text+0x1bb878): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350792:(.text+0x1bb8d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x1bb8f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_58viewFieldsXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350714:(.text+0x1bb90a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bba58): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bba64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318284:(.text+0x1bbafa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1bbb08): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1bbb28): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1bbb54): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1bbb84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1bbb90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318388:(.text+0x1bbbee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318312:(.text+0x1bbc10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1bbc26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318284:(.text+0x1bbd2a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318249:(.text+0x1bbd36): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318295:(.text+0x1bbd7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1bbd90): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318337:(.text+0x1bbdbc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1bbdcc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bbdee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318264:(.text+0x1bbe1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318281:(.text+0x1bbe66): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318281:(.text+0x1bbe70): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_118rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318376:(.text+0x1bbeac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1bbece): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_119rebalanceSharedPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318255:(.text+0x1bbee4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318251:(.text+0x1bbff0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318255:(.text+0x1bc016): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318255:(.text+0x1bc022): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1bc07a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103166:(.text+0x1bc086): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bc0a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103245:(.text+0x1bc0d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454536:(.text+0x1bc12a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bc16c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103323:(.text+0x1bc192): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103353:(.text+0x1bc1f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bc2d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1bc2dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22262:(.text+0x1bc372): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447050:(.text+0x1bc382): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1bc3a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454535:(.text+0x1bc3d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22335:(.text+0x1bc428): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103432:(.text+0x1bc44c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103432:(.text+0x1bc462): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bc58e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103192:(.text+0x1bc5b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103192:(.text+0x1bc5c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22231:(.text+0x1bc618): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103457:(.text+0x1bc624): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1bc644): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454660:(.text+0x1bc674): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22374:(.text+0x1bc6c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bc706): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1bc72c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1bc78e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22282:(.text+0x1bc844): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22294:(.text+0x1bc86a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22294:(.text+0x1bc876): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22309:(.text+0x1bc8ce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1bc8da): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1bc8fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22330:(.text+0x1bc92a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103190:(.text+0x1bc97e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:22267:(.text+0x1bc9c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103360:(.text+0x1bc9e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103372:(.text+0x1bca4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103384:(.text+0x1bcb04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1bcb2a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_24join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103341:(.text+0x1bcb36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103202:(.text+0x1bcb8e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103202:(.text+0x1bcb9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bcbba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_25join': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103198:(.text+0x1bcbea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1bcc3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:454537:(.text+0x1bcc7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bcca4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321285:(.text+0x1bcd08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1bcdc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321333:(.text+0x1bcde6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321333:(.text+0x1bcdf2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321324:(.text+0x1bce4a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321324:(.text+0x1bce56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bce76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_156getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321428:(.text+0x1bcea6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321296:(.text+0x1bcef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321303:(.text+0x1bcf3a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x1bcf60): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1bcfc4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1bd07c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bd0a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1bd0ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_156getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321379:(.text+0x1bd106): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321296:(.text+0x1bd112): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1bd132): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1bd162): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_157getPointGlobalField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321309:(.text+0x1bd1b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321305:(.text+0x1bd1f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1bd21e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bd284): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1bd33c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1bd362): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x1bd36e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219148:(.text+0x1bd3c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219148:(.text+0x1bd3d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bd3f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bd422): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1bd476): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219111:(.text+0x1bd4b8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219118:(.text+0x1bd4de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1bd544): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219106:(.text+0x1bd61c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219112:(.text+0x1bd628): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1bd6be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_53callConvergenceTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219120:(.text+0x1bd6ce): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219120:(.text+0x1bd6f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bd71c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bd774): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `KSPConvergenceTestCall': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:359:(.text+0x1bd798): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:359:(.text+0x1bd7ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_236maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137929:(.text+0x1bd8fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137955:(.text+0x1bd906): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137979:(.text+0x1bd99c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1bd9ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bd9ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137838:(.text+0x1bd9fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137845:(.text+0x1bda52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bda76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1bda8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x1bdbba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446983:(.text+0x1bdbe0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bdbec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137800:(.text+0x1bdc44): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137808:(.text+0x1bdc50): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137811:(.text+0x1bdc70): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137830:(.text+0x1bdca0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_236maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137913:(.text+0x1bdcf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137930:(.text+0x1bdd34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_237maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137808:(.text+0x1bdd5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_236maxpy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:137979:(.text+0x1bddbe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bde76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353866:(.text+0x1bde9c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353900:(.text+0x1bdea8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1bdf00): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353935:(.text+0x1bdf0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_17setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353839:(.text+0x1bdf2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bdf5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_17setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353830:(.text+0x1bdfae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353802:(.text+0x1bdff0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353805:(.text+0x1be016): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353868:(.text+0x1be07a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1be132): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1be158): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353873:(.text+0x1be164): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1be1bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1be1c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353901:(.text+0x1be1e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353873:(.text+0x1be218): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1be26a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1be2ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1be2d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353867:(.text+0x1be338): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1be3f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_16setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353877:(.text+0x1be416): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1be422): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1be47a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1be486): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1be4a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_17setDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353839:(.text+0x1be4d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1be528): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1be56a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1be590): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_51setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312738:(.text+0x1be5f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312693:(.text+0x1be6ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312704:(.text+0x1be6d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312708:(.text+0x1be6de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1be736): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_50setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312763:(.text+0x1be742): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1be762): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_50setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312804:(.text+0x1be792): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1be7e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1be828): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_51setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312696:(.text+0x1be84e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_50setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312827:(.text+0x1be8b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1be96c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_51setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312710:(.text+0x1be992): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1be99e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1be9f6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bea02): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_51setSupportSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312738:(.text+0x1bea22): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_23fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102883:(.text+0x1bea52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1beaa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103032:(.text+0x1beae8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103055:(.text+0x1beb0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:44:(.text+0x1beb74): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1bec2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bec52): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_23fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102927:(.text+0x1bec5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103084:(.text+0x1becb6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1becc2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1bece2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bed12): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ListComp_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3647:(.text+0x1bed64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1beda6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1bedcc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446556:(.text+0x1bee30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103147:(.text+0x1beee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103103:(.text+0x1bef0c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103103:(.text+0x1bef18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_23fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102896:(.text+0x1bef70): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102896:(.text+0x1bef7c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1bef9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_23fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102889:(.text+0x1befcc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102909:(.text+0x1bf020): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102905:(.text+0x1bf062): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_22fork': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103084:(.text+0x1bf088): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:43:(.text+0x1bf0ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_69__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125371:(.text+0x1bf1c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125382:(.text+0x1bf1d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1bf268): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_68__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125459:(.text+0x1bf278): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bf29a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_69__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125426:(.text+0x1bf2c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bf31e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bf342): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1bf358): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_69__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125392:(.text+0x1bf484): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125396:(.text+0x1bf4aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125397:(.text+0x1bf4b6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125387:(.text+0x1bf50e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:125387:(.text+0x1bf51a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192926:(.text+0x1bf53a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1bf56a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_454__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193005:(.text+0x1bf5be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193014:(.text+0x1bf600): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bf626): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1bf68c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_454__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193014:(.text+0x1bf744): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bf76a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_454__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:193036:(.text+0x1bf776): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192955:(.text+0x1bf7ce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1bf7da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192956:(.text+0x1bf7fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192951:(.text+0x1bf82a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1bf87c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_455__dlpack__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:192942:(.text+0x1bf8be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401506:(.text+0x1bf8e4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401542:(.text+0x1bf948): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1bf9fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1bfa24): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1bfa30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bfa88): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw___pyx_MemviewEnum_1__reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401479:(.text+0x1bfa94): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetAttr3Default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447980:(.text+0x1bfab4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401649:(.text+0x1bfae4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1bfb36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401662:(.text+0x1bfb78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1bfb9e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1bfc02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1bfcdc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1bfce8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetBuiltinName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445651:(.text+0x1bfd36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445651:(.text+0x1bfd48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445649:(.text+0x1bfd88): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445650:(.text+0x1bfd96): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445651:(.text+0x1bfdb6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf___pyx_MemviewEnum___reduce_cython__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401491:(.text+0x1bfde2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401686:(.text+0x1bfe14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__GetModuleGlobalName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:401519:(.text+0x1bfe52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1bfe74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1bfe8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1bffa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24631:(.text+0x1bffcc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1bffd8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1c0030): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1c003c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c005c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24717:(.text+0x1c008c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24620:(.text+0x1c00de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24653:(.text+0x1c0120): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24625:(.text+0x1c0146): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24664:(.text+0x1c01aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c0260): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24746:(.text+0x1c0286): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x1c0292): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1c02ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1c02f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24626:(.text+0x1c0316): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c0346): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c0398): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c03da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_iadd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24646:(.text+0x1c0400): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24633:(.text+0x1c0464): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_8__iadd__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119355:(.text+0x1c051a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_add': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25294:(.text+0x1c0540): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25296:(.text+0x1c054c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25315:(.text+0x1c05a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25315:(.text+0x1c05b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c05d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1c0600): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_18__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119671:(.text+0x1c0652): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_radd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25513:(.text+0x1c0694): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_18__add__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119696:(.text+0x1c06ba): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119671:(.text+0x1c071e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1c07d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c07fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1c0806): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1c085e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c086a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1c088a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1c08ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c090e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1c0950): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c0976): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61542:(.text+0x1c09dc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c0a94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c0aba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c0ac6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61355:(.text+0x1c0b1e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c0b2a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61439:(.text+0x1c0b4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61449:(.text+0x1c0b7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c0bcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1c0c0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61286:(.text+0x1c0c34): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c0c98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x1c0d50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c0d76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1c0d82): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c0dda): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61580:(.text+0x1c0de6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61579:(.text+0x1c0e06): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61499:(.text+0x1c0e36): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61343:(.text+0x1c0e8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61316:(.text+0x1c0ecc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c0ef2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61401:(.text+0x1c0f58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61384:(.text+0x1c1010): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61476:(.text+0x1c1036): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61476:(.text+0x1c1042): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61485:(.text+0x1c109a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61485:(.text+0x1c10a6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61500:(.text+0x1c10c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1c10f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61454:(.text+0x1c114a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x1c118c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61493:(.text+0x1c11b2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61271:(.text+0x1c1218): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61579:(.text+0x1c12f0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61579:(.text+0x1c12fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asDofs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61384:(.text+0x1c1392): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61384:(.text+0x1c13a2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:61449:(.text+0x1c13c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1c13f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330000:(.text+0x1c1446): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330022:(.text+0x1c146a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330027:(.text+0x1c1480): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330344:(.text+0x1c15bc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330504:(.text+0x1c1652): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_EqObjC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447660:(.text+0x1c1774): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c17c0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1c1818): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c182e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1c18be): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x1c1972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x1c197e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x1c198a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x1c1996): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120:(.text+0x1c19a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330120: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330647:(.text+0x1c1b5e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1c1b6c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330678:(.text+0x1c1b96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330678:(.text+0x1c1ba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1c1bfc): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330782:(.text+0x1c1c30): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c1c3a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c1c4c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x1c1c8a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x1c1cb8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x1c1cc4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x1c1ce0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330709:(.text+0x1c1d10): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330032:(.text+0x1c1d58): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330157:(.text+0x1c1d74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330157:(.text+0x1c1d82): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330159:(.text+0x1c1da6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330221:(.text+0x1c1db8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330346:(.text+0x1c1e50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330189:(.text+0x1c1e5c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330636:(.text+0x1c1e90): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c1ea6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330424:(.text+0x1c1ef8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330039:(.text+0x1c1f2a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330047:(.text+0x1c1f5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1c2060): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330045:(.text+0x1c208e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330033:(.text+0x1c209a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330047:(.text+0x1c20b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c20e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330069:(.text+0x1c2196): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330076:(.text+0x1c21ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330077:(.text+0x1c21d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330089:(.text+0x1c2220): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330094:(.text+0x1c2230): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330099:(.text+0x1c2246): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330101:(.text+0x1c2268): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330112:(.text+0x1c229a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330117:(.text+0x1c22c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330117:(.text+0x1c22de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330604:(.text+0x1c23d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330598:(.text+0x1c23fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c240a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1c2426): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330538:(.text+0x1c2456): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c2506): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330051:(.text+0x1c253a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330051:(.text+0x1c2546): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330049:(.text+0x1c2590): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330049:(.text+0x1c25a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330033:(.text+0x1c25b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331169:(.text+0x1c25d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c260a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c2636): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_8setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331269:(.text+0x1c264e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c2740): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331209:(.text+0x1c276e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331209:(.text+0x1c277a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_8setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331244:(.text+0x1c2796): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331269:(.text+0x1c27c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331294:(.text+0x1c2876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331196:(.text+0x1c28aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331196:(.text+0x1c28b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c2900): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331218:(.text+0x1c2910): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:331184:(.text+0x1c2926): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334737:(.text+0x1c2948): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c297a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334816:(.text+0x1c29a6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334829:(.text+0x1c29be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c2ab0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334786:(.text+0x1c2ade): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c2aea): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1c2b06): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c2b36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c2be6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/include/python3.12/object.h:705:(.text+0x1c2c1a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334924:(.text+0x1c2c26): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c2c70): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/include/python3.12/object.h:705:(.text+0x1c2c80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMStag_60createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334816:(.text+0x1c2c96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334924:(.text+0x1c2cb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c2cea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334757:(.text+0x1c2d16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334771:(.text+0x1c2d2e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c2e20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c2e4e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_61createCompatibleDMStag': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334786:(.text+0x1c2e5a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_219scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136658:(.text+0x1c2e76): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c2ea6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c2f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_219scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136696:(.text+0x1c2f8a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136698:(.text+0x1c2f96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_218scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136727:(.text+0x1c2fe0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136751:(.text+0x1c2ff0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_219scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136673:(.text+0x1c3006): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136678:(.text+0x1c3028): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136681:(.text+0x1c305a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c3086): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c309e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_221shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136780:(.text+0x1c318c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136799:(.text+0x1c31b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x1c31c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_220shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136849:(.text+0x1c31da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_221shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136819:(.text+0x1c320a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136784:(.text+0x1c324a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_220shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136863:(.text+0x1c32e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_221shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136804:(.text+0x1c3322): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136790:(.text+0x1c332e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c3380): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_221shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136797:(.text+0x1c33c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136797:(.text+0x1c33d8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c33ea): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c33f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c33fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c3432): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c3488): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c34f6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_13setDevice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102257:(.text+0x1c35c2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c36e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c36fc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c3708): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c3714): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_325shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182292:(.text+0x1c3772): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c3786): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_325shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182324:(.text+0x1c379e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182306:(.text+0x1c3832): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182330:(.text+0x1c386c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182332:(.text+0x1c387c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182334:(.text+0x1c388e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c39e2): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c3a20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_325shift': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182341:(.text+0x1c3a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_323scale': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182180:(.text+0x1c3a4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182180:(.text+0x1c3a5c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c3a6a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1c3a78): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c3a8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c3b3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c3b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c3b56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c3b62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182218: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c3cf8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c3d06): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_215set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136418:(.text+0x1c3d72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c3d7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c3d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_215set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136447:(.text+0x1c3d9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136456:(.text+0x1c3e70): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_214set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136487:(.text+0x1c3eb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136511:(.text+0x1c3ed4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_215set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136438:(.text+0x1c3eec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136438:(.text+0x1c3f0a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c3f46): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_214set': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136497:(.text+0x1c3f5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c3fde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1c40da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_62useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96082:(.text+0x1c40e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c410a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_63useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96062:(.text+0x1c4132): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96026:(.text+0x1c4144): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c4194): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c41a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_63useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96051:(.text+0x1c41b4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x1c41e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c4214): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c4226): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_62useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96082:(.text+0x1c422e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96106:(.text+0x1c4238): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c4274): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_63useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96047:(.text+0x1c4296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1c42b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_63useASCIITabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96033:(.text+0x1c42c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c4374): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460292:(.text+0x1c4442): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460297:(.text+0x1c444e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_140setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206614:(.text+0x1c4472): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_141setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206584:(.text+0x1c449a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206584:(.text+0x1c44ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c44fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c4508): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c451c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_141setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206575:(.text+0x1c4548): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460403:(.text+0x1c457e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460405:(.text+0x1c4590): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c4598): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c45a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460414:(.text+0x1c45de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_141setCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206550:(.text+0x1c4600): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206569:(.text+0x1c461a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c4630): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c46e4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x1c47b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x1c47c0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1c47e4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1c480c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_202metricSetNoMovement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323922:(.text+0x1c481e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c486e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c487a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c488e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c48ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x1c48ee): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x1c4900): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x1c4908): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x1c4912): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x1c494e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_203metricSetNoMovement': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323859:(.text+0x1c4970): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323878:(.text+0x1c498a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c49a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c4a4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c4b1e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_127setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205260:(.text+0x1c4b2a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460297:(.text+0x1c4b72): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1c4ba0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_127setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205280:(.text+0x1c4bb0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205244:(.text+0x1c4bd2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c4bfe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCCompositeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:460403:(.text+0x1c4c9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c4cc2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_126setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205324:(.text+0x1c4cd8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c4e08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c4e14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_127setFieldSplitType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205246:(.text+0x1c4e5c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323107:(.text+0x1c4e8a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c4e9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323128:(.text+0x1c4ebc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453058:(.text+0x1c4ee8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c4f88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c4fac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c4fc2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323119:(.text+0x1c50f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c50fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323123:(.text+0x1c5146): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1c5174): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c5184): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c51a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_187metricSetIsotropic': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323111:(.text+0x1c51d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453058:(.text+0x1c5272): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_207metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324065:(.text+0x1c5296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1c52ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x1c53bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_207metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324065:(.text+0x1c53e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x1c53ee): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1c5446): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_207metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324051:(.text+0x1c5452): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324054:(.text+0x1c5472): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_206metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324112:(.text+0x1c54a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c54f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c5538): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_207metricSetNoSurf': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324046:(.text+0x1c555e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c55c2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c5698): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c56a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_177setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208823:(.text+0x1c56ec): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PCMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461194:(.text+0x1c571a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461194:(.text+0x1c572a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:461189:(.text+0x1c574c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_176setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208878:(.text+0x1c5778): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_177setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208808:(.text+0x1c5818): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_176setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208864:(.text+0x1c583c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_177setMGCycleType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:208812:(.text+0x1c5852): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453058:(.text+0x1c5982): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1c598e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_191metricSetRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323332:(.text+0x1c59d6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323296:(.text+0x1c5a04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c5a14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c5a36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c5a62): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x1c5b02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_191metricSetRestrictAnisotropyFirst': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323298:(.text+0x1c5b26): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323317:(.text+0x1c5b3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323298:(.text+0x1c5c6c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323298:(.text+0x1c5c78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c5cc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c5cd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x1c5cfe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453058:(.text+0x1c5d0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_199metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323691:(.text+0x1c5d30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_198metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323735:(.text+0x1c5d5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c5db4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c5dd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c5dee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_199metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323699:(.text+0x1c5f50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323684:(.text+0x1c5f5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c5f88): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1c5f9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c5fb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_199metricSetNoSwapping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323706:(.text+0x1c5fe2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323672:(.text+0x1c5ff2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_183metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322909:(.text+0x1c6014): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1c6040): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_182metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322987:(.text+0x1c60e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_183metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322958:(.text+0x1c6106): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322923:(.text+0x1c611c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c613a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_183metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322935:(.text+0x1c6246): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322943:(.text+0x1c6252): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322932:(.text+0x1c629a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_182metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322990:(.text+0x1c62c8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_183metricSetUniform': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322951:(.text+0x1c62d8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:322936:(.text+0x1c62fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1c6326): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1c63c6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323499:(.text+0x1c63ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x1c6400): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323510:(.text+0x1c6530): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x1c653c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c6584): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453182:(.text+0x1c65b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323490:(.text+0x1c65c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c65e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_195metricSetNoInsertion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:323493:(.text+0x1c6610): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1c66b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c66d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c66ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31784:(.text+0x1c681a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c6826): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31794:(.text+0x1c686e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c6880): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31808:(.text+0x1c68ac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31811:(.text+0x1c68bc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c68de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31820:(.text+0x1c690a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31847:(.text+0x1c6962): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1c6986): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c699c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31711:(.text+0x1c6ae2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1c6b08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1c6b14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1c6b9c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31738:(.text+0x1c6ba8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c6bba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c6bea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31910:(.text+0x1c6c50): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c6c5e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c6d16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c6d88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c6daa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c6db8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1c6dfc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c6f02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c6f0e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c7024): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c7030): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31747:(.text+0x1c7044): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c7070): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31874:(.text+0x1c70b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31885:(.text+0x1c70be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1c70ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1c714e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_idiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31798:(.text+0x1c7198): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31820:(.text+0x1c71ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:31874:(.text+0x1c72fc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_15__itruediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156613:(.text+0x1c7308): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1c737e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c739a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c73ae): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_24__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157171:(.text+0x1c73c8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_div': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32368:(.text+0x1c73da): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1c73e8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_rdiv': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32625:(.text+0x1c743a): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32638:(.text+0x1c744e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_24__truediv__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157171:(.text+0x1c74f0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157196:(.text+0x1c7502): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157196:(.text+0x1c750e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157196:(.text+0x1c7518): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_div': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32368:(.text+0x1c7522): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:706:(.text+0x1c7534): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:69998:(.text+0x1c756e): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c75b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70056:(.text+0x1c7618): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70056:(.text+0x1c7620): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70040:(.text+0x1c7634): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:450911:(.text+0x1c7640): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text+0x1c7662): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70106:(.text+0x1c76e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x1c76ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c76f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1c7748): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1c7752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:647: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1c7784): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1c779a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1c77a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c77b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1c77d4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1c77e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70142:(.text+0x1c7882): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c788e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1c78ac): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1c78b8): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1c78de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1c78f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c7920): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70012:(.text+0x1c7930): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70021:(.text+0x1c7952): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70024:(.text+0x1c797e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c79b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1c79d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451074:(.text+0x1c79fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70047:(.text+0x1c7a10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c7b5a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70016:(.text+0x1c7b66): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70021:(.text+0x1c7bac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70046:(.text+0x1c7bbe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70045:(.text+0x1c7be4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70046:(.text+0x1c7bf6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70034:(.text+0x1c7c06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70034:(.text+0x1c7c16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Error___init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70088:(.text+0x1c7c38): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70034:(.text+0x1c7c64): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70065:(.text+0x1c7cbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Error_1__init__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70016:(.text+0x1c7ce0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:70014:(.text+0x1c7cf6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c7e40): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c7e4c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24908:(.text+0x1c7e92): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyPetscScalar_AsPetscScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/include/petsc4py/pyscalar.h:28:(.text+0x1c7ea4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24931:(.text+0x1c7eca): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1c7edc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c7eec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c7efc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13372:(.text+0x1c7f1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1c7f4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24892:(.text+0x1c7fa2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24897:(.text+0x1c7fc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c7fdc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24951:(.text+0x1c8126): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1c8132): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24990:(.text+0x1c8150): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24990:(.text+0x1c815c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1c8182): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24961:(.text+0x1c8194): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24921:(.text+0x1c81c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c81d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24890:(.text+0x1c81f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24904:(.text+0x1c8222): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c8256): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x1c827a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_isub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24895:(.text+0x1c829e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:706:(.text+0x1c82b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c83fe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_sub': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25376:(.text+0x1c840a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25349:(.text+0x1c8450): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449021:(.text+0x1c847e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1c848e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x1c84b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_20__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119774:(.text+0x1c84dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c857c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_20__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119817:(.text+0x1c85a0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_21__sub__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:119741:(.text+0x1c85b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c86e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_103setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129015:(.text+0x1c86f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1c8710): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_102setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129062:(.text+0x1c871c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_103setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129032:(.text+0x1c8742): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129032:(.text+0x1c8754): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1c8784): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c8794): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c87b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_103setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129023:(.text+0x1c87e2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1c8816): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1c883a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c885e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c8874): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c89be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c89ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_103setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128998:(.text+0x1c89e8): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128998:(.text+0x1c89f4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_259setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214636:(.text+0x1c8a1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214647:(.text+0x1c8a2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214668:(.text+0x1c8a5c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1c8a6c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1c8a8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_259setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214685:(.text+0x1c8aba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1c8aee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c8b12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c8b36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_259setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214674:(.text+0x1c8b4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1c8c96): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1c8ca2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_259setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214663:(.text+0x1c8cc0): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214663:(.text+0x1c8ccc): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c8cf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1c8d04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c8d34): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_259setDeflationLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214685:(.text+0x1c8d44): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214651:(.text+0x1c8d66): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_89setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202329:(.text+0x1c8d92): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202358:(.text+0x1c8dc6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1c8dea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1c8e0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_89setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202378:(.text+0x1c8e24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202355:(.text+0x1c8f6e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202363:(.text+0x1c8f7a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_88setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202408:(.text+0x1c8fc0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202422:(.text+0x1c8fd2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1c8ff8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1c900a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_89setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202356:(.text+0x1c901a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202356:(.text+0x1c902a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1c904c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c9078): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_89setGAMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202344:(.text+0x1c90d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_15setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145220:(.text+0x1c90f6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145231:(.text+0x1c910c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1c9258): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1c9264): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_14setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145289:(.text+0x1c9282): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1c928e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1c92b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_15setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145235:(.text+0x1c92c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145240:(.text+0x1c92f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145243:(.text+0x1c9306): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1c9328): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_14setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145289:(.text+0x1c9354): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_15setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145247:(.text+0x1c9388): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145247:(.text+0x1c93ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c93d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1c93e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_27addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348563:(.text+0x1c9530): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1c953c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c9582): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c9594): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_27addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348591:(.text+0x1c95ba): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1c95cc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1c95dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_26addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348618:(.text+0x1c95ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1c960e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_27addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348564:(.text+0x1c963a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1c9690): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_26addNPoints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348642:(.text+0x1c96b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348618:(.text+0x1c96ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c9810): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_85setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202123:(.text+0x1c981c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1c983a): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_84setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202170:(.text+0x1c9846): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_85setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202140:(.text+0x1c986c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202140:(.text+0x1c987e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1c98ae): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1c98be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c98e0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_85setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202129:(.text+0x1c990c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1c9940): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_84setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202160:(.text+0x1c9964): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1c9988): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1c999e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c9aea): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c9af8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_85setGASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202140:(.text+0x1c9b04): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_59setPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356071:(.text+0x1c9b4e): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c9b6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1c9c66): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_59setPTrimmedFormDegree': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356109:(.text+0x1c9c78): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356098:(.text+0x1c9de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356098:(.text+0x1c9df0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356098:(.text+0x1c9dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356098:(.text+0x1c9e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1c9e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1c9e5e): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1c9f98): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1c9fa6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ca0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_50addASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95630:(.text+0x1ca0f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95630:(.text+0x1ca10a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_51addASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95564:(.text+0x1ca146): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95564:(.text+0x1ca156): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95564: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_137setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237878:(.text+0x1ca224): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1ca238): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ca248): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_137setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237907:(.text+0x1ca258): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1ca268): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_137setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237891:(.text+0x1ca2d0): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237891:(.text+0x1ca2de): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237916:(.text+0x1ca352): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ca3e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_137setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237912:(.text+0x1ca40a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237898:(.text+0x1ca418): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_136setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237947:(.text+0x1ca486): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ca536): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_137setMaxStepFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237893:(.text+0x1ca56c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_31removePointAtIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348724:(.text+0x1ca580): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ca602): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1ca616): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_31removePointAtIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348773:(.text+0x1ca636): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348737:(.text+0x1ca646): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348738:(.text+0x1ca652): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1ca720): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_31removePointAtIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348747:(.text+0x1ca7b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348739:(.text+0x1ca8d4): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_23setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284445:(.text+0x1ca8ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284459:(.text+0x1ca9c2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1ca9d4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1caa78): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_22setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284514:(.text+0x1caa84): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1caa90): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_22setCoordinateDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284524:(.text+0x1cab36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284538:(.text+0x1cab42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284538:(.text+0x1cab4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284514:(.text+0x1cab64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cac12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_51setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359030:(.text+0x1cad32): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359056:(.text+0x1cada6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359056:(.text+0x1cadb4): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359036:(.text+0x1cae6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_50setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359109:(.text+0x1caec2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359085:(.text+0x1caed6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1caee2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_51setSimpleDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359043:(.text+0x1caf00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1caf60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274726:(.text+0x1cb01c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cb036): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1cb042): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274746:(.text+0x1cb072): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cb0e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cb0f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274735:(.text+0x1cb112): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cb142): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1cb174): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274731:(.text+0x1cb1c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_94setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274776:(.text+0x1cb21a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274790:(.text+0x1cb22a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cb25c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cb2e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cb302): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_95setMaximumFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274746:(.text+0x1cb30e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262710:(.text+0x1cb33e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1cb3b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_220adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262789:(.text+0x1cb3be): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262800:(.text+0x1cb3de): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262723:(.text+0x1cb40e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1cb43e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262750:(.text+0x1cb490): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1cb4e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1cb4f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262725:(.text+0x1cb522): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_220adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262779:(.text+0x1cb5ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cb5c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cb5d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_221adjointSetSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262737:(.text+0x1cb604): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262759:(.text+0x1cb678): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262725:(.text+0x1cb684): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262725:(.text+0x1cb6a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1cb6d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cb706): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_19setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151647:(.text+0x1cb75a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1cb7ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cb7bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_19setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151636:(.text+0x1cb7ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1cb87a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_19setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151613:(.text+0x1cb894): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151618:(.text+0x1cb8a0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151621:(.text+0x1cb8d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cb944): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_19setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151625:(.text+0x1cb950): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151625:(.text+0x1cb970): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cb9a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cb9d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355575:(.text+0x1cba22): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355607:(.text+0x1cba72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cba82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1cbab2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cbb3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cbb58): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355615:(.text+0x1cbb64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cbb94): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355590:(.text+0x1cbc08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355601:(.text+0x1cbc14): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355598:(.text+0x1cbc34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_48setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355654:(.text+0x1cbc64): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355644:(.text+0x1cbc96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355602:(.text+0x1cbcea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cbd3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cbd4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_49setTensorNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355590:(.text+0x1cbd7e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_78getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314437:(.text+0x1cbe0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1cbe24): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_79getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314406:(.text+0x1cbe30): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314371:(.text+0x1cbe60): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314397:(.text+0x1cbed4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314397:(.text+0x1cbee0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1cbf00): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cbf30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1cbf62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_79getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314372:(.text+0x1cbfb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1cc008): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_78getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314437:(.text+0x1cc018): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_79getPointHeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314384:(.text+0x1cc04a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314372:(.text+0x1cc0d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314372:(.text+0x1cc0f0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_429setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189809:(.text+0x1cc0fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1cc12c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_429setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189858:(.text+0x1cc1a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189858:(.text+0x1cc1ac): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189822:(.text+0x1cc1cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1cc1fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cc22c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cc27e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1cc2ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_429setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189824:(.text+0x1cc2de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189832:(.text+0x1cc30e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_428setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189878:(.text+0x1cc39a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_429setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189836:(.text+0x1cc3b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189836:(.text+0x1cc3c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cc3f0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_429setDenseLDA': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:189824:(.text+0x1cc464): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_123setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205021:(.text+0x1cc470): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205021:(.text+0x1cc490): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205050:(.text+0x1cc4c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_122setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205100:(.text+0x1cc4f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_123setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205035:(.text+0x1cc542): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cc594): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cc5a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cc5d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_123setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205041:(.text+0x1cc678): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205044:(.text+0x1cc684): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205044:(.text+0x1cc69c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1cc6a4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_122setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205114:(.text+0x1cc6c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205114:(.text+0x1cc6cc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_123setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205048:(.text+0x1cc714): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205048:(.text+0x1cc726): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cc776): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1cc786): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_123setFactorLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205070:(.text+0x1cc7a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205036:(.text+0x1cc7d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1cc80e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_9setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97886:(.text+0x1cc832): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cc848): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_8setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97922:(.text+0x1cc976): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1cc982): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1cc99a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1cc9a2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_9setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97869:(.text+0x1cc9be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97874:(.text+0x1cc9ca): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1cca12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_8setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97923:(.text+0x1cca24): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_9setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97881:(.text+0x1cca74): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97881:(.text+0x1cca84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ccaa6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ccad2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_9setTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97903:(.text+0x1ccb0c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97869:(.text+0x1ccb30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_17setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359988:(.text+0x1ccb46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ccc5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ccc76): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_17setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360026:(.text+0x1ccc82): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cccb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_17setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360003:(.text+0x1ccd26): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360008:(.text+0x1ccd32): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360011:(.text+0x1ccd52): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ccd82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_16setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360057:(.text+0x1ccdb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_17setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360015:(.text+0x1cce04): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cce56): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1cce66): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_17setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360003:(.text+0x1cce96): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1ccf22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1ccf3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1ccf48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_49setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107214:(.text+0x1ccf78): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ccfec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_49setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107241:(.text+0x1ccff8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cd018): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_48setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107270:(.text+0x1cd048): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1cd07a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_49setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107224:(.text+0x1cd0ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_48setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107270:(.text+0x1cd120): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cd130): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_49setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107228:(.text+0x1cd162): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107216:(.text+0x1cd1ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107216:(.text+0x1cd208): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301363:(.text+0x1cd214): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1cd244): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301412:(.text+0x1cd2b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301412:(.text+0x1cd2c4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301376:(.text+0x1cd2e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1cd314): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd344): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cd396): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1cd3e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301378:(.text+0x1cd3f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301386:(.text+0x1cd428): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301390:(.text+0x1cd4b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301390:(.text+0x1cd4ce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301390:(.text+0x1cd4da): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1cd50a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_9setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301378:(.text+0x1cd57e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158275:(.text+0x1cd58a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158286:(.text+0x1cd5aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158307:(.text+0x1cd5da): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1cd60a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158289:(.text+0x1cd65c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd6ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cd6be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cd6ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158295:(.text+0x1cd77a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158295:(.text+0x1cd794): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158295:(.text+0x1cd7a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_42setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158354:(.text+0x1cd7d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158302:(.text+0x1cd844): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158302:(.text+0x1cd850): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cd870): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cd8a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_43setBlockSize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158290:(.text+0x1cd8d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1cd922): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_24setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354318:(.text+0x1cd972): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1cd982): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_25setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354288:(.text+0x1cd9b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354279:(.text+0x1cda3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354281:(.text+0x1cda58): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cda64): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1cda94): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_25setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354262:(.text+0x1cdb08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354262:(.text+0x1cdb14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1cdb34): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_24setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354308:(.text+0x1cdb64): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_25setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354266:(.text+0x1cdb94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cdbe6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_25setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354254:(.text+0x1cdc38): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354254:(.text+0x1cdc48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354049:(.text+0x1cdc78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_20setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354139:(.text+0x1cdd04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354098:(.text+0x1cdd1e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354062:(.text+0x1cdd2a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cdd5a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cddce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cddda): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_20setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354118:(.text+0x1cddfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1cde2a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354069:(.text+0x1cde5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_20setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354128:(.text+0x1cdeac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cdefe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354076:(.text+0x1cdf0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cdf3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_21setNumVariables': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354064:(.text+0x1cdfca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_143setMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238164:(.text+0x1cdfe4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238164:(.text+0x1cdff0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238193:(.text+0x1ce020): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238213:(.text+0x1ce094): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238177:(.text+0x1ce0a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ce0c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ce0f0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_143setMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238204:(.text+0x1ce120): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_142setMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238233:(.text+0x1ce172): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_143setMaxKSPFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238184:(.text+0x1ce1c4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238198:(.text+0x1ce1d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238187:(.text+0x1ce204): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238191:(.text+0x1ce290): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ce2aa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1ce2b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ce2e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314231:(.text+0x1ce35a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314231:(.text+0x1ce366): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ce386): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ce3b6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314280:(.text+0x1ce3e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ce43c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314271:(.text+0x1ce48e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314271:(.text+0x1ce49e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ce4d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314279:(.text+0x1ce55c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314251:(.text+0x1ce576): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314265:(.text+0x1ce582): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314254:(.text+0x1ce5b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1ce626): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ce632): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ce652): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_77getPointDepth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:314280:(.text+0x1ce682): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284246:(.text+0x1ce6b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284275:(.text+0x1ce704): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_18setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284336:(.text+0x1ce756): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284295:(.text+0x1ce766): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ce796): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ce822): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1ce83c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_18setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284315:(.text+0x1ce848): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ce878): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ce8ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ce8f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_18setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284339:(.text+0x1ce918): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ce948): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284273:(.text+0x1ce978): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ce9ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_19setDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284261:(.text+0x1cea1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_19setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360100:(.text+0x1cea2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cea5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_19setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360113:(.text+0x1ceae6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360114:(.text+0x1ceb00): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1ceb0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ceb3c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1cebb0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_18setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360169:(.text+0x1cebbc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1cebdc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_19setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360115:(.text+0x1cec0c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360123:(.text+0x1cec3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_18setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360169:(.text+0x1cec92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_19setDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360127:(.text+0x1cece4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:360127:(.text+0x1cecf4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ced26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_163setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239171:(.text+0x1cedb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cedcc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1cedd8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1cee08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1cee7c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cee88): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ceea8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_163setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239199:(.text+0x1ceed8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cef0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1cef5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_163setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239181:(.text+0x1cefb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239184:(.text+0x1cefc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_162setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239254:(.text+0x1ceff2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cf07e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cf098): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1cf0a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_163setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239210:(.text+0x1cf0d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1cf148): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_25addStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344044:(.text+0x1cf154): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1cf174): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_24addStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344105:(.text+0x1cf1a4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_25addStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344028:(.text+0x1cf1d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cf22a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1cf27c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1cf28c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1cf2be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cf37e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cf38a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_141setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256668:(.text+0x1cf650): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256673:(.text+0x1cf65c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256687:(.text+0x1cf668): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_140setMaxStepRejections': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256746:(.text+0x1cf6ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1cf752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1cf854): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_18setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145498:(.text+0x1cf860): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1cf8d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1cf8e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cf8f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cf918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_19setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145459:(.text+0x1cf92c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145512: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1cfbac): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1cfbd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357402:(.text+0x1cfbf2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357402:(.text+0x1cfc0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357367:(.text+0x1cfc24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1cfc3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1cfc58): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1cfcda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357395:(.text+0x1cfdb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1cfde0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1cfe44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_21setNumComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357368:(.text+0x1cfe94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357368:(.text+0x1cfeb8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_133setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256280:(.text+0x1cfeca): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1cff4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1d0068): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1d0080): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_132setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256349:(.text+0x1d012e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d014c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_133setMaxSteps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256295:(.text+0x1d0212): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_3setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:330854:(.text+0x1d02e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d04b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d04c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_91setMaximumIterations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274513:(.text+0x1d0788): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274524:(.text+0x1d0794): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274532:(.text+0x1d07a0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:274540:(.text+0x1d0806): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d088a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_28setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357845:(.text+0x1d098c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1d0998): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d0a10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d0a1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d0a28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_29setOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357804:(.text+0x1d0a50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357806:(.text+0x1d0a64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:357859: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d0ce4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1d0d0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_29setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302731:(.text+0x1d0d2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302695:(.text+0x1d0d42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d0d5c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d0d76): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d0d90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_28setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302751:(.text+0x1d0e12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302751:(.text+0x1d0ef0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d0f18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1d0f7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_29setStencilWidth': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:302697:(.text+0x1d0fcc): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_139setGMRESRestart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224524:(.text+0x1d0ff0): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224524:(.text+0x1d1002): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1d1082): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1d11a0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1d11b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_138setGMRESRestart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224593:(.text+0x1d1266): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d1284): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_139setGMRESRestart': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:224539:(.text+0x1d134a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_261setDeflationReductionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214797:(.text+0x1d1418): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_260setDeflationReductionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214841:(.text+0x1d15b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d15e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d15ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_261setDeflationReductionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214775:(.text+0x1d1608): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d1638): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_261setDeflationReductionFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214763:(.text+0x1d16ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1d172a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d1736): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_53subtractASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95662:(.text+0x1d178e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95663:(.text+0x1d17a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d17ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_53subtractASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95689:(.text+0x1d1818): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_52subtractASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95718:(.text+0x1d1868): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1d19be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d19ca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d19e6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_53subtractASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95664:(.text+0x1d1a16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d1a6e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1d1a76): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1d1a94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d1b1e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1d1b2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1b40): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_47setASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95378:(.text+0x1d1b7c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95378:(.text+0x1d1b92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1d1bec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1d1c02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_47setASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95372:(.text+0x1d1c30): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95361:(.text+0x1d1c58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95361:(.text+0x1d1c64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_46setASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95431:(.text+0x1d1c84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1d1df0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d1dfc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1d1e20): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_145setMaxSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256901:(.text+0x1d1e58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256865:(.text+0x1d1e6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1eba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d1ec6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_145setMaxSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256890:(.text+0x1d1eda): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1d1f06): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1d1f3a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1d1f4c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1d1f54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1d1f5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_145setMaxSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256886:(.text+0x1d1f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256875:(.text+0x1d1fbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d1fd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_144setMaxSNESFailures': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256945:(.text+0x1d1fec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d209e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d216c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d2178): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1d219c): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d222a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d2236): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_199setBDDCLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210286:(.text+0x1d224a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1d2276): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1d22e2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_199setBDDCLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210263:(.text+0x1d22f4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210268:(.text+0x1d22fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210282:(.text+0x1d2306): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1d2342): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_198setBDDCLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210341:(.text+0x1d2364): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210317:(.text+0x1d237e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d2394): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d2412): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d24e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1d24ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1d2512): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d25a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d25ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_135setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277344:(.text+0x1d25c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1d25ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_135setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277319:(.text+0x1d2658): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277324:(.text+0x1d266a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277330:(.text+0x1d2672): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277338:(.text+0x1d267c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d26b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_134setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:277397:(.text+0x1d26da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d26f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d270a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d2788): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d2858): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_124setStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255961:(.text+0x1d2864): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255972:(.text+0x1d2888): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d2916): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d2922): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_125setStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255922:(.text+0x1d2936): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1d2962): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_125setStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255897:(.text+0x1d29ce): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255908:(.text+0x1d29e0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255916:(.text+0x1d29e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255902:(.text+0x1d29f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_124setStepNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255961:(.text+0x1d2a2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255975:(.text+0x1d2a50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d2a6a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d2a80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d2afe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1d2bce): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_44clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345320:(.text+0x1d2bda): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_45clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345290:(.text+0x1d2bfe): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d2c8c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_45clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345279:(.text+0x1d2c98): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345281:(.text+0x1d2cac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1d2cd8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_45clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345256:(.text+0x1d2d44): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345275:(.text+0x1d2d56): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345261:(.text+0x1d2d5e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345261:(.text+0x1d2d68): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_44clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345320:(.text+0x1d2da4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345310:(.text+0x1d2dc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d2de0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_44clearStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345310:(.text+0x1d2df6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d2e74): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_40setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355189:(.text+0x1d2f44): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1d2f50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355159:(.text+0x1d2f7c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355159:(.text+0x1d2f88): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d2fae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1d303e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1d3050): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1d30a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355133:(.text+0x1d30da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355133:(.text+0x1d30ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355133:(.text+0x1d30f8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d3108): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_40setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355189:(.text+0x1d3114): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355203:(.text+0x1d3128): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355152:(.text+0x1d3134): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d3154): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_41setSumNumSubspaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355137:(.text+0x1d3184): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d31da): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1d3260): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d326e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_73setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200960:(.text+0x1d3288): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1d3294): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_73setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200980:(.text+0x1d32e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200971:(.text+0x1d3382): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1d33f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_73setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200951:(.text+0x1d342a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200951:(.text+0x1d3442): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_72setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201024:(.text+0x1d348e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201000:(.text+0x1d34ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d34cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_73setASMOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200958:(.text+0x1d34ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d3548): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d3564): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d35e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_55setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286610:(.text+0x1d35f6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d3602): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_54setNumFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:286660:(.text+0x1d37f0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d3886): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1d3976): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_197setBDDCCoarseningRatio': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210185:(.text+0x1d39c2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d3a26): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d3a3c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1d3abc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_197setBDDCCoarseningRatio': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210159:(.text+0x1d3b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1d3b50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d3b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_196setBDDCCoarseningRatio': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210229:(.text+0x1d3b6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210229:(.text+0x1d3b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:210205: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_91setGAMGSmooths': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202454:(.text+0x1d3d50): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202455:(.text+0x1d3d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d3d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1d3d82): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_90setGAMGSmooths': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202510:(.text+0x1d3e1c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1d3e3e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1d3e48): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1d3e5a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d3ec8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_90setGAMGSmooths': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202534:(.text+0x1d3ee4): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d3f0c): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d3f90): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d4026): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d4116): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1d4162): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1d41c6): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_147setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292252:(.text+0x1d41dc): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_146setRefineLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292330:(.text+0x1d425c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d42e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1d42f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d42fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d430c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d431c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1d44f0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_20setDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343838:(.text+0x1d4502): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1d4516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1d4522): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_20setDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343862:(.text+0x1d45bc): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343838:(.text+0x1d45de): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d45e8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1d45fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1d4668): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d4684): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_21setDefaultValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343784:(.text+0x1d46ac): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_7view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356746:(.text+0x1d4730): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d47c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1d48b6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_7view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356739:(.text+0x1d4902): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d4966): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d497c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228115:(.text+0x1d49fc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d4a84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d4a90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228125:(.text+0x1d4a9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228127:(.text+0x1d4aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228127:(.text+0x1d4abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228174: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d4c90): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d4ca2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267029:(.text+0x1d4cb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267046:(.text+0x1d4cc2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267040:(.text+0x1d4d5c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267042:(.text+0x1d4d7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267089:(.text+0x1d4d88): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1d4d9a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267017:(.text+0x1d4e08): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267046:(.text+0x1d4e24): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267115:(.text+0x1d4e4c): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267026:(.text+0x1d4ebe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267026:(.text+0x1d4eca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_79createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162217:(.text+0x1d4f76): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20027:(.text+0x1d4f9e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1d4fc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_79createHermitianTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162227:(.text+0x1d4fd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162227:(.text+0x1d4fde): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162213:(.text+0x1d5070): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162193:(.text+0x1d509c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162196:(.text+0x1d50d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d5102): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1d516a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_49getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88498:(.text+0x1d51f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88498:(.text+0x1d520c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d521a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_49getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88509:(.text+0x1d5228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_48getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88589:(.text+0x1d5286): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88589:(.text+0x1d5292): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_49getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88547:(.text+0x1d52ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d52d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d52ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d531a): undefined reference to `PyUnicode_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_49getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88540:(.text+0x1d535a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1d5366): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_49getAttr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88521:(.text+0x1d53f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88521:(.text+0x1d540c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88525:(.text+0x1d5426): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88525:(.text+0x1d5432): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d548c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91529:(.text+0x1d54f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d5512): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91563:(.text+0x1d5534): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1d555e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d55b0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91621:(.text+0x1d5670): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91542:(.text+0x1d56be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91542:(.text+0x1d56ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d56e2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91607:(.text+0x1d56ea): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91546:(.text+0x1d5706): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91546:(.text+0x1d5712): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91546:(.text+0x1d5722): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d5748): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d575a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d5786): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d5796): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_103setHYPRESetBetaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203081:(.text+0x1d57b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203092:(.text+0x1d57e4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203131:(.text+0x1d5844): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1d5890): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d58a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_103setHYPRESetBetaPoissonMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203106:(.text+0x1d59d6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203107:(.text+0x1d59e2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203111:(.text+0x1d59fa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203111:(.text+0x1d5a02): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203111:(.text+0x1d5a1e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203111:(.text+0x1d5a2a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d5a3a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d5a60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_73createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161768:(.text+0x1d5a72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161768:(.text+0x1d5a9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d5aae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_73createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161812:(.text+0x1d5ad0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0x1d5afc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d5b5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d5ba4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_73createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161808:(.text+0x1d5bba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d5ce6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d5cf2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d5d0a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d5d12): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d5d2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d5d3a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_73createNormal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161822:(.text+0x1d5d4a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d5d70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114825:(.text+0x1d5d82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114847:(.text+0x1d5dae): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114864:(.text+0x1d5dbe): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114864:(.text+0x1d5de0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1d5e0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114860:(.text+0x1d5e6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114874:(.text+0x1d5eb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d5ece): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d5fe0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_209setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136074:(.text+0x1d6010): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136074:(.text+0x1d601c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136074:(.text+0x1d603a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d6054): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d605e): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_209setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136124:(.text+0x1d6072): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136124:(.text+0x1d6088): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_208setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136167:(.text+0x1d60a2): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d60ac): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d60c0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d60d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_209setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136120:(.text+0x1d612a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1d6150): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1d617e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298204:(.text+0x1d62d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298204:(.text+0x1d62da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1d62e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x1d62f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d6300): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d630c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298254:(.text+0x1d6332): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298254:(.text+0x1d6352): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d6372): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298264:(.text+0x1d642a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1d643c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d644c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298225:(.text+0x1d6460): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298255:(.text+0x1d646a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298220:(.text+0x1d647c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298254:(.text+0x1d649a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298323:(.text+0x1d64bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298323:(.text+0x1d64ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298229:(.text+0x1d64d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298229:(.text+0x1d64e6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298230:(.text+0x1d64fa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298234:(.text+0x1d653a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d6568): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298286:(.text+0x1d657e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144559:(.text+0x1d6644): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144588:(.text+0x1d668e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144568:(.text+0x1d6720): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144584:(.text+0x1d674c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144594:(.text+0x1d6756): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144663:(.text+0x1d6780): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144663:(.text+0x1d678c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d6816): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353407:(.text+0x1d6852): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353467:(.text+0x1d69a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1d69be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353428:(.text+0x1d69cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353428:(.text+0x1d69ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1d6a20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_8view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353526:(.text+0x1d6a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353526:(.text+0x1d6a36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353526:(.text+0x1d6a44): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353455:(.text+0x1d6a50): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353433:(.text+0x1d6a76): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353437:(.text+0x1d6a8a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353437:(.text+0x1d6a96): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283375:(.text+0x1d6b2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1d6be0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6bfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283410:(.text+0x1d6c1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1d6c40): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1d6c7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283404:(.text+0x1d6cc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283483:(.text+0x1d6cf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283446:(.text+0x1d6dba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_77createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162038:(.text+0x1d6dc6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162038:(.text+0x1d6dde): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162048:(.text+0x1d6de6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d6e02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_77createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162067:(.text+0x1d6e0e): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162082:(.text+0x1d6e1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_76createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162129:(.text+0x1d6e44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x1d6e56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_77createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162092:(.text+0x1d6e82): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d6e92): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1d6eb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d6ee0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_76createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162155:(.text+0x1d6f40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_77createNormalHermitian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162061:(.text+0x1d6f8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162061:(.text+0x1d6fa2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_11createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194854:(.text+0x1d70b4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d70e4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_11createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194883:(.text+0x1d70f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_10createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194936:(.text+0x1d710e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x1d7128): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x1d7132): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_10createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194946:(.text+0x1d7146): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_11createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194908:(.text+0x1d715c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d7176): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d7180): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d7194): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d71aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_11createRigidBody': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194894:(.text+0x1d71fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194874:(.text+0x1d7224): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194874:(.text+0x1d7252): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351962:(.text+0x1d73a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351973:(.text+0x1d73ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d73ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1d73c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d73d4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351996:(.text+0x1d73e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352012:(.text+0x1d7406): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d7426): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351977:(.text+0x1d7446): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d74fe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351983:(.text+0x1d7510): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352013:(.text+0x1d7520): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351983:(.text+0x1d7534): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351984:(.text+0x1d753e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352012:(.text+0x1d7550): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352081:(.text+0x1d756e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351987:(.text+0x1d7590): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351987:(.text+0x1d759e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351988:(.text+0x1d75aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351992:(.text+0x1d75ba): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351992:(.text+0x1d75ce): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d760e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145592:(.text+0x1d763c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145603:(.text+0x1d7652): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1d7718): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145640:(.text+0x1d7762): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145613:(.text+0x1d77f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145711:(.text+0x1d7836): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145711:(.text+0x1d7842): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145617:(.text+0x1d785a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145618:(.text+0x1d7862): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145622:(.text+0x1d787e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145622:(.text+0x1d788a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145622:(.text+0x1d789a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d78c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d78d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148771:(.text+0x1d78fe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148782:(.text+0x1d790e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d7930): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148821:(.text+0x1d795c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148786:(.text+0x1d79bc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148817:(.text+0x1d7a08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148819:(.text+0x1d7a1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148801:(.text+0x1d7b34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148801:(.text+0x1d7b60): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d7b6c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d7c08): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150949:(.text+0x1d7c14): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150937:(.text+0x1d7d46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150932:(.text+0x1d7d66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150941:(.text+0x1d7dc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150941:(.text+0x1d7dd4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150942:(.text+0x1d7de0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:150946:(.text+0x1d7e06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d7e36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1d7ec6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329915:(.text+0x1d7ee4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329880:(.text+0x1d7f36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d7f42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d7f58): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d7f62): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329911:(.text+0x1d7f7c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329911:(.text+0x1d7f86): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_18view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329967:(.text+0x1d7fae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329978:(.text+0x1d7fc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329947:(.text+0x1d8018): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329915:(.text+0x1d803c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_18view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329947:(.text+0x1d8128): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215955:(.text+0x1d8134): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215966:(.text+0x1d814c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215955:(.text+0x1d8154): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d8170): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1d817c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215988:(.text+0x1d818c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216005:(.text+0x1d81b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216005:(.text+0x1d81c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215970:(.text+0x1d81f0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8200): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8222): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216001:(.text+0x1d824e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x1d82ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215995:(.text+0x1d82fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1d8310): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d8440): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111374:(.text+0x1d844c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111391:(.text+0x1d8464): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111391:(.text+0x1d846c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111392:(.text+0x1d8488): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d8494): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1d84a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1d84ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d84dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111387:(.text+0x1d8508): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111389:(.text+0x1d8518): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1d853a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1d8566): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111389:(.text+0x1d85c6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111367:(.text+0x1d8612): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111371:(.text+0x1d8628): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194425:(.text+0x1d8742): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d874c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8776): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1d8782): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194434:(.text+0x1d8810): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194398:(.text+0x1d884c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_75createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161932:(.text+0x1d89be): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8a80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_75createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161941:(.text+0x1d8aaa): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161947:(.text+0x1d8ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_74createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162019:(.text+0x1d8b5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:162019:(.text+0x1d8b6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_75createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161930:(.text+0x1d8b88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161930:(.text+0x1d8b94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161930:(.text+0x1d8ba2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161930:(.text+0x1d8bae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d8bd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d8bec): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d8bf8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d8c18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d8c24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d8c30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_75createTranspose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161957:(.text+0x1d8c3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8d3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247347:(.text+0x1d8d9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247291:(.text+0x1d8dba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8dc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247252:(.text+0x1d8dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247253:(.text+0x1d8e0a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d8e30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247256:(.text+0x1d8e5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247261:(.text+0x1d8ea2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_41view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120674:(.text+0x1d8f90): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120674:(.text+0x1d8f9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d8fb4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1d8fbc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8fd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1d8fe4): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d8ff4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_41view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120670:(.text+0x1d901a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120670:(.text+0x1d902c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_40view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120740:(.text+0x1d9058): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_41view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120684:(.text+0x1d9068): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d908a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_41view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120645:(.text+0x1d90b6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120649:(.text+0x1d9116): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120654:(.text+0x1d9162): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120654:(.text+0x1d9178): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d92a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d92b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281614:(.text+0x1d92cc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281616:(.text+0x1d92d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281663:(.text+0x1d92f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281675:(.text+0x1d92fc): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1d930c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281630:(.text+0x1d9332): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d9344): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281591:(.text+0x1d9370): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281592:(.text+0x1d9380): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d93a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_3view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281618:(.text+0x1d93ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281600:(.text+0x1d942e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2AO_2view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281652:(.text+0x1d947a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_27addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344127:(.text+0x1d9490): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d95c0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_27addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344167:(.text+0x1d95cc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344167:(.text+0x1d95e4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1d95ec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_26addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344243:(.text+0x1d9608): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344243:(.text+0x1d9614): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_27addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344147:(.text+0x1d9624): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344147:(.text+0x1d964a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344150:(.text+0x1d965c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1d9688): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_26addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344243:(.text+0x1d9698): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_27addStrata': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344154:(.text+0x1d96ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344154:(.text+0x1d96e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d9746): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100944:(.text+0x1d9792): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d97a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101004:(.text+0x1d98d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1d98e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100965:(.text+0x1d98fc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100968:(.text+0x1d9904): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100965:(.text+0x1d9920): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100973:(.text+0x1d992c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100994:(.text+0x1d993c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_10view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:101079:(.text+0x1d9962): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100992:(.text+0x1d9974): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100974:(.text+0x1d99a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100974:(.text+0x1d99b0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100974:(.text+0x1d99d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d99fe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d9a5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71748:(.text+0x1d9aaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d9ac0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71748:(.text+0x1d9bf0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71746:(.text+0x1d9bfc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_18view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71817:(.text+0x1d9c14): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71817:(.text+0x1d9c1c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_19view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71723:(.text+0x1d9c38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71723:(.text+0x1d9c44): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71724:(.text+0x1d9c54): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71728:(.text+0x1d9c7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:71728:(.text+0x1d9c8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d9cb8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d9cc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1d9cea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d9d16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104705:(.text+0x1d9d76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d9dc2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1d9dd8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_11view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104680:(.text+0x1d9f08): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104684:(.text+0x1d9f14): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104684:(.text+0x1d9f2c): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104684:(.text+0x1d9f34): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1d9f50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d9f5c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1d9f6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_10view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104736:(.text+0x1d9f92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1d9fa4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1d9fd0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1d9fe0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_33view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157635:(.text+0x1da002): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157636:(.text+0x1da02e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1da08e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1da0da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_33view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157645:(.text+0x1da0f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1da21a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342801:(.text+0x1da28a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342861:(.text+0x1da3b2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342822:(.text+0x1da3ec): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1da436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342849:(.text+0x1da464): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197101:(.text+0x1da5da): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1da616): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197132:(.text+0x1da62c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197132:(.text+0x1da638): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197179:(.text+0x1da644): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197191:(.text+0x1da650): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:643: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1da880): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1da8b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_329setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182562:(.text+0x1da8f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182564:(.text+0x1da8fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_328setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182635:(.text+0x1da9ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_329setRandom': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182542:(.text+0x1da9fe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182542:(.text+0x1daa0a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182546:(.text+0x1daa36): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1daa58): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_14createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111864:(.text+0x1dab0a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0x1dab1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1dab70): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1dab8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dabaa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dabb6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_14createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111908:(.text+0x1dabf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_15createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111811:(.text+0x1dac42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111814:(.text+0x1dac70): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382665:(.text+0x1dadd2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x1dadde): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422331:(.text+0x1dadf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1dae28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1dae90): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x1daf5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1daf7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1dafb2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1dafbe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1db032): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1db044): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildResidual_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384818:(.text+0x1db056): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x1db05e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1db06e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1db08e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildResidual_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384839:(.text+0x1db0da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384870:(.text+0x1db12e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1db178): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1db22c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1db2c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1db342): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPBuildResidual_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384788:(.text+0x1db438): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_211permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136212:(.text+0x1db480): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1db550): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_211permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136271:(.text+0x1db65c): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136236:(.text+0x1db6d8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_210permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136322:(.text+0x1db728): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1db792): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1db7ac): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_35getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73036:(.text+0x1db83a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_34getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73110:(.text+0x1db916): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_35getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73088:(.text+0x1db938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73088:(.text+0x1db946): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73088:(.text+0x1db952): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1db95e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73108: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1dba02): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_35getReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73073:(.text+0x1dba42): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73043:(.text+0x1dbaa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73056:(.text+0x1dbab4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_31getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72776:(.text+0x1dbbb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72788:(.text+0x1dbbc4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72816:(.text+0x1dbbfc): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72831:(.text+0x1dbc4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_30getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72860:(.text+0x1dbc70): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1dbcd4): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1dbcea): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dbd2a): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1dbd38): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_30getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72881:(.text+0x1dbd4e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1dbdc6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_31getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72795:(.text+0x1dbdea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72824:(.text+0x1dbdf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1dbe06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_31getBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72793:(.text+0x1dbf00): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_37getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73148:(.text+0x1dbf16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73160:(.text+0x1dbf22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1dbff2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_36getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73234:(.text+0x1dc006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_37getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73212:(.text+0x1dc026): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73212: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_37getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73185:(.text+0x1dc1d2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1dc212): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1dc222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_37getScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73167:(.text+0x1dc238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73167:(.text+0x1dc24e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73165:(.text+0x1dc25c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73165: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_33getInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72900:(.text+0x1dc280): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72911:(.text+0x1dc2aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72943:(.text+0x1dc350): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc3c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1dc3d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_33getInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72915:(.text+0x1dc3e0): undefined reference to `PyObject_IsInstance' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72916:(.text+0x1dc3f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dc410): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1dc464): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_33getInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72917:(.text+0x1dc4ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72924:(.text+0x1dc500): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72937:(.text+0x1dc558): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72937:(.text+0x1dc56e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_33getInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72917:(.text+0x1dc5dc): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72917:(.text+0x1dc5ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73272:(.text+0x1dc600): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dc648): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc68a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1dc6f2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73336:(.text+0x1dc70c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1dc734): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1dc744): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73287:(.text+0x1dc756): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1dc76a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dc78a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_39getString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73289:(.text+0x1dc842): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73304:(.text+0x1dc88a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73305:(.text+0x1dc894): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73309:(.text+0x1dc8a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_39invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106669:(.text+0x1dc972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106680:(.text+0x1dc97e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1dc99a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1dc9ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc9d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dc9f8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_39invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106715:(.text+0x1dca06): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1dca78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1dca90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_39invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106683:(.text+0x1dcae6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_38invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106808:(.text+0x1dcb3e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106808:(.text+0x1dcb52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_39invertPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106695:(.text+0x1dcc82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1dcd0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1dcd2c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1dcd38): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46982:(.text+0x1dcd78): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46982:(.text+0x1dcd8e): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1dce2a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1dce36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1dce4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1dce7a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47077:(.text+0x1dcebc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47091:(.text+0x1dced2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47114:(.text+0x1dcee2): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1dcef6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1dcf0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47150:(.text+0x1dcf24): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1dcf36): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1dcf64): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47209:(.text+0x1dcf8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1dcfd6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1dd0ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1dd0d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1dd0dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1dd14a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1dd172): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1dd17e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1dd19e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47293:(.text+0x1dd1ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47114:(.text+0x1dd236): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47128:(.text+0x1dd262): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46986:(.text+0x1dd2b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1dd38e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1dd3c0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1dd3cc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1dd3fe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46984:(.text+0x1dd46c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1dd478): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47041:(.text+0x1dd492): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47065:(.text+0x1dd4c2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47171:(.text+0x1dd500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47178:(.text+0x1dd52a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1dd54e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1dd558): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47145:(.text+0x1dd5a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1dd5bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47154:(.text+0x1dd5fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1dd618): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1dd69e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47239:(.text+0x1dd6c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47239:(.text+0x1dd6d4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46998:(.text+0x1dd768): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1dd7f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1dd800): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1dd80c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47150:(.text+0x1dd834): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47150:(.text+0x1dd844): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47150:(.text+0x1dd854): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_IJacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47154:(.text+0x1dd866): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47154:(.text+0x1dd86e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47154:(.text+0x1dd87a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_63setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89234:(.text+0x1dd8ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dd9be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_63setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89274:(.text+0x1dd9dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89276:(.text+0x1dd9f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_62setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89303:(.text+0x1dda32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1dda5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_63setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89249:(.text+0x1dda76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_62setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89327:(.text+0x1ddaea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89327:(.text+0x1ddaf6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ddb18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_63setTabLevel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89261:(.text+0x1ddb46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ddbb2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1ddc24): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ddc30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x1ddc72): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_154setMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207399:(.text+0x1ddc9e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_155setMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207358:(.text+0x1ddcac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207351:(.text+0x1ddd64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ddd70): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1dddb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_155setMGLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207324:(.text+0x1ddde0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207329:(.text+0x1dddee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207336:(.text+0x1ddea4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:207336:(.text+0x1ddeb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1dded4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ddee8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x1ddef8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ddf24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ddf32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ddfde): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_58stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89051:(.text+0x1ddfea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_59stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89021:(.text+0x1de02e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1de05a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1de068): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1de120): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1de12c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_59stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88987:(.text+0x1de152): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88998:(.text+0x1de166): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88992:(.text+0x1de176): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88995:(.text+0x1de18e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88995:(.text+0x1de19a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_58stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89065:(.text+0x1de1c6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:89065:(.text+0x1de1d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1de24a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1de256): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1de29a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_59stateSet': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:88987:(.text+0x1de2c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_69computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272870:(.text+0x1de2d4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1de38c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1de398): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1de3da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_69computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272910:(.text+0x1de406): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272910:(.text+0x1de414): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272893:(.text+0x1de4ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272893:(.text+0x1de4d6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:272897:(.text+0x1de51a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1de546): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1de554): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1de60a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_169tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133946:(.text+0x1de616): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133971:(.text+0x1de658): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1de684): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1de692): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_168tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134010:(.text+0x1de74a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:134027:(.text+0x1de756): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_169tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133937:(.text+0x1de798): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133940:(.text+0x1de7c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1de7d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1de888): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_169tDotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133971:(.text+0x1de894): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1de8d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_93computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234684:(.text+0x1de904): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_92computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234714:(.text+0x1de912): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_93computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234678:(.text+0x1de9ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234680:(.text+0x1de9d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x1dea18): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_92computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234750:(.text+0x1dea44): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_93computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234688:(.text+0x1dea52): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1deb08): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1deb14): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1deb3a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1deb4e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1deb5e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1deb76): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_93computeObjective': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:234694:(.text+0x1deb82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_13view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86418:(.text+0x1debae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86407:(.text+0x1debbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1dec32): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1dec3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dec82): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_13view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86453:(.text+0x1decae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86455:(.text+0x1decbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1ded74): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_12view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86526:(.text+0x1ded80): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_13view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86433:(.text+0x1dedc8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86437:(.text+0x1dedf4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86437:(.text+0x1dee02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_164tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133747:(.text+0x1deeba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133747:(.text+0x1deec6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1def0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_165tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133687:(.text+0x1def36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1def44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_165tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133688:(.text+0x1deffa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133693:(.text+0x1df006): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133696:(.text+0x1df048): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_164tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133756:(.text+0x1df074): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_165tDot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133700:(.text+0x1df082): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_249maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138601:(.text+0x1df13a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1df146): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_249maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138630:(.text+0x1df188): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_248maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138684:(.text+0x1df1b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x1df1c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_249maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138641:(.text+0x1df278): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138645:(.text+0x1df284): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_248maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138694:(.text+0x1df2c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_249maxPointwiseDivide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138621:(.text+0x1df2f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138635:(.text+0x1df300): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1df3b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1df3c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1df406): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_89restoreGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288416:(.text+0x1df432): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288416:(.text+0x1df440): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1df4f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1df504): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1df548): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_89restoreGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288456:(.text+0x1df574): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288460:(.text+0x1df582): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1df636): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_88restoreGlobalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288497:(.text+0x1df642): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1df686): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1df6b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1df6c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_10setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74754:(.text+0x1df776): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74765:(.text+0x1df782): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_11setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74733:(.text+0x1df7c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74698:(.text+0x1df7f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74698:(.text+0x1df800): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1df8b6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_10setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74778:(.text+0x1df8c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_11setDefaultComm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74704:(.text+0x1df906): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74711:(.text+0x1df932): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74711:(.text+0x1df940): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74733:(.text+0x1df9f6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_159dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133300:(.text+0x1dfa02): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dfa46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_158dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133383:(.text+0x1dfa72): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1dfa80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_159dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133340:(.text+0x1dfb36): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133348:(.text+0x1dfb42): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_158dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133393:(.text+0x1dfb86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_159dot': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133315:(.text+0x1dfbb2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133326:(.text+0x1dfbc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dfc76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1dfc82): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1dfcc6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133544:(.text+0x1dfcf2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133544:(.text+0x1dfd00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dfdb6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133558:(.text+0x1dfdc2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dfde6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1dfdfa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133582:(.text+0x1dfe0a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133588:(.text+0x1dfe36): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_162dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133655:(.text+0x1dfe44): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133567:(.text+0x1dfef0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1dfefc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_163dotEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133571:(.text+0x1dff40): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dff6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1dff7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288672:(.text+0x1e0030): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_92restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288700:(.text+0x1e003c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288682:(.text+0x1e0080): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e00ac): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1e00ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288648:(.text+0x1e0170): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288651:(.text+0x1e017c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_92restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288723:(.text+0x1e01c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288709:(.text+0x1e01ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_93restoreLocalVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288655:(.text+0x1e01fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288682:(.text+0x1e02b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108832:(.text+0x1e02be): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e0302): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108882:(.text+0x1e032e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108882:(.text+0x1e033c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108878:(.text+0x1e03f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108878:(.text+0x1e0400): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1e0444): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1e0470): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e047e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1e0536): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1e0542): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108882:(.text+0x1e0586): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108856:(.text+0x1e05b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_76renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108918:(.text+0x1e05c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_77renumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108892:(.text+0x1e0678): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108892:(.text+0x1e0684): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_155getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292865:(.text+0x1e06c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e06f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e0700): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e07b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1e07c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1e0806): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e0832): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e0840): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_154getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293003:(.text+0x1e08f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:293003:(.text+0x1e0904): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1e0928): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_155getLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292880:(.text+0x1e093c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292899:(.text+0x1e094c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292892:(.text+0x1e0978): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292885:(.text+0x1e0986): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e0a32): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e0a3e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403030:(.text+0x1e0a82): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403035:(.text+0x1e0aae): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403039:(.text+0x1e0abc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403057:(.text+0x1e0b74): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403069:(.text+0x1e0b80): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e0bc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1e0bf0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1e0bfe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403128:(.text+0x1e0cb4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e0cc0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1e0d04): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1e0d30): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e0d3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1e0df6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403184:(.text+0x1e0e02): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403178:(.text+0x1e0e46): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1e0e72): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1e0e80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1e0f38): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1e0f44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_memoryview_is_slice': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403113:(.text+0x1e0f86): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403133:(.text+0x1e0fb2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:403178:(.text+0x1e0fc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_219metricSetMinimumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324603:(.text+0x1e1094): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e1174): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_219metricSetMinimumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324597:(.text+0x1e1216): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324601:(.text+0x1e1262): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e12bc): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e12d2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e135a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e13aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_156equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133266:(.text+0x1e13b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_157equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133225:(.text+0x1e13c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133225:(.text+0x1e13ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1e13da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_157equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:133209:(.text+0x1e145e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_161equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169263:(.text+0x1e1616): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e1728): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_160equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:169373:(.text+0x1e181a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e189c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_223metricSetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324786:(.text+0x1e1a7e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_222metricSetMaximumMagnitude': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324833:(.text+0x1e1ad4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e1b4e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e1b66): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e1bf6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x1e1c4a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_22getFieldIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:299283:(.text+0x1e1d58): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e1e48): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1e1ed4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_231metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325142:(.text+0x1e1f0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325142:(.text+0x1e1f1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_230metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325175:(.text+0x1e1f2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_231metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325142:(.text+0x1e2016): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325128:(.text+0x1e2024): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325128:(.text+0x1e2030): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325142: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_231metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325131:(.text+0x1e206a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325131:(.text+0x1e207a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325135:(.text+0x1e20e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1e20f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e2102): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_231metricSetTargetComplexity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325157:(.text+0x1e2170): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_239metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325464:(.text+0x1e2194): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1e219e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e21b0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_238metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325542:(.text+0x1e2222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_239metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325513:(.text+0x1e222e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e225e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_239metricSetGradationFactor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325498:(.text+0x1e22ee): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e23d4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e23f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e240c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e241a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e2428): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1e24f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_227metricSetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324979:(.text+0x1e2500): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324979:(.text+0x1e251a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e2526): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e2532): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_227metricSetMaximumAnisotropy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324968:(.text+0x1e2592): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324953:(.text+0x1e2608): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:324953:(.text+0x1e2614): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e26d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e26e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e2708): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_23test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195672:(.text+0x1e2834): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e2862): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_23test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195698:(.text+0x1e288e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195678:(.text+0x1e28ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195678:(.text+0x1e28c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195692:(.text+0x1e28d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e2926): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_22test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195768:(.text+0x1e2936): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195768:(.text+0x1e2948): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_23test': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195685:(.text+0x1e2972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195685:(.text+0x1e2986): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e2994): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e2ab0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e2b24): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_235metricSetNormalizationOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325328:(.text+0x1e2c28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325313:(.text+0x1e2c5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e2c6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e2c80): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e2d7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_62equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107888:(.text+0x1e2d88): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_63equal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107847:(.text+0x1e2d9a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107841:(.text+0x1e2e74): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107847:(.text+0x1e2fbc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e3018): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_243metricSetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325691:(.text+0x1e3082): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1e30bc): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_243metricSetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325656:(.text+0x1e30c4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e30e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e30f0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_243metricSetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325662:(.text+0x1e3176): undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_242metricSetHausdorffNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:325723:(.text+0x1e31cc): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e328a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_27__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157233:(.text+0x1e32c4): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e32fe): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38139:(.text+0x1e3306): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e3322): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1e33aa): undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_27__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157242:(.text+0x1e3400): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e34a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1e34ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38370:(.text+0x1e352a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38371:(.text+0x1e3536): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1e3554): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1e356c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38417:(.text+0x1e3592): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38427:(.text+0x1e359e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38212:(.text+0x1e362c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38212:(.text+0x1e363c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38214:(.text+0x1e3648): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38217: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1e372a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1e3736): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38299:(.text+0x1e376e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e377a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1e3786): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38136: more undefined references to `PyObject_GetAttr' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_26__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157278:(.text+0x1e381e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1e3938): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1e396e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1e3980): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38340:(.text+0x1e3990): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38099:(.text+0x1e39ba): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1e39dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38342:(.text+0x1e3aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38357:(.text+0x1e3ab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38357:(.text+0x1e3ac0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38402:(.text+0x1e3b2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38228:(.text+0x1e3bee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38264:(.text+0x1e3c16): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e3c22): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38274:(.text+0x1e3c58): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38112:(.text+0x1e3d52): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1e3d5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e3d7a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38177:(.text+0x1e3daa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38246:(.text+0x1e3ddc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e3dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e3e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x1e3e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38398:(.text+0x1e3ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38410:(.text+0x1e3ece): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157242: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e3f62): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38281:(.text+0x1e3f7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38146:(.text+0x1e3f8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38146:(.text+0x1e3f98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38246:(.text+0x1e400a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38246:(.text+0x1e4024): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27142:(.text+0x1e40f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e413a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1e4146): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_29__getitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120157:(.text+0x1e416a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120157:(.text+0x1e417c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1e41a8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x1e41b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27040:(.text+0x1e41da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e4206): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1e426a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e428e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27063:(.text+0x1e42a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1e43ec): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1e4406): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27035:(.text+0x1e4438): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1e445a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e447c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27047:(.text+0x1e44fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1e450c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26943:(.text+0x1e4556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1e4584): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27053:(.text+0x1e45a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e45c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27088:(.text+0x1e45d0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27089:(.text+0x1e45dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27091:(.text+0x1e45e8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26945:(.text+0x1e46b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e46bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1e4756): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120157:(.text+0x1e4774): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e4780): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_getitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27063:(.text+0x1e47a2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e4834): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e4840): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283723:(.text+0x1e484c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283794:(.text+0x1e488a): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x1e4898): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e490a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283736:(.text+0x1e4950): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283766:(.text+0x1e498e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283819:(.text+0x1e49a2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283744:(.text+0x1e49ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e4a2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145814:(.text+0x1e4ade): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145879:(.text+0x1e4b24): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145879:(.text+0x1e4b34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20053:(.text+0x1e4b64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e4c4c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145825:(.text+0x1e4c8e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145843:(.text+0x1e4c96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267207:(.text+0x1e4d8a): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e4dbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e4dc8): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1e4dd6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267262:(.text+0x1e4e68): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1e4ea8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1e4eb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267228:(.text+0x1e4fa0): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267302:(.text+0x1e4fd2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267232:(.text+0x1e4fdc): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267232:(.text+0x1e4fea): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e5012): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e5028): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e503a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115025:(.text+0x1e5062): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1e506e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115036:(.text+0x1e507a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e508c): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e509a): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115101:(.text+0x1e50c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115130:(.text+0x1e510c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e519c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115071:(.text+0x1e51a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115071:(.text+0x1e51b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e51dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115046:(.text+0x1e526a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115025:(.text+0x1e5280): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e52d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115080:(.text+0x1e530c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228292:(.text+0x1e5324): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1e5332): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1e534c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e535a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228307:(.text+0x1e5420): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228292:(.text+0x1e548e): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e54a4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228421:(.text+0x1e54c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228346:(.text+0x1e54d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228313:(.text+0x1e54e4): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228332:(.text+0x1e54f0): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228322:(.text+0x1e5516): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228322:(.text+0x1e5524): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228316:(.text+0x1e553e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e5598): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e55d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356576:(.text+0x1e5600): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356669:(.text+0x1e5678): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356670:(.text+0x1e5696): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356620:(.text+0x1e56ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e56de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356611:(.text+0x1e5736): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e576c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356694:(.text+0x1e5782): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356586:(.text+0x1e57ac): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356594:(.text+0x1e57ba): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356595:(.text+0x1e57ce): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e581a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e5824): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356591:(.text+0x1e5856): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e5860): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_45create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120835:(.text+0x1e58bc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120846:(.text+0x1e58cc): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e58f4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_44create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120911:(.text+0x1e5910): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120911:(.text+0x1e591e): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120930:(.text+0x1e5932): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_45create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120890:(.text+0x1e5986): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120890:(.text+0x1e5990): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e59aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e59c4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1e59d4): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_45create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120835:(.text+0x1e5a24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_44create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120964:(.text+0x1e5a5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_45create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120856:(.text+0x1e5a6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120865:(.text+0x1e5a98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:307528:(.text+0x1e5d88): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_13setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81543:(.text+0x1e5e8a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1e5e96): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1e5ea2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1e5f0e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1e5f68): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5f9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5fae): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e5fbc): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogClass_13setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81554:(.text+0x1e5fde): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81556:(.text+0x1e5ff4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e60be): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e60e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e617a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82907:(.text+0x1e6186): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1e6192): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1e619e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e62a4): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e62b0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82905:(.text+0x1e63a0): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e63be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e63d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e63f2): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e6406): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e6412): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_21setActive': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82927:(.text+0x1e641e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144682:(.text+0x1e6432): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144694:(.text+0x1e6466): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e6478): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144758:(.text+0x1e649c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1e64c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x1e64d2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x1e64e4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144737:(.text+0x1e64fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e656c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144728:(.text+0x1e6594): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144706:(.text+0x1e6656): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144777:(.text+0x1e6674): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144707:(.text+0x1e6680): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e66c6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e66d0): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e66e4): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197306:(.text+0x1e66fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20052:(.text+0x1e6798): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x1e67a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e67b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e67e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1e6818): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197346:(.text+0x1e68d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197336:(.text+0x1e68f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1e6932): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197401:(.text+0x1e6946): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197331:(.text+0x1e6954): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197332:(.text+0x1e6968): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e6976): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e6986): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151127:(.text+0x1e69d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151138:(.text+0x1e69ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e6a84): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1e6aaa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e6ab6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151142:(.text+0x1e6ad0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6b00): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151173:(.text+0x1e6b30): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151175:(.text+0x1e6b38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151256:(.text+0x1e6b62): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151181:(.text+0x1e6b7c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151148:(.text+0x1e6b8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151157:(.text+0x1e6bb2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151153:(.text+0x1e6c28): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151153:(.text+0x1e6c34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e6c62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e6c76): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e6c7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353197:(.text+0x1e6cb2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1e6cc0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1e6cde): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e6dbe): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e6f18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e6f30): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e6f3c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353241:(.text+0x1e6f48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1e6fa4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e700e): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1e7050): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91918:(.text+0x1e705e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:92032:(.text+0x1e70fc): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91957:(.text+0x1e7108): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91924:(.text+0x1e711e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337986:(.text+0x1e727a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337965:(.text+0x1e72e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337965:(.text+0x1e72ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337965:(.text+0x1e72f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e7304): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e7310): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:234: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e73a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMShell_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337986:(.text+0x1e73ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338039:(.text+0x1e73ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:338039:(.text+0x1e73c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337931:(.text+0x1e73d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337931:(.text+0x1e73e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337940: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMShell_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337935:(.text+0x1e746a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337936:(.text+0x1e7478): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336269:(.text+0x1e74fe): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336292:(.text+0x1e753c): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336334:(.text+0x1e7558): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336353:(.text+0x1e756c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20040:(.text+0x1e7578): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336363:(.text+0x1e7592): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336313:(.text+0x1e75a6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1e75dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e75f2): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_1create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336279:(.text+0x1e769a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e778a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e78e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298461:(.text+0x1e78fc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298461:(.text+0x1e7908): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298463:(.text+0x1e7914): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298437:(.text+0x1e7970): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e79da): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e7a1c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e7a2a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247581:(.text+0x1e7ac8): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247623:(.text+0x1e7ad4): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247642:(.text+0x1e7aea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247587:(.text+0x1e7c46): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247642:(.text+0x1e7cac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247642:(.text+0x1e7cb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247572:(.text+0x1e7cc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247573:(.text+0x1e7cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247573:(.text+0x1e7cdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e7d72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e7d7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1e7d86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352207:(.text+0x1e7d94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352249:(.text+0x1e7da0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352249:(.text+0x1e7dac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352268: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1e7e36): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352188:(.text+0x1e7e44): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_6create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352249:(.text+0x1e7eca): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352202:(.text+0x1e7f08): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352203:(.text+0x1e7f24): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352203:(.text+0x1e7f38): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352194:(.text+0x1e7f44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352173:(.text+0x1e7f5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e7f72): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_7create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352202:(.text+0x1e7fa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e7fbe): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_14create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104941:(.text+0x1e8066): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_15create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104911:(.text+0x1e8156): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e82b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329182:(.text+0x1e82c8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329182:(.text+0x1e82d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329193:(.text+0x1e82e0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329258:(.text+0x1e833c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e83a6): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x1e83e8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e83f6): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329211:(.text+0x1e8494): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329212:(.text+0x1e84a0): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329212:(.text+0x1e84b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_36create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157882:(.text+0x1e8612): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e8678): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1e8684): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1e8690): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_37create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157811:(.text+0x1e869c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1e86a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_36create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157925:(.text+0x1e873e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_37create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157850:(.text+0x1e8746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157812:(.text+0x1e8752): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157825:(.text+0x1e8760): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157826:(.text+0x1e876c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157826:(.text+0x1e8778): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157826: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_37create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157825:(.text+0x1e8802): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e8810): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1e8896): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216242:(.text+0x1e88d4): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20039:(.text+0x1e88f0): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x1e8904): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_8create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216271:(.text+0x1e8910): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216221:(.text+0x1e892a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e893e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1e8974): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1e898a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_9create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216206:(.text+0x1e8a32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211265:(.text+0x1e8b1e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e8bb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211562:(.text+0x1e8d2c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211592:(.text+0x1e8d78): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211606:(.text+0x1e8dd8): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1e8dee): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211617:(.text+0x1e8e72): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1e8eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1e8ec6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1e8ed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1e8ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1e8eea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211541:(.text+0x1e910a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1e9130): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211519:(.text+0x1e913c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211541:(.text+0x1e914c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e9158): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1e91ca): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1e91ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1e91f8): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1e920a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1e9258): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1e92f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211325:(.text+0x1e9466): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211285:(.text+0x1e94b2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211287:(.text+0x1e9512): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211287:(.text+0x1e9528): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211300:(.text+0x1e95ac): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211301:(.text+0x1e95f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211301:(.text+0x1e9600): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211301:(.text+0x1e960c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211594:(.text+0x1e9618): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e9624): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211383: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e9844): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e986a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1e9876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x1e9886): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211716:(.text+0x1e9892): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1e9904): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211383:(.text+0x1e9928): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1e9932): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211543:(.text+0x1e9944): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_215setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211333:(.text+0x1e999e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211333:(.text+0x1e99aa): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211321:(.text+0x1e9a00): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211315:(.text+0x1e9a28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211309:(.text+0x1e9a64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_214setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211657:(.text+0x1e9ab2): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:211656:(.text+0x1e9ad0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243004:(.text+0x1e9c74): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243019:(.text+0x1e9c86): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1e9d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1e9d0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1e9d1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243301:(.text+0x1e9e4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243301:(.text+0x1e9e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243301:(.text+0x1e9e66): undefined reference to `PyTuple_GetSlice' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243321:(.text+0x1e9e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13418:(.text+0x1e9eae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243331:(.text+0x1e9ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1e9eea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1e9f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1e9f60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243350:(.text+0x1e9f6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1e9f7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1e9f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243437:(.text+0x1ea12c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243446:(.text+0x1ea13e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243446:(.text+0x1ea146): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243446:(.text+0x1ea152): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ea162): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243446:(.text+0x1ea17a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ea188): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ea1a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243108:(.text+0x1ea1f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243108:(.text+0x1ea200): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ea22e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243280:(.text+0x1ea244): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ea262): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1ea296): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1ea2a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1ea348): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1ea364): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ea432): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243268:(.text+0x1ea48e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243268:(.text+0x1ea49a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243042:(.text+0x1ea536): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243046:(.text+0x1ea544): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243052:(.text+0x1ea564): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243064:(.text+0x1ea590): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243075:(.text+0x1ea5c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243039:(.text+0x1ea61c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243026:(.text+0x1ea63e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243026:(.text+0x1ea654): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243122:(.text+0x1ea778): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1ea7a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13435:(.text+0x1ea7b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1ea7d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243380:(.text+0x1ea808): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243388:(.text+0x1ea860): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243388:(.text+0x1ea868): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243358:(.text+0x1ea8aa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243380:(.text+0x1ea8ba): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243367:(.text+0x1ea8f2): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243301:(.text+0x1ea962): undefined reference to `PySequence_List' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243464:(.text+0x1eaa1c): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243076:(.text+0x1eaa9e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243076:(.text+0x1eaab6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243066:(.text+0x1eaafe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243066:(.text+0x1eab1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243380:(.text+0x1eabba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1eabc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1eac34): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1eac40): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1eac6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_226setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243437:(.text+0x1eac80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243437:(.text+0x1eac9a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_227setPatchDiscretisationInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243032:(.text+0x1ead44): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243034:(.text+0x1ead54): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243034:(.text+0x1ead5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:243024:(.text+0x1ead90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1eae00): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x1eae18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_99computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235117:(.text+0x1eaf5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235119:(.text+0x1eaf8a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235082:(.text+0x1eaf96): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235085:(.text+0x1eafb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235075:(.text+0x1eafe2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_98computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235187:(.text+0x1eb04c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_99computeNGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235095:(.text+0x1eb098): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235077:(.text+0x1eb10c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:235077:(.text+0x1eb122): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28080:(.text+0x1eb1e4): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28056:(.text+0x1eb376): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28064:(.text+0x1eb388): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28064:(.text+0x1eb394): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28067:(.text+0x1eb3a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28071:(.text+0x1eb3ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28103:(.text+0x1eb3b8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28057:(.text+0x1eb3de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28057:(.text+0x1eb3ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1eb414): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28059:(.text+0x1eb42a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1eb456): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1eb466): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1eb470): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28072:(.text+0x1eb482): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28077:(.text+0x1eb4f8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__Vec_buffer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419001:(.text+0x1eb52e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:419001:(.text+0x1eb53c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1eb548): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1eb554): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1eb560): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1eb568): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11_Vec_buffer_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28057:(.text+0x1eb586): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28059:(.text+0x1eb5a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28059:(.text+0x1eb5ac): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:28059:(.text+0x1eb5be): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_131setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237552:(.text+0x1eb5d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237552:(.text+0x1eb5dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237563:(.text+0x1eb5e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1eb606): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_131setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237581:(.text+0x1eb612): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_130setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237651:(.text+0x1eb646): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1eb65a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_131setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237601:(.text+0x1eb678): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237565:(.text+0x1eb696): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1eb6ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eb6e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1eb6f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1eb740): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_130setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237651:(.text+0x1eb820): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237665:(.text+0x1eb82c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1eb8c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1eb8d2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1eb8f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_131setMaxFunctionEvaluations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:237567:(.text+0x1eb91e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151710:(.text+0x1eb94e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1eb9a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_20getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151800:(.text+0x1eb9c8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151810:(.text+0x1eb9de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ebafe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ebb2e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ebb3a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_21getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151725:(.text+0x1ebb60): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151733:(.text+0x1ebb90): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ebc70): undefined reference to `PyList_New' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1ebcf4): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_180getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294343:(.text+0x1ebd46): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ebe6c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_180getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294314:(.text+0x1ebe84): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1ebe9c): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_181getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294270:(.text+0x1ebf74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ebf9e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_181getLabelName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294258:(.text+0x1ec00e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304149:(.text+0x1ec02c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ec060): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1ec06a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1ec072): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304178:(.text+0x1ec07e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1ec08a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_48getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304239:(.text+0x1ec0a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1ec11a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ec124): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1ec136): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec162): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ec16e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304189:(.text+0x1ec17a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304189:(.text+0x1ec186): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304189:(.text+0x1ec192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_48getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304239:(.text+0x1ec1ac): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304266:(.text+0x1ec1b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ec1ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1ec1e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_48getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304220:(.text+0x1ec1f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304220:(.text+0x1ec204): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ec22a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ec240): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304169:(.text+0x1ec25a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_48getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304220:(.text+0x1ec2a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ec2bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ec2c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304176:(.text+0x1ec2d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304176:(.text+0x1ec2e8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304176:(.text+0x1ec300): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ec348): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ec358): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ec362): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_49getFieldName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304198:(.text+0x1ec36c): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_57getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304768:(.text+0x1ec3a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304778:(.text+0x1ec3c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ec3da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1ec3e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1ec3fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_56getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304858:(.text+0x1ec41e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304868:(.text+0x1ec436): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_57getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304817:(.text+0x1ec450): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304817:(.text+0x1ec464): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304781:(.text+0x1ec476): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304782:(.text+0x1ec480): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ec488): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ec514): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_56getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304885:(.text+0x1ec534): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_57getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304788:(.text+0x1ec5f8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ec626): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1ec632): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_57getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304795:(.text+0x1ec64e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1ec67e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ec6d4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ec6de): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_57getCoordinateName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304783:(.text+0x1ec6f2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:304783:(.text+0x1ec708): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_6createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308732:(.text+0x1ec8bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ec8de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ec8ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x1ec8fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x1ec90c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x1ec918): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308586:(.text+0x1ec940): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308587:(.text+0x1ec956): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_6createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308746:(.text+0x1ec980): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308759:(.text+0x1ec9de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308835:(.text+0x1eca1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308627:(.text+0x1eca52): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1eca68): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1eca7a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1eca8a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1eca9e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308608:(.text+0x1ecab4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308610:(.text+0x1ecada): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308552:(.text+0x1ecb88): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308552:(.text+0x1ecc02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308552:(.text+0x1ecc30): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308555:(.text+0x1ecc3c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ecc58): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308547:(.text+0x1ecc88): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308800:(.text+0x1ece90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ecedc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308547:(.text+0x1eceee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308547:(.text+0x1ecefa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308547:(.text+0x1ecf06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308547: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_7createBoxSurfaceMesh': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308545:(.text+0x1ecf26): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308545:(.text+0x1ecf34): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308541:(.text+0x1ecf5c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308541:(.text+0x1ecf72): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:308539:(.text+0x1ecf94): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1ed072): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ed084): undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1ed0b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1ed0c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1ed0e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1ed102): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ed13c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x1ed18e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x1ed292): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ed2c0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376097:(.text+0x1ed2cc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376100:(.text+0x1ed2e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375916:(.text+0x1ed318): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ed36a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1ed3aa): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376091:(.text+0x1ed434): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1ed43c): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1ed59a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x1ed5e2): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1ed64c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1ed658): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1ed666): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375916:(.text+0x1ed678): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375938:(.text+0x1ed684): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375935: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveTransposeAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375939:(.text+0x1ed6b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375954:(.text+0x1ed6c2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375961:(.text+0x1ed6ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375960:(.text+0x1ed700): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:376100:(.text+0x1ed730): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374633:(.text+0x1ed74e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374648:(.text+0x1ed78e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1ed7aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x1ed7b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x1ed7d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1ed804): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374698:(.text+0x1ed838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1ed848): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1ed85a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1ed862): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1ed86e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1ed8a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1ed8ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ed8c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374806:(.text+0x1ed8ee): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ed914): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1ed9d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374909:(.text+0x1eda84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374725:(.text+0x1edab4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374725:(.text+0x1edac0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1edae6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1edb16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1edb64): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1edb8c): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1edbe8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1edc7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1edca8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1edcb6): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1edcc8): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374848:(.text+0x1edd54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374653:(.text+0x1edda2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374808:(.text+0x1eddbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1ede04): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374865:(.text+0x1ede12): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatMultHermitianAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374763:(.text+0x1ede78): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:374770:(.text+0x1ede8c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1edf1c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422164:(.text+0x1edf8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422167:(.text+0x1edf9c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375588:(.text+0x1edfa8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375603:(.text+0x1edfd0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365991:(.text+0x1edfe6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1ee002): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1ee012): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1ee024): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ee02c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x1ee038): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ee078): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ee084): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375718:(.text+0x1ee0be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ee0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445857:(.text+0x1ee186): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ee194): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ee1b6): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1ee1ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1ee1e2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375630:(.text+0x1ee262): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366028:(.text+0x1ee2ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ee476): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1ee4a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ee4b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375753:(.text+0x1ee4cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375753:(.text+0x1ee4fc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375560:(.text+0x1ee53e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1ee568): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375770:(.text+0x1ee572): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/include/python3.12/object.h:798:(.text+0x1ee586): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1ee59c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatSolveAdd_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375649:(.text+0x1ee5ca): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375652:(.text+0x1ee5dc): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375653:(.text+0x1ee5ec): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375675:(.text+0x1ee626): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:375753:(.text+0x1ee672): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72200:(.text+0x1ee684): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72200:(.text+0x1ee68c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1ee698): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1ee6fe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1ee70c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72310:(.text+0x1ee736): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ee74c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72358:(.text+0x1ee76e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1ee7bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ee80c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72509:(.text+0x1ee872): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72509:(.text+0x1ee87c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ee88e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ee8cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1ee8da): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee8ee): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1ee90c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72251:(.text+0x1ee93a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72260:(.text+0x1ee954): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72526:(.text+0x1ee9a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1eea20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1eea2e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72226:(.text+0x1eeae8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72226:(.text+0x1eeaf4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1eeb90): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1eeb9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1eebbe): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1eebea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72308:(.text+0x1eec1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72485:(.text+0x1eec76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1eec98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_26setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72497:(.text+0x1eecae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_27setValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72232:(.text+0x1eedec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:72232:(.text+0x1eedf8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1eee90): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_19setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248162:(.text+0x1eee9e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1eeebe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1eeeea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1eef1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_18setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248252:(.text+0x1eef72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_19setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248211:(.text+0x1eef94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1eefaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ef0e4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_18setARKIMEXFullyImplicit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248241:(.text+0x1ef0f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ef18c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ef19a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_25setRankOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116103:(.text+0x1ef1ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116114:(.text+0x1ef1e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1ef218): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1ef272): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_25setRankOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116152:(.text+0x1ef294): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116152:(.text+0x1ef2aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116126:(.text+0x1ef3e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1ef3f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1ef48c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ef49a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_25setRankOrder': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:116152:(.text+0x1ef4ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1ef4e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_47setLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358762:(.text+0x1ef516): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_46setLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358802:(.text+0x1ef56e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ef590): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_47setLagrangeTrimmed': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358782:(.text+0x1ef5a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358753:(.text+0x1ef6e0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358756:(.text+0x1ef6ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ef788): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ef796): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1ef7b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_185getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171032:(.text+0x1ef7e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171045:(.text+0x1ef814): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453055:(.text+0x1ef86e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1ef890): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171139:(.text+0x1ef8a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ef9e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1ef9f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171218:(.text+0x1efa8c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1efa9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171233:(.text+0x1efaba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1efae6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1efb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_185getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171062:(.text+0x1efb72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171279:(.text+0x1efb94): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171279:(.text+0x1efbaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_185getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171085:(.text+0x1efcce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1efcfe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453176:(.text+0x1efd0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_184getRowIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171279:(.text+0x1efd30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1efd60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1eff02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219260:(.text+0x1eff90): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219290:(.text+0x1effb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219308:(.text+0x1f0002): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219315:(.text+0x1f000c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219315:(.text+0x1f001e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x1f0072): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219409:(.text+0x1f007e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f0094): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219399:(.text+0x1f00a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0x1f00ae): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0x1f00be): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14728:(.text+0x1f0116): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f0122): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f0130): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f013c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1f0162): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219436:(.text+0x1f0178): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f019a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f01cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219463:(.text+0x1f0232): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f0244): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f0266): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219264:(.text+0x1f0280): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219264:(.text+0x1f0288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219272:(.text+0x1f0296): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1f02cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13624:(.text+0x1f02e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219463:(.text+0x1f0300): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f0354): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14919:(.text+0x1f036c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f037e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1f038a): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219273:(.text+0x1f0444): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219463:(.text+0x1f047c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219272:(.text+0x1f04aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219299:(.text+0x1f04b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_54setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219399:(.text+0x1f04d2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_55setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219276:(.text+0x1f0502): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_349bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184705:(.text+0x1f070a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184682:(.text+0x1f0756): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184687:(.text+0x1f0768): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184701:(.text+0x1f0774): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_348bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184736:(.text+0x1f0780): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184760: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_348bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184760:(.text+0x1f07a0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_349bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184687:(.text+0x1f07ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184690:(.text+0x1f07d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f07ec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_349bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:184694:(.text+0x1f080e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1f08ec): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171314:(.text+0x1f08fe): undefined reference to `PyErr_SetObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171343:(.text+0x1f0932): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x1f0940): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453056:(.text+0x1f095c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1f097c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1f09b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171428:(.text+0x1f0a08): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171344:(.text+0x1f0b0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171359:(.text+0x1f0b3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171359:(.text+0x1f0b48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171478:(.text+0x1f0b64): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171493:(.text+0x1f0b94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f0bfe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171329:(.text+0x1f0c4a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f0cbe): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x1f0cd4): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171320:(.text+0x1f0d96): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171465:(.text+0x1f0f28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171335:(.text+0x1f0f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171335:(.text+0x1f0f46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171336:(.text+0x1f0f52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171340:(.text+0x1f0f5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171340:(.text+0x1f0f6a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x1f0f90): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x1f0f9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453057:(.text+0x1f0fc6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f0fdc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_187getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171368:(.text+0x1f1008): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1f1018): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_186getColumnIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171467:(.text+0x1f1022): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130604:(.text+0x1f1034): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f10aa): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_126bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130683:(.text+0x1f10e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1f10ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1f10fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130653:(.text+0x1f1106): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130653:(.text+0x1f1112): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130653:(.text+0x1f111a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f1138): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130618:(.text+0x1f1154): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f115e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f1170): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f1182): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130642:(.text+0x1f118e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130644:(.text+0x1f119a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f11b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f11c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130638:(.text+0x1f11f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_126bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130673:(.text+0x1f120c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130624:(.text+0x1f122a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130627:(.text+0x1f1248): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f126c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_127bindToCPU': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130631:(.text+0x1f1296): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130631:(.text+0x1f12a8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f12f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_171setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259100:(.text+0x1f13d0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259102:(.text+0x1f13dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1f1486): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x1f1496): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14285:(.text+0x1f14b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14438:(.text+0x1f14e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f1516): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1f1522): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1f1562): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f1584): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_171setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259086:(.text+0x1f159a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_170setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259276:(.text+0x1f16e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f16f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_170setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259239:(.text+0x1f1790): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259240:(.text+0x1f179e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259185:(.text+0x1f17be): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_171setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259095:(.text+0x1f17ea): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f181c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_171setEventTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259073:(.text+0x1f1876): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:259083:(.text+0x1f1898): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x1f18ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1f19ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_381fixISLocalEmpty': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186764:(.text+0x1f19f8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186755:(.text+0x1f1a94): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186755:(.text+0x1f1aa2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f1ac2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_381fixISLocalEmpty': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186749:(.text+0x1f1aee): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186735:(.text+0x1f1b20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186742:(.text+0x1f1b7a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186742:(.text+0x1f1b9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f1bb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_38setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358404:(.text+0x1f1cd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f1cfe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_38setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358425:(.text+0x1f1d0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f1d30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_39setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358349:(.text+0x1f1d60): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f1dc0): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f1dc8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_39setLagrangeContinuity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358350:(.text+0x1f1dec): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358358:(.text+0x1f1e4a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f1e74): undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f1f18): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236333:(.text+0x1f1f94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236468:(.text+0x1f2040): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236482:(.text+0x1f204c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1f205e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f206a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1f2094): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f20aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13607:(.text+0x1f20ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14712:(.text+0x1f2112): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f2170): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f218e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x1f21a0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x1f21a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1f2206): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x1f2220): undefined reference to `PyExc_AttributeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236556:(.text+0x1f223a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1f228e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f229e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236584:(.text+0x1f231c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236584:(.text+0x1f2324): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236548:(.text+0x1f2348): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f2370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1f237c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f2396): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1f23ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236358:(.text+0x1f23fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236358:(.text+0x1f2406): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236439:(.text+0x1f2418): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f2454): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_r': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14919:(.text+0x1f251a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14919:(.text+0x1f2524): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236520:(.text+0x1f2536): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236584:(.text+0x1f2548): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1f2568): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236359:(.text+0x1f25d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_114setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236548:(.text+0x1f2622): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236358:(.text+0x1f2658): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236368:(.text+0x1f2686): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236368:(.text+0x1f2692): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f26ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_115setConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236363:(.text+0x1f26de): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f2736): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:236401:(.text+0x1f2784): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1f27fa): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f2810): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201916:(.text+0x1f2864): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201881:(.text+0x1f28b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f28bc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f28e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201907:(.text+0x1f290c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f2918): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f2924): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f2932): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201901:(.text+0x1f295c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_80setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201936:(.text+0x1f2968): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201887:(.text+0x1f2990): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201890:(.text+0x1f29a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f29c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_81setASMSortIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201894:(.text+0x1f29f6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:201894:(.text+0x1f2a08): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f2a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f2a50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f2a6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_131distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319033:(.text+0x1f2aaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319033:(.text+0x1f2ab4): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319043:(.text+0x1f2ac6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f2ade): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1f2afa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f2b1a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f2bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_131distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319073:(.text+0x1f2c16): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319073:(.text+0x1f2c22): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319053:(.text+0x1f2cba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319056:(.text+0x1f2cc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_130distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319112:(.text+0x1f2ce8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_131distributeSetDefault': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319060:(.text+0x1f2d14): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f2d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f2d9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_43setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358534:(.text+0x1f2dbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358534:(.text+0x1f2dd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f2f0e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f2f1a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_42setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358627:(.text+0x1f2fb2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_43setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358554:(.text+0x1f2fc0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358557:(.text+0x1f2fe0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_42setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358613:(.text+0x1f300c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_43setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358561:(.text+0x1f303c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f3094): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f30b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_43setLagrangeTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358583:(.text+0x1f30cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1f31ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f3218): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f3224): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_53setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355805:(.text+0x1f3240): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f3270): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_53setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355785:(.text+0x1f32d4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_52setPolynomialTensor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:355844:(.text+0x1f3320): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f3390): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f33a6): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f3464): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f3526): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f3532): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f353c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239400:(.text+0x1f3566): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239402:(.text+0x1f3572): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f357e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f358a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239386:(.text+0x1f35b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_166setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239429:(.text+0x1f35c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239380:(.text+0x1f35ea): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239383:(.text+0x1f3600): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f362c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_166setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239439:(.text+0x1f363c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239387:(.text+0x1f3646): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239387:(.text+0x1f3658): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f36d4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_167setForceIteration': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239409:(.text+0x1f36f4): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_257setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214524:(.text+0x1f3704): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1f370c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_257setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214524:(.text+0x1f371a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214534:(.text+0x1f3728): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f3734): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f3740): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1f375e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f377a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1f3788): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13082:(.text+0x1f3794): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1f37c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_256setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214614:(.text+0x1f37d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_257setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214573:(.text+0x1f37f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1f381a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x1f388c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_257setDeflationInitOnly': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214551:(.text+0x1f395a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214551:(.text+0x1f3966): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:214573:(.text+0x1f3a10): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391720:(.text+0x1f3a20): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391720:(.text+0x1f3a42): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0x1f3a6e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1f3aa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f3aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x1f3aec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1f3b0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f3b24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1f3c56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1f3c84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f3c90): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1f3cac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x1f3cdc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1f3d32): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391862:(.text+0x1f3d3c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1f3d50): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391880:(.text+0x1f3d66): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1f3f1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1f3f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391779:(.text+0x1f3f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f3f58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1f3f6a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1f3f76): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1f3f9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391934:(.text+0x1f3fb4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391779:(.text+0x1f3fde): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f403c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391934:(.text+0x1f407a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1f40b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391753:(.text+0x1f40c6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391820:(.text+0x1f40d8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f40e8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormFunction_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391907:(.text+0x1f40fc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391783:(.text+0x1f4112): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391785:(.text+0x1f4138): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_179getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170384:(.text+0x1f41e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1f4260): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f428a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_179getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170450:(.text+0x1f4296): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170452:(.text+0x1f42b2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170459:(.text+0x1f42e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170411:(.text+0x1f433e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_178getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170495:(.text+0x1f4392): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170495:(.text+0x1f439c): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_179getValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170414:(.text+0x1f43b0): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170414:(.text+0x1f43c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170420:(.text+0x1f44be): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:170402:(.text+0x1f458e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1f461e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f4632): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_253metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326291:(.text+0x1f4678): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326293:(.text+0x1f4688): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_252metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326322:(.text+0x1f4696): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x1f46c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_252metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326346:(.text+0x1f46d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1f46f8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_253metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326300:(.text+0x1f4738): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1f4748): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f475a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1f4762): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1f476e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f47b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_253metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326260:(.text+0x1f47ca): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326260:(.text+0x1f47d4): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326293:(.text+0x1f4828): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f485e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x1f487a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_252metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326346:(.text+0x1f489a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1f48ac): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f48f8): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_252metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326372:(.text+0x1f494e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_253metricDeterminantCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326270:(.text+0x1f4962): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:326275:(.text+0x1f4990): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f49ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391024:(.text+0x1f4a46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1f4ad6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391061:(.text+0x1f4aea): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f4af4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1f4bbc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391098:(.text+0x1f4bc8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f4c64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391161:(.text+0x1f4c72): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391161:(.text+0x1f4c92): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x1f4cbe): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1f4cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392952:(.text+0x1f4d4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392970:(.text+0x1f4d6c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392202:(.text+0x1f4d82): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1f4ec2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365581:(.text+0x1f4ece): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f5006): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f501e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1f5088): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392997:(.text+0x1f5096): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393016:(.text+0x1f50b6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391085:(.text+0x1f50e2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391152:(.text+0x1f5122): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391152:(.text+0x1f5130): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391152:(.text+0x1f513c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f5148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f5152): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392412: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f5212): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f5224): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392418:(.text+0x1f5232): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393192:(.text+0x1f525e): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392456:(.text+0x1f52ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1f5306): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422493:(.text+0x1f5348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f53de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392526:(.text+0x1f53f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392526:(.text+0x1f5404): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392528:(.text+0x1f5416): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392533:(.text+0x1f542c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f548a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392566:(.text+0x1f5496): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392566:(.text+0x1f54a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f55d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393053:(.text+0x1f5606): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393062:(.text+0x1f5612): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x1f5654): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391152:(.text+0x1f5672): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1f5740): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f574c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f582e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f583e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f5850): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f5858): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f5864): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f5874): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f5892): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f58d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f58f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1f595a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f5994): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f59ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f59c2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f59d8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1f5a38): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f5a7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x1f5ba6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1f5bb2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392486:(.text+0x1f5bd6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392250:(.text+0x1f5be6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392250:(.text+0x1f5bf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392659:(.text+0x1f5c0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x1f5c5e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392726:(.text+0x1f5c6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f5c7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392760:(.text+0x1f5caa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392774:(.text+0x1f5cf6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f5d4c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f5d60): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392970:(.text+0x1f5d7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1f5d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1f5da6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392304:(.text+0x1f5dbc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1f5e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x1f5e48): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1f5e5e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392497:(.text+0x1f5e72): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f5e90): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x1f5f6a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389221:(.text+0x1f6006): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1f60d2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1f619e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f61e4): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392747:(.text+0x1f626c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392749:(.text+0x1f6282): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392671:(.text+0x1f6320): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSSolveStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392290:(.text+0x1f645e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392290:(.text+0x1f646a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TSAdaptStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392566:(.text+0x1f6476): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392729:(.text+0x1f6486): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392729:(.text+0x1f649a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392729: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_255getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139001:(.text+0x1f6648): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f6672): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_254getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139067:(.text+0x1f671e): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_255getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139012:(.text+0x1f673e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139012:(.text+0x1f6748): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x1f675a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_255getValuesStagStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139004:(.text+0x1f67ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139021:(.text+0x1f67c6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139022:(.text+0x1f67f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139017:(.text+0x1f6808): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139018:(.text+0x1f6818): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f6844): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f6852): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f690a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f6916): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77881:(.text+0x1f6942): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77881:(.text+0x1f6958): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_8view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77948:(.text+0x1f6968): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77891:(.text+0x1f6994): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f69a2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f6a5a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77847:(.text+0x1f6a66): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77852:(.text+0x1f6a92): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f6aa8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_8view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77962:(.text+0x1f6ab8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_9view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77856:(.text+0x1f6ae4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77857:(.text+0x1f6af2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412844:(.text+0x1f6baa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412848:(.text+0x1f6bb6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83870:(.text+0x1f6be2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f6bf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f6c08): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Comm___cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83933:(.text+0x1f6c34): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83943:(.text+0x1f6c42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f6cfa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83905:(.text+0x1f6d06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412844:(.text+0x1f6d32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1f6d48): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f6d58): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f6d84): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc_Comm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:412850:(.text+0x1f6d92): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Comm_1__cinit__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83884:(.text+0x1f6e48): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83885:(.text+0x1f6e54): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f6e80): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f6e96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100629:(.text+0x1f6ea6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100641:(.text+0x1f6ed2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100629:(.text+0x1f6ee0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1f6f98): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x1f6fa4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f6fd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100758:(.text+0x1f6fe6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100771:(.text+0x1f6ff6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f7022): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f7030): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1f70e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x1f70f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1f711e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1f7134): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100798:(.text+0x1f7144): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x1f7170): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x1f717e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f7236): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100798:(.text+0x1f7242): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f726e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_4create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100798:(.text+0x1f7284): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1f7294): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100681:(.text+0x1f72c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f72ce): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_5create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100659:(.text+0x1f7386): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100659:(.text+0x1f7392): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100669:(.text+0x1f73be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1f73d4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x1f73e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7410): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f741e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f74d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_17setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149478:(.text+0x1f74e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f750e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_16setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149526:(.text+0x1f7524): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149526:(.text+0x1f7534): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7560): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f756e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144925:(.text+0x1f7626): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144925:(.text+0x1f7632): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4Quad_8destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144973:(.text+0x1f765e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144973:(.text+0x1f7674): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4Quad_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:144924:(.text+0x1f7684): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f76b0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f76be): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_27popSignalHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76233:(.text+0x1f7776): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76233:(.text+0x1f7782): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_26popSignalHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76271:(.text+0x1f77ae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_27popSignalHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76232:(.text+0x1f77c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f77d4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283617:(.text+0x1f7800): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f780e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283622:(.text+0x1f78c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f78d2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283622:(.text+0x1f78fe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7914): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f7924): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f7950): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f795e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_7isFinalized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74535:(.text+0x1f7a16): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74535:(.text+0x1f7a22): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7a4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7a64): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1f7a74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194516:(.text+0x1f7aa0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9NullSpace_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194542:(.text+0x1f7aae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9NullSpace_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194517:(.text+0x1f7b66): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:194517:(.text+0x1f7b72): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7b9e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_55setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107473:(.text+0x1f7bb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7bc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_54setPermutation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107503:(.text+0x1f7bf0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1f7bfe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107478:(.text+0x1f7cb6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7cc2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352100:(.text+0x1f7cee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7d04): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f7d14): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1f7d40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352112:(.text+0x1f7d4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7e04): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f7e10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f7e3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f7e52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_109setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165494:(.text+0x1f7e62): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f7e8e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f7e9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f7f54): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f7f60): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f7f8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_51sort': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107317:(.text+0x1f7fa2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_50sort': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107343:(.text+0x1f7fb2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f7fde): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f7fec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f80a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_35destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157723:(.text+0x1f80b0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157727:(.text+0x1f80dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_34destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157753:(.text+0x1f80f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157764:(.text+0x1f8102): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f812e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f813c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1f81f4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f8200): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_58setIdentity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107663:(.text+0x1f822c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107674:(.text+0x1f8242): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f8252): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f827e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_59setIdentity': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107639:(.text+0x1f828c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f8344): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f8350): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f837c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_5isInitialized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74474:(.text+0x1f8392): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1f83a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f83ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f83dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196117:(.text+0x1f8494): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f84a0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f84cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f84e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196093:(.text+0x1f84f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f851e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196141:(.text+0x1f852c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197263:(.text+0x1f85e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197274:(.text+0x1f85f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f861c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197229:(.text+0x1f8632): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197230:(.text+0x1f8642): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f866e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197287:(.text+0x1f867c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_12destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104833:(.text+0x1f8734): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f8740): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f876c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_13destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104798:(.text+0x1f8782): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104798:(.text+0x1f8792): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_12destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104846:(.text+0x1f87be): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:104846:(.text+0x1f87cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f8884): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f8890): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_11setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329504:(.text+0x1f88bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329504:(.text+0x1f88d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f88e2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_10setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329552:(.text+0x1f890e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_11setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329503:(.text+0x1f891c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f89d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f89de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_91setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128428:(.text+0x1f8a0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128427:(.text+0x1f8a20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_90setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128476:(.text+0x1f8a30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_91setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128427:(.text+0x1f8a5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f8a6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f8b20): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f8b2c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_35toGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106438:(.text+0x1f8b58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_34toGeneral': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106486:(.text+0x1f8b6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:106486:(.text+0x1f8b7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f8baa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f8bb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353339:(.text+0x1f8c70): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353340:(.text+0x1f8c7c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f8ca8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353388:(.text+0x1f8cbe): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353388:(.text+0x1f8cce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f8cfa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f8d08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98622:(.text+0x1f8dc0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98622:(.text+0x1f8dcc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98670:(.text+0x1f8df8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98670:(.text+0x1f8e0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98621:(.text+0x1f8e1e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f8e4a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91830:(.text+0x1f8e58): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91836:(.text+0x1f8f0e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91836:(.text+0x1f8f1a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91884:(.text+0x1f8f46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:91835:(.text+0x1f8f5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f8f6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151054:(.text+0x1f8f98): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f8fa6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151059:(.text+0x1f905c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f9068): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151059:(.text+0x1f9094): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f90aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f90ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f90e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f90f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1f91ac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:145784:(.text+0x1f91b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f91e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f91fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f920a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f9236): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1f9244): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_42destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120816:(.text+0x1f92fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120816:(.text+0x1f9308): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f9334): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f934a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_3destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342728:(.text+0x1f935a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1f9386): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_3destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342734:(.text+0x1f9394): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_2destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342782:(.text+0x1f944a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_3destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:342733:(.text+0x1f9456): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f9482): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114952:(.text+0x1f9498): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f94a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114958:(.text+0x1f94d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1f94e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114957:(.text+0x1f959a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f95a6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f95d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f95e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f95f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1f9624): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogStage_10pop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79648:(.text+0x1f9632): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f96ea): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f96f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f9722): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f9738): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2AO_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281712:(.text+0x1f9748): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:281720:(.text+0x1f9774): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9782): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f983a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1f9846): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1f9872): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_11destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111483:(.text+0x1f9888): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_10destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111509:(.text+0x1f9898): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f98c4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f98d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f998a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329338:(.text+0x1f9996): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329342:(.text+0x1f99c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329368:(.text+0x1f99d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329379:(.text+0x1f99e8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9a14): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9a22): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356851:(.text+0x1f9ada): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f9ae6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_8destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356881:(.text+0x1f9b12): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1f9b28): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9b38): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9b64): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_9destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356857:(.text+0x1f9b72): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1f9c28): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1f9c34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1f9c60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267146:(.text+0x1f9c76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9c86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267140:(.text+0x1f9cb2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267140:(.text+0x1f9cc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1f9d78): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1f9d84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148950:(.text+0x1f9db0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9dc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9dd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148915:(.text+0x1f9e02): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148915:(.text+0x1f9e10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x1f9ec8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_35setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285134:(.text+0x1f9ed4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9f00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9f16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1f9f26): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_35setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285136:(.text+0x1f9f52): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1f9f60): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_15setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298845:(.text+0x1fa016): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1fa022): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa04e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa064): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_15setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298845:(.text+0x1fa074): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fa0a0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_14setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298893:(.text+0x1fa0ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x1fa164): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_24popErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76205:(.text+0x1fa170): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa19c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa1b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_25popErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76170:(.text+0x1fa1c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fa1ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_24popErrorHandler': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:76208:(.text+0x1fa1fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247486:(.text+0x1fa2b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa2c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247479:(.text+0x1fa2ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247480:(.text+0x1fa302): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247480:(.text+0x1fa312): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247528:(.text+0x1fa33e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247528:(.text+0x1fa34c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa404): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa410): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298348:(.text+0x1fa43c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298348:(.text+0x1fa452): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fa462): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298347:(.text+0x1fa48e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298347:(.text+0x1fa49c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa552): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa55e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216099:(.text+0x1fa58a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fa5a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216147:(.text+0x1fa5b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216098:(.text+0x1fa5dc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fa5ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa6a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fa6ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_5destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228225:(.text+0x1fa6da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_4destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228273:(.text+0x1fa6f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228273:(.text+0x1fa700): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fa72c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1fa73a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_15destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86550:(.text+0x1fa7f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86551:(.text+0x1fa7fe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fa82a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_14destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86599:(.text+0x1fa840): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_15destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86550:(.text+0x1fa850): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fa87c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1fa88a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387895:(.text+0x1fa940): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422410:(.text+0x1fa94c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387915:(.text+0x1fa978): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1fa98e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fa99e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x1fa9ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1fa9d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1faa90): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387988:(.text+0x1faa9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1faac8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x1faade): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x1faaee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fab1a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1fab28): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fabe0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fabec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fac18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x1fac2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x1fac3e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fac6a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388058:(.text+0x1fac78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388202:(.text+0x1fad30): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388193:(.text+0x1fad3c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388220:(.text+0x1fad68): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1fad7e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388229:(.text+0x1fad8e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388238:(.text+0x1fadba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1fadc8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x1fae80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386109:(.text+0x1fae8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388574:(.text+0x1faeb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x1faece): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1faede): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1faf0a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1faf18): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fafd0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fafdc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1fb008): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1fb01e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fb02e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388322:(.text+0x1fb05a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388322:(.text+0x1fb068): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422410:(.text+0x1fb11e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422411:(.text+0x1fb12a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fb156): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x1fb16c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366204:(.text+0x1fb17c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1fb1a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1fb1b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x1fb26c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fb278): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1fb2a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388881:(.text+0x1fb2ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388883:(.text+0x1fb2ca): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fb2f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388916:(.text+0x1fb304): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fb3bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1fb3c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1fb3f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fb40a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fb41a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388386:(.text+0x1fb446): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1fb454): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fb50c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1fb518): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x1fb544): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366216:(.text+0x1fb55a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fb56a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388735:(.text+0x1fb596): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x1fb5a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fb65c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fb668): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388431:(.text+0x1fb694): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388440:(.text+0x1fb6aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388440:(.text+0x1fb6ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388284:(.text+0x1fb6e6): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388460:(.text+0x1fb6f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fb7ac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387915:(.text+0x1fb7b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fb7e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1fb7fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fb80a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fb836): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1fb844): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1fb8fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x1fb906): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fb932): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387839:(.text+0x1fb948): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fb958): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fb984): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:387886:(.text+0x1fb992): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fba4a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fba56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388520:(.text+0x1fba82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388525:(.text+0x1fba98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fbaa8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388652:(.text+0x1fbad4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x1fbae2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389077:(.text+0x1fbb9a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389077:(.text+0x1fbba6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389095:(.text+0x1fbbd2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389104:(.text+0x1fbbe8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x1fbbf8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x1fbc24): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fbc32): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1fbcea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388990:(.text+0x1fbcf6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fbd22): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388996:(.text+0x1fbd38): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388377:(.text+0x1fbd48): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388611:(.text+0x1fbd74): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388611:(.text+0x1fbd82): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fbe3a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fbe46): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1fbe72): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388872:(.text+0x1fbe88): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388814:(.text+0x1fbe98): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fbec4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fbed2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388731:(.text+0x1fbf8a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fbf96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x1fbfc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388652:(.text+0x1fbfd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388652:(.text+0x1fbfe8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1fc014): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x1fc022): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fc0da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388156:(.text+0x1fc0e6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fc112): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388202:(.text+0x1fc128): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388846:(.text+0x1fc138): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1fc164): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fc172): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388220:(.text+0x1fc22a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fc236): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fc262): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fc278): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fc288): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x1fc2b4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388785:(.text+0x1fc2c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PySNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x1fc378): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386159:(.text+0x1fc384): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fc3b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388238:(.text+0x1fc3c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fc3d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388247:(.text+0x1fc402): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388247:(.text+0x1fc410): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388933:(.text+0x1fc4c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388933:(.text+0x1fc4d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388395:(.text+0x1fc500): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388395:(.text+0x1fc516): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388395:(.text+0x1fc526): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388404:(.text+0x1fc552): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388341:(.text+0x1fc560): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388440:(.text+0x1fc616): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388440:(.text+0x1fc622): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388449:(.text+0x1fc64e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fc664): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fc674): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389126:(.text+0x1fc6a0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389131:(.text+0x1fc6ae): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389095:(.text+0x1fc766): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:389095:(.text+0x1fc772): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:388916:(.text+0x1fc79e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397735:(.text+0x1fc7b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397735:(.text+0x1fc7c4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397765:(.text+0x1fc7f0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397765:(.text+0x1fc7fe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397796:(.text+0x1fc8b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fc8c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fc8ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1fc902): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1fc912): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fc93e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397804:(.text+0x1fc94c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397876:(.text+0x1fca02): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x1fca0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fca3a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397885:(.text+0x1fca50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397886:(.text+0x1fca60): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fca8c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1fca9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x1fcb4e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x1fcb5a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397936:(.text+0x1fcb86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397936:(.text+0x1fcb9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397945:(.text+0x1fcbac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0x1fcbd8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448998:(.text+0x1fcbe6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fcc9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fccaa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fccd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fccec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fccfc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fcd28): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscVFPrintf_PythonStdStream': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:397936:(.text+0x1fcd36): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448978:(.text+0x1fcdee): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448978:(.text+0x1fcdfa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fce26): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_decode_c_string': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448978:(.text+0x1fce3c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448978:(.text+0x1fce4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fce78): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fce86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1fcf3e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fcf4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1fcf76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1fcf8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fcf9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1fcfc8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x1fcfd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26671:(.text+0x1fd08c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26683:(.text+0x1fd098): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26714:(.text+0x1fd0c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26777:(.text+0x1fd0da): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26805:(.text+0x1fd0ea): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26836:(.text+0x1fd116): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x1fd124): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x1fd1dc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26751:(.text+0x1fd1e8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fd214): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26762:(.text+0x1fd22a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fd23a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:26767:(.text+0x1fd266): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fd274): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x1fd32a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fd336): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fd362): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1fd378): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1fd388): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1fd3b4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x1fd3c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1fd478): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x1fd484): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fd4b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_148duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132560:(.text+0x1fd4c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x1fd4d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_148duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132592:(.text+0x1fd502): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fd510): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x1fd5c8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fd5d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132498:(.text+0x1fd600): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132452:(.text+0x1fd616): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x1fd626): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fd652): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_148duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132537:(.text+0x1fd660): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132549:(.text+0x1fd718): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132549:(.text+0x1fd724): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132659:(.text+0x1fd750): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fd766): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fd776): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_149duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132473:(.text+0x1fd7a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132492:(.text+0x1fd7b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132478:(.text+0x1fd868): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132478:(.text+0x1fd874): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132482:(.text+0x1fd8a0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132482:(.text+0x1fd8b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_148duplicate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132544:(.text+0x1fd8c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fd8f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1fd900): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x1fd9b8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_121setArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130146:(.text+0x1fd9c4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fd9f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x1fda06): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_121setArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130111:(.text+0x1fda16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x1fda42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_121setArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130135:(.text+0x1fda50): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130124:(.text+0x1fdb06): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130124:(.text+0x1fdb12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1fdb3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1fdb54): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1fdb64): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fdb90): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x1fdb9e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27381:(.text+0x1fdc56): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fdc62): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fdc8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fdca4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fdcb4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414454:(.text+0x1fdce0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:414454:(.text+0x1fdcee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27287:(.text+0x1fdda4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fddb0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fdddc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fddf2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fde02): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1fde2e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27296:(.text+0x1fde3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fdef4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fdf00): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_30__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:120252:(.text+0x1fdf2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27307:(.text+0x1fdf42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27381:(.text+0x1fdf52): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27408:(.text+0x1fdf7e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27408:(.text+0x1fdf8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x1fe044): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fe050): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fe07c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fe092): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27290:(.text+0x1fe0a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27185:(.text+0x1fe0ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27325:(.text+0x1fe0dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27362:(.text+0x1fe192): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fe19e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27198:(.text+0x1fe1ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1fe1e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446992:(.text+0x1fe1f0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27325:(.text+0x1fe21c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fe22a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fe2e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_vec_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:27307:(.text+0x1fe2ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203219:(.text+0x1fe31a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203219:(.text+0x1fe330): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203234:(.text+0x1fe340): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fe36c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x1fe37a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203454:(.text+0x1fe432): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203454:(.text+0x1fe43e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203455:(.text+0x1fe46a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203487:(.text+0x1fe480): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203487:(.text+0x1fe490): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x1fe4bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fe4ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x1fe580): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x1fe58c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fe5b8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyIndex_AsSsize_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464730:(.text+0x1fe5ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203544:(.text+0x1fe5de): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203520:(.text+0x1fe60a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203522:(.text+0x1fe618): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203629:(.text+0x1fe6d0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fe6dc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1fe708): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1fe71e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203642:(.text+0x1fe72e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1fe75a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetItem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447082:(.text+0x1fe768): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203659:(.text+0x1fe820): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203661:(.text+0x1fe82c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203712:(.text+0x1fe858): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203297:(.text+0x1fe86e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203297:(.text+0x1fe87e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449012:(.text+0x1fe8aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1fe8b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1fe96e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1fe97a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203344:(.text+0x1fe9a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203344:(.text+0x1fe9bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203344:(.text+0x1fe9cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x1fe9f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fea06): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1feabe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446978:(.text+0x1feaca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1feaf6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1feb0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1feb1c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1feb48): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1feb56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203721:(.text+0x1fec0e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203730:(.text+0x1fec1a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x1fec46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203730:(.text+0x1fec5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203741:(.text+0x1fec6c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203249:(.text+0x1fec98): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203648:(.text+0x1feca6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1fed5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1fed6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203325:(.text+0x1fed96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203325:(.text+0x1fedac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203326:(.text+0x1fedbc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203424:(.text+0x1fede8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1fedf6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203276:(.text+0x1feed4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203277:(.text+0x1feee0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203294:(.text+0x1fef46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203313:(.text+0x1fef96): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203314:(.text+0x1fefa4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203266:(.text+0x1fefc4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203250:(.text+0x1feff0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203469:(.text+0x1ff022): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ff02e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203474:(.text+0x1ff070): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1ff094): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203454:(.text+0x1ff0aa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203614:(.text+0x1ff1e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ff1f4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203544:(.text+0x1ff25a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x1ff2aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ff2b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_104setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203712:(.text+0x1ff2d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1ff304): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1ff336): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203746:(.text+0x1ff342): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203606:(.text+0x1ff384): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203610:(.text+0x1ff3a8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203493:(.text+0x1ff3be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203511:(.text+0x1ff4fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203511:(.text+0x1ff508): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_105setHYPRESetInterpolations': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:203250:(.text+0x1ff56e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30014:(.text+0x1ff5be): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_NullSpace': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29947:(.text+0x1ff5cc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29947:(.text+0x1ff5ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:29962:(.text+0x1ff618): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ff64a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x1ff656): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x1ff698): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30067:(.text+0x1ff6bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x1ff6d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30155:(.text+0x1ff810): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x1ff81c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ff882): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1ff8d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x1ff8e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1ff900): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ff92c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30055:(.text+0x1ff95e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30055:(.text+0x1ff96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1ff9ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ff9d0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x1ff9e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30105:(.text+0x1ffb24): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30107:(.text+0x1ffb30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x1ffb96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30085:(.text+0x1ffbe6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30144:(.text+0x1ffbf4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30144:(.text+0x1ffc14): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x1ffc40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30151:(.text+0x1ffc72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30151:(.text+0x1ffc7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30158:(.text+0x1ffcc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x1ffce4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_NullSpace_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30161:(.text+0x1ffcfa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30079:(.text+0x1ffe38): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30079:(.text+0x1ffe44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262032:(.text+0x1ffeaa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_212createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262098:(.text+0x1ffefa): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453013:(.text+0x1fff08): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453058:(.text+0x1fff28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_212createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262120:(.text+0x1fff54): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x1fff86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x1fff92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262036:(.text+0x1fffd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x1ffff8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x20000e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20014c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262051:(.text+0x200158): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453178:(.text+0x2001be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_212createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262155:(.text+0x20020e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262046:(.text+0x20021c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x20023c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x200268): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_213createQuadratureTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262037:(.text+0x20029a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262037:(.text+0x2002a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2002e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20030c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x200322): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_6begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77812:(.text+0x200460): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77812:(.text+0x20046c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x2004d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_7begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77733:(.text+0x200522): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77733:(.text+0x200530): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x200550): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_7begin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77738:(.text+0x20057c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2005ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2005b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43021:(.text+0x2005f8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43043:(.text+0x20061c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x200632): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43104:(.text+0x20076c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43127:(.text+0x200778): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2007de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x20082e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43229:(.text+0x20083c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43231:(.text+0x20085c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x200888): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43240:(.text+0x2008b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43246:(.text+0x2008c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x200904): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x200928): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43127:(.text+0x20093e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x200a78): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x200a84): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43291:(.text+0x200aea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x200b3a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x200b48): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x200b68): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x200b94): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x200bc4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x200bd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43259:(.text+0x200c10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x200c34): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x200c4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43169:(.text+0x200d84): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43229:(.text+0x200d90): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43236:(.text+0x200df6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43243:(.text+0x200e46): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43243:(.text+0x200e54): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43246:(.text+0x200e74): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x200ea0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeOps': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43189:(.text+0x200ed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43200:(.text+0x200ede): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43163:(.text+0x200f20): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x200f44): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x200f5a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x201098): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2010a4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x20110a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20115a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x201168): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53459:(.text+0x201188): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2011b4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x2011e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x2011f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53527:(.text+0x201234): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x201258): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53535:(.text+0x20126e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2013ac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2013b8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20141e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x20146e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20147c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53587:(.text+0x20149c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x2014c8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2014f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x201504): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x201544): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x201568): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x20157e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53487:(.text+0x2016b8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53489:(.text+0x2016c4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53503:(.text+0x20172a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x20177a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x201788): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x2017a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53530:(.text+0x2017d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x201806): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianDesign': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53539:(.text+0x201812): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53480:(.text+0x201854): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53496:(.text+0x201878): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x20188e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2019cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2019d8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x201a3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x201a8e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x201a9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x201abc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52198:(.text+0x201ae8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52261:(.text+0x201b1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x201b26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x201b68): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52326:(.text+0x201b8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x201ba2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52238:(.text+0x201ce0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52249:(.text+0x201cec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x201d52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52384:(.text+0x201da2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x201db0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x201dd0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x201dfc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x201e2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x201e3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52399:(.text+0x201e7c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:30283:(.text+0x201ea0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52133:(.text+0x201eb6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x201ff4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x202000): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52292:(.text+0x202066): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52295:(.text+0x2020b6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52266:(.text+0x2020c4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52247:(.text+0x2020e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52275:(.text+0x202110): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x202142): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x20214e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52344:(.text+0x202190): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2021b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2021ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_BRGNRegHessian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52275:(.text+0x202308): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:52275:(.text+0x202314): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x20237a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422247:(.text+0x2023ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x2023d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2023f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366062:(.text+0x202424): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x202456): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x202462): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2024a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x2024c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x2024de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x20261c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x202628): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x20268e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381719:(.text+0x2026de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2026ec): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20270c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x202738): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PC_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x20276a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366099:(.text+0x202776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2027b8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381710:(.text+0x2027dc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x2027f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x202930): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPostSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381609:(.text+0x20293c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2029a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x2029f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x202a00): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x202a20): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x202a4c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381347:(.text+0x202a7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381347:(.text+0x202a88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x202ac8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x202aec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422246:(.text+0x202b02): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x202c3c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x202c48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x202cae): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381458:(.text+0x202cfe): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381458:(.text+0x202d0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x202d2c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x202d58): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x202d8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x202d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x202dd8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381525:(.text+0x202dfc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381528:(.text+0x202e12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x202f50): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x202f5c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x202fc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x203012): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x203020): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381416:(.text+0x203040): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381359:(.text+0x20306c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381388:(.text+0x20309e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381355:(.text+0x2030aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x2030ec): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPreSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:381458:(.text+0x203110): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyPC': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:379523:(.text+0x203126): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205649:(.text+0x203264): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205649:(.text+0x203270): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2032d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205715:(.text+0x203326): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205716:(.text+0x203334): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x203354): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x203380): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2033b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x2033be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x203400): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x203424): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20343a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205764:(.text+0x203578): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205764:(.text+0x203584): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2035ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x20363a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x203648): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x203668): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205607:(.text+0x203694): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205555:(.text+0x2036c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205565:(.text+0x2036d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x203714): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205571:(.text+0x203738): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205590:(.text+0x20374e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x2038a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14302:(.text+0x2038ac): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2038c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205594:(.text+0x2038f8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205597:(.text+0x20393a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20397a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x20398c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:705:(.text+0x203a40): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205809:(.text+0x203a50): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x203a7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205578:(.text+0x203a90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x203abc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x203ace): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_130setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205733:(.text+0x203ad6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205733:(.text+0x203ae2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_131setFieldSplitFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:205583:(.text+0x203b5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x203b80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x203bca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x203bf2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x203c92): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x203d46): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_126createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290698:(.text+0x203d52): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_127createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290615:(.text+0x203db8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290641:(.text+0x203e08): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x203e16): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_127createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290645:(.text+0x203e36): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290643:(.text+0x203e62): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290621:(.text+0x203e94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290624:(.text+0x203ea0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_126createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290712:(.text+0x203ee2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_127createMassMatrix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290628:(.text+0x203f06): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290628:(.text+0x203f1c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20405a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_75projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351654:(.text+0x204066): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x2040cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x20411c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x20412a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351718:(.text+0x20414a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x204176): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2041a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2041b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351774:(.text+0x2041f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x204216): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351779:(.text+0x20422c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x204366): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x204372): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2043d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x204428): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351776:(.text+0x204436): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x204456): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x204482): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_75projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351617:(.text+0x2044b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351625:(.text+0x2044c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x204502): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351718:(.text+0x204526): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351878:(.text+0x20453c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_75projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351634:(.text+0x20467a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351634:(.text+0x204686): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2046ec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_74projectFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351799:(.text+0x20473c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351799:(.text+0x20474a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20476a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196834:(.text+0x204796): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196834:(.text+0x2047c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196846:(.text+0x2047d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x204816): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20483a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196889:(.text+0x204850): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20498e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20499a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196898:(.text+0x204a00): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196939:(.text+0x204a50): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x204a5e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x204a7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x204aaa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196951:(.text+0x204adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x204ae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x204b2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x204b4e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196967:(.text+0x204b64): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x204ca2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x204cae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x204d14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196991:(.text+0x204d64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x204d72): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x204d92): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x204dbe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196882:(.text+0x204df0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x204dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x204e3e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x204e62): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x204e78): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x204fb6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x204fc2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x205028): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x205078): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x205086): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_67expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108097:(.text+0x2050a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_66expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108139:(.text+0x2050d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_67expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108107:(.text+0x205104): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108107:(.text+0x205110): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x205152): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x205176): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_67expand': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108093:(.text+0x20518c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2052ca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2052d6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261079:(.text+0x20533c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20538c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20539a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2053ba): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2053e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261143:(.text+0x205418): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261143:(.text+0x205424): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261185:(.text+0x205466): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261215:(.text+0x20548a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2054a0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x2055de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261345:(.text+0x2055ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449022:(.text+0x205650): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261373:(.text+0x2056a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261359:(.text+0x2056ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261217:(.text+0x2056ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261295:(.text+0x2056fa): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261422:(.text+0x20572a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x205736): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261445:(.text+0x205776): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20579a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261436:(.text+0x2057b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2058ea): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261368:(.text+0x2058f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20595c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x2059ac): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2059ba): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2059da): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446981:(.text+0x205a06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x205a38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x205a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261103:(.text+0x205a86): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261110:(.text+0x205aaa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261445:(.text+0x205ac0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13804:(.text+0x205bfe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261343:(.text+0x205c0a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261098:(.text+0x205c70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261405:(.text+0x205cc0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261406:(.text+0x205cce): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261408:(.text+0x205cee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261422:(.text+0x205d1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_207setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261116:(.text+0x205d4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_206setCostGradients': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261469:(.text+0x205d58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:261405:(.text+0x205d9a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x205dbe): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x205dd4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x205f12): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x205f1e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113849:(.text+0x205f84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113899:(.text+0x205fd4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x205fe2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113901:(.text+0x206002): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20602e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113925:(.text+0x206060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20606c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_37applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113786:(.text+0x2060ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2060d2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113851:(.text+0x2060e8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_37applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113741:(.text+0x206226): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113741:(.text+0x206232): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x206298): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458532:(.text+0x2062e8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458532:(.text+0x2062f6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_37applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113746:(.text+0x206316): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113755:(.text+0x206342): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_36applyInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113940:(.text+0x206374): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x206380): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2063c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458419:(.text+0x2063e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458413:(.text+0x2063fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20653a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x206546): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14351:(.text+0x2065ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_30apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113304:(.text+0x2065fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113304:(.text+0x20660a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113317:(.text+0x20662a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x206656): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_31apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113229:(.text+0x206688): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113229:(.text+0x206694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14258:(.text+0x2066d6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x2066fa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x206710): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x20684e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_30apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113357:(.text+0x20685a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113357:(.text+0x2068c0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113358:(.text+0x206910): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113293:(.text+0x20691e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_31apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113184:(.text+0x20693e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x20696a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_31apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113189:(.text+0x20699a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113189:(.text+0x2069a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113197:(.text+0x2069e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13564:(.text+0x206a0a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13564:(.text+0x206a20): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x206b5a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x206b66): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x206bcc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317172:(.text+0x206c1c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x206c2a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x206c4a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x206c76): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x206ca8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x206cb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x206cf6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x206d1a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317208:(.text+0x206d30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x206e6e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317210:(.text+0x206e7a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x206ee0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x206f30): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317068:(.text+0x206f3e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317076:(.text+0x206f5e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x206f8a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_102markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317181:(.text+0x206fbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x206fc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20700a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317071:(.text+0x20702e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317100:(.text+0x207044): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317085:(.text+0x207182): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x20718e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_103markBoundaryFaces': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317089:(.text+0x2071f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x207244): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x207252): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x207272): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20729e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230519:(.text+0x2072d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x2072dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20731e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x207342): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x207358): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230727:(.text+0x207496): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2074a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230743:(.text+0x207508): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230785:(.text+0x207558): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x207566): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230797:(.text+0x207586): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2075b2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230583:(.text+0x2075e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230583:(.text+0x2075f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230765:(.text+0x207632): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x207656): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x20766c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230840:(.text+0x2077aa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230841:(.text+0x2077b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230535:(.text+0x20781c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230567:(.text+0x20786c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x20787a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230623:(.text+0x20789a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x2078c6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2078f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230797:(.text+0x207904): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x207946): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230884:(.text+0x20796a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230884:(.text+0x207980): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_43setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230556:(.text+0x207abe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x207aca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x207b30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230884:(.text+0x207b80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230885:(.text+0x207b8e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_42setFASLevels': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230785:(.text+0x207bae): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230747:(.text+0x207bda): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:230589:(.text+0x207c0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x207c18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x207c5a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x207c7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x207c94): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459309:(.text+0x207dd2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459310:(.text+0x207dde): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x207e44): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141114:(.text+0x207e94): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141114:(.text+0x207ea2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x207ec2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x207eee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x207f20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x207f2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x207f6e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141074:(.text+0x207f92): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141077:(.text+0x207fa8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x2080e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459434:(.text+0x2080f2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459430:(.text+0x208158): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x2081a8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141082:(.text+0x2081b6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x2081d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x208202): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_289strideNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141087:(.text+0x208234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:141087:(.text+0x208240): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x208282): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:459311:(.text+0x2082a6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2082bc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20840a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_63distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346245:(.text+0x208416): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x208432): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_63distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346271:(.text+0x208462): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_62distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346342:(.text+0x2084b4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346342:(.text+0x2084be): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_63distribute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346251:(.text+0x2084d2): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346252:(.text+0x2084e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2085ba): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2085d0): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x208668): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_71difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108431:(.text+0x20867a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x208682): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_70difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108473:(.text+0x2086a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108473:(.text+0x2086ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x2086b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2086cc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_71difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108441:(.text+0x2086d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x208700): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_71difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108401:(.text+0x208716): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108427:(.text+0x208768): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108427:(.text+0x208778): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_70difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108498:(.text+0x2087a8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_71difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108421:(.text+0x2087e8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108407:(.text+0x2087f2): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108410:(.text+0x208804): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x208832): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_70difference': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108498:(.text+0x208852): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2089ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_3apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329105:(.text+0x2089cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x208a10): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_3apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329065:(.text+0x208a1c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x208a82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_3apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329071:(.text+0x208ad2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329072:(.text+0x208ae0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329071:(.text+0x208b00): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x208b2c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_2apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329163:(.text+0x208b5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_3apply': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329078:(.text+0x208b6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x208bac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x208bd0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x208be6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x208d24): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x208d30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117372:(.text+0x208d96): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117362:(.text+0x208de6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117348:(.text+0x208df4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117351:(.text+0x208e14): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_40compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117439:(.text+0x208e40): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117355:(.text+0x208e72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117355:(.text+0x208e7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x208ec0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x208ee4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_41compose': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:117382:(.text+0x208efa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x209038): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x209044): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_130createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290996:(.text+0x2090aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_131createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290905:(.text+0x2090fa): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290905:(.text+0x209108): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x209128): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_130createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290996:(.text+0x209154): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_131createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290912:(.text+0x209186): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x209192): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2091d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2091f8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_131createInjection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290939:(.text+0x20920e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20934c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_61permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346138:(.text+0x209358): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_60permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346211:(.text+0x2093be): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_61permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346123:(.text+0x20940e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346123:(.text+0x20941c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_60permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346211:(.text+0x20943c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_61permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346127:(.text+0x209468): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x20949a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2094a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2094e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_61permute': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346154:(.text+0x20950a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_311setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142656:(.text+0x209520): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x20965c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x209668): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_TypeTest': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446977:(.text+0x2096ce): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20971e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142855:(.text+0x20972c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142865:(.text+0x20974c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x209778): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142881:(.text+0x2097a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2097b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2097f4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x209818): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/include/python3.12/object.h:706:(.text+0x20982e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20997e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x20998a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2099a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_311setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142683:(.text+0x2099d6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142812:(.text+0x209a18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142776:(.text+0x209a9a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_311setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142688:(.text+0x209b4c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x209c4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_310setNestSubVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142881:(.text+0x209c8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142881:(.text+0x209c9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x209ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x209cb6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113378:(.text+0x209cc4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113378:(.text+0x209cee): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113378:(.text+0x209d04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113433:(.text+0x209d90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x209de4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14242:(.text+0x209dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14255:(.text+0x209dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x209e16): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x209ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x209ee2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x209ef4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x209efc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113442:(.text+0x209f06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x209f40): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447216:(.text+0x209f60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x209fec): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x20a0be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14389:(.text+0x20a0ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_32applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113570:(.text+0x20a130): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113570:(.text+0x20a180): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113519:(.text+0x20a18e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_iarray_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14337:(.text+0x20a1ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113427:(.text+0x20a1da): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20a20c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113397:(.text+0x20a218): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_32applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113570:(.text+0x20a25a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_33applyBlock': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113411:(.text+0x20a27e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13564:(.text+0x20a294): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20a3d2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x20a3de): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x20a444): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20a494): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20a4a2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x20a4c2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x20a4ee): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x20a51e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x20a52a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20a56a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20a58e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20a5a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x20a6de): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215829:(.text+0x20a6ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20a750): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x20a7a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x20a7ae): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215891:(.text+0x20a7ce): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20a7fa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215727:(.text+0x20a82c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215730:(.text+0x20a838): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20a87a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x20a89e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20a8b4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x20aa02): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215815:(.text+0x20aa0e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20aa2a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215722:(.text+0x20aa5a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215817:(.text+0x20aaac): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215817:(.text+0x20aab6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215820:(.text+0x20aaca): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20aade): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20abb2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:215767:(.text+0x20abc8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x20ac60): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_28setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354508:(.text+0x20ac72): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354517:(.text+0x20ac7a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354529:(.text+0x20ac98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354529:(.text+0x20aca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x20acb0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20acc4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_29setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354487:(.text+0x20acd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20acf8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x20ad0e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_29setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354478:(.text+0x20ad60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354478:(.text+0x20ad70): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_28setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354554:(.text+0x20ada0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_29setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354472:(.text+0x20ade0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354458:(.text+0x20adea): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354461:(.text+0x20adfc): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x20ae2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_28setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:354554:(.text+0x20ae4a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x20afb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20afc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20b008): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x20b014): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_65gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346402:(.text+0x20b07a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_64gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346473:(.text+0x20b0ca): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_65gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346382:(.text+0x20b0d8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346396:(.text+0x20b0f8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346385:(.text+0x20b124): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_64gather': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346473:(.text+0x20b156): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:346473:(.text+0x20b162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x20b1a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20b1c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20b1de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x20b31c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_133createRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291030:(.text+0x20b328): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20b38e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_133createRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291036:(.text+0x20b3de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291037:(.text+0x20b3ec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291036:(.text+0x20b40c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x20b438): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_132createRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291127:(.text+0x20b468): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_133createRestriction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:291043:(.text+0x20b474): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20b4b4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20b4d8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20b4ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x20b624): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77562:(.text+0x20b696): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20b7d0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x20b80e): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20b824): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x20b842): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77641:(.text+0x20b8a0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77452:(.text+0x20b9d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77469:(.text+0x20b9e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77482:(.text+0x20b9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457754:(.text+0x20ba00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20ba80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457591:(.text+0x20bbb2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77465:(.text+0x20bc12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77465:(.text+0x20bc1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x20bc4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x20bc58): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20bc6a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_reg_LogEvent': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x20bc9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:83840:(.text+0x20bca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Log_5Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77470:(.text+0x20bcd8): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20bd86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscClassId': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:457754:(.text+0x20bdba): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20bdc6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20be16): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20be22): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Log_4Event': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:77687:(.text+0x20be7a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:110982:(.text+0x20bed0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x20bedc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447214:(.text+0x20bf28): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20bf52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111025:(.text+0x20bf7e): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_2__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111068:(.text+0x20bf8a): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x20bf96): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x20bfb4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x20bfc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x20c024): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x20c030): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20c08a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111046:(.text+0x20c0e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20c10e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20c13a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20c164): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x20c2a4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111006:(.text+0x20c2e2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111030:(.text+0x20c2ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20c340): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_3__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111006:(.text+0x20c35e): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111006:(.text+0x20c36c): undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111014:(.text+0x20c38a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20c55c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20c568): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_65sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107962:(.text+0x20c592): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107962:(.text+0x20c5a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107966:(.text+0x20c5c8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_64sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107996:(.text+0x20c5d4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_65sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107942:(.text+0x20c624): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107945:(.text+0x20c64a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:107945:(.text+0x20c656): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_64sum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:108033:(.text+0x20c67a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20c6e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20c6f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_35applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113635:(.text+0x20c7a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113635:(.text+0x20c7b0): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_34applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113665:(.text+0x20c7c2): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113677:(.text+0x20c7ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113677:(.text+0x20c7d6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_35applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113645:(.text+0x20c808): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20c82c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_35applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113631:(.text+0x20c88c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_34applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113665:(.text+0x20c8ca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113702:(.text+0x20c8e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_35applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113612:(.text+0x20c90a): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113611:(.text+0x20c91c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113614:(.text+0x20c94c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_34applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113702:(.text+0x20c96a): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113702:(.text+0x20c976): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_35applyIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113618:(.text+0x20c98c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20c9e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157354:(.text+0x20ca50): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x20cbac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x20cbda): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x20cbe6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x20cc02): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20cc32): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445638:(.text+0x20ccc4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20cd1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20cd48): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x20cd5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20cdee): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157521:(.text+0x20cdfa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20ce24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157378:(.text+0x20ce5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x20cec0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157379:(.text+0x20cfd6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20d004): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_30__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157466:(.text+0x20d010): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_31__call__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157373:(.text+0x20d02c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157386:(.text+0x20d05c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20d0f0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20d148): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20d174): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x20d18a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x20d21c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x20d228): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x20d252): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20d28c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_35setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147728:(.text+0x20d2ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:147717:(.text+0x20d404): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20d432): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20d43e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20d45a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20d48a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20d51e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114016:(.text+0x20d576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458411:(.text+0x20d5a2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458412:(.text+0x20d5b8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114138:(.text+0x20d64a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13547:(.text+0x20d656): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114140:(.text+0x20d680): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114153:(.text+0x20d6ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114025:(.text+0x20d71c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113988:(.text+0x20d836): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114088:(.text+0x20d864): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_i': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13564:(.text+0x20d870): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114138:(.text+0x20d88c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113997:(.text+0x20d8bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458536:(.text+0x20d954): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_39applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:113993:(.text+0x20d9b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_38applyBlockInverse': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114179:(.text+0x20d9da): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:114179:(.text+0x20d9f0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458419:(.text+0x20da64): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458413:(.text+0x20da70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20da9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_87getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315230:(.text+0x20dad2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20db30): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453063:(.text+0x20dc30): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315417:(.text+0x20dc5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315417:(.text+0x20dc6a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315435:(.text+0x20dc86): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x20dcb6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x20dd4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20dda2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315510:(.text+0x20ddce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x20dde4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315469:(.text+0x20de76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315489:(.text+0x20de82): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315480:(.text+0x20deac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x20dee6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_87getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315254:(.text+0x20df48): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453169:(.text+0x20e07e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453171:(.text+0x20e08a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453180:(.text+0x20e12a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x20e138): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20e158): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315491:(.text+0x20e184): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x20e1b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20e210): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_86getTransitiveClosure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x20e232): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:315537:(.text+0x20e248): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20e386): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20e392): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_281topologyLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328166:(.text+0x20e400): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328195:(.text+0x20e450): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328210:(.text+0x20e45e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_280topologyLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328240:(.text+0x20e47e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20e4aa): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x20e4da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20e4e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x20e526): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_281topologyLoad': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328206:(.text+0x20e54a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:328206:(.text+0x20e560): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20e69a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20e6a6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_123placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130197:(.text+0x20e70e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130229:(.text+0x20e75e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20e76c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x20e78c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14685:(.text+0x20e7b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20e7e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_oarray_s': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:14968:(.text+0x20e7f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20e834): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_122placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130385:(.text+0x20e858): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20e86e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20e9a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x20e9b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x20ea1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20ea6c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20ea7a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x20ea9a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x20eac6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20eaf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_122placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130361:(.text+0x20eb02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20eb42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_123placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130217:(.text+0x20eb66): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130231:(.text+0x20eb7c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130220:(.text+0x20ecb6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x20ecc2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_123placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130224:(.text+0x20ed2a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x20ed7a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_122placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130330:(.text+0x20ed88): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x20eda8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x20edd4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20ee04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_123placeArray': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:130246:(.text+0x20ee10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_25createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105655:(.text+0x20ee50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x20ee74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20ee8a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20efc4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20efd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_25createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105659:(.text+0x20f03e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20f08e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20f09c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x20f0bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_24createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105764:(.text+0x20f0e8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105784:(.text+0x20f118): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105784:(.text+0x20f124): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_25createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105690:(.text+0x20f164): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105696:(.text+0x20f188): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105696:(.text+0x20f19e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x20f2d8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x20f2e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20f34e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_25createStride': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105664:(.text+0x20f39e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105664:(.text+0x20f3ac): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105660:(.text+0x20f3cc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_117setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222688:(.text+0x20f3f8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20f42a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x20f436): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `KSPSetConvergedReason': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:369:(.text+0x20f478): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_117setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222737:(.text+0x20f49c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222701:(.text+0x20f4b2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222703:(.text+0x20f5ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222708:(.text+0x20f5f8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222708:(.text+0x20f61c): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222711:(.text+0x20f63a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455983:(.text+0x20f650): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_117setConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222715:(.text+0x20f6a0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222715:(.text+0x20f6ac): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222715:(.text+0x20f6c0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455990:(.text+0x20f6ec): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:455947:(.text+0x20f722): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x20f734): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20f73c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x20f748): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372419:(.text+0x20f7ea): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x20f802): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x20f812): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368666:(.text+0x20f828): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `memcpy': /usr/include/riscv64-linux-gnu/bits/string_fortified.h:29:(.text+0x20f8c0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x20f99c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20f9a8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x20fabc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x20fac8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x20fadc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20fb08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20fb3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x20fb46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20fb64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x20fbd4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20fc2c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x20fc42): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x20fd76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x20fdbe): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x20fdca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x20fe48): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x20fe56): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372486:(.text+0x20fe7e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x20fe9c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372441:(.text+0x20fef8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyMat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:368716:(.text+0x20ff3c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_MatZeroRowsColumns_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:372414:(.text+0x20ff48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_14setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149439:(.text+0x210064): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x210070): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2100a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2100b4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149415:(.text+0x2100d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149415: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x210140): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_224adjointSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262929:(.text+0x210264): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_225adjointSolve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262890:(.text+0x21027e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x210298): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2102b6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2102d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_71clearDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287560:(.text+0x2102f2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21033e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_71clearDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287561:(.text+0x210368): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287562:(.text+0x210384): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x21039c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_70clearDS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287600:(.text+0x2103c6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2106a4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21074a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349271:(.text+0x2107c6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_3pushTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97647:(.text+0x2108b8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_2pushTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97685:(.text+0x210900): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_20setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268000:(.text+0x210ae2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x210be6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x210c00): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_98setUpOnBlocks': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221749:(.text+0x210c4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x210c82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x210cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_98setUpOnBlocks': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221752:(.text+0x210ce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x210d1c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_188restartStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260224:(.text+0x210d82): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_11reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343217:(.text+0x210f3a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_10reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343255:(.text+0x210f92): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_227adjointStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262952:(.text+0x211012): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x21102c): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x211080): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x211102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x211110): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x211120): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_61stratify': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313445:(.text+0x21112e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21124a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21125a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x211266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2112ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x21135a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_65sortRestoreAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:351007:(.text+0x211404): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x211514): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_88setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128403:(.text+0x211600): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_42setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148124:(.text+0x2116d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2116e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2116f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x211702): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_42setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148127:(.text+0x211750): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x211788): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2117e4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21184e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21185a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_147restoreCLMemHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132394:(.text+0x211a14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132394:(.text+0x211a20): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x211a42): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196501:(.text+0x211a5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_14setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196545:(.text+0x211b4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196506:(.text+0x211b6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x211b96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x211c3c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_106setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165471:(.text+0x211caa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_107setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165432:(.text+0x211cb4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x211cf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x211d04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_21setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198010:(.text+0x211d30): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x211d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x211d54): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_21setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198018:(.text+0x211d68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x211d9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_21setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198012:(.text+0x211db8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_21setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:198011:(.text+0x211e0c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x211e3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_187step': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260131:(.text+0x211e4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_186step': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260161:(.text+0x211e90): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x211ebc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_187step': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260136:(.text+0x211f5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x212016): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_182setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260049:(.text+0x212098): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2120d6): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x212108): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21213e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_14setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:102533:(.text+0x21214a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21215c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21216c): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21217e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x21262e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x212642): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x212654): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_68flush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96407:(.text+0x212664): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2126b4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2126bc): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_69flush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96382:(.text+0x2126cc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_68flush': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96421:(.text+0x212712): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96421:(.text+0x212720): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x212742): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_15popGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98149:(.text+0x2127a8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2127f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x212800): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2128d0): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_97reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221651:(.text+0x21298a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x212a66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_206conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136052:(.text+0x212a74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_207conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136023:(.text+0x212a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x212a8c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_207conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136017:(.text+0x212aca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136017:(.text+0x212ad8): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x212aec): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_207conjugate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136016:(.text+0x212b1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x212b30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x212b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x212b48): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_17setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115455:(.text+0x212b9e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x212c3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_16setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115493:(.text+0x212c52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115493:(.text+0x212c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115454:(.text+0x212c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x212cbe): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x212e74): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:221587:(.text+0x212f14): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x212f26): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x212f66): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x212f72): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x212fd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_185reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260072:(.text+0x2130d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_184reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260112:(.text+0x2131a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_185reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260073:(.text+0x2131b2): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2131c4): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2131fa): undefined reference to `PyList_AsTuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213282): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213290): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_25addPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348492:(.text+0x21329e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21331c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x213328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x213336): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_19reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115512:(.text+0x213342): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21334e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_275assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140267:(.text+0x21355e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x213570): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_274assemblyBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140305:(.text+0x213594): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140266:(.text+0x2135a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2135b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_13setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352539:(.text+0x2136b0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352539:(.text+0x2136e6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352539:(.text+0x2136f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21374e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x21375a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_7setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111284:(.text+0x2137de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111284:(.text+0x2137f0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_6setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111322:(.text+0x21381e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x213864): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogClass_8deactivate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:81412:(.text+0x2138bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x2138d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2138f6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213914): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x213a1a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x213a26): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_13setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298782:(.text+0x213a96): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_229adjointReset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263015:(.text+0x213b4a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263017:(.text+0x213b56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x213b68): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213b94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x213bfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_5popTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97708:(.text+0x213ca2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x213cba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_4popTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97745:(.text+0x213cd0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_5popTimestepping': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97710:(.text+0x213d1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97710:(.text+0x213d30): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213e2e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213e3a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_2setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356546:(.text+0x213eaa): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x213f5e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_18setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267948:(.text+0x213f6a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213f7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x213fa8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_18setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267951:(.text+0x21400e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_56popASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95865:(.text+0x2140b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2140ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2140e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x214132): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_56popASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95868:(.text+0x214144): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x214242): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_15setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352602:(.text+0x21424e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352603:(.text+0x214272): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_14setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352641:(.text+0x2142a4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_43collectViewDestroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349329:(.text+0x2142f8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x214304): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x214318): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x214344): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_43collectViewDestroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349335:(.text+0x2143ac): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349335:(.text+0x2143be): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349335:(.text+0x2143c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2143d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21443c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x214454): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x214464): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_59symmetrize': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313386:(.text+0x21447a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313388:(.text+0x214514): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_28removePoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348691:(.text+0x2145d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x2145f0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_28removePoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348702:(.text+0x2145fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21462c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348666:(.text+0x2146ac): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2146b8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2146d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x214708): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21473c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_150reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238554:(.text+0x21474e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21476e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_150reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238557:(.text+0x2147da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x214832): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_55pushASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95767:(.text+0x2148e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95767:(.text+0x214906): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x214912): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x214990): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359523:(.text+0x2149bc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMInterpolation_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359549:(.text+0x2149c8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359560:(.text+0x2149e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x214a14): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMInterpolation_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359525:(.text+0x214a4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359524:(.text+0x214a8c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:359524:(.text+0x214a9a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x214aa4): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x214ade): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x214b2a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x214c00): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x214c0c): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x214d58): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x214d6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x214d7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_378setUnfactored': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:186693:(.text+0x214dd6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x214e06): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x214ea2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x214eb4): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_199exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135759:(.text+0x214ec6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_198exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135789:(.text+0x214f00): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x214f0c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_198exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135800:(.text+0x214f22): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_199exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135771:(.text+0x214f2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x214f3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x214f4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x214f58): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x214f64): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_199exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135765:(.text+0x214f8c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x214fa2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_198exp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135803:(.text+0x214fc0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x21505e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2150ae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2151b4): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2151dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2151e8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x215202): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_249storeValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176621:(.text+0x215232): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_248storeValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176660:(.text+0x215264): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_249storeValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176621:(.text+0x21526c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x215296): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2152a6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_197reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135696:(.text+0x2152b6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x2152dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_196reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135726:(.text+0x2152ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x215350): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_197reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135702:(.text+0x21535c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21538a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_196reciprocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135740:(.text+0x21539e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135740:(.text+0x2153a6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_213zeroEntries': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136355:(.text+0x215402): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x215410): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x21544a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21551e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21552a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_40setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249282:(.text+0x215598): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2155e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_41setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249257:(.text+0x2155f6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249258:(.text+0x215616): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_40setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249296:(.text+0x215642): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x215674): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x215680): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2156c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_222adjointSetUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:262852:(.text+0x2156e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2156fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21581a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x215840): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x21584c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2158ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_16setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329846:(.text+0x2158f6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_17setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329807:(.text+0x215902): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21591e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21594e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_62sortGetAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350970:(.text+0x215982): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2159c4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2159d2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2159dc): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_63sortGetAccess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350945:(.text+0x215a14): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x215a5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x215b24): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x215b30): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogEvent_15activate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82689:(.text+0x215b5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x215baa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x215bf6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x215c06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x215c28): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x215c54): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_149setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238455:(.text+0x215c86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238456:(.text+0x215c92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:238456:(.text+0x215cac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x215cfa): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x215d10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_8LogEvent_16deactivate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82790:(.text+0x215e1c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:82790:(.text+0x215e28): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x215e56): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x215e6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_203sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135885:(.text+0x215e7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x215ea8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_203sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135891:(.text+0x215eb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_202sqrtabs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135929:(.text+0x215f6c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135929:(.text+0x215f78): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x215fa6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x215fbc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99030:(.text+0x215fcc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x215ff8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99036:(.text+0x216006): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_14setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99074:(.text+0x2160bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:99074:(.text+0x2160c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2160f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21610c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100818:(.text+0x21611c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x216148): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_7destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100824:(.text+0x216156): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_6destroy': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100862:(.text+0x21620c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100862:(.text+0x216218): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21624a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21625e): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_31popFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94197:(.text+0x21626e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x216286): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x216292): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2162be): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_30popFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94238:(.text+0x2162cc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_31popFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94202:(.text+0x216370): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94202:(.text+0x21637c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2163ac): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21648a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x216496): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_50destroyIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345583:(.text+0x2164aa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2164da): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x216524): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_41reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199084:(.text+0x216536): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_40reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199110:(.text+0x216548): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x216550): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x21655c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x216596): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2165de): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_40reset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:199124:(.text+0x2165f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21664c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2166e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_20setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216907:(.text+0x216958): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_21setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216872:(.text+0x2169ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216872:(.text+0x2169b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216871:(.text+0x2169c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2169d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216910: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x216a8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x216abc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_61popASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95955:(.text+0x216ae8): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_9configure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100887:(.text+0x216bca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Device_8configure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100911:(.text+0x216bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x216c22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x216c2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Device_9configure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100887:(.text+0x216c3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_46computeIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345383:(.text+0x216d26): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x216d38): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_46computeIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345394:(.text+0x216d44): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_47computeIndex': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345359:(.text+0x216d8e): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345358:(.text+0x216db0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345358:(.text+0x216df8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x216e1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x216e3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_121localizeCoordinates': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290327:(.text+0x216e5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290335:(.text+0x216e9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290329:(.text+0x216ede): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290329:(.text+0x216ef0): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290328:(.text+0x216f3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x216fa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x216fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2170e8): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x217204): undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_80clearDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97387:(.text+0x217304): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97387:(.text+0x217318): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_81clearDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97348:(.text+0x217328): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97348:(.text+0x217334): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21733e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21734c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_203removeTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260922:(.text+0x21739c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260924:(.text+0x217426): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_202removeTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260962:(.text+0x217452): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260962:(.text+0x217460): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_203removeTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260923:(.text+0x217474): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260923:(.text+0x217484): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x217494): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2174a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2174ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2174ca): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115390:(.text+0x2174ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x217532): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21753a): undefined reference to `PySlice_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x217556): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_15setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115391:(.text+0x217564): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2175e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_41setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148024:(.text+0x217640): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_40setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148050:(.text+0x21764e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2177b6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_63orient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313520:(.text+0x2177ca): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_62orient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313552:(.text+0x217848): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313552:(.text+0x21785c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:313513:(.text+0x217874): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x217880): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21788c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x217904): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_59pushASCIITab': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:95893:(.text+0x21795e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x217b6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x217b9e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_200log': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135863:(.text+0x217baa): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x217bec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_201log': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135828:(.text+0x217c04): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:135828:(.text+0x217c10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x217cf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x217d38): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_11incrementTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97962:(.text+0x217d4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_10incrementTimestep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98000:(.text+0x217d80): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98000:(.text+0x217d92): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:97961:(.text+0x217db0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x217dcc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x217e0a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x217fc2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_11setFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353551:(.text+0x217ff6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353551:(.text+0x218002): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:353550:(.text+0x218044): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21805c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x218068): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_8LogStage_9push': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79541:(.text+0x21814c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:79540:(.text+0x218190): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2181a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_13setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151385:(.text+0x2181d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2181ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_13setUp': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:151389:(.text+0x218208): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x218224): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x218262): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_200setSaveTrajectory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:260899:(.text+0x21841a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21844e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21845a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x21849c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_64clearFields': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:287355:(.text+0x2184b4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2184c0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2185a4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2185e8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_251retrieveValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176685:(.text+0x2185fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176691:(.text+0x218630): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x218642): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x218660): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_251retrieveValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176685:(.text+0x21867c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_250retrieveValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176723:(.text+0x2186ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x218872): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2188a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2188b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_35setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248933:(.text+0x2188f4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248933:(.text+0x21890c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248933:(.text+0x218918): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2189fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_39setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157944:(.text+0x218a40): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157954:(.text+0x218a56): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157976:(.text+0x218a88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x218a9a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x218ab8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_38setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158035:(.text+0x218ad4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_39setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157993:(.text+0x218b12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x218cca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x218cfc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x218d08): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_15setRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247910:(.text+0x218d4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x218d82): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x218d8e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_14setRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247989:(.text+0x218db4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x218dd6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x218e5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_15setRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247924:(.text+0x218e6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247950:(.text+0x218ec2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x218ede): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_15setRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247930:(.text+0x218f20): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247933:(.text+0x218f6e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_14setRKType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248016:(.text+0x218f9c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2190c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2190f4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_168setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279526:(.text+0x219100): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279484:(.text+0x219142): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x21917a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279449:(.text+0x219186): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2191ac): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279475:(.text+0x2191ce): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279455:(.text+0x219252): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279458:(.text+0x219264): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_168setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279541:(.text+0x2192ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279462:(.text+0x2192d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x219318): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_169setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:279484:(.text+0x219366): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267568:(.text+0x219394): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2194b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267608:(.text+0x2194e6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267608:(.text+0x2194f2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_12setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267674:(.text+0x219534): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267588:(.text+0x21956c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267588:(.text+0x219578): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267591:(.text+0x21959e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_12setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267674:(.text+0x2195c0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x219644): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x219656): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_101setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316926:(.text+0x2196ac): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2196c8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_100setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317005:(.text+0x21970a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x219758): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x219786): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_101setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316949:(.text+0x2198ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_100setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317032:(.text+0x2198de): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:317032:(.text+0x2198ea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21992c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x219964): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x219970): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_101setTetGenOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316975:(.text+0x219996): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_87setGAMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202203:(.text+0x2199b8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x219a3c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_86setGAMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202294:(.text+0x219a4e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x219aa4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x219ac0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x219b02): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_86setGAMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202309:(.text+0x219b50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_87setGAMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202223:(.text+0x219b7e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x219ca4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115173:(.text+0x219cd2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115173:(.text+0x219cde): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x219cfa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x219d2a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x219dc0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115213:(.text+0x219e2e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115213:(.text+0x219e3a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115194:(.text+0x219e9c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115193:(.text+0x219eb2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2SF_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115279:(.text+0x219efe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2SF_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:115200:(.text+0x219f2e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x219f5e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x21a098): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_47setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121032:(.text+0x21a0a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21a0c8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21a0fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_47setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121023:(.text+0x21a14e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21a15a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_46setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121089:(.text+0x21a16e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_47setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121003:(.text+0x21a19a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21a1f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_46setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121089:(.text+0x21a20c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121089:(.text+0x21a21e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121089:(.text+0x21a226): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_47setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121010:(.text+0x21a230): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21a29c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21a2b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_47setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121032:(.text+0x21a2cc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x21a366): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21a436): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_5setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111190:(.text+0x21a442): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21a466): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111258:(.text+0x21a498): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5LGMap_5setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111175:(.text+0x21a4ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111175:(.text+0x21a4f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21a50c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5LGMap_4setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:111259:(.text+0x21a538): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21a596): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21a5aa): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21a5bc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21a5c4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21a5ce): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x21a63a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21a654): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_100setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165167:(.text+0x21a66a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21a704): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_101setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165114:(.text+0x21a7d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165122:(.text+0x21a7e0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165111:(.text+0x21a804): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_100setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165194:(.text+0x21a83a): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21a88e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21a89a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21a8ae): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21a8da): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_105appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165312:(.text+0x21a938): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21a94c): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_105appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165330:(.text+0x21a95e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21a966): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x21a970): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_105appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165350:(.text+0x21a9dc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165350:(.text+0x21a9f6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21aa0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_105appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165349:(.text+0x21aaa6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165328:(.text+0x21ab76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:165328:(.text+0x21ab82): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21aba6): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21abd8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x21ac2c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93795:(.text+0x21ac38): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93795:(.text+0x21ac4c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93827:(.text+0x21ac78): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21acd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x21acea): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93844:(.text+0x21acfc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93844:(.text+0x21ad04): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93844:(.text+0x21ad0e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21ad7a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93835:(.text+0x21ad94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21adaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93818:(.text+0x21ae44): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21af14): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_23setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93844:(.text+0x21af20): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_97setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164875:(.text+0x21af44): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21af76): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_96setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164966:(.text+0x21afca): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164966:(.text+0x21afd6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x21afea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_97setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164924:(.text+0x21b016): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21b074): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21b088): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_97setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164915:(.text+0x21b09a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164915:(.text+0x21b0a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164915:(.text+0x21b0ac): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164909:(.text+0x21b118): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164898:(.text+0x21b132): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164898:(.text+0x21b148): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21b1e2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x21b2b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_16setARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248115:(.text+0x21b2be): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248127:(.text+0x21b2e2): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x21b314): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_17setARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248050:(.text+0x21b368): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21b374): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21b388): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_17setARKIMEXType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248076:(.text+0x21b3b4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248051:(.text+0x21b412): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248057:(.text+0x21b426): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248070:(.text+0x21b438): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248056:(.text+0x21b440): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248059:(.text+0x21b44a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248063:(.text+0x21b4b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:248063:(.text+0x21b4d0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21b4e6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x21b580): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225070:(.text+0x21b650): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21b65c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225035:(.text+0x21b680): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21b6b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_146setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225127:(.text+0x21b708): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225127:(.text+0x21b714): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x21b728): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225041:(.text+0x21b754): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_146setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225127:(.text+0x21b7b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225048:(.text+0x21b7c6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225048:(.text+0x21b7d8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225048:(.text+0x21b7e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225048:(.text+0x21b7ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21b856): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_147setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:225070:(.text+0x21b870): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263459:(.text+0x21b886): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x21b920): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263499:(.text+0x21b9f0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263501:(.text+0x21b9fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_236setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263565:(.text+0x21ba20): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263479:(.text+0x21ba52): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21baa6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_236setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263565:(.text+0x21bab2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263565:(.text+0x21bac6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263486:(.text+0x21baf2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21bb50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21bb64): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21bb76): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_237setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263508:(.text+0x21bb7e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:263508:(.text+0x21bb88): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21bbf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267434:(.text+0x21bc0e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x21bc24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21bcbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267375:(.text+0x21bd8e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267378:(.text+0x21bd9a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21bdbe): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267382:(.text+0x21bdf4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21be48): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21be54): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21be68): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267404:(.text+0x21be94): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21bef2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21bf06): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_22vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348439:(.text+0x21bf18): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348439:(.text+0x21bf20): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348439:(.text+0x21bf2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_23vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348409:(.text+0x21bf94): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21bfae): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_23vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348374:(.text+0x21bfc4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_22vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348466:(.text+0x21c05e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_23vectorDefineField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348387:(.text+0x21c12e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348387:(.text+0x21c13a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21c15e): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21c190): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x21c1e4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_13pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98030:(.text+0x21c1f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21c204): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_12pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98098:(.text+0x21c230): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x21c28e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_13pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98068:(.text+0x21c2a2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98068:(.text+0x21c2b4): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21c2bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21c2c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_10ViewerHDF5_13pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98059:(.text+0x21c332): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21c34c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_10ViewerHDF5_12pushGroup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98125:(.text+0x21c362): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98125:(.text+0x21c3fc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197454:(.text+0x21c4cc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197454:(.text+0x21c4d8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197454:(.text+0x21c4fc): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21c532): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x21c586): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x21c592): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197503:(.text+0x21c5a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21c5d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197492:(.text+0x21c630): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197494:(.text+0x21c644): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21c656): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x21c65e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x21c668): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197477:(.text+0x21c6d4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197477:(.text+0x21c6ee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x21c704): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21c79e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x21c872): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x21c87e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21c8f2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_46setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158627:(.text+0x21c9a8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_47setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158541:(.text+0x21c9b4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158542:(.text+0x21c9c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158544:(.text+0x21c9f2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158548:(.text+0x21ca56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158570:(.text+0x21cafa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216740:(.text+0x21cb12): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216750:(.text+0x21cb28): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_18appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216810:(.text+0x21cb74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x21cb86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216782:(.text+0x21cc84): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21cc90): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_18appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216846:(.text+0x21ccb4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216766:(.text+0x21cce6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_18appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216846:(.text+0x21cd3a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216846:(.text+0x21cd46): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216846:(.text+0x21cd5a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216767:(.text+0x21cd86): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21cde4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21cdf8): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216789:(.text+0x21ce0a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216789:(.text+0x21ce12): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197880:(.text+0x21ce1c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_18appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197959:(.text+0x21ce88): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x21cea2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_18appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197971:(.text+0x21ceb8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21cf52): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197903:(.text+0x21d020): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197903:(.text+0x21d02c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x21d050): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197907:(.text+0x21d086): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21d0da): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21d0e6): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21d0fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_19appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197929:(.text+0x21d126): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21d184): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_439restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190770:(.text+0x21d198): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21d1aa): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x21d1b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21d1bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x21d228): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_438restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190835:(.text+0x21d242): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x21d258): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_438restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190884:(.text+0x21d2f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x21d3a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x21d3e2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x21d3ee): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_438restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190900:(.text+0x21d420): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21d480): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_438restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190835:(.text+0x21d502): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_439restoreDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190767:(.text+0x21d510): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190767:(.text+0x21d522): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190767:(.text+0x21d52a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x21d550): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21d5ac): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21d5ba): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_185createLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294527:(.text+0x21d5e6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21d6ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x21d702): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21d714): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21d728): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_185createLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294565:(.text+0x21d748): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294567:(.text+0x21d762): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x21d7ae): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_185createLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294550:(.text+0x21d7f8): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294550:(.text+0x21d804): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294550:(.text+0x21d810): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21d8ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21d8ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21d8d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_185createLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:294576:(.text+0x21d8ee): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2IS_16setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105092:(.text+0x21d978): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105092:(.text+0x21d984): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_17setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105051:(.text+0x21da62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105053:(.text+0x21da6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105053:(.text+0x21da7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105039:(.text+0x21dae2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:105040:(.text+0x21db68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:969: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247784:(.text+0x21dc1a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247794:(.text+0x21dc3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x21dc76): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247833:(.text+0x21dce6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247833:(.text+0x21dd04): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21dd24): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21dd44): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21dda0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247890:(.text+0x21ddca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247804:(.text+0x21dde8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247807:(.text+0x21de16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247807:(.text+0x21de26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247807:(.text+0x21de36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x21de4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247811:(.text+0x21de7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:247811: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21dec8): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21ded6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x21df4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_61viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350843:(.text+0x21df80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_60viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350893:(.text+0x21dfa6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x21dff6): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_61viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350863:(.text+0x21e004): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21e062): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21e0bc): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_61viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350837:(.text+0x21e150): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x21e15c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_60viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350920:(.text+0x21e174): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x21e1c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21e1d4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21e1e6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_61viewXDMF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350863:(.text+0x21e22e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:350863:(.text+0x21e23c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216314:(.text+0x21e250): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216343:(.text+0x21e290): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21e33e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216354:(.text+0x21e3b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21e53a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283975:(.text+0x21e5a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21e6e4): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283961:(.text+0x21e72e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283972:(.text+0x21e740): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284052:(.text+0x21e7b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283973:(.text+0x21e7ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:283973:(.text+0x21e7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21e832): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11Partitioner_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352400:(.text+0x21e8e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x21e934): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x21e93c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11Partitioner_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:352370:(.text+0x21e958): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x21ea9e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMStag_51setCoordinateDMType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334062:(.text+0x21ebba): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:334065:(.text+0x21ecb0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21ecb8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_41insertString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73396:(.text+0x21eece): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Options_40insertString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73475:(.text+0x21ef1a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_41insertString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73445:(.text+0x21ef7c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21ef98): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21f028): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Options_41insertString': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73411:(.text+0x21f070): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21f180): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x21f26e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21f2fa): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21f348): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_16appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228972:(.text+0x21f356): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228972:(.text+0x21f364): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228972:(.text+0x21f372): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_17appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228886:(.text+0x21f380): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_16appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228972:(.text+0x21f404): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_17appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228915:(.text+0x21f4c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228440:(.text+0x21f4ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x21f4d6): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228519:(.text+0x21f54c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x21f560): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x21f576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21f5fe): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x21f620): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x21f654): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x21f662): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228546:(.text+0x21f670): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228546:(.text+0x21f67e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:798: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228474:(.text+0x21f6ba): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228460:(.text+0x21f6c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228463:(.text+0x21f6d0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228463:(.text+0x21f6d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228467:(.text+0x21f74e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228467:(.text+0x21f75a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_24setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284636:(.text+0x21f85e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_25setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284606:(.text+0x21f8c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284606:(.text+0x21f8d2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21f8e0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_25setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284571:(.text+0x21f900): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_24setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284663:(.text+0x21f984): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284663:(.text+0x21f998): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21fa94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x21fab4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197678:(.text+0x21fb2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_14setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197746:(.text+0x21fb6a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x21fba8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21fbf2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197705:(.text+0x21fc5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_14setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197773:(.text+0x21fca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197687:(.text+0x21fcc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197687:(.text+0x21fcd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197701:(.text+0x21fce6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197687: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197690:(.text+0x21fd22): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_14setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197773:(.text+0x21fd4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x21fdca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21fdd6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21fde6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x21fdf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:197716:(.text+0x21fe02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_39appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249126:(.text+0x21fe10): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x21fe1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249126: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_39appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249175:(.text+0x21fef8): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x21ff08): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x21ff14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x21ff26): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_39appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249164:(.text+0x21ff72): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249166:(.text+0x21ff80): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_38appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249232:(.text+0x21ffc0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249232:(.text+0x21ffd2): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_39appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249146:(.text+0x21ffec): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249146:(.text+0x22001e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:249149:(.text+0x22002a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2201f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98865:(.text+0x2202c4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22041e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_99setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316800:(.text+0x220436): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316800:(.text+0x220442): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316800:(.text+0x22044e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_98setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316870:(.text+0x2204ac): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316879:(.text+0x2204bc): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_99setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316849:(.text+0x220528): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22056a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22057c): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_99setTriangleOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316834:(.text+0x220622): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316820:(.text+0x220630): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:316823:(.text+0x220644): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_123setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290415:(.text+0x2207a4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x22080c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x220818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x220824): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_123setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290435:(.text+0x220830): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290435:(.text+0x22083c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2208de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2208e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_122setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290492:(.text+0x2208f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290492:(.text+0x2208fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290492:(.text+0x22090c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x220918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290406: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_122setMatType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290492:(.text+0x22098e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290492:(.text+0x22099c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x220a32): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x220a9e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x220ab2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196320:(.text+0x220ac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x220ad4): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x220afe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x220b14): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196337:(.text+0x220b48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196337:(.text+0x220b5a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_10setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196394:(.text+0x220c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_11setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196315:(.text+0x220cfc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x220d28): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x220d34): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_212setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242309:(.text+0x220e1e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x220e36): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x220e8c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_213setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:242238:(.text+0x220f80): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22105c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2210e6): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298595:(.text+0x2210f4): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x221168): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298612:(.text+0x22117c): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2211e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2211ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298601:(.text+0x2211f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298603:(.text+0x221204): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298669:(.text+0x22123a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298669:(.text+0x221248): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298583:(.text+0x22128e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298586:(.text+0x22129c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DS_8setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298669:(.text+0x2212e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298590:(.text+0x22132e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x221348): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x22136a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x221392): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DS_9setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:298612:(.text+0x22139e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_15appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267694:(.text+0x2213c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x221410): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x22141c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_14appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267773:(.text+0x22142a): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x221448): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x221468): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x221480): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x2214ca): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22150e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x221540): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_15appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267717:(.text+0x2215c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_14appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267800:(.text+0x221606): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_15appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267721:(.text+0x221620): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:267721:(.text+0x221644): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x221676): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2216a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22178c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22179c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2217fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22180a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_95setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202663:(.text+0x2218de): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_94setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202746:(.text+0x22190c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202746:(.text+0x221918): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_95setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202667:(.text+0x221934): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x221964): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2219ac): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2219c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_95setHYPREType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:202689:(.text+0x2219d6): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_111setFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204031:(.text+0x2219fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204031:(.text+0x221a0c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204080:(.text+0x221ad6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x221ae2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x221b16): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x221b2c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_111setFactorSolverType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204079:(.text+0x221b7e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204051:(.text+0x221bb0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204057:(.text+0x221bc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:204080:(.text+0x221ce6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x221d14): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_133restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131071:(.text+0x221d20): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x221d3c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x221d6c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_133restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131126:(.text+0x221db4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x221dd0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x221dde): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458610:(.text+0x221e02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131160:(.text+0x221e14): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131297:(.text+0x221ede): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x221eea): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131299:(.text+0x221f1e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131301:(.text+0x221f34): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_133restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131135:(.text+0x221f86): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_size_t': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:458732:(.text+0x221fb8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131160:(.text+0x221fd0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x22210a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x222116): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x22213a): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_133restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131095:(.text+0x22216e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131103:(.text+0x222180): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131108:(.text+0x2221a6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131108:(.text+0x2221b8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2221ec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2221f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22220c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCUDARestoreArray': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:973:(.text+0x222238): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x22226e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131219:(.text+0x222280): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecCUDARestoreArrayWrite': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:985:(.text+0x222288): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:985:(.text+0x222292): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131277:(.text+0x2222ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2222f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_132restoreCUDAHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131297:(.text+0x22230a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x222320): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2223d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2224a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_81setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288062:(.text+0x2224b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_80setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288120:(.text+0x2224d4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_81setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288034:(.text+0x222508): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288037:(.text+0x22251a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x222540): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_80setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288120:(.text+0x222552): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_81setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288041:(.text+0x222586): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288041:(.text+0x222592): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288041:(.text+0x2225a6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2225d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x222608): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_81setVecType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288063:(.text+0x22261a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:288063:(.text+0x222622): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_145addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206799:(.text+0x22262c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x222668): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22268a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_144addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206878:(.text+0x2226a4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2226ba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22276e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_145addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206822:(.text+0x22283e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206822:(.text+0x22284a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_144addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206905:(.text+0x22286e): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_145addCompositePCType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206826:(.text+0x2228a2): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:206826:(.text+0x2228b4): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2228da): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2228ec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x222920): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x22292c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_29appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284770:(.text+0x222940): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284780:(.text+0x22296c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2229a2): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_28appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284849:(.text+0x2229b4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284849:(.text+0x2229bc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284849:(.text+0x2229c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x222a02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_29appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284819:(.text+0x222a24): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x222a3e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x222a54): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x222b08): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x222be8): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x222d1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_67setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200655:(.text+0x222d32): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200655:(.text+0x222d42): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200655:(.text+0x222d4e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x222db0): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_67setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200646:(.text+0x222dc2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200646:(.text+0x222dd6): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x222df0): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2PC_66setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200712:(.text+0x222eac): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2PC_67setPythonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:200633:(.text+0x222ee6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x222ef6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x222f08): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x223076): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2230a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_83setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128035:(.text+0x223136): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128046:(.text+0x223152): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128040:(.text+0x22316c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128043:(.text+0x22317e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128043:(.text+0x22318e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2231a0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_82setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128126:(.text+0x2231ae): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128127:(.text+0x2231ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_83setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128047:(.text+0x2231d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128047:(.text+0x2231e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128047:(.text+0x2231ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128047:(.text+0x2231fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/tupleobject.h:23: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190530:(.text+0x22336c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x22337a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x2233fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_437getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190503:(.text+0x22347c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190503:(.text+0x22348c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190653:(.text+0x2234f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190570:(.text+0x223562): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x2235c6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2235f2): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x223608): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_437getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190455:(.text+0x223628): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190470:(.text+0x223668): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190673:(.text+0x22367c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x22371a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x223806): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x223812): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x22382e): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x22383a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190550:(.text+0x223878): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_437getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190458:(.text+0x22388c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190472:(.text+0x2238bc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190556:(.text+0x2238cc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_437getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190476:(.text+0x2238ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x22391a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x22394a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x223954): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x223996): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_436getDenseColumnVec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:190709:(.text+0x2239bc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329571:(.text+0x2239d2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x223b14): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x223b20): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329597:(.text+0x223bbc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329591:(.text+0x223bca): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329594:(.text+0x223bea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15DMPlexTransform_12setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329677:(.text+0x223c16): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15DMPlexTransform_13setType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:329598:(.text+0x223c66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x223c70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x223c84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_87appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128233:(.text+0x223cee): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x223d10): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x223d26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x223e30): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x223e3c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x223eb2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_87appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128256:(.text+0x223f02): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128256:(.text+0x223f10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_86appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128339:(.text+0x223f30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_87appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:128260:(.text+0x223f5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x223f8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x223f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x223fdc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228653:(.text+0x224000): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228653:(.text+0x224016): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x224152): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228691:(.text+0x22415e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228673:(.text+0x2241ca): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228676:(.text+0x224214): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228676:(.text+0x224224): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_12setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228759:(.text+0x224246): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_13setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:228680:(.text+0x224272): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2242a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2242b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_137restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131606:(.text+0x224318): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131606:(.text+0x22433a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131606:(.text+0x224350): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `VecHIPRestoreArrayRead': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petscvec.h:980:(.text+0x224490): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_136restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131695:(.text+0x2245ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x224602): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22460e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22461a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_137restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131633:(.text+0x224676): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_136restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131832:(.text+0x2246e0): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x224722): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x224730): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_137restoreHIPHandle': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131643:(.text+0x2247ce): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131643:(.text+0x2247da): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:131643:(.text+0x2247f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216527:(.text+0x22494c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_14setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216606:(.text+0x2249b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2249be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_14setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216618:(.text+0x2249ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216618:(.text+0x2249d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2249e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:243: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x224a78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x224a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x224a8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216567:(.text+0x224a9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216567:(.text+0x224aa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216569:(.text+0x224ab2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216547:(.text+0x224b3c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216550:(.text+0x224b4a): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x224bd0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x224c0e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x224c2a): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_15setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:216576:(.text+0x224c3e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_75setFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96629:(.text+0x224c4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96629:(.text+0x224c64): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96640:(.text+0x224c78): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x224cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_74setFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96708:(.text+0x224cc4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_75setFileName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96643:(.text+0x224d6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96652:(.text+0x224e5c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422492:(.text+0x224fb6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391988:(.text+0x224fce): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445637:(.text+0x224fda): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x224fe6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x225042): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2250ac): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2250ee): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x2250fc): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22519a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2251a6): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x2251bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x225318): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x22537e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366241:(.text+0x22538a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x225396): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392012:(.text+0x2253a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392161:(.text+0x2253ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392161: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x225444): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22544c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x225458): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x225466): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x225472): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22547e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x225508): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x225516): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392133:(.text+0x22559c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392049:(.text+0x2255da): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:391968:(.text+0x2255f6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22560a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392020:(.text+0x225616): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392022:(.text+0x225630): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x225644): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNESTSFormJacobian_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392115:(.text+0x22567a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:392115:(.text+0x225690): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x225738): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449023:(.text+0x225828): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x225982): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x22599a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_151setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257226:(.text+0x2259a6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257226:(.text+0x2259b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_150setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257290:(.text+0x225a0e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_151setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257194:(.text+0x225a78): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257198:(.text+0x225aba): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257198:(.text+0x225ac8): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x225b66): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x225b72): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_150setTolerances': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:257263:(.text+0x225b88): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x225ce4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176489:(.text+0x225d4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176426:(.text+0x225d56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176510:(.text+0x225d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176510:(.text+0x225d6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x225d7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176581:(.text+0x225e10): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176581:(.text+0x225e18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176596:(.text+0x225e24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176596:(.text+0x225e32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x225e3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x225e4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176420: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x225ed4): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x225ee2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176405:(.text+0x225f68): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176384:(.text+0x225fa6): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x225fc2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x225fd6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176592:(.text+0x225fe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176344:(.text+0x225ffc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176344:(.text+0x226010): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176410:(.text+0x226046): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176456:(.text+0x22605c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x226104): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176356:(.text+0x2261f4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176370:(.text+0x22634e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asScalar': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x226366): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x226372): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13386:(.text+0x22637e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_246zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176572:(.text+0x2263da): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_247zeroRowsColumnsStencil': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176420:(.text+0x226444): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176345:(.text+0x226486): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:176345:(.text+0x226494): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_63viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356283:(.text+0x226532): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x22653e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x226554): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_63viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356294:(.text+0x2266b0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_62viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356372:(.text+0x226716): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356372:(.text+0x226722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356421:(.text+0x22672e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356421:(.text+0x22673a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356421:(.text+0x226746): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:220: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_5Space_63viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356319:(.text+0x2267dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356318:(.text+0x2267e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x2267f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_5Space_62viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356421:(.text+0x2267fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356421:(.text+0x22680a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356421:(.text+0x226816): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:356302: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2268a0): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2268ae): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148340:(.text+0x226934): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x226972): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x22698e): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2269a2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x2269ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2269c8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148393:(.text+0x2269dc): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148399:(.text+0x226a12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2FE_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148433:(.text+0x226a28): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2FE_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148355:(.text+0x226ad0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148359:(.text+0x226bc0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148359:(.text+0x226d1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148359:(.text+0x226d32): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148357:(.text+0x226d3e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:148357:(.text+0x226d4a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x226da6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358898:(.text+0x226e10): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358904:(.text+0x226e52): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358938:(.text+0x226e60): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x226efe): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358860:(.text+0x226f0a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358869:(.text+0x226f20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_48viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358996:(.text+0x22707c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_49viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358882:(.text+0x2270e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358882:(.text+0x2270ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2270fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x227106): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x227112): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103658:(.text+0x2271a8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103658:(.text+0x2271b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103658:(.text+0x2271bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103658:(.text+0x2271ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103670:(.text+0x2271d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x2271e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:231: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103713:(.text+0x22726c): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103717:(.text+0x22727a): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103727:(.text+0x227300): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22733e): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103674:(.text+0x22735a): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103682:(.text+0x22736e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103682:(.text+0x22737a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103689:(.text+0x227394): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103717:(.text+0x2273a8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_30viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103825:(.text+0x2273de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2273f4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_13DeviceContext_30viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103825:(.text+0x22749c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_13DeviceContext_31viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:103675:(.text+0x22758c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2276e6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285028:(.text+0x2276fe): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285028:(.text+0x22770a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285028:(.text+0x227716): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284983:(.text+0x227772): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_32viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285110:(.text+0x2277dc): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x22781e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x22782c): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_32viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:285110:(.text+0x2278ca): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_33viewFromOptions': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284991:(.text+0x2278d6): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:284992:(.text+0x2278ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_85createGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156087:(.text+0x227a48): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156097:(.text+0x227aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156097:(.text+0x227aba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x227ac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x227ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x227ade): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156057: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_85createGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156085:(.text+0x227b74): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_84createGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156151:(.text+0x227b7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156151:(.text+0x227b88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156151:(.text+0x227b96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_85createGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156063:(.text+0x227ba2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156063:(.text+0x227bae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156077: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_85createGlobalSection': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156070:(.text+0x227c38): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:156070:(.text+0x227c46): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x227ccc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x227d0a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x227d26): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_65printfASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96154:(.text+0x227d3a): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96157:(.text+0x227d46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_64printfASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96204:(.text+0x227d60): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x227d74): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x227daa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x227dc0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_65printfASCII': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96165:(.text+0x227e68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96152:(.text+0x227f58): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2280b2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2280ca): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2280d6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_33setName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87505:(.text+0x2280e2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22813e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_32setName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87562:(.text+0x2281a8): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_33setName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87490:(.text+0x2281ea): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:87476:(.text+0x2281f8): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x228296): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2282a2): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2282b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x228414): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_19setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86745:(.text+0x22847a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86745:(.text+0x228486): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86745:(.text+0x228492): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22849e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2284aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86811: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x228540): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x228548): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_18setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86811:(.text+0x228554): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86811:(.text+0x228562): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86812:(.text+0x22856e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_19setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86732:(.text+0x22857a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86732: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x228602): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_19setOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86754:(.text+0x228610): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Object_22appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86997:(.text+0x228696): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x2286d4): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2286f0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_23appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86967:(.text+0x228704): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86967:(.text+0x228710): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22872a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x22873e): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x228774): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Object_23appendOptionsPrefix': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86956:(.text+0x22878a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:86941:(.text+0x228832): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22890a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x228944): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_67printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96251:(.text+0x228950): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96300:(.text+0x228a28): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x228a7a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x228a8a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x228a96): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x228b02): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_67printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96274:(.text+0x228b4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_66printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96357:(.text+0x228b8e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96357:(.text+0x228b96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_67printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96278:(.text+0x228ba6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96278:(.text+0x228bb2): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x228bf6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_67printfASCIISynchronized': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:96300:(.text+0x228c4a): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x228c9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x228ce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_8destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347375:(.text+0x228cec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_9destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347332:(.text+0x228d30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x228d8e): undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_9destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347323:(.text+0x228dbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347323:(.text+0x228dc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347325:(.text+0x228dd6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x228dec): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_8destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347390:(.text+0x228e0c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x228e18): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_9destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347306:(.text+0x228e62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347306:(.text+0x228e6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_8destroyLocalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347390:(.text+0x228ea6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x228f04): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x228f1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x228f4c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x229098): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2290a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_109setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222330:(.text+0x2290c8): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `KSPSetIterationNumber': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:337:(.text+0x229108): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x22915c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x229168): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22917c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_109setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222324:(.text+0x2291a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_108setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222383:(.text+0x229210): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x229222): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x22922a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x229234): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x2292a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2292b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2292c8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_109setIterationNumber': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:222339:(.text+0x2292de): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x229378): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_151adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292449:(.text+0x22944e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292450:(.text+0x22945a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x229494): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_150adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292584:(.text+0x229562): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292584:(.text+0x22956e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_151adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292451:(.text+0x229580): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_150adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292584:(.text+0x2295ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_151adaptLabel': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292456:(.text+0x2295de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292459:(.text+0x2295ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292459:(.text+0x2295f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292463:(.text+0x229654): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:292463:(.text+0x229674): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x22968a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x229698): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2296ae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253637:(.text+0x2297b4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253660:(.text+0x2297c0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253662:(.text+0x2297da): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253663:(.text+0x2297e6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x22980c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x22981e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x22984e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x22985e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_84computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253757:(.text+0x229880): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2298ac): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253674:(.text+0x2298e0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2298f2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253656:(.text+0x229936): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyFloat_AS_DOUBLE': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x22995a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253557:(.text+0x229970): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253560:(.text+0x229ac8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253562:(.text+0x229ad4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253568:(.text+0x229aee): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253577:(.text+0x229afa): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253562:(.text+0x229b20): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253562:(.text+0x229b32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253564:(.text+0x229b62): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253564:(.text+0x229b72): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253566:(.text+0x229b94): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253566:(.text+0x229bc0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253568:(.text+0x229bf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253570:(.text+0x229c06): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253596:(.text+0x229c4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253602:(.text+0x229c6e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253608:(.text+0x229c84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_84computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253757:(.text+0x229ddc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x229de8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x229e02): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x229e0e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x229e34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x229e46): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253610:(.text+0x229e76): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253610:(.text+0x229e86): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253604:(.text+0x229ea8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253598:(.text+0x229ed4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253586:(.text+0x229f08): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253586:(.text+0x229f1a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x229f5e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_85computeI2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253558:(.text+0x229f82): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:253558:(.text+0x229f98): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394809:(.text+0x22a0f0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22a0fc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366346:(.text+0x22a116): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366346:(.text+0x22a122): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22a148): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22a15a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_SELF': /usr/include/python3.12/cpython/classobject.h:40:(.text+0x22a18a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22a19a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22a1bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22a1e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x22a21c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22a22e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394906:(.text+0x22a272): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394909:(.text+0x22a296): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x22a2ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395074:(.text+0x22a404): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x22a410): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x22a42a): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395101:(.text+0x22a436): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x22a45c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395149:(.text+0x22a46e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395753:(.text+0x22a49e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x22a4ae): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x22a4d0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422577:(.text+0x22a4fc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22a530): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366346:(.text+0x22a542): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x22a586): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22a5aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395803:(.text+0x22a5c0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x22a718): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395214:(.text+0x22a724): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395522:(.text+0x22a73e): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x22a74a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365147:(.text+0x22a770): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422574:(.text+0x22a782): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x22a7b2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22a7c2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366346:(.text+0x22a7e4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22a810): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365920:(.text+0x22a844): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365562:(.text+0x22a856): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395572:(.text+0x22a89a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395581:(.text+0x22a8be): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395582:(.text+0x22a8d4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22aa2e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22aa3a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394883:(.text+0x22aab2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394997:(.text+0x22ab02): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoGetVecs': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:659:(.text+0x22ab10): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:659:(.text+0x22ab30): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394833:(.text+0x22ab5c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22ab8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22ab98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394900:(.text+0x22abd8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394846:(.text+0x22abfc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22ac12): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoApplyLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:671:(.text+0x22ad4a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:671:(.text+0x22ad56): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:672:(.text+0x22ad70): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395309:(.text+0x22ad7c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395368:(.text+0x22ada2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395377:(.text+0x22adb4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x22ade4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x22adf4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422575:(.text+0x22ae16): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x22ae42): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x22ae76): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365582:(.text+0x22ae88): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395936:(.text+0x22aecc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22aef0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22af06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395413:(.text+0x22b05e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395129:(.text+0x22b06a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b084): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b090): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b0b6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395570:(.text+0x22b0c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395484:(.text+0x22b0f8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395489:(.text+0x22b108): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:394900:(.text+0x22b12a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x22b156): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395853:(.text+0x22b18a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395859:(.text+0x22b19c): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395853:(.text+0x22b1e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b204): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395859:(.text+0x22b21a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22b372): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22b37e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395720:(.text+0x22b398): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395720:(.text+0x22b3a4): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b3ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395726:(.text+0x22b3dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b40c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b41c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395812:(.text+0x22b43e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365957:(.text+0x22b46a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22b49e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x22b4b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22b4f4): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b518): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b52e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366383:(.text+0x22b688): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366383:(.text+0x22b694): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b760): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b76e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22b78e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x22b7ba): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x22b7ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b7f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395471:(.text+0x22b83a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395579:(.text+0x22b85e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b874): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x22b9b0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395025:(.text+0x22b9bc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22b9d6): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x22b9e2): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyTao': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x22ba08): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:393287:(.text+0x22ba1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395986:(.text+0x22ba4a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x22ba5a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395176:(.text+0x22ba7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395645:(.text+0x22baa8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395272:(.text+0x22badc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395272:(.text+0x22baee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x22bb32): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395368:(.text+0x22bb56): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395368:(.text+0x22bb6c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395413:(.text+0x22bcc4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395413:(.text+0x22bcd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395670:(.text+0x22bcea): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395670:(.text+0x22bcf6): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395424:(.text+0x22bd1c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395679:(.text+0x22bd2e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395688:(.text+0x22bd5e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395516:(.text+0x22bd6e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395395:(.text+0x22bd90): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TaoStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:395628:(.text+0x22bdbc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoComputeUpdate': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:641:(.text+0x22bdf0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x22be02): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoGetVecs': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:658:(.text+0x22be46): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x22be6a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `TaoApplyLineSearch': /usr/src/petsc4py-3.19.6-3/src/lib-petsc/custom.h:672:(.text+0x22be80): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73778:(.text+0x22bfd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x22bfe4): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x22bffe): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x22c00a): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x22c030): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x22c042): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x22c072): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x22c082): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x22c0a4): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x22c0d0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73841:(.text+0x22c104): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x22c116): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x22c15a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73868:(.text+0x22c17e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x22c194): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73941:(.text+0x22c2ec): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x22c2f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22c312): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74016:(.text+0x22c31e): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x22c344): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73817:(.text+0x22c356): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22c386): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x22c396): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22c3b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22c3e4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74223:(.text+0x22c418): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22c42a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x22c46e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x22c492): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74190:(.text+0x22c4a8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22c5e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22c606): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22c612): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22c696): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22c6c0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73978:(.text+0x22c6cc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22c6ec): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22c71c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x22c782): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74044:(.text+0x22c7e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22c822): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x22c92c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74088:(.text+0x22c936): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74090:(.text+0x22c942): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22c94e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x22c9f0): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22ca00): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74132:(.text+0x22ca0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyErr_GivenExceptionMatches': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449087:(.text+0x22cb72): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74109:(.text+0x22cb7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22cb8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x22cb96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74142:(.text+0x22cba0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74149: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22cc3e): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x22cc4c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73897:(.text+0x22ccc2): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22ccd0): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74132:(.text+0x22cd9c): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74132:(.text+0x22cdb2): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74044:(.text+0x22ce48): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74145:(.text+0x22cea6): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74137:(.text+0x22cebc): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x22cf56): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74081:(.text+0x22cfbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74081:(.text+0x22cfcc): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22cfe0): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x22cfea): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x22cffe): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Sys_getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74110:(.text+0x22d01a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:74110:(.text+0x22d02a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_1getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73695:(.text+0x22d0cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73713:(.text+0x22d0dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x22d102): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Sys_1getVersion': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73707:(.text+0x22d132): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73687:(.text+0x22d23e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73666:(.text+0x22d26c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73666:(.text+0x22d278): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73682:(.text+0x22d294): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73670:(.text+0x22d2c4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:73661:(.text+0x22d386): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_23toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149816:(.text+0x22d3f2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149831:(.text+0x22d402): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_22toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149874:(.text+0x22d42c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149886:(.text+0x22d442): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x22d466): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22d4aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x22d51e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_23toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149825:(.text+0x22d558): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_22toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149919:(.text+0x22d626): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_23toZero': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149821:(.text+0x22d668): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149807:(.text+0x22d678): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22d75a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x22d85e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Scatter_20toAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149743:(.text+0x22d86a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22d876): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x22d886): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Scatter_21toAll': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149688:(.text+0x22d8dc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149688:(.text+0x22d8ec): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149672:(.text+0x22d970): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:149674:(.text+0x22d980): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22db74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_34getInteriorDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358193:(.text+0x22dc4c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22dcb2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_9DualSpace_35getInteriorDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358162:(.text+0x22dd20): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x22ddae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_9DualSpace_34getInteriorDimension': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358212:(.text+0x22ddba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358212:(.text+0x22ddc2): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358229:(.text+0x22ddce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358229:(.text+0x22ddda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:358202:(.text+0x22de60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_33getSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94260:(.text+0x22df80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94271:(.text+0x22df90): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x22df9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x22dfa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22dfb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_32getSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94384:(.text+0x22e1c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_33getSubViewer': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94290:(.text+0x22e210): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94290:(.text+0x22e22a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:94290:(.text+0x22e23e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22e254): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x22e272): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195933:(.text+0x22e2b6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22e2c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195966:(.text+0x22e2dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195983:(.text+0x22e2f8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x22e33e): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196065:(.text+0x22e34c): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195948:(.text+0x22e39c): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22e3c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22e3d2): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_15MatPartitioning_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:196068:(.text+0x22e47a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_15MatPartitioning_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195954:(.text+0x22e498): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195958:(.text+0x22e4da): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:195959:(.text+0x22e4fa): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336880:(.text+0x22e588): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x22e5ca): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_empty_p': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13787:(.text+0x22e61e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22e662): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337026:(.text+0x22e6d8): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337028:(.text+0x22e6ea): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x22e766): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337049:(.text+0x22e7f2): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x22e804): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x22e88c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337038:(.text+0x22e89c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22e918): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336906:(.text+0x22e952): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336903:(.text+0x22ea18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_11DMComposite_8scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:337054:(.text+0x22ea44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_11DMComposite_9scatter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336916:(.text+0x22ea8e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:336912:(.text+0x22eac4): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22ebbe): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_39migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349194:(.text+0x22ec12): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x22ec42): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x22ec4e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_38migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349244:(.text+0x22ecac): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_39migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349203:(.text+0x22ecc0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13101:(.text+0x22ecf6): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22ed12): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_39migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349164:(.text+0x22ed42): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349177:(.text+0x22ed50): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asBool': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13083:(.text+0x22edd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_39migrate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349174:(.text+0x22ee16): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:349178:(.text+0x22ee2e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22ee82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_4destroyGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347098:(.text+0x22ef50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x22ef64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22ef76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_5destroyGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347046:(.text+0x22ef86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347046: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x22efb4): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_5destroyGlobalVectorFromField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:347011:(.text+0x22efcc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22eff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x22f006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Random_5view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98473:(.text+0x22f1d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x22f1e0): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Random_4view': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98547:(.text+0x22f3a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98597:(.text+0x22f3b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:98597:(.text+0x22f3c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_133distributionSetName': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319154:(.text+0x22f4b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:319181:(.text+0x22f71c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22fa4e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x22fa8c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x22fa98): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22fbb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x22fbd2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x22fbde): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x22fc40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_14_stdout_is_stderr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:399425:(.text+0x22fc4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_123distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318608:(.text+0x22fcf0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318608:(.text+0x22fd10): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x22fd78): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_122distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318726:(.text+0x22fdb4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x22fdce): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x22fde2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22fdf8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_123distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318623:(.text+0x22fe3c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x22ff50): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_123distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318624:(.text+0x22ff92): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318624:(.text+0x22ff9e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318632:(.text+0x22ffc8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318638:(.text+0x230058): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_122distributeOverlap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:318752:(.text+0x23006a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23007e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35577:(.text+0x2301b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35639:(.text+0x230228): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x230242): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35652:(.text+0x230262): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35721:(.text+0x230282): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2302e2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35543:(.text+0x230324): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35554:(.text+0x23033a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues_fcn': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35460:(.text+0x230366): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_matsetvalues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35665:(.text+0x23047a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2304bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2304c8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2305f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x230600): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x2306ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x230742): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38844:(.text+0x230782): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x230798): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x2307ac): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2307c4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x230808): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x230828): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_mp_ass_subscript_8petsc4py_5PETSc_Mat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:415610:(.text+0x230848): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38766:(.text+0x2309c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x230a04): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38809:(.text+0x230a10): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x230b3c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38628:(.text+0x230b48): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x230c12): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x230c8a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x230cca): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x230ce0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x230cf4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38532:(.text+0x230d0c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x230d50): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_28__setitem__': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157337:(.text+0x230d70): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:157338:(.text+0x230d90): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38753:(.text+0x230f0a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x230f4c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38792:(.text+0x230f58): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38798:(.text+0x230f82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38628:(.text+0x231012): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x231024): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38663:(.text+0x231038): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38497:(.text+0x23116a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38630:(.text+0x2311e2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38642:(.text+0x2311fc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x23121c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23123c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23129c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38805:(.text+0x2312de): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38790:(.text+0x2312f4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x231320): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_mat_setitem': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38545:(.text+0x231436): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38796:(.text+0x231474): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38770:(.text+0x231480): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:38638:(.text+0x23150a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_221setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173893:(.text+0x231530): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173904:(.text+0x231700): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173922:(.text+0x231716): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173904:(.text+0x231738): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173909:(.text+0x231744): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2317b6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173918:(.text+0x23187a): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_221setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173902:(.text+0x231918): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173904:(.text+0x231920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173904:(.text+0x23192c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173904:(.text+0x231934): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173900:(.text+0x23195a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2319d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x231a04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x231a2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:232: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_213setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173395:(.text+0x231a6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173404:(.text+0x231a8c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_212setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173436:(.text+0x231af0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_213setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173341:(.text+0x231b4a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173361:(.text+0x231b68): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173361:(.text+0x231b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173348:(.text+0x231b9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173355:(.text+0x231bb2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173348:(.text+0x231bea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x231c0a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_213setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:173357:(.text+0x231ccc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_199setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172363:(.text+0x231e36): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172380:(.text+0x231eb8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172382:(.text+0x231ed0): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172382:(.text+0x231edc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172391:(.text+0x231ee8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_198setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172423:(.text+0x231f44): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_199setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172373:(.text+0x231f8a): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172348:(.text+0x231fcc): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172348:(.text+0x231fda): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172335:(.text+0x23202e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172338:(.text+0x23203a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172356:(.text+0x232094): undefined reference to `PyObject_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172344:(.text+0x232120): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172344:(.text+0x23212c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_199setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172330:(.text+0x2321e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172330:(.text+0x2321f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172326:(.text+0x232212): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172326:(.text+0x23221e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:172326:(.text+0x232228): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171744:(.text+0x232230): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171744:(.text+0x232242): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171757:(.text+0x232256): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171744:(.text+0x232266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x232272): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171830:(.text+0x23234a): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171762:(.text+0x232374): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171762:(.text+0x232380): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_190setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171862:(.text+0x23238c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171862:(.text+0x232398): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171862:(.text+0x2323a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171863: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171781:(.text+0x232474): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171774:(.text+0x232488): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171777:(.text+0x2324ac): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x2324b8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_191setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171763:(.text+0x2324d2): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171799:(.text+0x23250e): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171799:(.text+0x23251a): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171799:(.text+0x23252a): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171789:(.text+0x232538): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171789:(.text+0x232546): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171763:(.text+0x2325fe): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171767:(.text+0x232630): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171769:(.text+0x232644): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:171765:(.text+0x23267a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140135:(.text+0x23269a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2326d6): undefined reference to `PyList_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2326e8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x232752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2327b0): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140201:(.text+0x2327c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447215:(.text+0x2327ec): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_273setValuesBlockedLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140151:(.text+0x232804): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140152:(.text+0x232814): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140157:(.text+0x232820): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140165:(.text+0x2328a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140162:(.text+0x232900): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140153:(.text+0x232a54): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139339:(.text+0x232b40): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x232b58): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x232b64): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x232b70): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139330:(.text+0x232bcc): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139291:(.text+0x232c24): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139324:(.text+0x232c66): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_258setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139371:(.text+0x232c74): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139291:(.text+0x232c96): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139291:(.text+0x232cac): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139300:(.text+0x232d94): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x232df0): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_259setValues': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139339:(.text+0x232dfc): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139286:(.text+0x232e12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x232ed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139439:(.text+0x232ee0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139440:(.text+0x232eec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_260setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139483:(.text+0x232ef8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139483: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447219:(.text+0x232f76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447218:(.text+0x232f7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x232f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x232f96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x232fa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139454:(.text+0x232fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139456: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139424:(.text+0x233038): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139424:(.text+0x233046): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2330ce): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139436:(.text+0x23310e): undefined reference to `PySequence_Tuple' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139431:(.text+0x23313c): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x233150): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139412:(.text+0x23315c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139417:(.text+0x233168): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139426:(.text+0x23317c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2331b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2331cc): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2331f0): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_261setValuesBlocked': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139412:(.text+0x23321e): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139408:(.text+0x233228): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:139408:(.text+0x23323a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140023:(.text+0x2332b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2333a0): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140036:(.text+0x23348c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140039:(.text+0x2334a4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140039:(.text+0x2334b0): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2334bc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140055:(.text+0x233518): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140045:(.text+0x233570): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2335b2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2335c0): undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2335e2): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_271setValuesLocal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140031:(.text+0x2335f8): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2336e0): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_49setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121166:(.text+0x23373c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25766:(.text+0x233748): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25766:(.text+0x23375e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x233820): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x23382c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Vec_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x233838): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788:(.text+0x233844): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:25788: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x2338c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:967:(.text+0x2338ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_49setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121126:(.text+0x2338d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121128:(.text+0x2338e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121145:(.text+0x2338ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121158:(.text+0x2338fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121128: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_49setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121146:(.text+0x233984): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121146:(.text+0x233992): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:121128:(.text+0x233a1a): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_37getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152697:(.text+0x233a5a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x233a88): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_37getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152726:(.text+0x233a9c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451449:(.text+0x233aa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x233ab4): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_36getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152779:(.text+0x233ac8): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_37getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152746:(.text+0x233b00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152710:(.text+0x233b18): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x233b3c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x233b6a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x233b74): undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x233b86): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x233bfe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_36getDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152768:(.text+0x233cf2): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x233e5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_400getMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188105:(.text+0x233e74): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x233e80): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_401getMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188064:(.text+0x233e8c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x233ee8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x233f64): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x233fa6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_400getMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188086:(.text+0x233fb8): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x2340f2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x234150): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_401getMumpsIcntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188030:(.text+0x23415c): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188030:(.text+0x234172): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x234268): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x234274): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x234280): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x23428c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_412getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188901:(.text+0x234356): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188901:(.text+0x23435e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x23436a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x234376): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x234382): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_412getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188930:(.text+0x23438e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188947: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_412getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188901:(.text+0x234428): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x234436): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2344cc): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2344ec): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_413getMumpsRinfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188845:(.text+0x234500): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188845:(.text+0x23450c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_49getConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153555:(.text+0x23453a): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x234564): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_49getConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153584:(.text+0x23457a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_48getConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153637:(.text+0x2345b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13133:(.text+0x2345c8): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_49getConstraintDof': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153595:(.text+0x234682): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:153575:(.text+0x234778): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_409getMumpsInfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188558:(.text+0x2348e2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2348fa): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x234906): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_409getMumpsInfog': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188587:(.text+0x234912): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188607:(.text+0x23496e): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2349ea): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605:(.text+0x234a2c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x234a3e): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x234b78): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x234bd6): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x234be2): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x234bf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7Section_24getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152077:(.text+0x234cee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:453474:(.text+0x234cfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_25getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152044:(.text+0x234d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152044:(.text+0x234d12): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152044: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451607:(.text+0x234ddc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x234de4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x234df0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x234dfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x234e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x234e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_25getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152029:(.text+0x234eae): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152015:(.text+0x234ebc): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152022:(.text+0x234f52): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x234f72): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x234f86): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x234f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x234fc0): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_25getFieldComponents': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:152010:(.text+0x234fea): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_45getCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312260:(.text+0x235000): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x235038): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_45getCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312289:(.text+0x23504e): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x235108): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13150:(.text+0x2351fe): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x235368): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_45getCellType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312275:(.text+0x235380): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312275:(.text+0x23538c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:312275:(.text+0x235398): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_17getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343575:(.text+0x2353f4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343559:(.text+0x235470): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2354b2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2354c4): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_17getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343569:(.text+0x2355fe): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x23565c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x235668): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_17getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:343573:(.text+0x23567e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x235774): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x235780): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_405getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188315:(.text+0x23578c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x235798): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x235862): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23586a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x235876): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_405getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188324:(.text+0x235882): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188326:(.text+0x23588e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188326:(.text+0x23589a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451605: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x235934): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_404getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188386:(.text+0x235942): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188376:(.text+0x2359d8): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x2359f8): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x235a0c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_405getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188313:(.text+0x235a18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x235a46): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x235a70): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x235a86): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_405getMumpsCntl': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188301:(.text+0x235abe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188301:(.text+0x235ad4): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_75getOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155413:(.text+0x235b8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x235c84): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x235dee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x235e06): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x235e12): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x235e1e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7Section_75getOffset': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:155379:(.text+0x235e7a): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x235ef6): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_283strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140643:(.text+0x235f38): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140607:(.text+0x235f4a): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_282strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140694:(.text+0x236084): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_283strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140617:(.text+0x2360e2): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140617:(.text+0x2360ee): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x236104): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_283strideSum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140609:(.text+0x2361fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140609:(.text+0x236206): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:140609:(.text+0x236212): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_129createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290732:(.text+0x23621e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290732: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2362e8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x2362f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x2362fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x236308): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x236314): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x236320): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:701: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2363ba): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2363c8): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_129createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290776:(.text+0x23645e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_128createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x23647e): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x236492): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x23649e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x2364cc): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_129createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290752:(.text+0x2364f6): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290755:(.text+0x23650c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_128createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290864:(.text+0x236544): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23655a): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_129createInterpolation': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:290747:(.text+0x236614): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_407getMumpsInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188436:(.text+0x23670a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188442:(.text+0x236874): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188442:(.text+0x23688c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188445:(.text+0x236898): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188445:(.text+0x2368a4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x236900): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23697c): undefined reference to `PyNumber_Add' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_407getMumpsInfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188437:(.text+0x2369be): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_411getMumpsRinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188694:(.text+0x2369d0): undefined reference to `PyDict_Copy' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x236b0a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x236b68): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x236b74): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x236b8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x236c80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x236c8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x236c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_411getMumpsRinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188721:(.text+0x236ca4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188721: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_411getMumpsRinfo': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:188709:(.text+0x236d6e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93223:(.text+0x236d76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93223:(.text+0x236d82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93238:(.text+0x236d8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93223:(.text+0x236d9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93239:(.text+0x236da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93251: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x236e40): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93386:(.text+0x236e4e): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x236ee4): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93452:(.text+0x236f04): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x236f18): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x236f24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x236f52): undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93439:(.text+0x236f7c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93548:(.text+0x236f92): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x236fca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x236fe0): undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23709a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93464:(.text+0x2371a4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2371b0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x2371ec): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93489:(.text+0x237212): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x237302): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93601:(.text+0x23738a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93602:(.text+0x237396): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x2373a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2373d4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x237406): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93650:(.text+0x237412): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93650:(.text+0x237426): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93652:(.text+0x237432): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93327:(.text+0x23747e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93327:(.text+0x237490): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93329:(.text+0x2374b0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93414:(.text+0x237564): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x237576): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23757e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23758a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2375c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2375d4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2375e6): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2375ee): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x2375fa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x237638): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93269:(.text+0x237668): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93269:(.text+0x237674): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93259:(.text+0x237690): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93259:(.text+0x2376b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93283:(.text+0x2376e0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x237772): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x237814): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x237822): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93525:(.text+0x237994): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93525:(.text+0x2379a0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93617:(.text+0x2379ec): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93668:(.text+0x237abc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93635:(.text+0x237b42): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93604:(.text+0x237bfc): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93702:(.text+0x237c18): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x237c36): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93686:(.text+0x237c42): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93624:(.text+0x237c56): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93681:(.text+0x237c82): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x237cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93510:(.text+0x237ccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93519:(.text+0x237cdc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x237cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93631:(.text+0x237d08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93632:(.text+0x237d14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x237d24): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93492:(.text+0x237dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93261:(.text+0x237dfc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93261:(.text+0x237e0e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93261:(.text+0x237e16): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93255:(.text+0x237e22): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93263:(.text+0x237e62): undefined reference to `PyExc_AssertionError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x237e6e): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6Viewer_21createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93257:(.text+0x237ea8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93257:(.text+0x237eba): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6Viewer_20createDraw': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:93604:(.text+0x237ed4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384889:(.text+0x237f00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384889:(.text+0x237f0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365129:(.text+0x237f1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365138:(.text+0x237f5a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384940:(.text+0x237f6c): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384949:(.text+0x237f76): undefined reference to `PyErr_SetNone' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x237fc8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x238040): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2381a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2381b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365236:(.text+0x2381e6): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385170:(.text+0x23823c): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x238252): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384997:(.text+0x2382ba): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384977:(.text+0x2382c6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2382d8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385161:(.text+0x238304): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385130:(.text+0x238336): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385195:(.text+0x238342): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385279:(.text+0x2383b4): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385352:(.text+0x2383d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x2383ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385370:(.text+0x238428): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `KSPLogResidualHistory': /usr/lib/petscdir/petsc3.19/riscv64-linux-gnu-real/include/petsc/private/kspimpl.h:211:(.text+0x23843a): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385388:(.text+0x238448): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385398:(.text+0x23845e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385630:(.text+0x23852a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x238548): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x238554): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2385c6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385652:(.text+0x2385f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23863e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x23864e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365226:(.text+0x238678): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23868e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionBegin': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365157:(.text+0x2386c2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_tp_new_8petsc4py_5PETSc__PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:422328:(.text+0x23870a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385904:(.text+0x23872a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_newRef': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365571:(.text+0x238806): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x238824): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x238830): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2388a2): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x2388d2): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x23891a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445851:(.text+0x23892a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445852:(.text+0x238954): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445854:(.text+0x23896a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23899e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x2389e6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x238a06): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385748:(.text+0x238ae2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x238b00): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366133:(.text+0x238b0c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyMethod_GET_FUNCTION': /usr/include/python3.12/cpython/classobject.h:35:(.text+0x238b7e): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385785:(.text+0x238bae): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x238bf6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x238c06): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_FunctionEnd': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:365263:(.text+0x238c30): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x238c46): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385481:(.text+0x238c7a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385501:(.text+0x238cc2): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385566:(.text+0x238ce2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x238dce): undefined reference to `Py_EnterRecursiveCall' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x238de2): undefined reference to `Py_LeaveRecursiveCall' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385944:(.text+0x238e3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385944:(.text+0x238e44): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x238e5c): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x238e6a): undefined reference to `PyExc_SystemError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x238e7c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385960:(.text+0x238e86): undefined reference to `PyExc_NotImplementedError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x238e98): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385091:(.text+0x238ede): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x238eea): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x238f3e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x238f52): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385252:(.text+0x238fa6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x238fb2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23903e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23905a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x239072): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385884:(.text+0x2390e6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386063:(.text+0x239110): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x239266): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x239272): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2392aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x2392bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384977:(.text+0x2392e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x2392f8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x23931a): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x239346): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384949:(.text+0x23939c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x2393c0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x2393d6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x23951e): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x23952a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384977:(.text+0x239550): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x23955a): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x23956e): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:384905:(.text+0x239584): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2395a2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385826:(.text+0x2395b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x239604): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385772:(.text+0x239610): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385826:(.text+0x239624): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:366170:(.text+0x239650): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385772:(.text+0x239684): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385652:(.text+0x239696): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2396fc): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386015:(.text+0x239710): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23972e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x23974c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x239758): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPreStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385693:(.text+0x239768): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385693:(.text+0x23977e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x2398a8): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x2398b4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPPostStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385826:(.text+0x2398d8): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStr': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445643:(.text+0x2398e2): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2398f6): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445853:(.text+0x23990c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:386029:(.text+0x23992a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x23993c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385944:(.text+0x23998c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445858:(.text+0x239998): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x2399ec): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385279:(.text+0x2399fe): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385352:(.text+0x239a28): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385352:(.text+0x239a30): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x239a44): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385942:(.text+0x239a9a): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PyKSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x239aae): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:382723:(.text+0x239acc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x239aea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385361:(.text+0x239af6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x239b08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385445:(.text+0x239b1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385490:(.text+0x239bb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x239bc4): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385243:(.text+0x239bd6): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x239be6): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPSolve_Python_default': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385298:(.text+0x239bfa): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSPStep_Python': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:385920:(.text+0x239c6c): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x239ccc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x239cd8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x239d0e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x239d50): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x239e36): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x239e42): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x239e7a): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13228:(.text+0x239e90): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x239eb0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x239ec6): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x239eec): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x239fd8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x239fe4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x23a034): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x23a048): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23a09c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23a0a8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23a132): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x23a148): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23a166): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49491:(.text+0x23a1da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23a1fa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:46076:(.text+0x23a322): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49484:(.text+0x23a362): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49546:(.text+0x23a36e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49643:(.text+0x23a398): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49645:(.text+0x23a3a8): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49647:(.text+0x23a3b0): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49623:(.text+0x23a464): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23a628): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x23a642): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x23a652): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49619:(.text+0x23a660): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49619:(.text+0x23a668): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49619:(.text+0x23a686): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49619:(.text+0x23a68e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_RHSJacobianP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49623:(.text+0x23a6b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223293:(.text+0x23a6ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223293:(.text+0x23a6de): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223293:(.text+0x23a6f0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223336:(.text+0x23a72c): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223361:(.text+0x23a77a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223361:(.text+0x23a786): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223508:(.text+0x23a83c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x23a88e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x23a8c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/include/python3.12/cpython/listobject.h:44:(.text+0x23a92e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23a940): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23a948): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223559:(.text+0x23a984): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x23a9a2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23a9e4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223576:(.text+0x23a9fe): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223620:(.text+0x23aa1e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223764:(.text+0x23aa3e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExceptionSwap': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446555:(.text+0x23aab8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223649:(.text+0x23aaea): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223741:(.text+0x23ab86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223834:(.text+0x23ab90): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223805:(.text+0x23acbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23acce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223336:(.text+0x23acda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x23ad26): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223425:(.text+0x23ad3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223489:(.text+0x23ad48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223489:(.text+0x23ad58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223459:(.text+0x23af26): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223834:(.text+0x23af36): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447963:(.text+0x23af86): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223318:(.text+0x23b000): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223403:(.text+0x23b026): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223333:(.text+0x23b0be): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3KSP_128getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223403:(.text+0x23b114): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23b128): undefined reference to `PyObject_RichCompare' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23b1ea): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23b236): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_129getWorkVecs': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:223361:(.text+0x23b27c): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23b344): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_115restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129709:(.text+0x23b376): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464596:(.text+0x23b3a2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x23b3b2): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_114restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129750:(.text+0x23b3d6): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_115restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129721:(.text+0x23b406): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_114restoreLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129786:(.text+0x23b488): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23b746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23b752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_113getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129552:(.text+0x23b75e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129554:(.text+0x23b76e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129558:(.text+0x23b78a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129558: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_IsTrue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464597:(.text+0x23b7b6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464598:(.text+0x23b7c4): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_112getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129588:(.text+0x23b7da): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_113getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129568:(.text+0x23b804): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129526:(.text+0x23b924): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129548:(.text+0x23b936): undefined reference to `PyNumber_Add' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129518:(.text+0x23b96a): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129536:(.text+0x23ba10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129536:(.text+0x23ba18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23ba40): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_113getLocalVector': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129568:(.text+0x23ba66): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129516:(.text+0x23ba78): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129516:(.text+0x23ba8c): undefined reference to `PyNumber_Index' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:129518:(.text+0x23ba9c): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344702:(.text+0x23bac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x23bb26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x23bb32): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_36hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344792:(.text+0x23bb46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23bb5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344751: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344717:(.text+0x23bcca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344722:(.text+0x23bcd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344722:(.text+0x23bcec): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x23bd20): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_37hasStratum': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:344729:(.text+0x23bda2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x23bdba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345738:(.text+0x23be78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x23be86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13182:(.text+0x23becc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_54hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345828:(.text+0x23bed4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345787:(.text+0x23bf12): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x23bf36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23bfa0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23bfb6): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451606:(.text+0x23c02a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345758:(.text+0x23c08e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345761:(.text+0x23c098): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345761:(.text+0x23c0a6): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x23c106): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x23c11a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345765:(.text+0x23c134): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x23c15c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x23c16e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x23c180): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_55hasPoint': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345753:(.text+0x23c1c4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345753:(.text+0x23c1ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_53hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345651:(.text+0x23c2a2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345651:(.text+0x23c2b0): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x23c2c2): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23c350): undefined reference to `PyCapsule_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451612:(.text+0x23c3a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_53hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345622:(.text+0x23c422): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMLabel_52hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345673:(.text+0x23c48c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x23c49c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13196:(.text+0x23c4b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_53hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345629:(.text+0x23c4c6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345629:(.text+0x23c4dc): undefined reference to `PyNumber_Index' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_As_PetscInt': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451569:(.text+0x23c4ee): undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:969:(.text+0x23c514): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23c552): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMLabel_53hasValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:345617:(.text+0x23c576): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23c69e): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47992:(.text+0x23c6b0): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48028:(.text+0x23c6da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x23c826): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x23c858): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48209:(.text+0x23c8cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23c9e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x23c9fa): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23ca0c): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48250:(.text+0x23caf8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23cb3a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23cb46): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x23cb70): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47940:(.text+0x23cbaa): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23cbea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47941:(.text+0x23ccec): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48016:(.text+0x23ccf6): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48028:(.text+0x23cd0a): undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23cdc6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48137:(.text+0x23cdd8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48137:(.text+0x23cdec): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_toReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x23ce8c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13245:(.text+0x23cea4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23cec2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23cece): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x23cf2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23cf96): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48203:(.text+0x23cfc8): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48220:(.text+0x23d036): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23d088): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48150:(.text+0x23d0a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48150:(.text+0x23d0ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47941:(.text+0x23d0ea): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:47940:(.text+0x23d12e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23d140): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x23d148): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TS_I2Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48117:(.text+0x23d18c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:48117:(.text+0x23d19c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x23d29e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x23d3de): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3KSP_59logConvergenceHistory': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:219607:(.text+0x23d42c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x23d438): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23d462): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23d49e): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x23d4aa): undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_69setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161418:(.text+0x23d4c0): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x23d4d0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_69setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161428:(.text+0x23d4ec): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23d4fa): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_68setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161518:(.text+0x23d562): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23d570): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23d5ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_69setPreallocationDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161456:(.text+0x23d606): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161458:(.text+0x23d620): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:161467:(.text+0x23d638): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23d64e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:643: more undefined references to `_Py_NoneStruct' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23d772): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23d86c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23d8fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_303setMPIGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142117:(.text+0x23d958): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142119:(.text+0x23d970): undefined reference to `PyUnicode_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142100:(.text+0x23da14): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12749:(.text+0x23da20): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_302setMPIGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142185:(.text+0x23da40): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_303setMPIGhost': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142104:(.text+0x23da60): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:142104:(.text+0x23da80): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/cpython/tupleobject.h:23: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23dab0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23dabc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_207getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296227:(.text+0x23db08): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_206getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296338:(.text+0x23dbbc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23dbd2): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x23dc42): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_207getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296265:(.text+0x23dc60): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296269:(.text+0x23dc84): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2DM_206getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296355:(.text+0x23dca8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296355:(.text+0x23dccc): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23dcf0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296261: more undefined references to `_PyDict_GetItem_KnownHash' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_207getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296254:(.text+0x23dda8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x23ddd8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2DM_207getLabelOutput': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:296276:(.text+0x23de40): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43970:(.text+0x23de58): undefined reference to `PyUnicode_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23df2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23df38): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23df44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x23df50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x23df66): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23df7c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19965:(.text+0x23df88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x23df94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44105:(.text+0x23e010): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43984:(.text+0x23e206): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44015:(.text+0x23e212): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23e254): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44225:(.text+0x23e280): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23e28e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x23e36a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x23e376): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44027:(.text+0x23e390): undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23e39c): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23e3f4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23e404): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23e426): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23e452): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23e486): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23e498): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x23e4da): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23e4fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Function': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43975:(.text+0x23e514): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44185:(.text+0x23e660): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23e692): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23e69e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23e724): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x23e7ca): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51552:(.text+0x23e822): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51552:(.text+0x23e838): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51574:(.text+0x23e844): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x23e890): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23e8a6): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x23e8c6): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23e8d2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23e914): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23e972): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51621:(.text+0x23e98c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51658:(.text+0x23e9ac): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51777:(.text+0x23eaf2): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51777:(.text+0x23eafe): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23eb18): undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x23eb24): undefined reference to `PyFloat_AsDouble' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51643:(.text+0x23eb4a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23eb5c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51671:(.text+0x23eb8c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51672:(.text+0x23eb9c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x23ebbe): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23ebea): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x23ec1e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23ec30): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23ec74): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23ec98): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23ecae): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23ee04): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23ee10): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23ee34): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23ee5a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23ee6c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51554:(.text+0x23eebc): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23eec8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51559:(.text+0x23eedc): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51715:(.text+0x23ef08): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23ef3e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23ef50): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51688:(.text+0x23ef58): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51689:(.text+0x23ef62): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23ef9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51760:(.text+0x23efc0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23efda): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x23eff0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51777:(.text+0x23f0a4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23f174): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x23f180): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51698:(.text+0x23f1a4): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51698:(.text+0x23f1ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_VarBounds': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51623:(.text+0x23f1dc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x23f22c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23f238): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49795:(.text+0x23f24c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23f278): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24223:(.text+0x23f2ae): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x23f2c0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23f2c8): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23f2d2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23f30e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23f330): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23f34a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53666:(.text+0x23f360): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x23f414): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23f4e4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x23f4f0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53835:(.text+0x23f514): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23f53a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53716:(.text+0x23f54c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53612:(.text+0x23f59c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53600:(.text+0x23f5a8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23f5bc): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23f5e8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23f61e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23f630): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23f638): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23f642): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23f67e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23f6a0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x23f6ba): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53864:(.text+0x23f6d0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23f784): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23f854): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x23f860): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53601:(.text+0x23f884): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53603:(.text+0x23f8aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53729:(.text+0x23f8bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23f90c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x23f918): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53734:(.text+0x23f92c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53715:(.text+0x23f958): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53805:(.text+0x23f98e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53805:(.text+0x23f9a0): undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x23f9a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x23f9b2): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53812:(.text+0x23f9ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23fa10): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x23fa2a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_EqualityConstraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53819:(.text+0x23fa40): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53769:(.text+0x23faf4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50124:(.text+0x23fbc4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50124:(.text+0x23fbd0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49780:(.text+0x23fbf4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49795:(.text+0x23fc1a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23fc2c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x23fc7c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x23fc88): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x23fc9c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23fcc8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x23fcfe): undefined reference to `PyExc_OverflowError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23fd10): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23fd18): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50193:(.text+0x23fd22): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x23fd5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50266:(.text+0x23fd80): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x23fd9a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x23fdb0): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50338:(.text+0x23fe64): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50244:(.text+0x23ff34): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x23ff40): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x23ff64): undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23ff8a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x23ff9c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x23ffec): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x23fff8): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24000c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x240038): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x24006e): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x240080): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x240088): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50391:(.text+0x240092): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x2400ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50181:(.text+0x2400f0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24010a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x240120): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2401d4): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50289:(.text+0x2402a4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50292:(.text+0x2402b0): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50296:(.text+0x2402d4): undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50261:(.text+0x2402fa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50131:(.text+0x24030c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50332:(.text+0x24035c): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50332:(.text+0x240368): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x24037c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50334:(.text+0x2403a8): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2403de): undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2403f0): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2403f8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x240402): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50349:(.text+0x24043e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50138:(.text+0x240460): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50303:(.text+0x24047a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x240490): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Residual': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50270:(.text+0x240544): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24214:(.text+0x2406b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51407:(.text+0x240742): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x240774): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x240780): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51480:(.text+0x2407e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51482:(.text+0x2407f6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x240822): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51279:(.text+0x240ab2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51329:(.text+0x240abe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x240ad6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x240b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x240b68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x240b9c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Constraints': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51440:(.text+0x240c7e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51408:(.text+0x240cba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51420:(.text+0x240d1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51487:(.text+0x240d94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51494:(.text+0x240dda): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:51418:(.text+0x240f16): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24199:(.text+0x240fe6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x241068): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x24108a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2410a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_TYPE': /usr/include/python3.12/object.h:220:(.text+0x2410e2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x2411b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50614:(.text+0x2411c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2411d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2411ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x2411f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50622: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x2413e0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_TAO': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:49830:(.text+0x2415be): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x24170e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24177e): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_Gradient': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50411:(.text+0x241868): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:50550:(.text+0x2418cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45051:(.text+0x241918): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45051:(.text+0x241924): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45051:(.text+0x241930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43319:(.text+0x24193c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43319: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x241a06): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45120:(.text+0x241a86): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45192:(.text+0x241ade): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x241c60): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45160:(.text+0x241c78): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x241cb8): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x241d0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45306:(.text+0x241d42): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x241d50): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x241da2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x241dbe): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45318:(.text+0x241df8): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45321:(.text+0x241e0c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_Vec': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:24249:(.text+0x241e34): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x241eb2): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x241ec0): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x241f16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x241f26): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x241f36): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x241f60): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x241f9a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x241fa6): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x242040): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45189:(.text+0x242064): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45056:(.text+0x242236): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/object.h:231:(.text+0x24228e): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45197:(.text+0x2422a4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45197:(.text+0x2422c4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_NGS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:45157:(.text+0x2422d0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24232a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_110setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275881:(.text+0x242412): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x24242c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3330:(.text+0x242494): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x242602): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x24260e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_110setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275853:(.text+0x242638): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275858:(.text+0x24264a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x242676): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x242686): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_110setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275911:(.text+0x2426a8): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x2426d4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x242738): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_110setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275911:(.text+0x24275c): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyList_Append': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3336:(.text+0x242772): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_111setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275698:(.text+0x242938): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyList_SET_ITEM': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275739:(.text+0x2429c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_111setMonitor': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275681:(.text+0x2429f6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:275685:(.text+0x242a02): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_251getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138730:(.text+0x242a62): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x242a78): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x242aa4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_251getValue': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138757:(.text+0x242d36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138757:(.text+0x242d42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138757:(.text+0x242d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138745:(.text+0x242de0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138745:(.text+0x242dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:138745: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_5setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301164:(.text+0x242e20): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301203:(.text+0x242f02): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x242f3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_5setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301194:(.text+0x242fa2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4DMDA_4setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301258:(.text+0x243018): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4DMDA_5setDim': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:301174:(.text+0x243060): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2431b0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_129setMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256130:(.text+0x243220): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_128setMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256174:(.text+0x24330a): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_129setMaxTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256104:(.text+0x24336e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256108:(.text+0x2433ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256108:(.text+0x2433c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256108:(.text+0x2433d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256108:(.text+0x2433de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:256108: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_327chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182415:(.text+0x2434a8): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:182453:(.text+0x243528): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x243580): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x243688): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x243710): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_120setTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255773:(.text+0x243832): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_121setTimeStep': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255710:(.text+0x2439f2): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x243ae6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_153chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132915:(.text+0x243aee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_152chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132976:(.text+0x243b46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_153chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132900:(.text+0x243b98): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x243bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x243bc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_153chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132924:(.text+0x243bd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132928:(.text+0x243bfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_152chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132955:(.text+0x243c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:132955: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x243e18): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x243e94): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x243e9e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x243ec4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x243fc4): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_4SNES_168setFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239551:(.text+0x243fdc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_4SNES_169setFunctionNorm': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:239499:(.text+0x24401e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24409e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2440ac): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2440fe): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_223chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136911:(.text+0x24411a): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x244154): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_222chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136972:(.text+0x244168): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/include/python3.12/cpython/floatobject.h:16:(.text+0x244190): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24419c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2441e0): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2441ee): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_222chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136951:(.text+0x244244): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136951:(.text+0x244254): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136975:(.text+0x244264): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_223chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136908:(.text+0x24428c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136905:(.text+0x2442be): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136905:(.text+0x2442ca): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Vec_222chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136961:(.text+0x2442ea): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x244306): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Vec_223chop': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:136931:(.text+0x2443d8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_79setIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109018:(.text+0x2443e4): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x244478): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_79setIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109067:(.text+0x2444c0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x244524): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x24453e): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x244580): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x24467e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x24468a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x2446b4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x2446c6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2IS_79setIndices': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:109067:(.text+0x2446f2): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_23setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268033:(.text+0x244702): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268033:(.text+0x244724): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268062:(.text+0x244750): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268082:(.text+0x2447b4): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2447d8): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_23setInitialTrustRegionRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:268047:(.text+0x2447ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2449b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x244a40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x244a72): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x244a7e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x244ade): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x244af4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x244b20): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x244db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text+0x244dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_165setRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321824:(.text+0x244dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321813:(.text+0x244e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321815:(.text+0x244e68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321815: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_6DMPlex_164setRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321844:(.text+0x244e9c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_6DMPlex_165setRefinementLimit': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:321802:(.text+0x244f7e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x244fba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24501e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_21restoreField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348246:(.text+0x245094): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_20restoreField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348325:(.text+0x2450dc): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_7DMSwarm_21restoreField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348240:(.text+0x24522c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_7DMSwarm_20restoreField': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:348340:(.text+0x24529c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_155setBRGNRegularizerWeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278633:(.text+0x245386): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x2453ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x245436): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x245442): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:234:(.text+0x24544e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_155setBRGNRegularizerWeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278637:(.text+0x24545a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_155setBRGNRegularizerWeight': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:278649:(.text+0x245524): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x2455a4): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x2455fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x245700): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x245788): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x2458a8): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_249setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264076:(.text+0x245996): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264090:(.text+0x245a84): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x245a8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_248setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264145:(.text+0x245b0e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_249setAlphaRadius': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264118:(.text+0x245b30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264091:(.text+0x245b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264097:(.text+0x245b48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264110:(.text+0x245b54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264096:(.text+0x245b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:264099: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x245d00): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13277:(.text+0x245e02): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_2TS_112setTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255379:(.text+0x245e1a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_113setTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255331:(.text+0x245e5c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_asReal': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x245edc): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:13291:(.text+0x245eea): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x245f3c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:232:(.text+0x245f58): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x245f92): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_2TS_113setTime': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:255359:(.text+0x245fa6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x245fce): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:969:(.text+0x245fda): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_119solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276497:(.text+0x24601e): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276497:(.text+0x24602c): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3TAO_118solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276567:(.text+0x246082): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_119solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276507:(.text+0x246092): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x2460a2): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_119solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276462:(.text+0x2460ca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x2460fc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x246108): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_119solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276493:(.text+0x246128): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12692:(.text+0x246144): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3TAO_119solve': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276473:(.text+0x246216): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:276473:(.text+0x246222): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32898:(.text+0x2462b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32906:(.text+0x2462fe): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x246362): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32989:(.text+0x24637c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2463be): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33221:(.text+0x2464bc): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33221:(.text+0x2464c8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2464f2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x246504): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33255:(.text+0x246530): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33255:(.text+0x246540): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x246562): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24658e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2465f2): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Sizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33246:(.text+0x246616): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32942:(.text+0x24662c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33034:(.text+0x2467f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33149:(.text+0x24687e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33158:(.text+0x2468b0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33160:(.text+0x2468bc): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33179:(.text+0x24691c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33201:(.text+0x246932): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33098:(.text+0x24695e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32955:(.text+0x246bf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:32955:(.text+0x246bfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_41setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158070:(.text+0x246c14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseArgtupleInvalid': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x246c9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447224:(.text+0x246ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158123: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_41setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158111:(.text+0x246cda): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x246dbc): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:234:(.text+0x246df8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_40setSizes': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158173:(.text+0x246e5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x246ed2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_CHKERR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12721:(.text+0x246f1a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x24706a): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_63createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159848:(.text+0x2470da): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19732:(.text+0x2471c4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19771:(.text+0x247228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x247276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:232:(.text+0x247282): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160009:(.text+0x24728e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160010:(.text+0x24729a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160011: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x247366): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x2473ea): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160324:(.text+0x247444): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x24754e): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160613:(.text+0x2475d6): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x2476f6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_63createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159778:(.text+0x2477e4): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x2478d2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2478da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24795c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24797e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24798a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x247996): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2479a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x2479ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159933:(.text+0x247b4e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_63createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159794:(.text+0x247c50): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159798:(.text+0x247c68): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159791:(.text+0x247caa): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159816:(.text+0x247d2a): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160026:(.text+0x247d38): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160033:(.text+0x247d8a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x247da6): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160006:(.text+0x247de0): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159860:(.text+0x247df4): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160177:(.text+0x247e1c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160178:(.text+0x247e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160190:(.text+0x247e6c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160190:(.text+0x247e7a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160193:(.text+0x247ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160207:(.text+0x247ee0): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160208:(.text+0x247ef0): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x247f18): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160260:(.text+0x247f4a): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:642:(.text+0x247f56): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160275:(.text+0x247f76): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160277:(.text+0x247f92): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160622:(.text+0x248064): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text+0x248070): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160079:(.text+0x248104): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160086:(.text+0x24814c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159891:(.text+0x2481b0): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160805:(.text+0x2481ca): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24820c): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160375:(.text+0x24830a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160375:(.text+0x248316): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160394:(.text+0x248340): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x248352): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160405:(.text+0x24837e): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24838e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x2483b0): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160107:(.text+0x2483dc): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160493:(.text+0x248440): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160517:(.text+0x248464): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160519:(.text+0x24847a): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x248640): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160452:(.text+0x2486d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x248702): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160181:(.text+0x24870e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160241:(.text+0x24876e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160243:(.text+0x248784): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x2487b0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160805:(.text+0x248a44): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160746:(.text+0x248a50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160678:(.text+0x248a68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160026:(.text+0x248af2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159860:(.text+0x248afe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160026: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x248b32): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160093:(.text+0x248c14): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160519:(.text+0x248c50): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x248cb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160613:(.text+0x248d34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160041:(.text+0x248d7c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160010:(.text+0x248eca): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_63createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159784:(.text+0x248f3c): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159782:(.text+0x24903c): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_62createAIJWithArrays': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160058:(.text+0x2490a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33291:(.text+0x2490ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33265:(.text+0x2490f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33291:(.text+0x249102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33291:(.text+0x24910e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33315: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19771:(.text+0x2491e6): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_Create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33438:(.text+0x2492ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33438:(.text+0x2492b6): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:33348:(.text+0x249384): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_65createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160898:(.text+0x24949c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24956c): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_65createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160917:(.text+0x2495ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160919:(.text+0x249610): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160901:(.text+0x24962e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160858:(.text+0x249668): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160895:(.text+0x249738): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160895:(.text+0x249744): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x249750): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_65createDense': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160865:(.text+0x24976a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160870:(.text+0x249776): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:160911: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_57createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159327:(.text+0x249972): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159345:(.text+0x249bb2): undefined reference to `Py_IsInitialized' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159346:(.text+0x249bca): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159338:(.text+0x249c0c): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159372:(.text+0x249c8c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159376:(.text+0x249c9a): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159352:(.text+0x249cec): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159397:(.text+0x249d06): undefined reference to `PyErr_Restore' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159348:(.text+0x249d42): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159353:(.text+0x249d5a): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159412:(.text+0x249d82): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159412:(.text+0x249d8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_57createAIJCRL': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159334:(.text+0x249dd4): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159334:(.text+0x249de2): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159338:(.text+0x249e3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159332:(.text+0x249e4a): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159332:(.text+0x249e5a): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159118:(.text+0x249e82): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x249eb4): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x249ec0): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159187:(.text+0x249ee0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_54createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159247:(.text+0x249efc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159290:(.text+0x249fce): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159290:(.text+0x249fda): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159138:(.text+0x24a06e): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159148:(.text+0x24a0b6): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159144:(.text+0x24a11a): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159146:(.text+0x24a134): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159148:(.text+0x24a176): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159184:(.text+0x24a274): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159184:(.text+0x24a280): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159162:(.text+0x24a2aa): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159162:(.text+0x24a2bc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159219:(.text+0x24a2e8): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24a2f8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_55createSBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159148:(.text+0x24a31a): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159142:(.text+0x24a346): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:159140:(.text+0x24a3aa): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_53createBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158942:(.text+0x24a3ce): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158941:(.text+0x24a3e4): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158996:(.text+0x24a5aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158963:(.text+0x24a63a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158953:(.text+0x24a66c): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text+0x24a678): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_53createBAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158962:(.text+0x24a6d8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158969:(.text+0x24a6ee): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158965:(.text+0x24a71a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_50createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158865:(.text+0x24a9ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158865:(.text+0x24a9ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscCLEAR': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:20062:(.text+0x24a9d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158804:(.text+0x24aa5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35104:(.text+0x24aa68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35113: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Mat_AllocAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:35146:(.text+0x24aa9c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158763:(.text+0x24ab7e): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158761:(.text+0x24abba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158785:(.text+0x24ac20): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:969:(.text+0x24ac9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_51createAIJ': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158757:(.text+0x24ace6): undefined reference to `PyGILState_Ensure' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:158757:(.text+0x24ae34): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164055:(.text+0x24aea6): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_Sys_Layout': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19744:(.text+0x24afa6): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19732:(.text+0x24b00a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19763:(.text+0x24b054): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19771:(.text+0x24b060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164310:(.text+0x24b06c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164349:(.text+0x24b078): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164368: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/cpython/tupleobject.h:23:(.text+0x24b150): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24b216): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164153:(.text+0x24b220): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x24b2ec): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24b374): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164028:(.text+0x24b494): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164035:(.text+0x24b582): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pf_8petsc4py_5PETSc_3Mat_88createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164260:(.text+0x24b672): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164260:(.text+0x24b67a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pw_8petsc4py_5PETSc_3Mat_89createIS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164042:(.text+0x24b700): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24b722): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24b72e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24b73a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24b746): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_GET_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24b752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:164020: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24b8fe): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41967:(.text+0x24ba04): undefined reference to `Py_IsInitialized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24ba1c): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:232:(.text+0x24ba5e): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42039:(.text+0x24bade): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42039:(.text+0x24baec): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24bb3e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_IsSubtype': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449026:(.text+0x24bb58): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x24bb94): undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42084:(.text+0x24bbac): undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x24bbd4): undefined reference to `PyGILState_Release' /usr/bin/ld: /usr/include/python3.12/object.h:647:(.text+0x24bbe0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42065:(.text+0x24bc26): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41805:(.text+0x24bc34): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24bc8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42060:(.text+0x24bc9c): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42118:(.text+0x24bcac): undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x24bcd4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text+0x24bd06): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24bd12): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x24bd32): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x24bd4e): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x24be20): undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24be2c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InBases': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449014:(.text+0x24bec0): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41780:(.text+0x24bf08): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41911:(.text+0x24bf6c): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41918:(.text+0x24bf86): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41886:(.text+0x24bfc8): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41954:(.text+0x24c0c6): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41967:(.text+0x24c0d2): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41998:(.text+0x24c0fc): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41998:(.text+0x24c10e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42004:(.text+0x24c13a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42006:(.text+0x24c14a): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24c16c): undefined reference to `PyExc_TypeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PCPatch_UserConstructOperator': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:41970:(.text+0x24c198): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42039:(.text+0x24c1fc): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x24c220): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24c236): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24c53e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43479:(.text+0x24c56a): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43505:(.text+0x24c57a): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43508:(.text+0x24c59e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43570:(.text+0x24c5ee): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43580:(.text+0x24c644): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24c6da): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24c6f6): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24c740): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24c76e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43639:(.text+0x24c7c8): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24c8b4): undefined reference to `PyBytes_AsStringAndSize' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24c97a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_InitialGuess': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43392:(.text+0x24ca22): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43536:(.text+0x24ca62): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43536:(.text+0x24ca6a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43545:(.text+0x24ca94): undefined reference to `PyObject_IsTrue' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43444:(.text+0x24caf4): undefined reference to `PyObject_RichCompare' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43585:(.text+0x24cb8e): undefined reference to `Py_AtExit' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24cbb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x24d098): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x24d0ae): undefined reference to `PyList_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42864:(.text+0x24d15a): undefined reference to `PyUnicode_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42764:(.text+0x24d1ac): undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24d294): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24d2a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24d2b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24d2be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24d2cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:706: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24d302): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24d30e): undefined reference to `PyBool_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24d336): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_KSP': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42211:(.text+0x24d354): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42764:(.text+0x24d36e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42908:(.text+0x24d3b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42911:(.text+0x24d3c2): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42917:(.text+0x24d3e2): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24d3f6): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42882:(.text+0x24d414): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42863:(.text+0x24d436): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42942:(.text+0x24d444): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42891:(.text+0x24d458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42893:(.text+0x24d46c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42952:(.text+0x24d492): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text+0x24d4b0): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24d4c4): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42957:(.text+0x24d4e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24d50a): undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42954:(.text+0x24d544): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42967:(.text+0x24d570): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42961:(.text+0x24d57c): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_Call': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445859:(.text+0x24d59a): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42908:(.text+0x24d5ba): undefined reference to `PyExc_NameError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24d5ce): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_KSP_ComputeRHS': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42913:(.text+0x24d602): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42762:(.text+0x24d636): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24d644): undefined reference to `PyExc_StopIteration' /usr/bin/ld: /usr/include/python3.12/object.h:231:(.text+0x24d656): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:42887:(.text+0x24d69e): undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x24d732): undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24d73a): undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x24d76a): undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_SIZE': /usr/include/python3.12/object.h:231:(.text+0x24d89e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44625:(.text+0x24d8ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44634:(.text+0x24d8d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x24d926): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text+0x24d98e): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24da1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24da3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24da4c): undefined reference to `PyList_Append' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x24da78): undefined reference to `PyDict_Size' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x24daaa): undefined reference to `_PyDict_GetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text+0x24dac4): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24dad2): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44764:(.text+0x24db16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44609:(.text+0x24db7a): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44492:(.text+0x24dbbc): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44523:(.text+0x24dbce): undefined reference to `PyExc_StopIteration' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24dbe4): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44748:(.text+0x24dc30): undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x24dc7c): undefined reference to `PyErr_GetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text+0x24dc9a): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24dcca): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24dce0): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24dce8): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24dd66): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text+0x24ddc0): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_ref_SNES': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x24ddd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:43369:(.text+0x24ddde): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x24de0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44653:(.text+0x24de50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44656:(.text+0x24de64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44658: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24dea8): undefined reference to `PySys_WriteStderr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44627:(.text+0x24dec2): undefined reference to `PyObject_GetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x24dede): undefined reference to `PyObject_GetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:798:(.text+0x24df02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44636:(.text+0x24df3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44638:(.text+0x24df4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44701:(.text+0x24df5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44708:(.text+0x24df8e): undefined reference to `PyExc_AssertionError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44708:(.text+0x24df98): undefined reference to `PyErr_SetNone' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44653:(.text+0x24e022): undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44653:(.text+0x24e02c): undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:798:(.text+0x24e078): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_SNES_Jacobian': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:44669:(.text+0x24e08a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_XDECREF': /usr/include/python3.12/object.h:231:(.text+0x24e120): undefined reference to `_PyByteArray_empty_string' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:53877:(.text+0x24e176): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text+0x24e1cc): undefined reference to `PyTuple_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_PetscINCREF': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:19990:(.text+0x24e1da): undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54032:(.text+0x24e34a): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text+0x24e36e): undefined reference to `PyErr_SetExcInfo' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text+0x24e3aa): undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text+0x24e3ba): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text+0x24e3da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:34:(.text+0x24e3ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_TAO_JacobianEquality': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54103:(.text+0x24e406): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54112:(.text+0x24e456): undefined reference to `PyErr_NoMemory' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:54118:(.text+0x24e47e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text+0x24e4b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text+0x24e4c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_setup_reduce_is_named': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449282:(.text.unlikely+0xa2): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449289:(.text.unlikely+0xae): undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449294:(.text.unlikely+0xe2): undefined reference to `PyCapsule_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_SetVtable': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449162:(.text.unlikely+0xf6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449168:(.text.unlikely+0x114): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449173:(.text.unlikely+0x146): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449175:(.text.unlikely+0x150): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_copy_spec_to_module': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428753:(.text.unlikely+0x162): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428757:(.text.unlikely+0x17e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428757:(.text.unlikely+0x184): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428758:(.text.unlikely+0x190): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428758:(.text.unlikely+0x196): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428767:(.text.unlikely+0x1dc): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428767:(.text.unlikely+0x1e6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExportFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464454:(.text.unlikely+0x1ea): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464461:(.text.unlikely+0x20a): undefined reference to `PyModule_AddObject' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464461:(.text.unlikely+0x218): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464463:(.text.unlikely+0x226): undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text.unlikely+0x240): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ExportFunction': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464473:(.text.unlikely+0x25e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_modinit_function_export_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427841:(.text.unlikely+0xab0): undefined reference to `PyImport_ImportModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427842:(.text.unlikely+0xac0): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427843:(.text.unlikely+0xadc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427843:(.text.unlikely+0xae2): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427843:(.text.unlikely+0xaf4): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427844:(.text.unlikely+0xafe): undefined reference to `PyCapsule_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427844:(.text.unlikely+0xb0a): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427844:(.text.unlikely+0xb1c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427845:(.text.unlikely+0xb32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427845:(.text.unlikely+0xb3c): undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427846:(.text.unlikely+0xb5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427847:(.text.unlikely+0xb68): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427847:(.text.unlikely+0xb7a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427848:(.text.unlikely+0xb94): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427849:(.text.unlikely+0xbb4): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427849:(.text.unlikely+0xbcc): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427850:(.text.unlikely+0xbec): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427856:(.text.unlikely+0xbfc): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_import_array': /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1480:(.text.unlikely+0xc0e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1483:(.text.unlikely+0xc1c): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1486:(.text.unlikely+0xc2e): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1489:(.text.unlikely+0xc52): undefined reference to `PyThreadState_Get' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1489:(.text.unlikely+0xc58): undefined reference to `PyInterpreterState_GetID' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1493:(.text.unlikely+0xc78): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1494:(.text.unlikely+0xc8a): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1498:(.text.unlikely+0xcb8): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xcc0): undefined reference to `PyModule_NewObject' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xcdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xce4): undefined reference to `PyModule_GetDict' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_import_array': /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1528:(.text.unlikely+0xd86): undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1530:(.text.unlikely+0xd98): undefined reference to `_PyObject_GenericGetAttrWithDict' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1542:(.text.unlikely+0xdae): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1543:(.text.unlikely+0xdb8): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1543:(.text.unlikely+0xdbe): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_check_single_interpreter': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428733:(.text.unlikely+0xdf4): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428734:(.text.unlikely+0xdfe): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428734:(.text.unlikely+0xe06): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428737:(.text.unlikely+0xe16): undefined reference to `PyBaseObject_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428746:(.text.unlikely+0xe1e): undefined reference to `_PyType_Lookup' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text.unlikely+0xe4c): undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_create': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428774:(.text.unlikely+0xe54): undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428781:(.text.unlikely+0xea6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428781:(.text.unlikely+0xeb6): undefined reference to `PyDict_DelItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428782:(.text.unlikely+0xec6): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428783:(.text.unlikely+0xee8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428783:(.text.unlikely+0xf04): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428784:(.text.unlikely+0xf14): undefined reference to `PyDict_DelItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428784:(.text.unlikely+0xf24): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428787:(.text.unlikely+0xf2e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428789:(.text.unlikely+0xf44): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyObject_GetAttrStrNoError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449267:(.text.unlikely+0xf4e): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449268:(.text.unlikely+0xf64): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_setup_reduce': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449307:(.text.unlikely+0xfc2): undefined reference to `PyImport_AddModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449328:(.text.unlikely+0xfe4): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449316:(.text.unlikely+0xff8): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449302:(.text.unlikely+0x100e): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449332:(.text.unlikely+0x101e): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449335:(.text.unlikely+0x1034): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449335:(.text.unlikely+0x103a): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449335:(.text.unlikely+0x1044): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449303:(.text.unlikely+0x104a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449339:(.text.unlikely+0x1056): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449341:(.text.unlikely+0x106c): undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449343:(.text.unlikely+0x109c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449351:(.text.unlikely+0x1102): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449354:(.text.unlikely+0x1124): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449354:(.text.unlikely+0x1130): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449359:(.text.unlikely+0x114c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449303:(.text.unlikely+0x1166): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449364:(.text.unlikely+0x116c): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449365:(.text.unlikely+0x1176): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449365:(.text.unlikely+0x117c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449365:(.text.unlikely+0x1180): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449365:(.text.unlikely+0x1188): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449374:(.text.unlikely+0x11a0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449376:(.text.unlikely+0x11bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449378:(.text.unlikely+0x11d0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449380:(.text.unlikely+0x11e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_FetchCommonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447996:(.text.unlikely+0x120e): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:447998:(.text.unlikely+0x121c): undefined reference to `PyObject_Call' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448000:(.text.unlikely+0x1238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448007:(.text.unlikely+0x1278): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448013:(.text.unlikely+0x128c): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448015:(.text.unlikely+0x12a8): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448016:(.text.unlikely+0x12c2): undefined reference to `PyExc_ValueError' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text.unlikely+0x12e0): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_FetchCommonType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448025:(.text.unlikely+0x130a): undefined reference to `PyOS_snprintf' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:448023:(.text.unlikely+0x1314): undefined reference to `PyErr_WarnEx' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Py3MetaclassPrepare': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449426:(.text.unlikely+0x1364): undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1390): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x13e0): undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Py3MetaclassPrepare': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449440:(.text.unlikely+0x1412): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449448:(.text.unlikely+0x1452): undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x147c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Py3ClassCreate': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449481:(.text.unlikely+0x14c0): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449484:(.text.unlikely+0x14ea): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_ImportType_0_29_36': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449180:(.text.unlikely+0x150e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449191:(.text.unlikely+0x152a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449225:(.text.unlikely+0x1572): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449229:(.text.unlikely+0x159c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449251:(.text.unlikely+0x15e0): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449253:(.text.unlikely+0x160a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_modinit_type_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427873:(.text.unlikely+0x164e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427874:(.text.unlikely+0x1678): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427879:(.text.unlikely+0x16bc): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427887:(.text.unlikely+0x16e6): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427892:(.text.unlikely+0x1732): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427901:(.text.unlikely+0x1764): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427906:(.text.unlikely+0x17a8): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427914:(.text.unlikely+0x17d2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427918:(.text.unlikely+0x1816): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427926:(.text.unlikely+0x1840): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427931:(.text.unlikely+0x1884): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427939:(.text.unlikely+0x18ae): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427944:(.text.unlikely+0x18f2): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427952:(.text.unlikely+0x191c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427957:(.text.unlikely+0x1960): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427966:(.text.unlikely+0x198a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427970:(.text.unlikely+0x19ce): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427973:(.text.unlikely+0x19f8): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427982:(.text.unlikely+0x1a3c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427985:(.text.unlikely+0x1a66): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427995:(.text.unlikely+0x1ab2): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427997:(.text.unlikely+0x1ae4): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428008:(.text.unlikely+0x1b28): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428013:(.text.unlikely+0x1b52): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428022:(.text.unlikely+0x1b96): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428023:(.text.unlikely+0x1bc0): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428029:(.text.unlikely+0x1c04): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428036:(.text.unlikely+0x1c26): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428041:(.text.unlikely+0x1c66): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428043:(.text.unlikely+0x1c88): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428052:(.text.unlikely+0x1cc8): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428056:(.text.unlikely+0x1cea): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428065:(.text.unlikely+0x1d2a): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428069:(.text.unlikely+0x1d4c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428078:(.text.unlikely+0x1d8c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428079:(.text.unlikely+0x1dae): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428084:(.text.unlikely+0x1df6): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428093:(.text.unlikely+0x1e20): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428096:(.text.unlikely+0x1e60): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428099:(.text.unlikely+0x1e82): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428107:(.text.unlikely+0x1ebe): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428111:(.text.unlikely+0x1ee0): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428120:(.text.unlikely+0x1f20): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428121:(.text.unlikely+0x1f42): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428127:(.text.unlikely+0x1f82): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428134:(.text.unlikely+0x1fa4): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428136:(.text.unlikely+0x1fc4): undefined reference to `PyImport_ImportModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428154:(.text.unlikely+0x2070): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428163:(.text.unlikely+0x2092): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428177:(.text.unlikely+0x2108): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428180:(.text.unlikely+0x212a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428181:(.text.unlikely+0x213e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428183:(.text.unlikely+0x2158): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428190:(.text.unlikely+0x216e): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428191:(.text.unlikely+0x2180): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428197:(.text.unlikely+0x21c2): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428204:(.text.unlikely+0x21e4): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428205:(.text.unlikely+0x21fa): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428207:(.text.unlikely+0x220c): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428207:(.text.unlikely+0x2220): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428210:(.text.unlikely+0x223a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428218:(.text.unlikely+0x2258): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428219:(.text.unlikely+0x2272): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428220:(.text.unlikely+0x2288): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428221:(.text.unlikely+0x229a): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428224:(.text.unlikely+0x22b0): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428225:(.text.unlikely+0x22c2): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428232:(.text.unlikely+0x22d8): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428233:(.text.unlikely+0x22ea): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428237:(.text.unlikely+0x22fe): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428238:(.text.unlikely+0x2318): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428247:(.text.unlikely+0x234a): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428250:(.text.unlikely+0x2372): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428260:(.text.unlikely+0x23b4): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428265:(.text.unlikely+0x23de): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428274:(.text.unlikely+0x2424): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428276:(.text.unlikely+0x244e): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428281:(.text.unlikely+0x2494): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428283:(.text.unlikely+0x24b6): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428288:(.text.unlikely+0x24fa): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428290:(.text.unlikely+0x2518): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428301:(.text.unlikely+0x255c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428304:(.text.unlikely+0x2582): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428315:(.text.unlikely+0x25ce): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428316:(.text.unlikely+0x25ec): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428325:(.text.unlikely+0x260c): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428325:(.text.unlikely+0x2622): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428337:(.text.unlikely+0x2668): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428346:(.text.unlikely+0x26aa): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428356:(.text.unlikely+0x26ee): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428366:(.text.unlikely+0x2738): undefined reference to `PyType_Ready' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428383:(.text.unlikely+0x278c): undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428394: more undefined references to `PyType_Ready' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_modinit_type_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428457:(.text.unlikely+0x29d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428465:(.text.unlikely+0x2a0c): undefined reference to `PyThreadState_Get' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428469:(.text.unlikely+0x2a1a): undefined reference to `_PyInterpreterState_GetConfig' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428467:(.text.unlikely+0x2a2a): undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428471:(.text.unlikely+0x2a3c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428470:(.text.unlikely+0x2a4a): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428479:(.text.unlikely+0x2a7c): undefined reference to `PyUnicode_InternFromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428482:(.text.unlikely+0x2a90): undefined reference to `PyUnicode_Decode' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428482:(.text.unlikely+0x2a96): undefined reference to `PyUnicode_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428483:(.text.unlikely+0x2aa2): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428485:(.text.unlikely+0x2ab2): undefined reference to `PyObject_Hash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428485:(.text.unlikely+0x2ac4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428492:(.text.unlikely+0x2ad2): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428493:(.text.unlikely+0x2ae4): undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428493:(.text.unlikely+0x2af0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428494:(.text.unlikely+0x2afc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428495:(.text.unlikely+0x2b08): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428496:(.text.unlikely+0x2b16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428497:(.text.unlikely+0x2b24): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428499: more undefined references to `PyLong_FromLong' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_modinit_type_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428568:(.text.unlikely+0x2d36): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428634:(.text.unlikely+0x2eac): undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428634:(.text.unlikely+0x2eb0): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428637:(.text.unlikely+0x2ecc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428639:(.text.unlikely+0x2ee0): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428639:(.text.unlikely+0x2ee8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428644:(.text.unlikely+0x2efe): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428641:(.text.unlikely+0x2f06): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428643:(.text.unlikely+0x2f1c): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428643:(.text.unlikely+0x2f26): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428651:(.text.unlikely+0x2f3c): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428651:(.text.unlikely+0x2f44): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428654:(.text.unlikely+0x2f5a): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428655:(.text.unlikely+0x2f64): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428656:(.text.unlikely+0x2f7a): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428657:(.text.unlikely+0x2f8e): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428659:(.text.unlikely+0x2fa2): undefined reference to `PyDict_SetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428666:(.text.unlikely+0x2fb6): undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2fcc): undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `PyDict_SetItemString' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427683:(.text.unlikely+0x3016): undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_init_assertions_enabled': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3504:(.text.unlikely+0x3024): undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3504:(.text.unlikely+0x3030): undefined reference to `PyCode_NewEmpty' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:3504:(.text.unlikely+0x3040): undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427687:(.text.unlikely+0x304a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427689:(.text.unlikely+0x3058): undefined reference to `PyObject_Call' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitStrings': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464518:(.text.unlikely+0x30f2): undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427698:(.text.unlikely+0x314a): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427699:(.text.unlikely+0x3160): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427700:(.text.unlikely+0x3170): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427701:(.text.unlikely+0x317e): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427702:(.text.unlikely+0x3188): undefined reference to `PySlice_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427702:(.text.unlikely+0x3198): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427703:(.text.unlikely+0x31a8): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427704:(.text.unlikely+0x31b8): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427705:(.text.unlikely+0x31c8): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427706:(.text.unlikely+0x31d8): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427707: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427708:(.text.unlikely+0x31f6): undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427708:(.text.unlikely+0x3204): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427709:(.text.unlikely+0x3214): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427710:(.text.unlikely+0x3224): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427711:(.text.unlikely+0x3236): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427712:(.text.unlikely+0x3242): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427713:(.text.unlikely+0x3250): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427714:(.text.unlikely+0x326a): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427718:(.text.unlikely+0x32b8): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427721:(.text.unlikely+0x3300): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427722:(.text.unlikely+0x3312): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427723: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitGlobals': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427732:(.text.unlikely+0x33e4): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427732:(.text.unlikely+0x33f0): undefined reference to `PySlice_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427736:(.text.unlikely+0x3402): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_modinit_global_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427750:(.text.unlikely+0x3414): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text.unlikely+0x3426): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text.unlikely+0x3440): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text.unlikely+0x3452): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427755: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text.unlikely+0x34c2): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:644:(.text.unlikely+0x34cc): undefined reference to `PySlice_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_modinit_global_init_code': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427764:(.text.unlikely+0x34e0): undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:644:(.text.unlikely+0x34e8): undefined reference to `PySlice_New' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text.unlikely+0x34fa): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/include/python3.12/object.h:643:(.text.unlikely+0x350c): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyCode_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383:(.text.unlikely+0x351e): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383:(.text.unlikely+0x3530): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383:(.text.unlikely+0x3546): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:383: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyCode_New': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:402:(.text.unlikely+0x3630): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:404:(.text.unlikely+0x3662): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:405:(.text.unlikely+0x3674): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:406:(.text.unlikely+0x3686): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:407:(.text.unlikely+0x3698): undefined reference to `PyTuple_Pack' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:408:(.text.unlikely+0x36aa): undefined reference to `PyTuple_Pack' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:409: more undefined references to `PyTuple_Pack' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitCachedConstants': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426744:(.text.unlikely+0x41da): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426744:(.text.unlikely+0x41e4): undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426755:(.text.unlikely+0x41ee): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426755:(.text.unlikely+0x4202): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426766:(.text.unlikely+0x4210): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426838:(.text.unlikely+0x4390): undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426847:(.text.unlikely+0x439a): undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426847:(.text.unlikely+0x43a0): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426869:(.text.unlikely+0x43d4): undefined reference to `PyMethodDescr_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426891:(.text.unlikely+0x43f2): undefined reference to `PyDescr_NewClassMethod' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426891:(.text.unlikely+0x43f6): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426902:(.text.unlikely+0x4410): undefined reference to `PyClassMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426924:(.text.unlikely+0x4436): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426924:(.text.unlikely+0x4442): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426935:(.text.unlikely+0x444c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426935:(.text.unlikely+0x4458): undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:426946:(.text.unlikely+0x446c): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427012:(.text.unlikely+0x44ee): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427023:(.text.unlikely+0x44fe): undefined reference to `PyList_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427034:(.text.unlikely+0x4518): undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427045:(.text.unlikely+0x452c): undefined reference to `PyErr_Format' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427056:(.text.unlikely+0x453c): undefined reference to `PyTuple_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427144:(.text.unlikely+0x45e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427144:(.text.unlikely+0x45ee): undefined reference to `PyObject_GetIter' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427155:(.text.unlikely+0x460e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427188:(.text.unlikely+0x464e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427210:(.text.unlikely+0x4670): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427232:(.text.unlikely+0x4698): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427232:(.text.unlikely+0x46a6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427254:(.text.unlikely+0x46cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427265:(.text.unlikely+0x46de): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427265:(.text.unlikely+0x46e8): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427309:(.text.unlikely+0x473e): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427331:(.text.unlikely+0x4766): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427507:(.text.unlikely+0x48bc): undefined reference to `PyBytes_FromString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427529:(.text.unlikely+0x48f4): undefined reference to `PyMethod_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427562:(.text.unlikely+0x493a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427565:(.text.unlikely+0x4972): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427592:(.text.unlikely+0x4a1e): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427592:(.text.unlikely+0x4a30): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427592:(.text.unlikely+0x4a3a): undefined reference to `Py_GetVersion' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427601:(.text.unlikely+0x4a56): undefined reference to `PyOS_snprintf' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427641:(.text.unlikely+0x4af6): undefined reference to `PyOS_snprintf' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427641:(.text.unlikely+0x4b00): undefined reference to `PyErr_WarnEx' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427652:(.text.unlikely+0x4b0a): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427663:(.text.unlikely+0x4b22): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427672:(.text.unlikely+0x4b42): undefined reference to `PyUnicode_FromStringAndSize' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427675:(.text.unlikely+0x4b68): undefined reference to `PyModule_GetDict' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:427675:(.text.unlikely+0x4b88): undefined reference to `PyImport_AddModule' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_CalculateMetaclass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449383:(.text.unlikely+0x4ba8): undefined reference to `PyImport_AddModule' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449385:(.text.unlikely+0x4bd0): undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449387:(.text.unlikely+0x4bec): undefined reference to `PyImport_GetModuleDict' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449387:(.text.unlikely+0x4c08): undefined reference to `PyObject_SetAttr' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449403:(.text.unlikely+0x4c3a): undefined reference to `PyDict_GetItemString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449410:(.text.unlikely+0x4c5a): undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_InitCachedBuiltins': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425884:(.text.unlikely+0x4ca0): undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425886:(.text.unlikely+0x4ccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425889:(.text.unlikely+0x4cfe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425890:(.text.unlikely+0x4d1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425892:(.text.unlikely+0x4d3c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425894:(.text.unlikely+0x4d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425896:(.text.unlikely+0x4d82): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425898:(.text.unlikely+0x4da0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425899:(.text.unlikely+0x4dc0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425901:(.text.unlikely+0x4dde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425901:(.text.unlikely+0x4de4): undefined reference to `PySet_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:425906:(.text.unlikely+0x4e06): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__GetNameInClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449540:(.text.unlikely+0x4e1a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449542:(.text.unlikely+0x4e24): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_GetGlobalNameAfterAttributeLookup': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449534:(.text.unlikely+0x4e38): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449537:(.text.unlikely+0x4e56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx__GetNameInClass': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449547:(.text.unlikely+0x4e5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_Method_ClassMethod': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449489:(.text.unlikely+0x4e70): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449509:(.text.unlikely+0x4e8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449518:(.text.unlikely+0x4e94): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449521:(.text.unlikely+0x4ea8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:449525:(.text.unlikely+0x4ec6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100314:(.text.unlikely+0x4eea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100338:(.text.unlikely+0x4f08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100339:(.text.unlikely+0x4f28): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text.unlikely+0x4f46): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_make_enum_class': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100344:(.text.unlikely+0x4f62): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100346:(.text.unlikely+0x4f80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100351:(.text.unlikely+0x4fb8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100351:(.text.unlikely+0x4fc6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:100354:(.text.unlikely+0x4fdc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_RaiseTooManyValuesError': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:446990:(.text.unlikely+0x4fea): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_f_8petsc4py_5PETSc_S_': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:12556:(.text.unlikely+0x5520): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428812:(.text.unlikely+0x55aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428813:(.text.unlikely+0x55b0): undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_check_binary_version': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464419:(.text.unlikely+0x55b6): undefined reference to `PyExc_ImportError' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464420:(.text.unlikely+0x55c8): undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464427:(.text.unlikely+0x5600): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464433:(.text.unlikely+0x5618): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464436:(.text.unlikely+0x5622): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464444:(.text.unlikely+0x565e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464444:(.text.unlikely+0x5664): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464448:(.text.unlikely+0x567e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:464448:(.text.unlikely+0x5688): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428834:(.text.unlikely+0x56e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428836:(.text.unlikely+0x56e6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428870:(.text.unlikely+0x5700): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428870:(.text.unlikely+0x570a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text.unlikely+0x5762): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428876:(.text.unlikely+0x5768): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428878:(.text.unlikely+0x5782): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428882:(.text.unlikely+0x578c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428883:(.text.unlikely+0x57e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428888:(.text.unlikely+0x57ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428894:(.text.unlikely+0x5804): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428889:(.text.unlikely+0x580e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428901:(.text.unlikely+0x5866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428901:(.text.unlikely+0x586c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428920:(.text.unlikely+0x5886): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x5890): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x58e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x58ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428952:(.text.unlikely+0x5910): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428954:(.text.unlikely+0x591a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428966:(.text.unlikely+0x5972): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x597c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x5984): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428976:(.text.unlikely+0x5998): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428978:(.text.unlikely+0x59ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428978:(.text.unlikely+0x59b8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429000:(.text.unlikely+0x5a10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429000:(.text.unlikely+0x5a1a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429000:(.text.unlikely+0x5a22): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429011:(.text.unlikely+0x5a44): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x5a4e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x5aa6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0x5ab0): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0x5ab8): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x5ada): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x5ae4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x5b3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429057:(.text.unlikely+0x5b46): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429057:(.text.unlikely+0x5b4e): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x5b70): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x5b7a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429081:(.text.unlikely+0x5bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429081:(.text.unlikely+0x5bdc): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429083:(.text.unlikely+0x5be4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429083:(.text.unlikely+0x5c06): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451134:(.text.unlikely+0x5c10): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428828:(.text.unlikely+0x5c6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428832:(.text.unlikely+0x5c76): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x5c7e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428799:(.text.unlikely+0x5ca0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428833:(.text.unlikely+0x5caa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428870:(.text.unlikely+0x5d06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428870:(.text.unlikely+0x5d10): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x5d18): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0x5d3a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428874:(.text.unlikely+0x5d44): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428887:(.text.unlikely+0x5da4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428896:(.text.unlikely+0x5dd6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428900:(.text.unlikely+0x5df4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428900:(.text.unlikely+0x5e0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428901:(.text.unlikely+0x5e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428931:(.text.unlikely+0x5e54): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x5e60): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428940:(.text.unlikely+0x5e76): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428798:(.text.unlikely+0x5e84): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0x5f64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428799:(.text.unlikely+0x5f6a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x5f84): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429000:(.text.unlikely+0x5f8e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429021:(.text.unlikely+0x5fee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429021:(.text.unlikely+0x5ff4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429023:(.text.unlikely+0x600e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429023:(.text.unlikely+0x6018): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429045:(.text.unlikely+0x6078): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x607e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429057:(.text.unlikely+0x6098): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x60a2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428798:(.text.unlikely+0x6102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429071:(.text.unlikely+0x610c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429081:(.text.unlikely+0x6114): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429083:(.text.unlikely+0x6136): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428799:(.text.unlikely+0x6140): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429105:(.text.unlikely+0x61a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445336:(.text.unlikely+0x61aa): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445337:(.text.unlikely+0x61b2): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445340:(.text.unlikely+0x61d4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445341:(.text.unlikely+0x61de): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445348:(.text.unlikely+0x623e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445349:(.text.unlikely+0x6250): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445349:(.text.unlikely+0x6258): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445360:(.text.unlikely+0x627a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:445360:(.text.unlikely+0x6284): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429095:(.text.unlikely+0x62e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x62ee): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x62f6): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429119:(.text.unlikely+0x6318): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429119:(.text.unlikely+0x6322): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x6384): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429131:(.text.unlikely+0x63ae): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429131:(.text.unlikely+0x63cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429129:(.text.unlikely+0x63e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429119:(.text.unlikely+0x6400): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451134:(.text.unlikely+0x642c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429143:(.text.unlikely+0x6438): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429143:(.text.unlikely+0x644e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429143:(.text.unlikely+0x645c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x6540): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x6546): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429167:(.text.unlikely+0x6560): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429167:(.text.unlikely+0x656a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x65ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x65d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_InsertMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451134:(.text.unlikely+0x65ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429179:(.text.unlikely+0x65f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429167:(.text.unlikely+0x6654): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429179:(.text.unlikely+0x665a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x6674): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429189:(.text.unlikely+0x667e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x66de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x66e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429179:(.text.unlikely+0x6706): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429196:(.text.unlikely+0x6710): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429213:(.text.unlikely+0x6770): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429213:(.text.unlikely+0x6776): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x6790): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429211:(.text.unlikely+0x679a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429226:(.text.unlikely+0x67fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429226:(.text.unlikely+0x6804): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429230:(.text.unlikely+0x680c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429230:(.text.unlikely+0x682e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429228:(.text.unlikely+0x6838): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429240:(.text.unlikely+0x6898): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429242:(.text.unlikely+0x68a2): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429243:(.text.unlikely+0x68aa): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429247:(.text.unlikely+0x68cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429247:(.text.unlikely+0x68d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x6936): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429257:(.text.unlikely+0x6940): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429257:(.text.unlikely+0x6948): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429260:(.text.unlikely+0x695c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429264:(.text.unlikely+0x6972): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429264:(.text.unlikely+0x697c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x69dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x69e6): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429274:(.text.unlikely+0x69ee): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429277:(.text.unlikely+0x6a10): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429281:(.text.unlikely+0x6a1a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429264:(.text.unlikely+0x6a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x6a84): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x6a8c): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429292:(.text.unlikely+0x6aae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429294:(.text.unlikely+0x6ab8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429281:(.text.unlikely+0x6b18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429281:(.text.unlikely+0x6b22): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429281:(.text.unlikely+0x6b2a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x6b4c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429308:(.text.unlikely+0x6b56): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x6bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x6bc8): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x6bd0): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429322:(.text.unlikely+0x6bf2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429322:(.text.unlikely+0x6bfc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429336:(.text.unlikely+0x6c5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x6c66): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429308:(.text.unlikely+0x6c6e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429310:(.text.unlikely+0x6c90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429310:(.text.unlikely+0x6c9a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429334:(.text.unlikely+0x6cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x6d26): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_ScatterMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451172:(.text.unlikely+0x6d44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429348:(.text.unlikely+0x6d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429348:(.text.unlikely+0x6d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x6da4): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429336:(.text.unlikely+0x6db0): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x6dc6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x6dd4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x6eb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x6eba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429370:(.text.unlikely+0x6ec4): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429385:(.text.unlikely+0x6f2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429389:(.text.unlikely+0x6f48): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429389:(.text.unlikely+0x6f52): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429402:(.text.unlikely+0x6fe6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429404:(.text.unlikely+0x701e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429404:(.text.unlikely+0x7028): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429416:(.text.unlikely+0x7084): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429423:(.text.unlikely+0x70c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429423:(.text.unlikely+0x70ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x712a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429440:(.text.unlikely+0x7162): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429440:(.text.unlikely+0x716c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429423:(.text.unlikely+0x71cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429450:(.text.unlikely+0x71fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429452:(.text.unlikely+0x721c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x7236): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x7250): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429464:(.text.unlikely+0x728a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429466:(.text.unlikely+0x729c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429478:(.text.unlikely+0x72be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429478:(.text.unlikely+0x72c6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x7300): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429450:(.text.unlikely+0x7312): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429464:(.text.unlikely+0x7334): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x733c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429466:(.text.unlikely+0x7376): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429476:(.text.unlikely+0x7390): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429440:(.text.unlikely+0x73b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x73ba): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429490:(.text.unlikely+0x73f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429490:(.text.unlikely+0x740e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429488:(.text.unlikely+0x7430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x7438): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451210:(.text.unlikely+0x7472): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429502:(.text.unlikely+0x7484): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429502:(.text.unlikely+0x74a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429500:(.text.unlikely+0x74ae): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429490:(.text.unlikely+0x74e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x74fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429514:(.text.unlikely+0x751c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429514:(.text.unlikely+0x7524): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429512:(.text.unlikely+0x755e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x7570): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x7592): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x759a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429526:(.text.unlikely+0x75d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429526:(.text.unlikely+0x75e6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429524:(.text.unlikely+0x7608): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x7610): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_NormType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451210:(.text.unlikely+0x764a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429538:(.text.unlikely+0x765c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429538:(.text.unlikely+0x767e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428800:(.text.unlikely+0x768e): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x76c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x76da): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429551:(.text.unlikely+0x76fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429555:(.text.unlikely+0x770c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429553:(.text.unlikely+0x7746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429553:(.text.unlikely+0x7758): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x777a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x7782): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429568:(.text.unlikely+0x77bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429572:(.text.unlikely+0x77ce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429570:(.text.unlikely+0x77f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x77f8): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x7832): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x7844): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429584:(.text.unlikely+0x7866): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429585:(.text.unlikely+0x786e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429589:(.text.unlikely+0x78a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429587:(.text.unlikely+0x78ba): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429572:(.text.unlikely+0x78dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429572:(.text.unlikely+0x78e4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429601:(.text.unlikely+0x791e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429602:(.text.unlikely+0x7930): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429606:(.text.unlikely+0x7952): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429606:(.text.unlikely+0x795a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429589:(.text.unlikely+0x7994): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x79ae): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429616:(.text.unlikely+0x79d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429618:(.text.unlikely+0x79d8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429623:(.text.unlikely+0x7a12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429621:(.text.unlikely+0x7a2c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429606:(.text.unlikely+0x7a4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429606:(.text.unlikely+0x7a56): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x7a5a): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429633:(.text.unlikely+0x7a86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429640:(.text.unlikely+0x7aa6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429640:(.text.unlikely+0x7ac8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429623:(.text.unlikely+0x7b02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x7b14): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429650:(.text.unlikely+0x7b36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429650:(.text.unlikely+0x7b3e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429657:(.text.unlikely+0x7b78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429657:(.text.unlikely+0x7b8a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429655:(.text.unlikely+0x7bac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x7bb4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429667:(.text.unlikely+0x7bee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429669:(.text.unlikely+0x7c00): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429674:(.text.unlikely+0x7c22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429674:(.text.unlikely+0x7c2a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429657:(.text.unlikely+0x7c64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429657:(.text.unlikely+0x7c76): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x7c98): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429684:(.text.unlikely+0x7ca8): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x7ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x7cf4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x7d16): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x7d26): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429700:(.text.unlikely+0x7d60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429712:(.text.unlikely+0x7d72): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429712:(.text.unlikely+0x7d94): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429712:(.text.unlikely+0x7d9c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429686:(.text.unlikely+0x7dd6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429698:(.text.unlikely+0x7de8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429700:(.text.unlikely+0x7e0a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x7e12): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0x7e4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429674:(.text.unlikely+0x7e5e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x7e80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0x7e88): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429729:(.text.unlikely+0x7ec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429729:(.text.unlikely+0x7ed4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x7ef6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x7efe): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429733:(.text.unlikely+0x7f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429722:(.text.unlikely+0x7f4a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0x7f6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429724:(.text.unlikely+0x7f74): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429712:(.text.unlikely+0x7fae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x7fc8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429743:(.text.unlikely+0x7fea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429743:(.text.unlikely+0x7ff2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429745:(.text.unlikely+0x802c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429743:(.text.unlikely+0x8046): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429745:(.text.unlikely+0x8068): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x8070): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x8074): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429755:(.text.unlikely+0x80a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429755:(.text.unlikely+0x80a4): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429757:(.text.unlikely+0x80c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429757:(.text.unlikely+0x80cc): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429755:(.text.unlikely+0x80f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429745:(.text.unlikely+0x8116): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x8138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429767:(.text.unlikely+0x8140): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429769:(.text.unlikely+0x8166): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429769:(.text.unlikely+0x8188): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429769:(.text.unlikely+0x8190): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0x81b6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x81d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x81e0): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429779:(.text.unlikely+0x8206): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429781:(.text.unlikely+0x8228): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x8230): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x8256): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x8278): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x8280): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429803:(.text.unlikely+0x82a6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x82c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429806:(.text.unlikely+0x82d8): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x8304): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429827:(.text.unlikely+0x8330): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429830:(.text.unlikely+0x835c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429830:(.text.unlikely+0x8374): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x838c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429841:(.text.unlikely+0x83a4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x83cc): undefined reference to `PyCMethod_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x83e2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429854:(.text.unlikely+0x8404): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x8418): undefined reference to `PyCMethod_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429856:(.text.unlikely+0x8436): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429875:(.text.unlikely+0x8458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429875:(.text.unlikely+0x845c): undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x846c): undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x8474): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429878:(.text.unlikely+0x8498): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x84a8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:243:(.text.unlikely+0x84fa): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x8510): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429902:(.text.unlikely+0x8520): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430612:(.text.unlikely+0x95e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430623:(.text.unlikely+0x9606): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430623:(.text.unlikely+0x9610): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430637:(.text.unlikely+0x966c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430648:(.text.unlikely+0x9692): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430651:(.text.unlikely+0x969c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430676:(.text.unlikely+0x96f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430685:(.text.unlikely+0x971e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430685:(.text.unlikely+0x9728): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430714:(.text.unlikely+0x9784): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430724:(.text.unlikely+0x97b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430724:(.text.unlikely+0x97bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430736:(.text.unlikely+0x9818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430740:(.text.unlikely+0x983e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x9848): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430762:(.text.unlikely+0x98a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430774:(.text.unlikely+0x98ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430774:(.text.unlikely+0x98d4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429781:(.text.unlikely+0x9930): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429793:(.text.unlikely+0x9956): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429803:(.text.unlikely+0x9960): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429817:(.text.unlikely+0x99bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429827:(.text.unlikely+0x99d4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x99ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429830:(.text.unlikely+0x99f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x9a50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x9a76): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429865:(.text.unlikely+0x9a80): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x9adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x9b02): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429899:(.text.unlikely+0x9b0c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x9b68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429926:(.text.unlikely+0x9b8e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429926:(.text.unlikely+0x9b98): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429949:(.text.unlikely+0x9bf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429961:(.text.unlikely+0x9c22): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429961:(.text.unlikely+0x9c2c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429985:(.text.unlikely+0x9c88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429995:(.text.unlikely+0x9cae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429998:(.text.unlikely+0x9cb8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430019:(.text.unlikely+0x9d16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430022:(.text.unlikely+0x9d40): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430033:(.text.unlikely+0x9d5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430043:(.text.unlikely+0x9d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x9d92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430057:(.text.unlikely+0x9dbe): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430057:(.text.unlikely+0x9dca): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430067:(.text.unlikely+0x9de0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430070:(.text.unlikely+0x9dee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430118:(.text.unlikely+0x9ec6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430118:(.text.unlikely+0x9ecc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430129:(.text.unlikely+0x9ee6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430129:(.text.unlikely+0x9ef0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430153:(.text.unlikely+0x9f4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430153:(.text.unlikely+0x9f52): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0x9f6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430163:(.text.unlikely+0x9f76): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x9fd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430187:(.text.unlikely+0x9fd8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0x9ff2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430190:(.text.unlikely+0x9ffc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0xa058): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430189:(.text.unlikely+0xa05e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430189:(.text.unlikely+0xa080): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430226:(.text.unlikely+0xa08a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430250:(.text.unlikely+0xa0e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430250:(.text.unlikely+0xa0ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430260:(.text.unlikely+0xa106): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430260:(.text.unlikely+0xa110): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430284:(.text.unlikely+0xa16c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430284:(.text.unlikely+0xa172): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430287:(.text.unlikely+0xa18c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430287:(.text.unlikely+0xa196): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430311:(.text.unlikely+0xa1f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430311:(.text.unlikely+0xa1f8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0xa212): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430322:(.text.unlikely+0xa21c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xa278): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430346:(.text.unlikely+0xa27e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430346:(.text.unlikely+0xa28a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430356:(.text.unlikely+0xa2a0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430356:(.text.unlikely+0xa2aa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0xa306): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430380:(.text.unlikely+0xa30c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0xa326): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430383:(.text.unlikely+0xa330): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xa38c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430407:(.text.unlikely+0xa392): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0xa3ac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430418:(.text.unlikely+0xa3b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa412): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xa418): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430452:(.text.unlikely+0xa432): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xa43c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430466:(.text.unlikely+0xa498): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa49e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa4c0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430479:(.text.unlikely+0xa4ca): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa528): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0xa52e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430514:(.text.unlikely+0xa548): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0xa552): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430556:(.text.unlikely+0xa5b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0xa5b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430556:(.text.unlikely+0xa5d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0xa5dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430571:(.text.unlikely+0xa63c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa642): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430582:(.text.unlikely+0xa65c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa666): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430597:(.text.unlikely+0xa6c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430608:(.text.unlikely+0xa6cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430502:(.text.unlikely+0xa6d8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430610:(.text.unlikely+0xa6ee): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429782:(.text.unlikely+0xa6f8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430634:(.text.unlikely+0xa758): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0xa75e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430634:(.text.unlikely+0xa778): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0xa782): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430676:(.text.unlikely+0xa7e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430685:(.text.unlikely+0xa7e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430685:(.text.unlikely+0xa802): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430694:(.text.unlikely+0xa80c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430714:(.text.unlikely+0xa86c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430714:(.text.unlikely+0xa872): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430724:(.text.unlikely+0xa88c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430724:(.text.unlikely+0xa896): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430738:(.text.unlikely+0xa8f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430738:(.text.unlikely+0xa8fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430751:(.text.unlikely+0xa91e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa928): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xa988): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429769:(.text.unlikely+0xa98e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xa9a8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xa9b2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430784:(.text.unlikely+0xaa12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430784:(.text.unlikely+0xaa18): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430774:(.text.unlikely+0xaa32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430786:(.text.unlikely+0xaa3c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430798:(.text.unlikely+0xaa9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xaaa2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430786:(.text.unlikely+0xaabc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430786:(.text.unlikely+0xaac6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430810:(.text.unlikely+0xab26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430810:(.text.unlikely+0xab2c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430810:(.text.unlikely+0xab38): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430808:(.text.unlikely+0xab4e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430798:(.text.unlikely+0xab58): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430822:(.text.unlikely+0xabb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430822:(.text.unlikely+0xabbe): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430822:(.text.unlikely+0xabd8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xabe2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430832:(.text.unlikely+0xac42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430832:(.text.unlikely+0xac48): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430834:(.text.unlikely+0xac62): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430834:(.text.unlikely+0xac6c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xaccc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xacd2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430846:(.text.unlikely+0xacec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430846:(.text.unlikely+0xacf6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xad56): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0xad5c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430856:(.text.unlikely+0xad7e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430858:(.text.unlikely+0xad88): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430846:(.text.unlikely+0xade8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xadee): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xae08): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430868:(.text.unlikely+0xae12): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430868:(.text.unlikely+0xae72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xae78): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xae92): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xae9c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xaefc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430880:(.text.unlikely+0xaf04): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430870:(.text.unlikely+0xaf1e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430870:(.text.unlikely+0xaf28): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430894:(.text.unlikely+0xaf88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430892:(.text.unlikely+0xaf90): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430892:(.text.unlikely+0xaf9c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0xafb2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430882:(.text.unlikely+0xafbc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430906:(.text.unlikely+0xb01c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430906:(.text.unlikely+0xb024): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430904:(.text.unlikely+0xb03e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430894:(.text.unlikely+0xb048): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430918:(.text.unlikely+0xb0a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430918:(.text.unlikely+0xb0b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430918:(.text.unlikely+0xb0ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0xb0d4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430928:(.text.unlikely+0xb134): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430930:(.text.unlikely+0xb13c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430930:(.text.unlikely+0xb156): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430930:(.text.unlikely+0xb160): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xb1c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430940:(.text.unlikely+0xb1c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430942:(.text.unlikely+0xb1ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430942:(.text.unlikely+0xb1f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xb254): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430954:(.text.unlikely+0xb25c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430956:(.text.unlikely+0xb276): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430956:(.text.unlikely+0xb280): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430940:(.text.unlikely+0xb2e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0xb30c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430956:(.text.unlikely+0xb32a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430956:(.text.unlikely+0xb344): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430966:(.text.unlikely+0xb35e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xb38a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xb396): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xb3ac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430980:(.text.unlikely+0xb3ba): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xb49a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430980:(.text.unlikely+0xb4a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xb4ba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xb4c4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431002:(.text.unlikely+0xb524): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:430992:(.text.unlikely+0xb52a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431004:(.text.unlikely+0xb544): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xb54e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0xb5ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431014:(.text.unlikely+0xb5b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xb5ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431004:(.text.unlikely+0xb5d8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431028:(.text.unlikely+0xb638): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431026:(.text.unlikely+0xb63e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xb660): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431016:(.text.unlikely+0xb66a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431040:(.text.unlikely+0xb6cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431038:(.text.unlikely+0xb6d6): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xb6de): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431028:(.text.unlikely+0xb6f4): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431028:(.text.unlikely+0xb6fc): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xb712): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xb71a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xb730): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xb738): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431052:(.text.unlikely+0xb75a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431052:(.text.unlikely+0xb764): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431062:(.text.unlikely+0xb818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xb82e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431052:(.text.unlikely+0xb838): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431076:(.text.unlikely+0xb876): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431076:(.text.unlikely+0xb88c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431076:(.text.unlikely+0xb896): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431064:(.text.unlikely+0xb8d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xb8de): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xb8f4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xb8fe): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431086:(.text.unlikely+0xb940): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431086:(.text.unlikely+0xb94a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431076:(.text.unlikely+0xb952): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xb974): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xb97e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431098:(.text.unlikely+0xb9de): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431088:(.text.unlikely+0xb9e8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431110:(.text.unlikely+0xba30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431112:(.text.unlikely+0xba5a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431110:(.text.unlikely+0xba78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431100:(.text.unlikely+0xba92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xbaac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431124:(.text.unlikely+0xbae0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431124:(.text.unlikely+0xbafa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0xbb08): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbbf8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbbfe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431148:(.text.unlikely+0xbc18): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431148:(.text.unlikely+0xbc22): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xbc88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xbc8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431160:(.text.unlikely+0xbca8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431160:(.text.unlikely+0xbcb2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xbd18): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xbd1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbd38): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431172:(.text.unlikely+0xbd42): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431160:(.text.unlikely+0xbda8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xbdb2): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xbdba): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbdce): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431184:(.text.unlikely+0xbde4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431184:(.text.unlikely+0xbdee): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xbe54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xbe5e): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xbe66): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431196:(.text.unlikely+0xbe88): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431196:(.text.unlikely+0xbe92): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xbef8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbf02): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbf0a): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431208:(.text.unlikely+0xbf2c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431208:(.text.unlikely+0xbf36): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xbf9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbfa6): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xbfae): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431220:(.text.unlikely+0xbfd8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431218:(.text.unlikely+0xbfe2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431230:(.text.unlikely+0xc04a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431232:(.text.unlikely+0xc076): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431230:(.text.unlikely+0xc094): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431220:(.text.unlikely+0xc0ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xc0c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431244:(.text.unlikely+0xc0f0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431244:(.text.unlikely+0xc10e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431242:(.text.unlikely+0xc116): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431232:(.text.unlikely+0xc136): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xc154): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xc15c): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xc17c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431256:(.text.unlikely+0xc19a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431256:(.text.unlikely+0xc1a2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431254:(.text.unlikely+0xc1c2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431244:(.text.unlikely+0xc1e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431244:(.text.unlikely+0xc1e8): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xc21e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431268:(.text.unlikely+0xc230): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431268:(.text.unlikely+0xc24e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0xc256): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431256:(.text.unlikely+0xc28c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xc29e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431280:(.text.unlikely+0xc2bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431280:(.text.unlikely+0xc2c4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431278:(.text.unlikely+0xc2fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431268:(.text.unlikely+0xc314): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xc332): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xc33a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431292:(.text.unlikely+0xc370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431292:(.text.unlikely+0xc382): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431290:(.text.unlikely+0xc3a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431280:(.text.unlikely+0xc3b0): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xc3e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431304:(.text.unlikely+0xc3f8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431304:(.text.unlikely+0xc416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431302:(.text.unlikely+0xc426): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431316:(.text.unlikely+0xc4b2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428801:(.text.unlikely+0xc4c8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431314:(.text.unlikely+0xc4d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscViewerFormat': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451248:(.text.unlikely+0xc970): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431412:(.text.unlikely+0xc996): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431412:(.text.unlikely+0xc9a0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xca02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431422:(.text.unlikely+0xca28): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431424:(.text.unlikely+0xca32): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xca94): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431438:(.text.unlikely+0xcac2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451296:(.text.unlikely+0xcacc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431422:(.text.unlikely+0xcb2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428802:(.text.unlikely+0xcb54): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431436:(.text.unlikely+0xcb5e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431412:(.text.unlikely+0xcbc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xcbe6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431462:(.text.unlikely+0xcc04): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431462:(.text.unlikely+0xcc1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:429732:(.text.unlikely+0xcc38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431450:(.text.unlikely+0xcc60): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xcc7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscFileMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451296:(.text.unlikely+0xcc8e): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431462:(.text.unlikely+0xccf6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xcd0c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xcd1a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431508:(.text.unlikely+0xce68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431513:(.text.unlikely+0xce8c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431518:(.text.unlikely+0xceaa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431522:(.text.unlikely+0xcec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431525:(.text.unlikely+0xcede): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431529:(.text.unlikely+0xcee4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431529:(.text.unlikely+0xcef0): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431536:(.text.unlikely+0xcf24): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431536:(.text.unlikely+0xcf30): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431520:(.text.unlikely+0xcf6c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431527:(.text.unlikely+0xcf78): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431534:(.text.unlikely+0xcfac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431498:(.text.unlikely+0xcfb8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xd03e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431540:(.text.unlikely+0xd058): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431540:(.text.unlikely+0xd05e): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431538:(.text.unlikely+0xd092): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431542:(.text.unlikely+0xd0e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431540:(.text.unlikely+0xd0fc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xd11a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xd120): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xd12c): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431557:(.text.unlikely+0xd160): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431559:(.text.unlikely+0xd16c): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431557:(.text.unlikely+0xd1a0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431557:(.text.unlikely+0xd1ac): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431560:(.text.unlikely+0xd1e8): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xd234): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xd242): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431570:(.text.unlikely+0xd260): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431570:(.text.unlikely+0xd266): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431572:(.text.unlikely+0xd272): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xd2a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xd2b2): undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431584:(.text.unlikely+0xd2e6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431586:(.text.unlikely+0xd2f2): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431598:(.text.unlikely+0xd326): undefined reference to `PyTuple_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431572:(.text.unlikely+0xd372): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431572:(.text.unlikely+0xd388): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431584:(.text.unlikely+0xd3a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431586:(.text.unlikely+0xd3ce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431596:(.text.unlikely+0xd3ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431596:(.text.unlikely+0xd3f4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431560:(.text.unlikely+0xd3fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xd43a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431610:(.text.unlikely+0xd454): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431610:(.text.unlikely+0xd472): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431608:(.text.unlikely+0xd47a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431608:(.text.unlikely+0xd48e): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431596:(.text.unlikely+0xd4a6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xd4c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xd4cc): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431622:(.text.unlikely+0xd508): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431620:(.text.unlikely+0xd51a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431610:(.text.unlikely+0xd538): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431541:(.text.unlikely+0xd540): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0xd560): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0xd57e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0xd586): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431634:(.text.unlikely+0xd5aa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431632:(.text.unlikely+0xd5c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431632:(.text.unlikely+0xd5d0): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xd606): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xd618): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431647:(.text.unlikely+0xd636): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431647:(.text.unlikely+0xd63e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431651:(.text.unlikely+0xd652): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431651:(.text.unlikely+0xd66a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431649:(.text.unlikely+0xd688): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431649:(.text.unlikely+0xd690): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xd6d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431661:(.text.unlikely+0xd6ee): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431668:(.text.unlikely+0xd70c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431668:(.text.unlikely+0xd714): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431668:(.text.unlikely+0xd728): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431541:(.text.unlikely+0xd740): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xd75e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431651:(.text.unlikely+0xd766): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431678:(.text.unlikely+0xd7a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431680:(.text.unlikely+0xd7b4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431685:(.text.unlikely+0xd7d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431685:(.text.unlikely+0xd7e2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431697:(.text.unlikely+0xd86e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431702:(.text.unlikely+0xd884): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431702:(.text.unlikely+0xd894): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431887:(.text.unlikely+0xe1e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431886:(.text.unlikely+0xe210): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431898:(.text.unlikely+0xe21a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431541:(.text.unlikely+0xe276): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431541:(.text.unlikely+0xe29c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431934:(.text.unlikely+0xe2a6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431702:(.text.unlikely+0xe304): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xe328): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431958:(.text.unlikely+0xe346): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431960:(.text.unlikely+0xe360): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431958:(.text.unlikely+0xe37a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431539:(.text.unlikely+0xe3a2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xe3c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xe3d0): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431972:(.text.unlikely+0xe3fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431972:(.text.unlikely+0xe416): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431541:(.text.unlikely+0xe424): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431996:(.text.unlikely+0xe544): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431996:(.text.unlikely+0xe54a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431996:(.text.unlikely+0xe564): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431994:(.text.unlikely+0xe56e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432006:(.text.unlikely+0xe5d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432008:(.text.unlikely+0xe5f4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xe612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xe62c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xe646): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xe694): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432033:(.text.unlikely+0xe6aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432024:(.text.unlikely+0xe6b8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432008:(.text.unlikely+0xe79c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432020:(.text.unlikely+0xe7c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431541:(.text.unlikely+0xe7cc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432044:(.text.unlikely+0xe82e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432054:(.text.unlikely+0xe852): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:428803:(.text.unlikely+0xe870): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431996:(.text.unlikely+0xe88a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xe8a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432068:(.text.unlikely+0xe8cc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xe8ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0xe8f2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xe912): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xe930): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451324:(.text.unlikely+0xe940): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text.unlikely+0xe9c8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscDeviceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451324:(.text.unlikely+0xe9d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xebac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432216:(.text.unlikely+0xebda): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432218:(.text.unlikely+0xebe4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyTuple_SET_ITEM': /usr/include/python3.12/cpython/tupleobject.h:33:(.text.unlikely+0xec40): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscStreamType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451362:(.text.unlikely+0xec58): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432252:(.text.unlikely+0xec6e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432254:(.text.unlikely+0xec78): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432287:(.text.unlikely+0xecd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xecfa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432290:(.text.unlikely+0xed04): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:647:(.text.unlikely+0xed60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PetscDeviceContextJoinMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451400:(.text.unlikely+0xed86): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432320:(.text.unlikely+0xed90): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_INCREF': /usr/include/python3.12/object.h:643:(.text.unlikely+0xedec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432354:(.text.unlikely+0xee12): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `PyType_HasFeature': /usr/include/python3.12/object.h:967:(.text.unlikely+0xee1c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432376:(.text.unlikely+0xee78): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xee9e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432386:(.text.unlikely+0xeea8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_int': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451106:(.text.unlikely+0xef04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432412:(.text.unlikely+0xef2a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432414:(.text.unlikely+0xef34): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xef92): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432428:(.text.unlikely+0xefbe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432430:(.text.unlikely+0xefdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xeff6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432441:(.text.unlikely+0xf010): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xf048): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432446:(.text.unlikely+0xf066): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0xf06e): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0xf0c4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xf0da): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432461:(.text.unlikely+0xf0e8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432511:(.text.unlikely+0xf226): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432522:(.text.unlikely+0xf24c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432522:(.text.unlikely+0xf256): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0xf2b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432536:(.text.unlikely+0xf2d8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432536:(.text.unlikely+0xf2e2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432549:(.text.unlikely+0xf33e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0xf364): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0xf36e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432565:(.text.unlikely+0xf3ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432582:(.text.unlikely+0xf3f0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432582:(.text.unlikely+0xf3fa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432610:(.text.unlikely+0xf456): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432612:(.text.unlikely+0xf47c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432612:(.text.unlikely+0xf486): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432069:(.text.unlikely+0xf4e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432082:(.text.unlikely+0xf510): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432082:(.text.unlikely+0xf51a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432116:(.text.unlikely+0xf576): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432134:(.text.unlikely+0xf59c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:431537:(.text.unlikely+0xf5a6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432154:(.text.unlikely+0xf602): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432156:(.text.unlikely+0xf61a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432160:(.text.unlikely+0xf630): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432160:(.text.unlikely+0xf63a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432204:(.text.unlikely+0xf696): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432191:(.text.unlikely+0xf6c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432216:(.text.unlikely+0xf6ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0xf72a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432252:(.text.unlikely+0xf750): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432252:(.text.unlikely+0xf75a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432290:(.text.unlikely+0xf7b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432300:(.text.unlikely+0xf7dc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0xf7e6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432320:(.text.unlikely+0xf842): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0xf868): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432338:(.text.unlikely+0xf872): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0xf8ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432386:(.text.unlikely+0xf8f4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432386:(.text.unlikely+0xf8fe): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0xf95a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432414:(.text.unlikely+0xf988): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432414:(.text.unlikely+0xf992): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432430:(.text.unlikely+0xf9ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432441:(.text.unlikely+0xfa14): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432441:(.text.unlikely+0xfa1e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432457:(.text.unlikely+0xfa7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0xfa92): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432459:(.text.unlikely+0xfaa8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432363:(.text.unlikely+0xfab2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432483:(.text.unlikely+0xfb10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432495:(.text.unlikely+0xfb3a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432507:(.text.unlikely+0xfb58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432507:(.text.unlikely+0xfb72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432509:(.text.unlikely+0xfb8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432520:(.text.unlikely+0xfbc0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432522:(.text.unlikely+0xfbda): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432524:(.text.unlikely+0xfbe8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0xfcc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432565:(.text.unlikely+0xfcc6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432363:(.text.unlikely+0xfce0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432574:(.text.unlikely+0xfcea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432553:(.text.unlikely+0xfd48): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432363:(.text.unlikely+0xfd6c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0xfd8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432056:(.text.unlikely+0xfda4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432056:(.text.unlikely+0xfdbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432622:(.text.unlikely+0xfdee): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432624:(.text.unlikely+0xfe0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432624:(.text.unlikely+0xfe14): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0xfe34): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0xfe52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432612:(.text.unlikely+0xfe5a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432636:(.text.unlikely+0xfec2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432634:(.text.unlikely+0xfed8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432634:(.text.unlikely+0xfee6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1008a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432648:(.text.unlikely+0x100b0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432648:(.text.unlikely+0x100ba): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432673:(.text.unlikely+0x10116): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432675:(.text.unlikely+0x1013c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432675:(.text.unlikely+0x10146): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_ISGlobalToLocalMappingMode': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451634:(.text.unlikely+0x101a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432699:(.text.unlikely+0x101d0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432697:(.text.unlikely+0x101ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x10208): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x10222): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432709:(.text.unlikely+0x1024a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432711:(.text.unlikely+0x10268): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x10270): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432723:(.text.unlikely+0x102d4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432725:(.text.unlikely+0x102e2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x10420): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432749:(.text.unlikely+0x1044e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432749:(.text.unlikely+0x10458): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432737:(.text.unlikely+0x104b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x104cc): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432759:(.text.unlikely+0x104e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432759:(.text.unlikely+0x104ec): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x10548): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432773:(.text.unlikely+0x1056e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432775:(.text.unlikely+0x10578): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432788:(.text.unlikely+0x105d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x105fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x10604): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432816:(.text.unlikely+0x10660): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432827:(.text.unlikely+0x10686): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432827:(.text.unlikely+0x10690): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432759:(.text.unlikely+0x106ec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432761:(.text.unlikely+0x10712): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432773:(.text.unlikely+0x1071c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432786:(.text.unlikely+0x10778): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432788:(.text.unlikely+0x1079e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432799:(.text.unlikely+0x107a8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432816:(.text.unlikely+0x10806): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432825:(.text.unlikely+0x10832): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432827:(.text.unlikely+0x10850): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432837:(.text.unlikely+0x1086a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432749:(.text.unlikely+0x10884): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432849:(.text.unlikely+0x108bc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432851:(.text.unlikely+0x108da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432851:(.text.unlikely+0x108e2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x10902): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x10920): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432839:(.text.unlikely+0x10928): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432861:(.text.unlikely+0x1095e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432863:(.text.unlikely+0x10970): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432863:(.text.unlikely+0x1098e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432863:(.text.unlikely+0x10996): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432851:(.text.unlikely+0x109cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x109de): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432873:(.text.unlikely+0x109fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432873:(.text.unlikely+0x10a04): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432863:(.text.unlikely+0x10a5a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432863:(.text.unlikely+0x10a70): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x10a7e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x10cce): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x10cf4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x10cfe): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x10d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x10d80): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x10d8a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x10de6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432960:(.text.unlikely+0x10e14): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432969:(.text.unlikely+0x10e1e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432983:(.text.unlikely+0x10e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432933:(.text.unlikely+0x10ea0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432933:(.text.unlikely+0x10eaa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x10f06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432960:(.text.unlikely+0x10f2c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432960:(.text.unlikely+0x10f36): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432981:(.text.unlikely+0x10f92): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432923:(.text.unlikely+0x10fb8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x10fc2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432993:(.text.unlikely+0x1101e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432983:(.text.unlikely+0x1104c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432995:(.text.unlikely+0x11056): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433007:(.text.unlikely+0x110b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433005:(.text.unlikely+0x110ca): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432995:(.text.unlikely+0x110e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432995:(.text.unlikely+0x110ea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433019:(.text.unlikely+0x11146): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433017:(.text.unlikely+0x1116c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x11176): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433031:(.text.unlikely+0x111d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x111f8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433029:(.text.unlikely+0x11202): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433043:(.text.unlikely+0x1125e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433041:(.text.unlikely+0x1128c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x11296): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433053:(.text.unlikely+0x112f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433055:(.text.unlikely+0x11318): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433055:(.text.unlikely+0x11322): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1137e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433067:(.text.unlikely+0x113a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433067:(.text.unlikely+0x113ae): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1140a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433077:(.text.unlikely+0x11430): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433079:(.text.unlikely+0x1143a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x11496): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x114bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x114c6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433089:(.text.unlikely+0x11522): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1153a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x11550): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1155a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x115b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433091:(.text.unlikely+0x115dc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433091:(.text.unlikely+0x115e6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433115:(.text.unlikely+0x11642): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433113:(.text.unlikely+0x11668): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x11672): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433127:(.text.unlikely+0x116ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433125:(.text.unlikely+0x116fc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433115:(.text.unlikely+0x11706): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433139:(.text.unlikely+0x11762): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x11788): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433137:(.text.unlikely+0x11792): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433149:(.text.unlikely+0x117ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433151:(.text.unlikely+0x11814): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433151:(.text.unlikely+0x1181e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1187a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433163:(.text.unlikely+0x118a0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433163:(.text.unlikely+0x118aa): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x11906): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433173:(.text.unlikely+0x1192c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433175:(.text.unlikely+0x11936): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433163:(.text.unlikely+0x11992): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x119aa): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x119c0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433185:(.text.unlikely+0x119ca): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x11a26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x11a4c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433199:(.text.unlikely+0x11a56): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433213:(.text.unlikely+0x11ab2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433185:(.text.unlikely+0x11ad8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433185:(.text.unlikely+0x11ae2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433201:(.text.unlikely+0x11b3e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x11b6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433175:(.text.unlikely+0x11b76): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433225:(.text.unlikely+0x11bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433223:(.text.unlikely+0x11bf8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x11c02): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433237:(.text.unlikely+0x11c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x11c86): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x11c90): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433251:(.text.unlikely+0x11cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x11d16): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433253:(.text.unlikely+0x11d20): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433275:(.text.unlikely+0x11d80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433284:(.text.unlikely+0x11da6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433293:(.text.unlikely+0x11db0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433307:(.text.unlikely+0x11e10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433307:(.text.unlikely+0x11e28): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433235:(.text.unlikely+0x11e3e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433235:(.text.unlikely+0x11e48): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433262:(.text.unlikely+0x11ea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433239:(.text.unlikely+0x11ece): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433264:(.text.unlikely+0x11ed8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x11f38): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x11f5e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433295:(.text.unlikely+0x11f68): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x11fc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433319:(.text.unlikely+0x11ff6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433319:(.text.unlikely+0x12000): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x12060): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433331:(.text.unlikely+0x12086): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433331:(.text.unlikely+0x12090): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x120f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433341:(.text.unlikely+0x12116): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433341:(.text.unlikely+0x12120): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x12180): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433355:(.text.unlikely+0x121a6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433357:(.text.unlikely+0x121b0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433377:(.text.unlikely+0x12210): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433379:(.text.unlikely+0x12236): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433389:(.text.unlikely+0x12240): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433341:(.text.unlikely+0x122a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433343:(.text.unlikely+0x122b8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x122ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433355:(.text.unlikely+0x122d8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433377:(.text.unlikely+0x12338): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433379:(.text.unlikely+0x1235e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433379:(.text.unlikely+0x12368): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433401:(.text.unlikely+0x123c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433403:(.text.unlikely+0x123ee): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433403:(.text.unlikely+0x123f8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x12458): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433415:(.text.unlikely+0x12486): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433415:(.text.unlikely+0x12490): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x124f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433425:(.text.unlikely+0x12516): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433427:(.text.unlikely+0x12520): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433415:(.text.unlikely+0x12580): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x125a6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433437:(.text.unlikely+0x125b0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x12610): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x12636): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x12640): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433449:(.text.unlikely+0x1269e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x126c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x126ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1272a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433451:(.text.unlikely+0x12742): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433451:(.text.unlikely+0x12758): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x12762): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433473:(.text.unlikely+0x127be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x127e4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433463:(.text.unlikely+0x127ee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433487:(.text.unlikely+0x1284a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x12870): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1287a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433501:(.text.unlikely+0x128d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x12904): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433503:(.text.unlikely+0x1290e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433516:(.text.unlikely+0x1296a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433535:(.text.unlikely+0x12990): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1299a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433549:(.text.unlikely+0x129fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x12a20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x12a2a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433573:(.text.unlikely+0x12a8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433584:(.text.unlikely+0x12ab0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433584:(.text.unlikely+0x12aba): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x12b1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433487:(.text.unlikely+0x12b40): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433487:(.text.unlikely+0x12b4a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433512:(.text.unlikely+0x12baa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433514:(.text.unlikely+0x12bc2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x12bd8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433525:(.text.unlikely+0x12be2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433488:(.text.unlikely+0x12c42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x12c68): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433559:(.text.unlikely+0x12c72): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x12cd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433584:(.text.unlikely+0x12cf8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433584:(.text.unlikely+0x12d02): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433606:(.text.unlikely+0x12d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433608:(.text.unlikely+0x12d90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433608:(.text.unlikely+0x12d9a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x12dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433620:(.text.unlikely+0x12e20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433620:(.text.unlikely+0x12e2a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x12e8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433632:(.text.unlikely+0x12eb0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433632:(.text.unlikely+0x12eba): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433620:(.text.unlikely+0x12f1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433642:(.text.unlikely+0x12f40): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433642:(.text.unlikely+0x12f4a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433632:(.text.unlikely+0x12faa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x12fd0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433654:(.text.unlikely+0x12fda): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433644:(.text.unlikely+0x1303a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433644:(.text.unlikely+0x13052): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x13068): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x13072): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433666:(.text.unlikely+0x130d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x130f8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x13102): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x13162): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433668:(.text.unlikely+0x13188): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433668:(.text.unlikely+0x13192): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433692:(.text.unlikely+0x131f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433680:(.text.unlikely+0x13220): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433680:(.text.unlikely+0x1322a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433704:(.text.unlikely+0x1328a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433702:(.text.unlikely+0x132b0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433692:(.text.unlikely+0x132ba): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433716:(.text.unlikely+0x1331a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x13340): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433714:(.text.unlikely+0x1334a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433728:(.text.unlikely+0x133aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433728:(.text.unlikely+0x133d0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433728:(.text.unlikely+0x133da): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433738:(.text.unlikely+0x1343a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433740:(.text.unlikely+0x13460): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433740:(.text.unlikely+0x1346a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x134ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433750:(.text.unlikely+0x134e2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433752:(.text.unlikely+0x134f8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433752:(.text.unlikely+0x13502): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x13562): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433764:(.text.unlikely+0x13588): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433764:(.text.unlikely+0x13592): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x135f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433774:(.text.unlikely+0x13618): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433776:(.text.unlikely+0x13622): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433764:(.text.unlikely+0x13682): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433786:(.text.unlikely+0x136b0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433788:(.text.unlikely+0x136ba): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433776:(.text.unlikely+0x1371a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x13740): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433798:(.text.unlikely+0x1374a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433788:(.text.unlikely+0x137aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x137d0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x137da): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433810:(.text.unlikely+0x1383a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433800:(.text.unlikely+0x13860): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1386a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433824:(.text.unlikely+0x138ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x138f0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433812:(.text.unlikely+0x138fa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433836:(.text.unlikely+0x1395a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x13972): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433824:(.text.unlikely+0x13988): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433824:(.text.unlikely+0x13992): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433848:(.text.unlikely+0x139f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433846:(.text.unlikely+0x13a18): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433836:(.text.unlikely+0x13a22): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433860:(.text.unlikely+0x13a82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x13aa8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433858:(.text.unlikely+0x13ab2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433872:(.text.unlikely+0x13b14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x13b46): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433860:(.text.unlikely+0x13b64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x13b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433882:(.text.unlikely+0x13b98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433884:(.text.unlikely+0x13bc8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433882:(.text.unlikely+0x13be2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433882:(.text.unlikely+0x13bf0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x13cd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433906:(.text.unlikely+0x13cd6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433908:(.text.unlikely+0x13cf0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433908:(.text.unlikely+0x13cfa): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x13d5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x13d60): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433918:(.text.unlikely+0x13d7a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433918:(.text.unlikely+0x13d84): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433908:(.text.unlikely+0x13de4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433908:(.text.unlikely+0x13dea): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433920:(.text.unlikely+0x13df6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x13e0c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433930:(.text.unlikely+0x13e16): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433930:(.text.unlikely+0x13e76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x13e7c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x13e96): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x13ea0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x13f00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433942:(.text.unlikely+0x13f06): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433932:(.text.unlikely+0x13f20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433932:(.text.unlikely+0x13f2a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433956:(.text.unlikely+0x13f8a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433956:(.text.unlikely+0x13f90): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433954:(.text.unlikely+0x13fb2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x13fbc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433968:(.text.unlikely+0x1401c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433968:(.text.unlikely+0x14022): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1403c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433966:(.text.unlikely+0x14046): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433978:(.text.unlikely+0x140a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433980:(.text.unlikely+0x140ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433980:(.text.unlikely+0x140c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433980:(.text.unlikely+0x140d0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x14130): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x14136): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433992:(.text.unlikely+0x14150): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433992:(.text.unlikely+0x1415a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433980:(.text.unlikely+0x141ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x141c0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x141da): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434002:(.text.unlikely+0x141e4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x14244): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433992:(.text.unlikely+0x1424a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:433992:(.text.unlikely+0x14256): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1426c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x14276): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434014:(.text.unlikely+0x142d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434014:(.text.unlikely+0x142dc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434004:(.text.unlikely+0x142f6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434004:(.text.unlikely+0x14300): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434028:(.text.unlikely+0x14360): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434026:(.text.unlikely+0x14366): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434026:(.text.unlikely+0x14380): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1438a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434040:(.text.unlikely+0x143ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434040:(.text.unlikely+0x143f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434038:(.text.unlikely+0x14412): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434038:(.text.unlikely+0x1441c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434052:(.text.unlikely+0x1447c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434052:(.text.unlikely+0x14482): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434052:(.text.unlikely+0x1449c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434050:(.text.unlikely+0x144a6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434062:(.text.unlikely+0x14506): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434062:(.text.unlikely+0x1450c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434064:(.text.unlikely+0x14526): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434064:(.text.unlikely+0x14530): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x14590): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x14596): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434074:(.text.unlikely+0x145b0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434076:(.text.unlikely+0x145ba): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434064:(.text.unlikely+0x1461a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434064:(.text.unlikely+0x14620): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1463a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x14644): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434086:(.text.unlikely+0x146a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434086:(.text.unlikely+0x146aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x146b6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434088:(.text.unlikely+0x146cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x146d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x14736): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434098:(.text.unlikely+0x1473c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x14756): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434088:(.text.unlikely+0x14760): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434112:(.text.unlikely+0x147c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434112:(.text.unlikely+0x147c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x147e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434110:(.text.unlikely+0x147ea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434124:(.text.unlikely+0x1484a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434124:(.text.unlikely+0x14850): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434124:(.text.unlikely+0x14872): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1487c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434134:(.text.unlikely+0x148dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434134:(.text.unlikely+0x148e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434136:(.text.unlikely+0x148fc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434136:(.text.unlikely+0x14906): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x14966): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1496c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434146:(.text.unlikely+0x14986): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434148:(.text.unlikely+0x14990): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434136:(.text.unlikely+0x149f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x149f6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x14a10): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434158:(.text.unlikely+0x14a1a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x14a7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434148:(.text.unlikely+0x14a80): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x14a9a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x14aa4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434170:(.text.unlikely+0x14b06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434160:(.text.unlikely+0x14b30): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x14b4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434184:(.text.unlikely+0x14b68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434184:(.text.unlikely+0x14b82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x14bb6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434172:(.text.unlikely+0x14bc2): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x14bd8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x14be6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434208:(.text.unlikely+0x14cca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434208:(.text.unlikely+0x14cd0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434196:(.text.unlikely+0x14cf2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434196:(.text.unlikely+0x14cfc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434220:(.text.unlikely+0x14d5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434220:(.text.unlikely+0x14d66): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434220:(.text.unlikely+0x14d6e): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434208:(.text.unlikely+0x14d90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434208:(.text.unlikely+0x14d9a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434232:(.text.unlikely+0x14dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434232:(.text.unlikely+0x14e04): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434232:(.text.unlikely+0x14e0c): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434230:(.text.unlikely+0x14e2e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x14e38): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434244:(.text.unlikely+0x14e9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434242:(.text.unlikely+0x14ebe): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434232:(.text.unlikely+0x14edc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x14ef6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434254:(.text.unlikely+0x14f10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434256:(.text.unlikely+0x14f3c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x14f56): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434254:(.text.unlikely+0x14f64): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1504a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x15050): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434280:(.text.unlikely+0x1506a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434280:(.text.unlikely+0x15074): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434268:(.text.unlikely+0x150d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x150da): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x150e6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434290:(.text.unlikely+0x150fc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434290:(.text.unlikely+0x15106): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434280:(.text.unlikely+0x15168): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x15192): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434304:(.text.unlikely+0x151b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434304:(.text.unlikely+0x151ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x151e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434292:(.text.unlikely+0x1521c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x15236): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434314:(.text.unlikely+0x15244): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x15328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434326:(.text.unlikely+0x1532e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x15348): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434316:(.text.unlikely+0x15352): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434340:(.text.unlikely+0x153b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434340:(.text.unlikely+0x153b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434338:(.text.unlikely+0x153d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434338:(.text.unlikely+0x153dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434352:(.text.unlikely+0x1543c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434352:(.text.unlikely+0x15442): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434352:(.text.unlikely+0x1545c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x15466): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434362:(.text.unlikely+0x154c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434362:(.text.unlikely+0x154d0): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434364:(.text.unlikely+0x154d8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434364:(.text.unlikely+0x154fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434364:(.text.unlikely+0x15504): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x15560): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434374:(.text.unlikely+0x1556a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434374:(.text.unlikely+0x155aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434374:(.text.unlikely+0x155b4): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434374:(.text.unlikely+0x155bc): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x155d0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434376:(.text.unlikely+0x155e6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x155f0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1564c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434386:(.text.unlikely+0x15656): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x15696): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x156a0): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434398:(.text.unlikely+0x156a8): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434400:(.text.unlikely+0x156d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434400:(.text.unlikely+0x156dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x15738): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x15742): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434412:(.text.unlikely+0x15782): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434412:(.text.unlikely+0x1578c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x15794): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x157b6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434400:(.text.unlikely+0x157c0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434424:(.text.unlikely+0x1581c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434424:(.text.unlikely+0x15826): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434412:(.text.unlikely+0x15868): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434434:(.text.unlikely+0x15892): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434436:(.text.unlikely+0x158b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434436:(.text.unlikely+0x158ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434434:(.text.unlikely+0x158e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x15918): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434446:(.text.unlikely+0x15932): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434446:(.text.unlikely+0x15940): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434458:(.text.unlikely+0x15a24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434458:(.text.unlikely+0x15a2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434448:(.text.unlikely+0x15a44): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434448:(.text.unlikely+0x15a4e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434472:(.text.unlikely+0x15aae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434472:(.text.unlikely+0x15ab4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x15ac0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434470:(.text.unlikely+0x15ad6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x15ae0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434484:(.text.unlikely+0x15b42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434482:(.text.unlikely+0x15b64): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434472:(.text.unlikely+0x15b82): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x15b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434494:(.text.unlikely+0x15bb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x15c0a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434494:(.text.unlikely+0x15c18): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x15cfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434520:(.text.unlikely+0x15d22): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434520:(.text.unlikely+0x15d2c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x15d8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434532:(.text.unlikely+0x15db2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434532:(.text.unlikely+0x15dbc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434520:(.text.unlikely+0x15e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434542:(.text.unlikely+0x15e42): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434542:(.text.unlikely+0x15e4c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434532:(.text.unlikely+0x15eac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x15ed2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x15edc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434554:(.text.unlikely+0x15f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434544:(.text.unlikely+0x15f54): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x15f6a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x15f74): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434566:(.text.unlikely+0x15fd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434556:(.text.unlikely+0x15ffa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434556:(.text.unlikely+0x16004): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434580:(.text.unlikely+0x16064): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434568:(.text.unlikely+0x16092): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434568:(.text.unlikely+0x1609c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434592:(.text.unlikely+0x160fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x16122): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x1612c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434606:(.text.unlikely+0x1618c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434618:(.text.unlikely+0x161b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434618:(.text.unlikely+0x161bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434604:(.text.unlikely+0x1621e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434606:(.text.unlikely+0x16248): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434616:(.text.unlikely+0x16266): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434580:(.text.unlikely+0x16280): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1629a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434630:(.text.unlikely+0x162ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434628:(.text.unlikely+0x162f8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x163dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434654:(.text.unlikely+0x163f4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434654:(.text.unlikely+0x1640a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434654:(.text.unlikely+0x16414): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x16474): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434666:(.text.unlikely+0x1649a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434666:(.text.unlikely+0x164a4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x16504): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434678:(.text.unlikely+0x16532): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434678:(.text.unlikely+0x1653c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1659c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0x165c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434690:(.text.unlikely+0x165cc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434678:(.text.unlikely+0x1662c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x16652): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0x1665c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x166bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x166e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x166ec): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434712:(.text.unlikely+0x1674c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x16772): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1677c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434724:(.text.unlikely+0x167dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434714:(.text.unlikely+0x16802): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1680c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1686c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434736:(.text.unlikely+0x16884): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434726:(.text.unlikely+0x1689a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434738:(.text.unlikely+0x168a4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434750:(.text.unlikely+0x16904): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434738:(.text.unlikely+0x1692a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434738:(.text.unlikely+0x16934): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434762:(.text.unlikely+0x16994): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434750:(.text.unlikely+0x169c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434750:(.text.unlikely+0x169cc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434774:(.text.unlikely+0x16a2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434772:(.text.unlikely+0x16a52): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434762:(.text.unlikely+0x16a5c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434786:(.text.unlikely+0x16abc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x16ae2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434784:(.text.unlikely+0x16aec): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434798:(.text.unlikely+0x16b4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434798:(.text.unlikely+0x16b72): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x16b7c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0x16bdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434810:(.text.unlikely+0x16c0a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434808:(.text.unlikely+0x16c14): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0x16c74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434822:(.text.unlikely+0x16c9a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434822:(.text.unlikely+0x16ca4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x16d04): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434834:(.text.unlikely+0x16d1c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434834:(.text.unlikely+0x16d32): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434834:(.text.unlikely+0x16d3c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x16d9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434846:(.text.unlikely+0x16dc2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434846:(.text.unlikely+0x16dcc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x16e2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434856:(.text.unlikely+0x16e52): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434858:(.text.unlikely+0x16e5c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434846:(.text.unlikely+0x16ebc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0x16eea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434870:(.text.unlikely+0x16ef4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434858:(.text.unlikely+0x16f56): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0x16f80): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434882:(.text.unlikely+0x16f9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434882:(.text.unlikely+0x16fb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434880:(.text.unlikely+0x16fd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x16ffe): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x17018): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatOption': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451720:(.text.unlikely+0x17026): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434904:(.text.unlikely+0x1710a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434904:(.text.unlikely+0x17110): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434894:(.text.unlikely+0x1712a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x17134): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x17194): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434916:(.text.unlikely+0x1719a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434916:(.text.unlikely+0x171a6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434906:(.text.unlikely+0x171bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434906:(.text.unlikely+0x171c6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434928:(.text.unlikely+0x17226): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1722c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434918:(.text.unlikely+0x17246): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434918:(.text.unlikely+0x17250): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434942:(.text.unlikely+0x172b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434942:(.text.unlikely+0x172b6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x172d0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x172da): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434956:(.text.unlikely+0x1733a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434956:(.text.unlikely+0x17340): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434968:(.text.unlikely+0x17362): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434968:(.text.unlikely+0x1736c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434942:(.text.unlikely+0x173ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434956:(.text.unlikely+0x173f8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434956:(.text.unlikely+0x17416): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434966:(.text.unlikely+0x17430): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434930:(.text.unlikely+0x1744a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatAssemblyType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451748:(.text.unlikely+0x1747a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434980:(.text.unlikely+0x17494): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434980:(.text.unlikely+0x174a2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434995:(.text.unlikely+0x17586): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434995:(.text.unlikely+0x1758c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:434980:(.text.unlikely+0x175a6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x175b0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435014:(.text.unlikely+0x17610): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435014:(.text.unlikely+0x17616): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435014:(.text.unlikely+0x17622): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435012:(.text.unlikely+0x17638): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435012:(.text.unlikely+0x17642): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435026:(.text.unlikely+0x176a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435026:(.text.unlikely+0x176a8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x176c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x176cc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435040:(.text.unlikely+0x1772c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435040:(.text.unlikely+0x17732): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435052:(.text.unlikely+0x1774c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435052:(.text.unlikely+0x17756): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435026:(.text.unlikely+0x177b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435038:(.text.unlikely+0x177bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435038:(.text.unlikely+0x177de): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x177e8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x17848): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x1784e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451786:(.text.unlikely+0x17868): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435064:(.text.unlikely+0x17872): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435052:(.text.unlikely+0x178d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435052:(.text.unlikely+0x178da): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x178f4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatInfoType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451786:(.text.unlikely+0x178fe): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435074:(.text.unlikely+0x1795e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x17966): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435076:(.text.unlikely+0x17980): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1798a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x179ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x179f2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x17a0c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x17a16): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435114:(.text.unlikely+0x17a78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435114:(.text.unlikely+0x17aa4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435086:(.text.unlikely+0x17ac2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435088:(.text.unlikely+0x17adc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x17af6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435102:(.text.unlikely+0x17b22): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435112:(.text.unlikely+0x17b40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435112:(.text.unlikely+0x17b48): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435076:(.text.unlikely+0x17b68): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x17b86): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatStructure': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451824:(.text.unlikely+0x17b8e): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435126:(.text.unlikely+0x17bae): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x17bcc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435124:(.text.unlikely+0x17bdc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435114:(.text.unlikely+0x17bfc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x17c1a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x17c22): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435138:(.text.unlikely+0x17c42): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435138:(.text.unlikely+0x17c60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x17c68): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x17c88): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x17ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x17cae): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435150:(.text.unlikely+0x17cce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435150:(.text.unlikely+0x17cec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435150:(.text.unlikely+0x17cf4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435148:(.text.unlikely+0x17d14): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435138:(.text.unlikely+0x17d32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435150:(.text.unlikely+0x17d3a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435160:(.text.unlikely+0x17d5a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435163:(.text.unlikely+0x17d78): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435163:(.text.unlikely+0x17d80): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435167:(.text.unlikely+0x17da0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435165:(.text.unlikely+0x17dbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435165:(.text.unlikely+0x17dc6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x17dda): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435150:(.text.unlikely+0x17de6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435168:(.text.unlikely+0x17e0a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x17e28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435167:(.text.unlikely+0x17e38): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x17e5c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435181:(.text.unlikely+0x17e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435181:(.text.unlikely+0x17e82): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435185:(.text.unlikely+0x17ea6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x17ec4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435183:(.text.unlikely+0x17ed4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435168:(.text.unlikely+0x17ef8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435186:(.text.unlikely+0x17f16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435186:(.text.unlikely+0x17f26): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435204:(.text.unlikely+0x18022): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435203:(.text.unlikely+0x18038): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435203:(.text.unlikely+0x18046): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435332:(.text.unlikely+0x18698): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435334:(.text.unlikely+0x186be): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435334:(.text.unlikely+0x186c8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x18724): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435346:(.text.unlikely+0x1874a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435346:(.text.unlikely+0x18754): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x187b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435356:(.text.unlikely+0x187d6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435358:(.text.unlikely+0x187e0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435346:(.text.unlikely+0x1883c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435368:(.text.unlikely+0x1886a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435368:(.text.unlikely+0x18874): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x188d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x188f6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x18900): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1895c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435370:(.text.unlikely+0x18982): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435370:(.text.unlikely+0x1898c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435394:(.text.unlikely+0x189e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435392:(.text.unlikely+0x18a0e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x18a18): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435406:(.text.unlikely+0x18a76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x18aa2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x18ac0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x18ada): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x18af4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435418:(.text.unlikely+0x18b24): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x18b42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435416:(.text.unlikely+0x18b4a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435428:(.text.unlikely+0x18ba0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435430:(.text.unlikely+0x18bb6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435430:(.text.unlikely+0x18bc4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435466:(.text.unlikely+0x18d02): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435468:(.text.unlikely+0x18d30): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435468:(.text.unlikely+0x18d3a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435454:(.text.unlikely+0x18d96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435456:(.text.unlikely+0x18dbc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435466:(.text.unlikely+0x18dc6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x18e22): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435480:(.text.unlikely+0x18e48): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435480:(.text.unlikely+0x18e52): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x18eae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435490:(.text.unlikely+0x18ed4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435490:(.text.unlikely+0x18ede): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435480:(.text.unlikely+0x18f3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x18f60): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x18f6a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435502:(.text.unlikely+0x18fc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435492:(.text.unlikely+0x18fec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x18ff6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435516:(.text.unlikely+0x19052): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435504:(.text.unlikely+0x19078): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435504:(.text.unlikely+0x19082): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435528:(.text.unlikely+0x190de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435526:(.text.unlikely+0x190f6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435526:(.text.unlikely+0x1910a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435526:(.text.unlikely+0x19114): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435540:(.text.unlikely+0x19170): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1919e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435538:(.text.unlikely+0x191a8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435550:(.text.unlikely+0x19204): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435552:(.text.unlikely+0x19228): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435552:(.text.unlikely+0x19232): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1928e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435564:(.text.unlikely+0x192b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435564:(.text.unlikely+0x192bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x19318): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435574:(.text.unlikely+0x1933c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435574:(.text.unlikely+0x19346): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x193a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x193c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x193d0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435586:(.text.unlikely+0x1942c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435576:(.text.unlikely+0x1945a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x19464): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435600:(.text.unlikely+0x194c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435588:(.text.unlikely+0x194e6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435588:(.text.unlikely+0x194f0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435612:(.text.unlikely+0x1954c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435612:(.text.unlikely+0x19564): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435610:(.text.unlikely+0x19578): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435610:(.text.unlikely+0x19582): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435624:(.text.unlikely+0x195de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1960a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435622:(.text.unlikely+0x19614): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435634:(.text.unlikely+0x19670): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435636:(.text.unlikely+0x19694): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435636:(.text.unlikely+0x1969e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x196fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435648:(.text.unlikely+0x1971e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435648:(.text.unlikely+0x19728): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435636:(.text.unlikely+0x19784): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x197a8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435658:(.text.unlikely+0x197b2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435648:(.text.unlikely+0x1980e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x19832): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x1983c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435670:(.text.unlikely+0x19898): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x198be): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435660:(.text.unlikely+0x198c8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435684:(.text.unlikely+0x19924): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435682:(.text.unlikely+0x19948): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435682:(.text.unlikely+0x19952): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435696:(.text.unlikely+0x199ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435696:(.text.unlikely+0x199c6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x199da): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435694:(.text.unlikely+0x199e4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435706:(.text.unlikely+0x19a40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435708:(.text.unlikely+0x19a6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435708:(.text.unlikely+0x19a76): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x19ad2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435718:(.text.unlikely+0x19af6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435720:(.text.unlikely+0x19b00): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x19b5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435734:(.text.unlikely+0x19b80): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435734:(.text.unlikely+0x19b8a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x19be6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435720:(.text.unlikely+0x19c0a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435720:(.text.unlikely+0x19c14): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435744:(.text.unlikely+0x19c72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435708:(.text.unlikely+0x19c96): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x19ca0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x19d00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435746:(.text.unlikely+0x19d24): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435746:(.text.unlikely+0x19d2e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435770:(.text.unlikely+0x19d8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435768:(.text.unlikely+0x19db2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435758:(.text.unlikely+0x19dbc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435782:(.text.unlikely+0x19e1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435782:(.text.unlikely+0x19e34): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435780:(.text.unlikely+0x19e4a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435780:(.text.unlikely+0x19e54): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435794:(.text.unlikely+0x19eb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435792:(.text.unlikely+0x19ee0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435792:(.text.unlikely+0x19eea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435806:(.text.unlikely+0x19f4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435806:(.text.unlikely+0x19f6e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x19f78): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435816:(.text.unlikely+0x19fd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435818:(.text.unlikely+0x19ffc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435818:(.text.unlikely+0x1a006): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435830:(.text.unlikely+0x1a066): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435832:(.text.unlikely+0x1a08a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatSORType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451938:(.text.unlikely+0x1a094): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435818:(.text.unlikely+0x1a0f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1a118): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435830:(.text.unlikely+0x1a122): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435806:(.text.unlikely+0x1a182): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1a1a6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1a1b0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435854:(.text.unlikely+0x1a210): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1a234): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1a23e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1a29e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435856:(.text.unlikely+0x1a2b6): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435856:(.text.unlikely+0x1a2ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1a2d4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1a334): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435868:(.text.unlikely+0x1a360): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435868:(.text.unlikely+0x1a36a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435890:(.text.unlikely+0x1a3ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1a3ee): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435880:(.text.unlikely+0x1a3f8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435904:(.text.unlikely+0x1a458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435902:(.text.unlikely+0x1a47c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435902:(.text.unlikely+0x1a486): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435916:(.text.unlikely+0x1a4e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1a50a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435914:(.text.unlikely+0x1a514): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435928:(.text.unlikely+0x1a574): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435928:(.text.unlikely+0x1a59a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1a5a4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_MatSORType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451938:(.text.unlikely+0x1a604): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435940:(.text.unlikely+0x1a62a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435940:(.text.unlikely+0x1a634): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1a694): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435952:(.text.unlikely+0x1a6ba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435952:(.text.unlikely+0x1a6c4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1a724): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435962:(.text.unlikely+0x1a73c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435962:(.text.unlikely+0x1a752): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435964:(.text.unlikely+0x1a75c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1a7bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435978:(.text.unlikely+0x1a7ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435978:(.text.unlikely+0x1a7f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435991:(.text.unlikely+0x1a856): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435993:(.text.unlikely+0x1a880): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436004:(.text.unlikely+0x1a89e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1a8b8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436015:(.text.unlikely+0x1a8d2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436017:(.text.unlikely+0x1a906): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1a920): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436019:(.text.unlikely+0x1a92e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1aa0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1aa14): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436058:(.text.unlikely+0x1aa2e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436067:(.text.unlikely+0x1aa38): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436080:(.text.unlikely+0x1aa98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436080:(.text.unlikely+0x1aa9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436082:(.text.unlikely+0x1aab8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1aac2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x1ab22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1ab2c): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436097:(.text.unlikely+0x1ab34): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436107:(.text.unlikely+0x1ab56): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436107:(.text.unlikely+0x1ab60): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436120:(.text.unlikely+0x1abc0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436129:(.text.unlikely+0x1abca): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436129:(.text.unlikely+0x1abd2): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436131:(.text.unlikely+0x1abe6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1abfc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x1ac06): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1ac68): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436155:(.text.unlikely+0x1ac72): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436146:(.text.unlikely+0x1ac7a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436157:(.text.unlikely+0x1aca4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436157:(.text.unlikely+0x1acae): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436186:(.text.unlikely+0x1ad12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436204:(.text.unlikely+0x1ad3c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436213:(.text.unlikely+0x1ad5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436222:(.text.unlikely+0x1ad74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436231:(.text.unlikely+0x1ad8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436258:(.text.unlikely+0x1adc2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436260:(.text.unlikely+0x1addc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436260:(.text.unlikely+0x1adea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435965:(.text.unlikely+0x1aed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1aed6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435966:(.text.unlikely+0x1aef0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435991:(.text.unlikely+0x1aefa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1af5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1af60): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436017:(.text.unlikely+0x1af7a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1af84): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435966:(.text.unlikely+0x1afe4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1afea): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436043:(.text.unlikely+0x1b004): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1b00e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:435966:(.text.unlikely+0x1b070): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436069:(.text.unlikely+0x1b092): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436069:(.text.unlikely+0x1b0b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436080:(.text.unlikely+0x1b0ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436082:(.text.unlikely+0x1b0e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436093:(.text.unlikely+0x1b118): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1b124): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436095:(.text.unlikely+0x1b13a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1b148): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436144:(.text.unlikely+0x1b22c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436144:(.text.unlikely+0x1b232): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436155:(.text.unlikely+0x1b24c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436155:(.text.unlikely+0x1b256): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436177:(.text.unlikely+0x1b2b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436177:(.text.unlikely+0x1b2bc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1b2d6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436186:(.text.unlikely+0x1b2e0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436158:(.text.unlikely+0x1b340): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1b346): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436222:(.text.unlikely+0x1b360): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1b36a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436240:(.text.unlikely+0x1b3cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436258:(.text.unlikely+0x1b3f6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436258:(.text.unlikely+0x1b414): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436260:(.text.unlikely+0x1b42e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436270:(.text.unlikely+0x1b448): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1b47c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436282:(.text.unlikely+0x1b496): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436282:(.text.unlikely+0x1b4a4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436294:(.text.unlikely+0x1b588): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436294:(.text.unlikely+0x1b58e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436284:(.text.unlikely+0x1b5a8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1b5b2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1b612): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1b618): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436306:(.text.unlikely+0x1b624): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436296:(.text.unlikely+0x1b63a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436296:(.text.unlikely+0x1b644): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436320:(.text.unlikely+0x1b6a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436320:(.text.unlikely+0x1b6aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436318:(.text.unlikely+0x1b6cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1b6d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436332:(.text.unlikely+0x1b738): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436330:(.text.unlikely+0x1b75c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436320:(.text.unlikely+0x1b77a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1b794): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436342:(.text.unlikely+0x1b7ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436344:(.text.unlikely+0x1b7dc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436342:(.text.unlikely+0x1b7f8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436342:(.text.unlikely+0x1b806): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436344:(.text.unlikely+0x1b824): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1b82a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436354:(.text.unlikely+0x1b846): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436354:(.text.unlikely+0x1b850): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436382:(.text.unlikely+0x1b992): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1b9bc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436393:(.text.unlikely+0x1b9da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436402:(.text.unlikely+0x1b9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436404:(.text.unlikely+0x1ba0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436416:(.text.unlikely+0x1ba62): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436416:(.text.unlikely+0x1ba70): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436414:(.text.unlikely+0x1bb54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436414:(.text.unlikely+0x1bb6c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436356:(.text.unlikely+0x1bb82): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436356:(.text.unlikely+0x1bb8c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436428:(.text.unlikely+0x1bbec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1bc1a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436416:(.text.unlikely+0x1bc24): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436440:(.text.unlikely+0x1bc86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436438:(.text.unlikely+0x1bca8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436428:(.text.unlikely+0x1bcc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1bce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436450:(.text.unlikely+0x1bcfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436452:(.text.unlikely+0x1bd26): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436450:(.text.unlikely+0x1bd40): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436440:(.text.unlikely+0x1bd4e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436474:(.text.unlikely+0x1be32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436474:(.text.unlikely+0x1be38): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436476:(.text.unlikely+0x1be52): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436476:(.text.unlikely+0x1be5c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1bebc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436486:(.text.unlikely+0x1bec2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436488:(.text.unlikely+0x1bedc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436488:(.text.unlikely+0x1bee6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1bf46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x1bf4c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436498:(.text.unlikely+0x1bf66): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436498:(.text.unlikely+0x1bf70): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436488:(.text.unlikely+0x1bfd0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436488:(.text.unlikely+0x1bfd6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1bfe2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1bff8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436510:(.text.unlikely+0x1c002): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1c064): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1c08e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436522:(.text.unlikely+0x1c0ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436524:(.text.unlikely+0x1c0c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436524:(.text.unlikely+0x1c0e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436512:(.text.unlikely+0x1c11c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1c136): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436534:(.text.unlikely+0x1c144): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436546:(.text.unlikely+0x1c228): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436546:(.text.unlikely+0x1c22e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436536:(.text.unlikely+0x1c248): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436536:(.text.unlikely+0x1c252): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436560:(.text.unlikely+0x1c2b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1c2b8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436548:(.text.unlikely+0x1c2d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436548:(.text.unlikely+0x1c2dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436572:(.text.unlikely+0x1c33c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436572:(.text.unlikely+0x1c342): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436570:(.text.unlikely+0x1c35c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436570:(.text.unlikely+0x1c366): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436584:(.text.unlikely+0x1c3c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436584:(.text.unlikely+0x1c3cc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436584:(.text.unlikely+0x1c3e6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436584:(.text.unlikely+0x1c3f0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436594:(.text.unlikely+0x1c452): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436596:(.text.unlikely+0x1c474): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1c492): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436584:(.text.unlikely+0x1c4ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436584:(.text.unlikely+0x1c4c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436606:(.text.unlikely+0x1c4fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436608:(.text.unlikely+0x1c506): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436608:(.text.unlikely+0x1c51c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436608:(.text.unlikely+0x1c52a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1c60e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1c614): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436630:(.text.unlikely+0x1c636): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436632:(.text.unlikely+0x1c640): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436620:(.text.unlikely+0x1c6a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436632:(.text.unlikely+0x1c6a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1c6c0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436642:(.text.unlikely+0x1c6ca): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1c72a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436632:(.text.unlikely+0x1c730): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1c752): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1c75c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436644:(.text.unlikely+0x1c7be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1c7e0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436666:(.text.unlikely+0x1c7fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436668:(.text.unlikely+0x1c818): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436668:(.text.unlikely+0x1c832): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1c85e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1c878): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1c886): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436692:(.text.unlikely+0x1c96a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436690:(.text.unlikely+0x1c970): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436690:(.text.unlikely+0x1c98a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1c994): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436704:(.text.unlikely+0x1c9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436704:(.text.unlikely+0x1c9fa): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436704:(.text.unlikely+0x1ca06): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1ca1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436702:(.text.unlikely+0x1ca26): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436716:(.text.unlikely+0x1ca86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436716:(.text.unlikely+0x1ca8c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436716:(.text.unlikely+0x1caae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1cab8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436726:(.text.unlikely+0x1cb18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436726:(.text.unlikely+0x1cb1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436728:(.text.unlikely+0x1cb38): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436728:(.text.unlikely+0x1cb42): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1cba4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436740:(.text.unlikely+0x1cbce): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1cbec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436728:(.text.unlikely+0x1cc06): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436728:(.text.unlikely+0x1cc20): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436750:(.text.unlikely+0x1cc54): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436752:(.text.unlikely+0x1cc6e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436752:(.text.unlikely+0x1cc7c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1cd60): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1cd66): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436774:(.text.unlikely+0x1cd80): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436774:(.text.unlikely+0x1cd8a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436764:(.text.unlikely+0x1cdea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436764:(.text.unlikely+0x1cdf0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1ce0a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1ce14): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436786:(.text.unlikely+0x1ce76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436788:(.text.unlikely+0x1ce98): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1ceb6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436800:(.text.unlikely+0x1ced0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436800:(.text.unlikely+0x1ceea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436798:(.text.unlikely+0x1cf1e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1cf2a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436800:(.text.unlikely+0x1cf40): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1cf4e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436824:(.text.unlikely+0x1d032): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436824:(.text.unlikely+0x1d038): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436822:(.text.unlikely+0x1d052): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436822:(.text.unlikely+0x1d05c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436836:(.text.unlikely+0x1d0bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436836:(.text.unlikely+0x1d0c2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436836:(.text.unlikely+0x1d0dc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436834:(.text.unlikely+0x1d0e6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436846:(.text.unlikely+0x1d146): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436846:(.text.unlikely+0x1d14c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436848:(.text.unlikely+0x1d166): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436848:(.text.unlikely+0x1d170): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1d1d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1d1d6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436858:(.text.unlikely+0x1d1f0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436860:(.text.unlikely+0x1d1fa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436848:(.text.unlikely+0x1d25a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1d260): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1d27a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436870:(.text.unlikely+0x1d284): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1d2e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436860:(.text.unlikely+0x1d2ea): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1d304): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x1d30e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436882:(.text.unlikely+0x1d36e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436882:(.text.unlikely+0x1d374): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436872:(.text.unlikely+0x1d396): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1d3a0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436896:(.text.unlikely+0x1d400): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1d406): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436894:(.text.unlikely+0x1d412): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1d428): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436884:(.text.unlikely+0x1d432): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436908:(.text.unlikely+0x1d494): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436906:(.text.unlikely+0x1d4be): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436896:(.text.unlikely+0x1d4dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1d4f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436918:(.text.unlikely+0x1d510): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436920:(.text.unlikely+0x1d540): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436918:(.text.unlikely+0x1d55a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436908:(.text.unlikely+0x1d568): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436942:(.text.unlikely+0x1d64c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436942:(.text.unlikely+0x1d652): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436944:(.text.unlikely+0x1d66c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436944:(.text.unlikely+0x1d676): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1d6d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1d6dc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436956:(.text.unlikely+0x1d6f6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436956:(.text.unlikely+0x1d700): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436956:(.text.unlikely+0x1d760): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1d766): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436966:(.text.unlikely+0x1d780): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436966:(.text.unlikely+0x1d78a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1d7ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436956:(.text.unlikely+0x1d7f0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1d812): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1d81c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436978:(.text.unlikely+0x1d87c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436968:(.text.unlikely+0x1d882): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436968:(.text.unlikely+0x1d88e): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1d8a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1d8ae): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1d90e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1d914): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1d92e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436980:(.text.unlikely+0x1d938): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437004:(.text.unlikely+0x1d99a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437002:(.text.unlikely+0x1d9c6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:436992:(.text.unlikely+0x1d9e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1d9fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437014:(.text.unlikely+0x1da18): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437016:(.text.unlikely+0x1da44): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1da62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x1da6a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x1da8a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437028:(.text.unlikely+0x1daa8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437028:(.text.unlikely+0x1dab0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437030:(.text.unlikely+0x1dad0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437042:(.text.unlikely+0x1daee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437042:(.text.unlikely+0x1daf6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437042:(.text.unlikely+0x1db16): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437014:(.text.unlikely+0x1db34): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1db3c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1db5c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1db7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437030:(.text.unlikely+0x1db8a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437040:(.text.unlikely+0x1dbaa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437004:(.text.unlikely+0x1dbc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437004:(.text.unlikely+0x1dbd0): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1dbf0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437054:(.text.unlikely+0x1dc0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437054:(.text.unlikely+0x1dc16): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1dc36): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437042:(.text.unlikely+0x1dc54): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437042:(.text.unlikely+0x1dc5c): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1dc7c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCSide': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:451986:(.text.unlikely+0x1dc9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437066:(.text.unlikely+0x1dca2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437066:(.text.unlikely+0x1dcc2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437064:(.text.unlikely+0x1dce0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437064:(.text.unlikely+0x1dce8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437054:(.text.unlikely+0x1dd08): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1dd26): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437076:(.text.unlikely+0x1dd36): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437083:(.text.unlikely+0x1dd56): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437083:(.text.unlikely+0x1dd74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437083:(.text.unlikely+0x1dd7c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437081:(.text.unlikely+0x1dd9c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437066:(.text.unlikely+0x1ddba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1ddc2): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437093:(.text.unlikely+0x1dde2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437096:(.text.unlikely+0x1de00): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437100:(.text.unlikely+0x1de10): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1df4a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1df60): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437127:(.text.unlikely+0x1df6e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1e5e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437241:(.text.unlikely+0x1e608): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437241:(.text.unlikely+0x1e612): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437265:(.text.unlikely+0x1e66e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437253:(.text.unlikely+0x1e694): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437253:(.text.unlikely+0x1e69e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437277:(.text.unlikely+0x1e6fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1e720): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1e72a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437291:(.text.unlikely+0x1e786): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437303:(.text.unlikely+0x1e7ac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437303:(.text.unlikely+0x1e7b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437277:(.text.unlikely+0x1e812): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437289:(.text.unlikely+0x1e838): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437278:(.text.unlikely+0x1e842): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1e89e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437315:(.text.unlikely+0x1e8cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437315:(.text.unlikely+0x1e8d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437303:(.text.unlikely+0x1e932): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCMGType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452090:(.text.unlikely+0x1e958): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437325:(.text.unlikely+0x1e962): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x1e9be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437315:(.text.unlikely+0x1e9d6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1e9ec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1e9f6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437337:(.text.unlikely+0x1ea52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437327:(.text.unlikely+0x1ea78): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1ea82): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x1eade): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1eb04): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x1eb0e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437377:(.text.unlikely+0x1eb6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437377:(.text.unlikely+0x1eb90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1eb9a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1ebf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437351:(.text.unlikely+0x1ec1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437351:(.text.unlikely+0x1ec26): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437375:(.text.unlikely+0x1ec82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437377:(.text.unlikely+0x1eca8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437377:(.text.unlikely+0x1ecb2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437339:(.text.unlikely+0x1ed0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437399:(.text.unlikely+0x1ed3c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437399:(.text.unlikely+0x1ed46): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1eda2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437413:(.text.unlikely+0x1edc8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437413:(.text.unlikely+0x1edd2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437427:(.text.unlikely+0x1ee2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1ee46): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437399:(.text.unlikely+0x1ee5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1ee66): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437425:(.text.unlikely+0x1eec2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1eee8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437389:(.text.unlikely+0x1eef2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437439:(.text.unlikely+0x1ef4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1ef74): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437437:(.text.unlikely+0x1ef7e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437449:(.text.unlikely+0x1efda): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437451:(.text.unlikely+0x1f000): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437451:(.text.unlikely+0x1f00a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1f066): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437463:(.text.unlikely+0x1f08c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437463:(.text.unlikely+0x1f096): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1f0f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437477:(.text.unlikely+0x1f118): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437477:(.text.unlikely+0x1f122): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437461:(.text.unlikely+0x1f17e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1f1ac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437475:(.text.unlikely+0x1f1b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1f212): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1f238): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1f242): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437499:(.text.unlikely+0x1f29e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437489:(.text.unlikely+0x1f2b6): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1f2cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x1f2d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437511:(.text.unlikely+0x1f332): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437501:(.text.unlikely+0x1f358): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1f362): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x1f3be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437513:(.text.unlikely+0x1f3e4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437513:(.text.unlikely+0x1f3ee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437537:(.text.unlikely+0x1f44a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437535:(.text.unlikely+0x1f470): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437535:(.text.unlikely+0x1f47a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437547:(.text.unlikely+0x1f4d6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1f4fc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1f506): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437563:(.text.unlikely+0x1f564): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452204:(.text.unlikely+0x1f58a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452204:(.text.unlikely+0x1f594): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437549:(.text.unlikely+0x1f5f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437561:(.text.unlikely+0x1f622): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437563:(.text.unlikely+0x1f62c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437575:(.text.unlikely+0x1f68c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452204:(.text.unlikely+0x1f6b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437587:(.text.unlikely+0x1f6bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437575:(.text.unlikely+0x1f71c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1f734): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452204:(.text.unlikely+0x1f74a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437599:(.text.unlikely+0x1f754): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437587:(.text.unlikely+0x1f7b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1f7da): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurPreType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452204:(.text.unlikely+0x1f7e4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1f844): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1f86a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1f874): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437621:(.text.unlikely+0x1f8d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1f8fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1f904): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x1f964): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1f98a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1f994): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437661:(.text.unlikely+0x1f9f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437661:(.text.unlikely+0x1fa1a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1fa24): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437636:(.text.unlikely+0x1fa84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437659:(.text.unlikely+0x1fab2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437659:(.text.unlikely+0x1fabc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437673:(.text.unlikely+0x1fb1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437671:(.text.unlikely+0x1fb42): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x1fb4c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437683:(.text.unlikely+0x1fbac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437685:(.text.unlikely+0x1fbc4): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437685:(.text.unlikely+0x1fbda): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x1fbe4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFieldSplitSchurFactType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452242:(.text.unlikely+0x1fc44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437697:(.text.unlikely+0x1fc6a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437697:(.text.unlikely+0x1fc74): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1fcd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437709:(.text.unlikely+0x1fcfa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437709:(.text.unlikely+0x1fd04): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x1fd64): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437723:(.text.unlikely+0x1fd8a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCPatchConstructType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452280:(.text.unlikely+0x1fd94): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437709:(.text.unlikely+0x1fdf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437710:(.text.unlikely+0x1fe1a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437721:(.text.unlikely+0x1fe24): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437697:(.text.unlikely+0x1fe84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1feaa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1feb4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437735:(.text.unlikely+0x1ff14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x1ff42): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x1ff4c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437757:(.text.unlikely+0x1ffac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437759:(.text.unlikely+0x1ffd2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x1ffdc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2003e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437759:(.text.unlikely+0x20068): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x20086): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437781:(.text.unlikely+0x200a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437783:(.text.unlikely+0x200ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437781:(.text.unlikely+0x200ee): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437771:(.text.unlikely+0x200fa): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437783:(.text.unlikely+0x20110): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2011e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCHPDDMCoarseCorrectionType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452318:(.text.unlikely+0x201fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437821:(.text.unlikely+0x20204): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437821:(.text.unlikely+0x2021e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437821:(.text.unlikely+0x20228): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437807:(.text.unlikely+0x20288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437807:(.text.unlikely+0x2028e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437809:(.text.unlikely+0x202a8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437809:(.text.unlikely+0x202b2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x20312): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCHPDDMCoarseCorrectionType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452318:(.text.unlikely+0x20318): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437833:(.text.unlikely+0x20332): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437833:(.text.unlikely+0x2033c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2039c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x203a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437845:(.text.unlikely+0x203c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437845:(.text.unlikely+0x203ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437845:(.text.unlikely+0x2042e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x20438): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x20440): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437855:(.text.unlikely+0x20462): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437857:(.text.unlikely+0x2046c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x204cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437869:(.text.unlikely+0x204d6): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437869:(.text.unlikely+0x204de): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437871:(.text.unlikely+0x20500): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437871:(.text.unlikely+0x2050a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437855:(.text.unlikely+0x20568): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437855:(.text.unlikely+0x20572): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437869:(.text.unlikely+0x205b2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437858:(.text.unlikely+0x205bc): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437871:(.text.unlikely+0x205c4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437881:(.text.unlikely+0x205e6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437881:(.text.unlikely+0x205f0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437895:(.text.unlikely+0x20650): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437895:(.text.unlikely+0x2065a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437895:(.text.unlikely+0x20662): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x20676): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437893:(.text.unlikely+0x2068c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x20696): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437907:(.text.unlikely+0x206f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437907:(.text.unlikely+0x20702): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437907:(.text.unlikely+0x2070a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437895:(.text.unlikely+0x2072c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437895:(.text.unlikely+0x20736): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437919:(.text.unlikely+0x2079a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437917:(.text.unlikely+0x207c4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437907:(.text.unlikely+0x207e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x207fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437931:(.text.unlikely+0x20816): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437929:(.text.unlikely+0x2084e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x20868): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437919:(.text.unlikely+0x20876): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437955:(.text.unlikely+0x2095c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437955:(.text.unlikely+0x20962): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2097c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437953:(.text.unlikely+0x20986): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437967:(.text.unlikely+0x209e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437967:(.text.unlikely+0x209ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437967:(.text.unlikely+0x20a06): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437967:(.text.unlikely+0x20a10): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x20a70): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCDeflationSpaceType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452356:(.text.unlikely+0x20a76): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437979:(.text.unlikely+0x20a90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437979:(.text.unlikely+0x20a9a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x20afa): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x20b00): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x20b0c): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437989:(.text.unlikely+0x20b22): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437989:(.text.unlikely+0x20b2c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x20b8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x20b92): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438003:(.text.unlikely+0x20bac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438003:(.text.unlikely+0x20bb6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438017:(.text.unlikely+0x20c16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437989:(.text.unlikely+0x20c1c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437989:(.text.unlikely+0x20c36): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x20c40): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438015:(.text.unlikely+0x20ca0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x20ca6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437979:(.text.unlikely+0x20cc8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:437979:(.text.unlikely+0x20cd2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438029:(.text.unlikely+0x20d32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438027:(.text.unlikely+0x20d38): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438027:(.text.unlikely+0x20d52): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x20d5c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438041:(.text.unlikely+0x20dbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438041:(.text.unlikely+0x20dc2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x20ddc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438039:(.text.unlikely+0x20de6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438053:(.text.unlikely+0x20e46): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438053:(.text.unlikely+0x20e4c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438053:(.text.unlikely+0x20e66): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x20e70): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452404:(.text.unlikely+0x20ed0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438063:(.text.unlikely+0x20ed6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438065:(.text.unlikely+0x20ef0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438065:(.text.unlikely+0x20efa): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x20f5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x20f60): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452404:(.text.unlikely+0x20f6c): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438077:(.text.unlikely+0x20f82): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438077:(.text.unlikely+0x20f8c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438065:(.text.unlikely+0x20fec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x20ff2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2100c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_PCFailedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452404:(.text.unlikely+0x21016): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438077:(.text.unlikely+0x21076): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438077:(.text.unlikely+0x2107c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x21096): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x210a0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x21100): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x21106): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x21128): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x21132): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438117:(.text.unlikely+0x21192): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438117:(.text.unlikely+0x21198): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438128:(.text.unlikely+0x211b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438128:(.text.unlikely+0x211bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438141:(.text.unlikely+0x2121c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x21222): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2123c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438143:(.text.unlikely+0x21246): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438165:(.text.unlikely+0x212a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438165:(.text.unlikely+0x212ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438167:(.text.unlikely+0x212c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x212d0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x21330): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x21336): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438182:(.text.unlikely+0x21350): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438191:(.text.unlikely+0x2135a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438206:(.text.unlikely+0x213bc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x213e8): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438217:(.text.unlikely+0x21406): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438219:(.text.unlikely+0x21420): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2143a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438232:(.text.unlikely+0x2146a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x21488): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x21490): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438243:(.text.unlikely+0x214b0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438245:(.text.unlikely+0x214ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438245:(.text.unlikely+0x214d6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438247:(.text.unlikely+0x214f6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438256:(.text.unlikely+0x21514): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438258:(.text.unlikely+0x21524): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x21548): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438269:(.text.unlikely+0x21566): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438269:(.text.unlikely+0x2156e): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x215e8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x215fe): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438286:(.text.unlikely+0x2160c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438102:(.text.unlikely+0x2186e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x21894): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438139:(.text.unlikely+0x2189e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438102:(.text.unlikely+0x218fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x21920): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438165:(.text.unlikely+0x2192a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438102:(.text.unlikely+0x21986): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x219ac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438191:(.text.unlikely+0x219b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438102:(.text.unlikely+0x21a12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x21a38): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438217:(.text.unlikely+0x21a42): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438102:(.text.unlikely+0x21a9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x21ac4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438243:(.text.unlikely+0x21ace): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x21b2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438269:(.text.unlikely+0x21b58): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438271:(.text.unlikely+0x21b62): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438284:(.text.unlikely+0x21bbe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438304:(.text.unlikely+0x21be4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x21bee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438322:(.text.unlikely+0x21c4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438331:(.text.unlikely+0x21c62): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438103:(.text.unlikely+0x21c78): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x21c82): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438358:(.text.unlikely+0x21cde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438376:(.text.unlikely+0x21d04): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x21d0e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438394:(.text.unlikely+0x21d6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438403:(.text.unlikely+0x21d90): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x21d9a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438089:(.text.unlikely+0x21df6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x21e1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x21e26): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438436:(.text.unlikely+0x21e82): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438426:(.text.unlikely+0x21ea8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x21eb2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438450:(.text.unlikely+0x21f0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x21f34): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438438:(.text.unlikely+0x21f3e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438462:(.text.unlikely+0x21f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438460:(.text.unlikely+0x21fc8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x21fd2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438474:(.text.unlikely+0x2202e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438472:(.text.unlikely+0x22054): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438472:(.text.unlikely+0x2205e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438486:(.text.unlikely+0x220ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438486:(.text.unlikely+0x220d2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x220e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438484:(.text.unlikely+0x220f2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438496:(.text.unlikely+0x2214e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438498:(.text.unlikely+0x22174): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438498:(.text.unlikely+0x2217e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x221da): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438510:(.text.unlikely+0x22200): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438510:(.text.unlikely+0x2220a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x22266): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438520:(.text.unlikely+0x2228a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438522:(.text.unlikely+0x22294): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438510:(.text.unlikely+0x222f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2231c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438534:(.text.unlikely+0x2233a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438534:(.text.unlikely+0x22354): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2236e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x223a2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x223bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438544:(.text.unlikely+0x223ca): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x224a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438556:(.text.unlikely+0x224a8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438546:(.text.unlikely+0x224ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438546:(.text.unlikely+0x224d4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438570:(.text.unlikely+0x22530): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438570:(.text.unlikely+0x22536): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x22542): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438558:(.text.unlikely+0x22558): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438558:(.text.unlikely+0x22562): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438582:(.text.unlikely+0x225be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438582:(.text.unlikely+0x225c4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x225de): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438580:(.text.unlikely+0x225e8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438594:(.text.unlikely+0x22644): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438594:(.text.unlikely+0x2264a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438594:(.text.unlikely+0x22664): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438594:(.text.unlikely+0x2266e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x226ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x226d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438606:(.text.unlikely+0x226ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438606:(.text.unlikely+0x226f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x22752): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2275c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x22764): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438618:(.text.unlikely+0x22786): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438618:(.text.unlikely+0x22790): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438606:(.text.unlikely+0x227f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x227fa): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x22802): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438628:(.text.unlikely+0x22824): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438630:(.text.unlikely+0x2282e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x22890): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2289a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x228a2): undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438642:(.text.unlikely+0x228c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438642:(.text.unlikely+0x228ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x22930): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x22942): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438652:(.text.unlikely+0x2294a): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438654:(.text.unlikely+0x2296c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438654:(.text.unlikely+0x22976): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x229d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x229e2): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438664:(.text.unlikely+0x229ea): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438666:(.text.unlikely+0x229fe): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438666:(.text.unlikely+0x22a14): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438666:(.text.unlikely+0x22a1e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x22a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438676:(.text.unlikely+0x22a8a): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438676:(.text.unlikely+0x22a92): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438678:(.text.unlikely+0x22ab4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438678:(.text.unlikely+0x22abe): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438688:(.text.unlikely+0x22b22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438690:(.text.unlikely+0x22b4c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438688:(.text.unlikely+0x22b6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438688:(.text.unlikely+0x22b84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438678:(.text.unlikely+0x22b9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438700:(.text.unlikely+0x22bce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438702:(.text.unlikely+0x22be8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438702:(.text.unlikely+0x22bf6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438702:(.text.unlikely+0x22cd8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438702:(.text.unlikely+0x22cde): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x22cf8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438724:(.text.unlikely+0x22d02): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438714:(.text.unlikely+0x22d62): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x22d68): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x22d82): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x22d8c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438736:(.text.unlikely+0x22dec): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438736:(.text.unlikely+0x22df2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438726:(.text.unlikely+0x22e14): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x22e1e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438748:(.text.unlikely+0x22e7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x22e84): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438748:(.text.unlikely+0x22e90): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438738:(.text.unlikely+0x22ea6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438738:(.text.unlikely+0x22eb0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438762:(.text.unlikely+0x22f10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438762:(.text.unlikely+0x22f16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438760:(.text.unlikely+0x22f30): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438750:(.text.unlikely+0x22f3a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438774:(.text.unlikely+0x22f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438774:(.text.unlikely+0x22fa0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x22fba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438772:(.text.unlikely+0x22fc4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438784:(.text.unlikely+0x23024): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438786:(.text.unlikely+0x2302a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438786:(.text.unlikely+0x23044): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438786:(.text.unlikely+0x2304e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x230ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x230b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438796:(.text.unlikely+0x230ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438798:(.text.unlikely+0x230d8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438786:(.text.unlikely+0x23138): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2313e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x23158): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438808:(.text.unlikely+0x23162): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438808:(.text.unlikely+0x231c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438798:(.text.unlikely+0x231c8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438798:(.text.unlikely+0x231e2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x231ec): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2324c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438820:(.text.unlikely+0x23252): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438810:(.text.unlikely+0x23274): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438810:(.text.unlikely+0x2327e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438834:(.text.unlikely+0x232de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438834:(.text.unlikely+0x232e4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x232f0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438822:(.text.unlikely+0x23306): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438822:(.text.unlikely+0x23310): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438846:(.text.unlikely+0x23370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438846:(.text.unlikely+0x23376): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x23390): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438844:(.text.unlikely+0x2339a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438858:(.text.unlikely+0x233fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438858:(.text.unlikely+0x23400): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438858:(.text.unlikely+0x2341a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438858:(.text.unlikely+0x23424): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438868:(.text.unlikely+0x23484): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438868:(.text.unlikely+0x2348a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438870:(.text.unlikely+0x234a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438870:(.text.unlikely+0x234ae): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2350e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x23514): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438880:(.text.unlikely+0x2352e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438882:(.text.unlikely+0x23538): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438870:(.text.unlikely+0x2359a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x235c6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438894:(.text.unlikely+0x235e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438894:(.text.unlikely+0x235fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x23618): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438882:(.text.unlikely+0x23648): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x23666): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438904:(.text.unlikely+0x23676): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438906:(.text.unlikely+0x23696): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438906:(.text.unlikely+0x236b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x236bc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x236dc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x236fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x23702): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438916:(.text.unlikely+0x23726): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438918:(.text.unlikely+0x23744): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438918:(.text.unlikely+0x2374c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438916:(.text.unlikely+0x23770): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438906:(.text.unlikely+0x2378e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x23796): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438928:(.text.unlikely+0x237ba): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438930:(.text.unlikely+0x237d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438930:(.text.unlikely+0x237e0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438928:(.text.unlikely+0x23804): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438918:(.text.unlikely+0x23822): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438918:(.text.unlikely+0x2382a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2384e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438942:(.text.unlikely+0x2386c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438942:(.text.unlikely+0x23874): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438940:(.text.unlikely+0x23898): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438930:(.text.unlikely+0x238b6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x238be): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x238e2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438952:(.text.unlikely+0x23900): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438954:(.text.unlikely+0x23908): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438954:(.text.unlikely+0x2392c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438952:(.text.unlikely+0x2394a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2395a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2397e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438964:(.text.unlikely+0x2399c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438966:(.text.unlikely+0x239b4): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x23a32): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438978:(.text.unlikely+0x23a48): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:438978:(.text.unlikely+0x23a56): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439062:(.text.unlikely+0x23ee8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439052:(.text.unlikely+0x23f0e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439064:(.text.unlikely+0x23f18): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439076:(.text.unlikely+0x23f74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439074:(.text.unlikely+0x23f9a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x23fa4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439089:(.text.unlikely+0x24000): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439093:(.text.unlikely+0x24026): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439093:(.text.unlikely+0x24030): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2408c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439106:(.text.unlikely+0x240b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439110:(.text.unlikely+0x240bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439093:(.text.unlikely+0x24118): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439111:(.text.unlikely+0x2413e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439111:(.text.unlikely+0x24148): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439121:(.text.unlikely+0x241a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439128:(.text.unlikely+0x241d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439128:(.text.unlikely+0x241dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x24238): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439140:(.text.unlikely+0x2425e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439141:(.text.unlikely+0x24268): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439143:(.text.unlikely+0x242c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439128:(.text.unlikely+0x242dc): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x242f2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x242fc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439162:(.text.unlikely+0x24358): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439160:(.text.unlikely+0x2437e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439145:(.text.unlikely+0x24388): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439172:(.text.unlikely+0x243e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2440a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x24414): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439188:(.text.unlikely+0x24470): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x24496): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439200:(.text.unlikely+0x244a0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439174:(.text.unlikely+0x244fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439186:(.text.unlikely+0x24522): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439186:(.text.unlikely+0x2452c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439162:(.text.unlikely+0x24588): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x245ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x245b8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x24614): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x24642): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2464c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439222:(.text.unlikely+0x246a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x246ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x246d8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439234:(.text.unlikely+0x24734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2474c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439236:(.text.unlikely+0x24762): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2476c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439246:(.text.unlikely+0x247c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x247ee): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439236:(.text.unlikely+0x247f8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439260:(.text.unlikely+0x24854): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439258:(.text.unlikely+0x2487a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x24884): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439272:(.text.unlikely+0x248e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439270:(.text.unlikely+0x24906): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439270:(.text.unlikely+0x24910): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439284:(.text.unlikely+0x2496c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439284:(.text.unlikely+0x2499a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x249a4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x24a00): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439296:(.text.unlikely+0x24a26): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439296:(.text.unlikely+0x24a30): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x24a8c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x24a9e): undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439308:(.text.unlikely+0x24aa6): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439306:(.text.unlikely+0x24ad0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x24ada): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x24b36): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439320:(.text.unlikely+0x24b40): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439320:(.text.unlikely+0x24b48): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439318:(.text.unlikely+0x24b6a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x24b74): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x24bd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439332:(.text.unlikely+0x24bdc): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439332:(.text.unlikely+0x24be4): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439332:(.text.unlikely+0x24bf8): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x24c0e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439330:(.text.unlikely+0x24c18): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439344:(.text.unlikely+0x24c76): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439344:(.text.unlikely+0x24c80): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439344:(.text.unlikely+0x24c88): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x24caa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439342:(.text.unlikely+0x24cb4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439356:(.text.unlikely+0x24d12): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439356:(.text.unlikely+0x24d1c): undefined reference to `PyObject_GetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439356:(.text.unlikely+0x24d24): undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x24d46): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439354:(.text.unlikely+0x24d50): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439368:(.text.unlikely+0x24db2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439366:(.text.unlikely+0x24ddc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439356:(.text.unlikely+0x24dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439356:(.text.unlikely+0x24e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x24e2e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x24e86): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439378:(.text.unlikely+0x24e94): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x24f76): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439404:(.text.unlikely+0x24f9c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439404:(.text.unlikely+0x24fa6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x25006): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439416:(.text.unlikely+0x2502c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439416:(.text.unlikely+0x25036): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x25096): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_KSPConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452480:(.text.unlikely+0x250ae): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439428:(.text.unlikely+0x250c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439428:(.text.unlikely+0x250ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2512e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439438:(.text.unlikely+0x25154): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439438:(.text.unlikely+0x2515e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x251be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439452:(.text.unlikely+0x251e4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439454:(.text.unlikely+0x251ee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439467:(.text.unlikely+0x2524e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x25274): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2527e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439482:(.text.unlikely+0x252de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439493:(.text.unlikely+0x2530c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439493:(.text.unlikely+0x25316): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439522:(.text.unlikely+0x25376): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439531:(.text.unlikely+0x2539c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439533:(.text.unlikely+0x253a6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439545:(.text.unlikely+0x25406): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439438:(.text.unlikely+0x2542c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x25436): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439442:(.text.unlikely+0x25496): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439441:(.text.unlikely+0x254bc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439467:(.text.unlikely+0x254c6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439441:(.text.unlikely+0x25526): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439491:(.text.unlikely+0x2553e): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439493:(.text.unlikely+0x25554): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439493:(.text.unlikely+0x2555e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439522:(.text.unlikely+0x255c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439531:(.text.unlikely+0x255ea): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439533:(.text.unlikely+0x25608): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439543:(.text.unlikely+0x25622): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439428:(.text.unlikely+0x2563c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439557:(.text.unlikely+0x2568c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439557:(.text.unlikely+0x2569a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439557:(.text.unlikely+0x2577e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439579:(.text.unlikely+0x257ac): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439579:(.text.unlikely+0x257b6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439569:(.text.unlikely+0x25816): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2583c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439591:(.text.unlikely+0x25846): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x258a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x258cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x258d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439603:(.text.unlikely+0x25936): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2595c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x25966): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439615:(.text.unlikely+0x259c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439615:(.text.unlikely+0x259de): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439605:(.text.unlikely+0x259f4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439617:(.text.unlikely+0x259fe): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439629:(.text.unlikely+0x25a5e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x25a84): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439617:(.text.unlikely+0x25a8e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439641:(.text.unlikely+0x25aee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439639:(.text.unlikely+0x25b14): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439639:(.text.unlikely+0x25b1e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439653:(.text.unlikely+0x25b7e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x25ba4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439651:(.text.unlikely+0x25bae): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439665:(.text.unlikely+0x25c0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439663:(.text.unlikely+0x25c3c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x25c46): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439675:(.text.unlikely+0x25ca6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439677:(.text.unlikely+0x25ccc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439677:(.text.unlikely+0x25cd6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439687:(.text.unlikely+0x25d36): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439689:(.text.unlikely+0x25d5c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439689:(.text.unlikely+0x25d66): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x25dc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439701:(.text.unlikely+0x25dec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439701:(.text.unlikely+0x25df6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x25e58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439713:(.text.unlikely+0x25e82): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439713:(.text.unlikely+0x25ea0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x25eba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439701:(.text.unlikely+0x25ed4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x25f08): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439723:(.text.unlikely+0x25f14): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439725:(.text.unlikely+0x25f2a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439725:(.text.unlikely+0x25f38): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439725:(.text.unlikely+0x2601c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439725:(.text.unlikely+0x26022): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2603c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x26046): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439747:(.text.unlikely+0x260a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439749:(.text.unlikely+0x260ca): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x260e8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439761:(.text.unlikely+0x26102): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439761:(.text.unlikely+0x2611c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x26150): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2616a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x26178): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x2625c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x26262): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x2627c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x26286): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439799:(.text.unlikely+0x262e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452518:(.text.unlikely+0x262ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439811:(.text.unlikely+0x26306): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439811:(.text.unlikely+0x26310): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x26370): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439797:(.text.unlikely+0x26378): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439799:(.text.unlikely+0x26392): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439799:(.text.unlikely+0x2639c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x263fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452518:(.text.unlikely+0x26404): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439823:(.text.unlikely+0x26410): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439823:(.text.unlikely+0x26426): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439823:(.text.unlikely+0x26430): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x26490): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x26498): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439835:(.text.unlikely+0x264b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439835:(.text.unlikely+0x264bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2651c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x26524): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452518:(.text.unlikely+0x2653e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439847:(.text.unlikely+0x26548): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439835:(.text.unlikely+0x265a8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439847:(.text.unlikely+0x265b0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452518:(.text.unlikely+0x265d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439857:(.text.unlikely+0x265dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439847:(.text.unlikely+0x2663c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439847:(.text.unlikely+0x26644): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2665e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESNormSchedule': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452518:(.text.unlikely+0x26668): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x266c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439859:(.text.unlikely+0x266d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x266ea): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x266f4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439888:(.text.unlikely+0x26754): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2675c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439871:(.text.unlikely+0x26776): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439871:(.text.unlikely+0x26780): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439905:(.text.unlikely+0x267e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439905:(.text.unlikely+0x267e8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439905:(.text.unlikely+0x26802): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439903:(.text.unlikely+0x2680c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439915:(.text.unlikely+0x2686c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439915:(.text.unlikely+0x26874): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439917:(.text.unlikely+0x26880): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439922:(.text.unlikely+0x26896): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439922:(.text.unlikely+0x268a0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439905:(.text.unlikely+0x26902): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439932:(.text.unlikely+0x2692c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439935:(.text.unlikely+0x2694a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439939:(.text.unlikely+0x26964): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439939:(.text.unlikely+0x2697e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439922:(.text.unlikely+0x269b2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x269cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x269da): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439969:(.text.unlikely+0x26abe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439969:(.text.unlikely+0x26ac4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439973:(.text.unlikely+0x26ae6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439973:(.text.unlikely+0x26af0): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x26b50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x26b56): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439983:(.text.unlikely+0x26b78): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439985:(.text.unlikely+0x26b82): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x26be2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x26be8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439999:(.text.unlikely+0x26c02): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439999:(.text.unlikely+0x26c0c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439983:(.text.unlikely+0x26c6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439985:(.text.unlikely+0x26c90): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439997:(.text.unlikely+0x26cae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x26cc8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440009:(.text.unlikely+0x26ce2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439973:(.text.unlikely+0x26d0e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:439973:(.text.unlikely+0x26d1a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x26d30): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x26d3a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x26e1e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440033:(.text.unlikely+0x26e24): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x26e3e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440023:(.text.unlikely+0x26e48): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440047:(.text.unlikely+0x26ea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440047:(.text.unlikely+0x26eae): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440045:(.text.unlikely+0x26ec8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440045:(.text.unlikely+0x26ed2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440059:(.text.unlikely+0x26f32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440059:(.text.unlikely+0x26f38): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440059:(.text.unlikely+0x26f52): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440057:(.text.unlikely+0x26f5c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x26fbc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x26fc2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440071:(.text.unlikely+0x26fe4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440071:(.text.unlikely+0x26fee): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2704e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x27054): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440083:(.text.unlikely+0x2706e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440083:(.text.unlikely+0x27078): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x270d8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x270de): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440093:(.text.unlikely+0x270f8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440095:(.text.unlikely+0x27102): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440083:(.text.unlikely+0x27162): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x27168): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x27182): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x2718c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440095:(.text.unlikely+0x271ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2721a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440119:(.text.unlikely+0x27238): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440119:(.text.unlikely+0x27252): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440117:(.text.unlikely+0x2726c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x272a0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_SNESConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452556:(.text.unlikely+0x272be): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440129:(.text.unlikely+0x272c6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440131:(.text.unlikely+0x272e6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440129:(.text.unlikely+0x27304): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440129:(.text.unlikely+0x2730c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440119:(.text.unlikely+0x2732c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2734a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x27352): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440143:(.text.unlikely+0x27372): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440143:(.text.unlikely+0x27390): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x273a0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x273c0): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x273de): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x273e6): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440155:(.text.unlikely+0x27406): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440155:(.text.unlikely+0x27424): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440155:(.text.unlikely+0x2742c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440153:(.text.unlikely+0x2744c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440143:(.text.unlikely+0x2746a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440143:(.text.unlikely+0x27472): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x27492): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440167:(.text.unlikely+0x274b0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440167:(.text.unlikely+0x274b8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x274dc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x274fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440155:(.text.unlikely+0x2750a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x275ca): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440191:(.text.unlikely+0x275e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440191:(.text.unlikely+0x275ea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440318:(.text.unlikely+0x27a1c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440320:(.text.unlikely+0x27a42): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x27a4c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x27aac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440344:(.text.unlikely+0x27ada): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440346:(.text.unlikely+0x27ae4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440359:(.text.unlikely+0x27b44): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x27b6a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440361:(.text.unlikely+0x27b74): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440374:(.text.unlikely+0x27bd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440383:(.text.unlikely+0x27bfa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440383:(.text.unlikely+0x27c04): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440412:(.text.unlikely+0x27c64): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440424:(.text.unlikely+0x27c8a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440424:(.text.unlikely+0x27c94): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440215:(.text.unlikely+0x27cf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440229:(.text.unlikely+0x27d1a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x27d24): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440253:(.text.unlikely+0x27d84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440217:(.text.unlikely+0x27daa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440255:(.text.unlikely+0x27db4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x27e14): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440279:(.text.unlikely+0x27e2c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440281:(.text.unlikely+0x27e42): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440281:(.text.unlikely+0x27e4c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440305:(.text.unlikely+0x27eac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440307:(.text.unlikely+0x27ed2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440307:(.text.unlikely+0x27edc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440331:(.text.unlikely+0x27f3c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440333:(.text.unlikely+0x27f6a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440216:(.text.unlikely+0x27f74): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440357:(.text.unlikely+0x27fd4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440370:(.text.unlikely+0x27ffa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x28004): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440392:(.text.unlikely+0x28064): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440217:(.text.unlikely+0x2808a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x28094): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x280f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440203:(.text.unlikely+0x2811a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440203:(.text.unlikely+0x28124): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440436:(.text.unlikely+0x28184): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440424:(.text.unlikely+0x281aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440424:(.text.unlikely+0x281b4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440448:(.text.unlikely+0x28214): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440446:(.text.unlikely+0x2823a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440436:(.text.unlikely+0x28244): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440460:(.text.unlikely+0x282a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440460:(.text.unlikely+0x282bc): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440458:(.text.unlikely+0x282d2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440458:(.text.unlikely+0x282dc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440472:(.text.unlikely+0x2833c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x28362): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440470:(.text.unlikely+0x2836c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440484:(.text.unlikely+0x283cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440482:(.text.unlikely+0x283fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x28404): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440494:(.text.unlikely+0x28464): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440496:(.text.unlikely+0x2848a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440496:(.text.unlikely+0x28494): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x284f4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440508:(.text.unlikely+0x2851a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440508:(.text.unlikely+0x28524): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x28584): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440520:(.text.unlikely+0x285aa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440520:(.text.unlikely+0x285b4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440508:(.text.unlikely+0x28614): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440530:(.text.unlikely+0x2863a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440530:(.text.unlikely+0x28644): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440520:(.text.unlikely+0x286a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x286ca): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440542:(.text.unlikely+0x286d4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440532:(.text.unlikely+0x28734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440532:(.text.unlikely+0x2874c): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x28762): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2876c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440554:(.text.unlikely+0x287cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x287f2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x287fc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440566:(.text.unlikely+0x2885e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2888c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x28896): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440578:(.text.unlikely+0x288fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440568:(.text.unlikely+0x28920): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2892a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440590:(.text.unlikely+0x2898e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x289b4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440580:(.text.unlikely+0x289be): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440604:(.text.unlikely+0x28a22): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x28a50): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440592:(.text.unlikely+0x28a5a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440616:(.text.unlikely+0x28abe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440614:(.text.unlikely+0x28ae4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440604:(.text.unlikely+0x28aee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440628:(.text.unlikely+0x28b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440626:(.text.unlikely+0x28b78): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440626:(.text.unlikely+0x28b82): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440640:(.text.unlikely+0x28be6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440640:(.text.unlikely+0x28bfe): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440638:(.text.unlikely+0x28c14): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440638:(.text.unlikely+0x28c1e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440652:(.text.unlikely+0x28c84): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440652:(.text.unlikely+0x28c9a): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440650:(.text.unlikely+0x28cb4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440640:(.text.unlikely+0x28cd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x28cec): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440664:(.text.unlikely+0x28d1a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440664:(.text.unlikely+0x28d34): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440664:(.text.unlikely+0x28d42): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x28e08): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440664:(.text.unlikely+0x28e0e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x28e28): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x28e32): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440693:(.text.unlikely+0x28e96): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440693:(.text.unlikely+0x28e9c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440691:(.text.unlikely+0x28eb6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440691:(.text.unlikely+0x28ec0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440706:(.text.unlikely+0x28f24): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440710:(.text.unlikely+0x28f2a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440710:(.text.unlikely+0x28f44): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440710:(.text.unlikely+0x28f4e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440720:(.text.unlikely+0x28fb2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440720:(.text.unlikely+0x28fb8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440723:(.text.unlikely+0x28fd2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440727:(.text.unlikely+0x28fdc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440710:(.text.unlikely+0x29040): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440710:(.text.unlikely+0x29046): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x29060): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2906a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x290ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440742:(.text.unlikely+0x290d4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440742:(.text.unlikely+0x290e0): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440727:(.text.unlikely+0x290f6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440727:(.text.unlikely+0x29100): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440761:(.text.unlikely+0x29164): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440761:(.text.unlikely+0x2916a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440759:(.text.unlikely+0x2918c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440759:(.text.unlikely+0x29196): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440773:(.text.unlikely+0x291fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440773:(.text.unlikely+0x29200): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2921a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x29224): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440787:(.text.unlikely+0x29288): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440787:(.text.unlikely+0x2928e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440797:(.text.unlikely+0x292a8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440797:(.text.unlikely+0x292b2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440773:(.text.unlikely+0x29316): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440773:(.text.unlikely+0x2931c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440785:(.text.unlikely+0x29336): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440785:(.text.unlikely+0x29340): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440761:(.text.unlikely+0x293a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440799:(.text.unlikely+0x293aa): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x293c4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440809:(.text.unlikely+0x293ce): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x29432): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440799:(.text.unlikely+0x29438): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x29452): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2945c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440821:(.text.unlikely+0x294c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440821:(.text.unlikely+0x294c6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440811:(.text.unlikely+0x294e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440823:(.text.unlikely+0x294ea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440835:(.text.unlikely+0x2954e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440833:(.text.unlikely+0x29554): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440833:(.text.unlikely+0x29560): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440823:(.text.unlikely+0x29576): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440823:(.text.unlikely+0x29580): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440847:(.text.unlikely+0x295e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440845:(.text.unlikely+0x29602): undefined reference to `PyType_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440835:(.text.unlikely+0x2961e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2963c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440857:(.text.unlikely+0x29656): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440859:(.text.unlikely+0x29686): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440857:(.text.unlikely+0x296a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440857:(.text.unlikely+0x296ac): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440847:(.text.unlikely+0x296cc): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x296ea): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440869:(.text.unlikely+0x296f2): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440871:(.text.unlikely+0x29716): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440869:(.text.unlikely+0x29734): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2973c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440859:(.text.unlikely+0x29760): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2977e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x29786): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x29804): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440871:(.text.unlikely+0x2980e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440931:(.text.unlikely+0x29a40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440929:(.text.unlikely+0x29a66): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440929:(.text.unlikely+0x29a70): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440941:(.text.unlikely+0x29acc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440943:(.text.unlikely+0x29ae4): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x29afa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x29b04): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440955:(.text.unlikely+0x29b60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440967:(.text.unlikely+0x29b8e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440967:(.text.unlikely+0x29b98): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440943:(.text.unlikely+0x29bf6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440955:(.text.unlikely+0x29c22): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440957:(.text.unlikely+0x29c40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x29c5a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x29c74): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x29ca4): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440981:(.text.unlikely+0x29cc2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440981:(.text.unlikely+0x29cca): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:440969:(.text.unlikely+0x29d2e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x29d3c): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x29e7a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441015:(.text.unlikely+0x29ea8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441017:(.text.unlikely+0x29eb2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441005:(.text.unlikely+0x29f0e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x29f34): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441027:(.text.unlikely+0x29f3e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441027:(.text.unlikely+0x29f9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441017:(.text.unlikely+0x29fb2): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x29fc8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x29fd2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441039:(.text.unlikely+0x2a02e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441029:(.text.unlikely+0x2a05c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2a066): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441051:(.text.unlikely+0x2a0c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2a0e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441041:(.text.unlikely+0x2a0f2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441065:(.text.unlikely+0x2a14e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441063:(.text.unlikely+0x2a174): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441063:(.text.unlikely+0x2a17e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441077:(.text.unlikely+0x2a1da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441077:(.text.unlikely+0x2a200): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441075:(.text.unlikely+0x2a20a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441087:(.text.unlikely+0x2a266): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441089:(.text.unlikely+0x2a28c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441089:(.text.unlikely+0x2a296): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2a2f2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441099:(.text.unlikely+0x2a318): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441101:(.text.unlikely+0x2a322): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441089:(.text.unlikely+0x2a37e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2a3a4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441111:(.text.unlikely+0x2a3ae): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441101:(.text.unlikely+0x2a40a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441101:(.text.unlikely+0x2a422): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2a438): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2a442): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2a49e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2a4cc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2a4d6): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441151:(.text.unlikely+0x2a532): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441123:(.text.unlikely+0x2a558): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441123:(.text.unlikely+0x2a562): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441126:(.text.unlikely+0x2a5be): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2a5e4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441149:(.text.unlikely+0x2a5ee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441163:(.text.unlikely+0x2a64c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441161:(.text.unlikely+0x2a676): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441151:(.text.unlikely+0x2a694): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441151:(.text.unlikely+0x2a6ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2a6c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441175:(.text.unlikely+0x2a6fc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2a71e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x2a728): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441175:(.text.unlikely+0x2a800): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441175:(.text.unlikely+0x2a806): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441187:(.text.unlikely+0x2a820): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441187:(.text.unlikely+0x2a82a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441163:(.text.unlikely+0x2a886): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441163:(.text.unlikely+0x2a88c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2a898): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2a8ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x2a8b8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2a914): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441201:(.text.unlikely+0x2a91a): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2a93c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2a946): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441223:(.text.unlikely+0x2a9a2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441223:(.text.unlikely+0x2a9a8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441213:(.text.unlikely+0x2a9c2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2a9cc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2aa2a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2aa4c): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2aa6a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x2aa84): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441249:(.text.unlikely+0x2aa9e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2aad2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441237:(.text.unlikely+0x2aaec): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441237:(.text.unlikely+0x2aafa): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441271:(.text.unlikely+0x2abd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441273:(.text.unlikely+0x2abd8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441273:(.text.unlikely+0x2abf2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441273:(.text.unlikely+0x2abfc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2ac58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2ac5e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441285:(.text.unlikely+0x2ac78): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441285:(.text.unlikely+0x2ac82): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441273:(.text.unlikely+0x2acde): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441285:(.text.unlikely+0x2ace4): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2acf0): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSEquationType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x2ad06): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452632:(.text.unlikely+0x2ad10): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441285:(.text.unlikely+0x2ad6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441285:(.text.unlikely+0x2ad72): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2ad94): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2ad9e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441307:(.text.unlikely+0x2adfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2ae02): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441309:(.text.unlikely+0x2ae1c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2ae26): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441319:(.text.unlikely+0x2ae86): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441319:(.text.unlikely+0x2ae8c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441309:(.text.unlikely+0x2aea6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441309:(.text.unlikely+0x2aeb0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441333:(.text.unlikely+0x2af10): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441331:(.text.unlikely+0x2af16): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441331:(.text.unlikely+0x2af30): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2af3a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441345:(.text.unlikely+0x2af9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441345:(.text.unlikely+0x2afa0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441343:(.text.unlikely+0x2afba): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2afc4): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441355:(.text.unlikely+0x2b024): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441355:(.text.unlikely+0x2b02a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441357:(.text.unlikely+0x2b044): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441357:(.text.unlikely+0x2b04e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441369:(.text.unlikely+0x2b0ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441369:(.text.unlikely+0x2b0b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441371:(.text.unlikely+0x2b0ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441371:(.text.unlikely+0x2b0d8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441355:(.text.unlikely+0x2b138): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441355:(.text.unlikely+0x2b13e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441357:(.text.unlikely+0x2b14a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441369:(.text.unlikely+0x2b160): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2b16a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2b1ca): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441345:(.text.unlikely+0x2b1d0): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2b1f2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b1fc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441393:(.text.unlikely+0x2b25c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441393:(.text.unlikely+0x2b262): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441383:(.text.unlikely+0x2b27c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2b286): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441407:(.text.unlikely+0x2b2e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2b2ec): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2b30e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441395:(.text.unlikely+0x2b318): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441419:(.text.unlikely+0x2b37a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2b3a6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2b3c4): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b3de): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441429:(.text.unlikely+0x2b3f8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b424): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b442): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b44a): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441443:(.text.unlikely+0x2b46a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441445:(.text.unlikely+0x2b488): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441445:(.text.unlikely+0x2b490): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441457:(.text.unlikely+0x2b4b0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441457:(.text.unlikely+0x2b4ce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441457:(.text.unlikely+0x2b4d6): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441429:(.text.unlikely+0x2b4fa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441431:(.text.unlikely+0x2b518): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2b520): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441432:(.text.unlikely+0x2b544): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441455:(.text.unlikely+0x2b562): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441455:(.text.unlikely+0x2b572): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441419:(.text.unlikely+0x2b596): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b5b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b5bc): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441469:(.text.unlikely+0x2b5e0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2b5fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441467:(.text.unlikely+0x2b606): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441457:(.text.unlikely+0x2b62a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2b648): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2b650): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441481:(.text.unlikely+0x2b674): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441481:(.text.unlikely+0x2b692): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2b69a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441469:(.text.unlikely+0x2b6be): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2b6dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2b6e4): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441493:(.text.unlikely+0x2b708): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441493:(.text.unlikely+0x2b726): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2b736): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441481:(.text.unlikely+0x2b75a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2b778): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2b780): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441505:(.text.unlikely+0x2b7a4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441505:(.text.unlikely+0x2b7c2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441505:(.text.unlikely+0x2b7ca): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441503:(.text.unlikely+0x2b7ee): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441493:(.text.unlikely+0x2b80c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2b814): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TSConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452708:(.text.unlikely+0x2b838): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441517:(.text.unlikely+0x2b844): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441517:(.text.unlikely+0x2b856): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441517:(.text.unlikely+0x2b862): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441515:(.text.unlikely+0x2b87c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441527:(.text.unlikely+0x2b916): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2b92c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441517:(.text.unlikely+0x2b936): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441757:(.text.unlikely+0x2beba): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441551:(.text.unlikely+0x2bede): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441553:(.text.unlikely+0x2befc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2bf16): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441565:(.text.unlikely+0x2bf30): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441567:(.text.unlikely+0x2bf50): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441578:(.text.unlikely+0x2bf6e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441578:(.text.unlikely+0x2bf76): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441591:(.text.unlikely+0x2bfb8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441593:(.text.unlikely+0x2bfd4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441593:(.text.unlikely+0x2bfde): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441658:(.text.unlikely+0x2c11c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2c122): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441658:(.text.unlikely+0x2c13c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2c146): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441682:(.text.unlikely+0x2c1a4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441691:(.text.unlikely+0x2c1c6): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441700:(.text.unlikely+0x2c1e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2c1fe): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441555:(.text.unlikely+0x2c218): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441727:(.text.unlikely+0x2c254): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441736:(.text.unlikely+0x2c26e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441736:(.text.unlikely+0x2c27c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441767:(.text.unlikely+0x2c354): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441767:(.text.unlikely+0x2c35a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2c366): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441757:(.text.unlikely+0x2c37c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2c386): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441781:(.text.unlikely+0x2c3e4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441779:(.text.unlikely+0x2c406): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441769:(.text.unlikely+0x2c424): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2c43e): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441791:(.text.unlikely+0x2c458): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441793:(.text.unlikely+0x2c488): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441791:(.text.unlikely+0x2c4a2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2c4b0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441815:(.text.unlikely+0x2c588): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441815:(.text.unlikely+0x2c58e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441817:(.text.unlikely+0x2c5a8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441817:(.text.unlikely+0x2c5b2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2c610): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441827:(.text.unlikely+0x2c634): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441829:(.text.unlikely+0x2c652): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441827:(.text.unlikely+0x2c66c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441827:(.text.unlikely+0x2c686): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2c6ae): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441839:(.text.unlikely+0x2c6cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441841:(.text.unlikely+0x2c6dc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441841:(.text.unlikely+0x2c6fc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441839:(.text.unlikely+0x2c71a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441839:(.text.unlikely+0x2c722): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441829:(.text.unlikely+0x2c742): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2c760): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441851:(.text.unlikely+0x2c768): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441853:(.text.unlikely+0x2c78c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441853:(.text.unlikely+0x2c7aa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2c7ba): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441851:(.text.unlikely+0x2c7ca): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441865:(.text.unlikely+0x2c83c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441865:(.text.unlikely+0x2c84a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441863:(.text.unlikely+0x2c860): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441863:(.text.unlikely+0x2c86e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2cae2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441911:(.text.unlikely+0x2cae8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2cb02): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441901:(.text.unlikely+0x2cb0c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441925:(.text.unlikely+0x2cb68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441925:(.text.unlikely+0x2cb6e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441923:(.text.unlikely+0x2cb88): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441923:(.text.unlikely+0x2cb92): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441937:(.text.unlikely+0x2cbf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441937:(.text.unlikely+0x2cc14): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441935:(.text.unlikely+0x2cc32): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441925:(.text.unlikely+0x2cc4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2cc66): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441949:(.text.unlikely+0x2cc96): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441949:(.text.unlikely+0x2ccb4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441949:(.text.unlikely+0x2ccbc): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441959:(.text.unlikely+0x2cd20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441959:(.text.unlikely+0x2cd2e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441983:(.text.unlikely+0x2ce72): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441985:(.text.unlikely+0x2ce98): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441985:(.text.unlikely+0x2cea2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2cf02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441995:(.text.unlikely+0x2cf1a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441997:(.text.unlikely+0x2cf30): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441997:(.text.unlikely+0x2cf3a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2cf9a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442009:(.text.unlikely+0x2cfc0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442009:(.text.unlikely+0x2cfca): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2d02a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442019:(.text.unlikely+0x2d050): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442019:(.text.unlikely+0x2d05a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442009:(.text.unlikely+0x2d0ba): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2d0e0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442031:(.text.unlikely+0x2d0ea): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442021:(.text.unlikely+0x2d14a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2d178): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2d182): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442043:(.text.unlikely+0x2d1e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442033:(.text.unlikely+0x2d208): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2d212): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442055:(.text.unlikely+0x2d272): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2d298): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442045:(.text.unlikely+0x2d2a2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442069:(.text.unlikely+0x2d302): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2d328): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442067:(.text.unlikely+0x2d332): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442081:(.text.unlikely+0x2d394): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442081:(.text.unlikely+0x2d3be): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442079:(.text.unlikely+0x2d3dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442069:(.text.unlikely+0x2d3f6): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2d410): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442093:(.text.unlikely+0x2d444): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442093:(.text.unlikely+0x2d458): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2d46e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442091:(.text.unlikely+0x2d478): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2d556): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2d55c): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442115:(.text.unlikely+0x2d576): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442115:(.text.unlikely+0x2d580): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2d5dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442105:(.text.unlikely+0x2d5e2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2d5fc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2d606): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2d664): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442117:(.text.unlikely+0x2d68e): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2d6ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442139:(.text.unlikely+0x2d6c6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442141:(.text.unlikely+0x2d6e0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2d70c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442129:(.text.unlikely+0x2d726): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442129:(.text.unlikely+0x2d734): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text.unlikely+0x2d80c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text.unlikely+0x2d812): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442176:(.text.unlikely+0x2d82c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442176:(.text.unlikely+0x2d836): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2d892): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2d898): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2d8b2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442174:(.text.unlikely+0x2d8bc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text.unlikely+0x2d918): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442188:(.text.unlikely+0x2d91e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442188:(.text.unlikely+0x2d92a): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442188:(.text.unlikely+0x2d940): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442188:(.text.unlikely+0x2d94a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2d9a6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2d9ac): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text.unlikely+0x2d9c6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text.unlikely+0x2d9d0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text.unlikely+0x2da2c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2da32): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text.unlikely+0x2da4c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text.unlikely+0x2da56): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2dab2): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442200:(.text.unlikely+0x2dab8): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2dada): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2dae4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442222:(.text.unlikely+0x2db40): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442222:(.text.unlikely+0x2db46): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442212:(.text.unlikely+0x2db60): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2db6a): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442234:(.text.unlikely+0x2dbc6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2dbcc): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442224:(.text.unlikely+0x2dbe6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2dbf0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442248:(.text.unlikely+0x2dc4c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442248:(.text.unlikely+0x2dc52): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442246:(.text.unlikely+0x2dc6c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2dc76): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text.unlikely+0x2dcd2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442258:(.text.unlikely+0x2dcd8): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442260:(.text.unlikely+0x2dcf2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442260:(.text.unlikely+0x2dcfc): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2dd58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x2dd5e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2dd6a): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442272:(.text.unlikely+0x2dd80): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442272:(.text.unlikely+0x2dd8a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442260:(.text.unlikely+0x2dde6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442260:(.text.unlikely+0x2ddec): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2de06): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_TaoConvergedReason': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452746:(.text.unlikely+0x2de10): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442282:(.text.unlikely+0x2de6c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2de72): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2de94): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2de9e): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442294:(.text.unlikely+0x2defa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442294:(.text.unlikely+0x2df00): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442284:(.text.unlikely+0x2df22): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442296:(.text.unlikely+0x2df2c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442306:(.text.unlikely+0x2df88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:441554:(.text.unlikely+0x2df8e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442306:(.text.unlikely+0x2dfa8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2dfb2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442320:(.text.unlikely+0x2e00e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442320:(.text.unlikely+0x2e014): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2e02e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442318:(.text.unlikely+0x2e038): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442330:(.text.unlikely+0x2e094): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442332:(.text.unlikely+0x2e09a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442332:(.text.unlikely+0x2e0b4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442332:(.text.unlikely+0x2e0be): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2e11a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2e120): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442344:(.text.unlikely+0x2e13a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442344:(.text.unlikely+0x2e144): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442332:(.text.unlikely+0x2e1a0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442332:(.text.unlikely+0x2e1a6): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2e1b2): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2e1c8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442354:(.text.unlikely+0x2e1d2): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2e22e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:701:(.text.unlikely+0x2e234): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442367:(.text.unlikely+0x2e24e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442367:(.text.unlikely+0x2e258): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442380:(.text.unlikely+0x2e2b4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442380:(.text.unlikely+0x2e2ba): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442382:(.text.unlikely+0x2e2d4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442382:(.text.unlikely+0x2e2de): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2e33a): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2e340): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442397:(.text.unlikely+0x2e362): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442406:(.text.unlikely+0x2e36c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442419:(.text.unlikely+0x2e3c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442419:(.text.unlikely+0x2e3ce): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442428:(.text.unlikely+0x2e3e8): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442437:(.text.unlikely+0x2e3f2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442451:(.text.unlikely+0x2e450): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442451:(.text.unlikely+0x2e456): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2e470): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442354:(.text.unlikely+0x2e47a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442369:(.text.unlikely+0x2e4da): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442369:(.text.unlikely+0x2e4e0): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442380:(.text.unlikely+0x2e4fa): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442380:(.text.unlikely+0x2e504): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442395:(.text.unlikely+0x2e564): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442395:(.text.unlikely+0x2e56a): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442406:(.text.unlikely+0x2e584): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442406:(.text.unlikely+0x2e58e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442428:(.text.unlikely+0x2e5ee): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442428:(.text.unlikely+0x2e5f4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2e600): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442437:(.text.unlikely+0x2e616): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2e620): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2e682): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442463:(.text.unlikely+0x2e6ae): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442463:(.text.unlikely+0x2e6cc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442461:(.text.unlikely+0x2e6e6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2e700): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2e728): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442473:(.text.unlikely+0x2e746): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442475:(.text.unlikely+0x2e756): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442475:(.text.unlikely+0x2e776): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442473:(.text.unlikely+0x2e794): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442463:(.text.unlikely+0x2e79c): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442485:(.text.unlikely+0x2e7e4): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442487:(.text.unlikely+0x2e802): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442487:(.text.unlikely+0x2e80a): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442475:(.text.unlikely+0x2e842): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2e866): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2e870): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442511:(.text.unlikely+0x2ea60): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442501:(.text.unlikely+0x2ea66): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442513:(.text.unlikely+0x2ea80): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442500:(.text.unlikely+0x2ea8a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442545:(.text.unlikely+0x2eae8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x2eb0a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2eb28): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442557:(.text.unlikely+0x2eb42): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442559:(.text.unlikely+0x2eb5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2eb90): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442557:(.text.unlikely+0x2eb9c): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2ebb2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442547:(.text.unlikely+0x2ebc0): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442583:(.text.unlikely+0x2ec98): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442583:(.text.unlikely+0x2ec9e): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442583:(.text.unlikely+0x2ecc0): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442583:(.text.unlikely+0x2ecca): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442593:(.text.unlikely+0x2ed26): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442593:(.text.unlikely+0x2ed2c): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442595:(.text.unlikely+0x2ed46): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442595:(.text.unlikely+0x2ed50): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2edac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2edb2): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442605:(.text.unlikely+0x2edcc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442605:(.text.unlikely+0x2edd6): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442595:(.text.unlikely+0x2ee34): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2ee56): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442617:(.text.unlikely+0x2ee74): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442619:(.text.unlikely+0x2ee8e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442617:(.text.unlikely+0x2eea8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442607:(.text.unlikely+0x2eedc): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2eef6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442629:(.text.unlikely+0x2ef04): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442643:(.text.unlikely+0x2efdc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442641:(.text.unlikely+0x2efe2): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442641:(.text.unlikely+0x2effc): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2f006): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442655:(.text.unlikely+0x2f062): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442655:(.text.unlikely+0x2f068): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442655:(.text.unlikely+0x2f074): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442653:(.text.unlikely+0x2f08a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442653:(.text.unlikely+0x2f094): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442667:(.text.unlikely+0x2f0f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442667:(.text.unlikely+0x2f0f6): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442665:(.text.unlikely+0x2f118): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2f122): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442677:(.text.unlikely+0x2f180): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442679:(.text.unlikely+0x2f1aa): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442677:(.text.unlikely+0x2f1c8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2f1e2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2f1fc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442689:(.text.unlikely+0x2f228): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442691:(.text.unlikely+0x2f242): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442691:(.text.unlikely+0x2f250): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442691:(.text.unlikely+0x2f328): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442691:(.text.unlikely+0x2f32e): undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2f348): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x2f352): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442713:(.text.unlikely+0x2f3ae): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442713:(.text.unlikely+0x2f3b4): undefined reference to `PyLong_FromLong' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442703:(.text.unlikely+0x2f3ce): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2f3d8): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x2f436): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2f45a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x2f478): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442739:(.text.unlikely+0x2f492): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442741:(.text.unlikely+0x2f4ac): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442753:(.text.unlikely+0x2f4dc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442753:(.text.unlikely+0x2f4fa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2f502): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2f522): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442728:(.text.unlikely+0x2f540): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442739:(.text.unlikely+0x2f550): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442741:(.text.unlikely+0x2f570): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442751:(.text.unlikely+0x2f58e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442751:(.text.unlikely+0x2f596): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2f5b6): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMBoundaryType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452774:(.text.unlikely+0x2f5d4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452774:(.text.unlikely+0x2f5dc): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442777:(.text.unlikely+0x2f680): undefined reference to `PyDict_Type' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442777:(.text.unlikely+0x2f694): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442777:(.text.unlikely+0x2f6a2): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442839:(.text.unlikely+0x2f936): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442813:(.text.unlikely+0x2f95a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442813:(.text.unlikely+0x2f964): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x2f9c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442801:(.text.unlikely+0x2f9e4): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442801:(.text.unlikely+0x2f9ee): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442851:(.text.unlikely+0x2fa4a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442839:(.text.unlikely+0x2fa6e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442839:(.text.unlikely+0x2fa78): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442863:(.text.unlikely+0x2fad4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442851:(.text.unlikely+0x2fb02): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442851:(.text.unlikely+0x2fb0c): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442875:(.text.unlikely+0x2fb68): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442873:(.text.unlikely+0x2fb8e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442873:(.text.unlikely+0x2fb98): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442887:(.text.unlikely+0x2fbf4): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442885:(.text.unlikely+0x2fc20): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2fc2a): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442897:(.text.unlikely+0x2fc88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442899:(.text.unlikely+0x2fcb0): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442897:(.text.unlikely+0x2fcce): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442887:(.text.unlikely+0x2fce8): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2fd02): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442911:(.text.unlikely+0x2fd30): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442911:(.text.unlikely+0x2fd4e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x2fd56): undefined reference to `PyType_Modified' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x2fd92): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2fda6): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452812:(.text.unlikely+0x2fdb4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x2fece): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442947:(.text.unlikely+0x2fef2): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442947:(.text.unlikely+0x2fefc): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442935:(.text.unlikely+0x2ff58): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x2ff7c): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__Pyx_PyInt_From_DMPolytopeType': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:452812:(.text.unlikely+0x2ff86): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x2ffe2): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x30006): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/include/python3.12/object.h:706:(.text.unlikely+0x30010): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442969:(.text.unlikely+0x3006c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442971:(.text.unlikely+0x3009a): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x300a4): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442981:(.text.unlikely+0x30100): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x30124): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442971:(.text.unlikely+0x3012e): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442995:(.text.unlikely+0x3018a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442993:(.text.unlikely+0x301ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442983:(.text.unlikely+0x301b8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443007:(.text.unlikely+0x30216): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x3023e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442995:(.text.unlikely+0x3025c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:442995:(.text.unlikely+0x30276): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x30290): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443019:(.text.unlikely+0x302be): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x302dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x302e4): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/include/python3.12/object.h:705:(.text.unlikely+0x30320): undefined reference to `PyDict_Type' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443031:(.text.unlikely+0x30334): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443033:(.text.unlikely+0x30342): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443072:(.text.unlikely+0x30462): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:706:(.text.unlikely+0x30486): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443074:(.text.unlikely+0x30490): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443087:(.text.unlikely+0x304f0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443098:(.text.unlikely+0x3051e): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `_Py_IsImmortal': /usr/include/python3.12/object.h:243:(.text.unlikely+0x30528): undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x30588): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443122:(.text.unlikely+0x305ae): undefined reference to `_PyDict_SetItem_KnownHash' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443122:(.text.unlikely+0x305b8): undefined reference to `PyObject_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443137:(.text.unlikely+0x3061c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x30640): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443148:(.text.unlikely+0x3065e): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443150:(.text.unlikely+0x30678): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:701:(.text.unlikely+0x30692): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443152:(.text.unlikely+0x306b2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443163:(.text.unlikely+0x306d0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443163:(.text.unlikely+0x306e0): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443165:(.text.unlikely+0x30718): undefined reference to `PyDict_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443176:(.text.unlikely+0x3073a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443176:(.text.unlikely+0x30740): undefined reference to `_PyDict_NewPresized' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `Py_DECREF': /usr/include/python3.12/object.h:705:(.text.unlikely+0x3075a): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443178:(.text.unlikely+0x3076c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443187:(.text.unlikely+0x3077e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443189:(.text.unlikely+0x30790): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443189:(.text.unlikely+0x307a2): undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/include/python3.12/object.h:705: more undefined references to `PyDict_SetItem' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432158:(.text.unlikely+0x30992): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443017:(.text.unlikely+0x3099e): undefined reference to `PyList_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443019:(.text.unlikely+0x309c0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443033:(.text.unlikely+0x30a00): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443044:(.text.unlikely+0x30a1c): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443046:(.text.unlikely+0x30a3a): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443057:(.text.unlikely+0x30a4e): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443057:(.text.unlikely+0x30a62): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443059:(.text.unlikely+0x30a80): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443070:(.text.unlikely+0x30a94): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443070:(.text.unlikely+0x30aa8): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443072:(.text.unlikely+0x30ac6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443083:(.text.unlikely+0x30ada): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443083:(.text.unlikely+0x30aee): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443085:(.text.unlikely+0x30b0c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443096:(.text.unlikely+0x30b20): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443096:(.text.unlikely+0x30b34): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443098:(.text.unlikely+0x30b52): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443021:(.text.unlikely+0x30b6a): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443109:(.text.unlikely+0x30b7e): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443111:(.text.unlikely+0x30b9c): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x30bb2): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443124:(.text.unlikely+0x30bd2): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443124:(.text.unlikely+0x30bf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432189:(.text.unlikely+0x30bf8): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443137:(.text.unlikely+0x30c28): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443148:(.text.unlikely+0x30c58): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x30c88): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443163:(.text.unlikely+0x30cb8): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x30cf0): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443176:(.text.unlikely+0x30cfc): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443176:(.text.unlikely+0x30d04): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443187:(.text.unlikely+0x30d0c): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x30d14): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443187:(.text.unlikely+0x30d1c): undefined reference to `PyThread_allocate_lock' /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o:/usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443187: more undefined references to `PyThread_allocate_lock' follow /usr/bin/ld: build/temp.linux-riscv64-cpython-312/src/petsc4py/PETSc.o: in function `__pyx_pymod_exec_PETSc': /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443200:(.text.unlikely+0x30d68): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443202:(.text.unlikely+0x30d88): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443213:(.text.unlikely+0x30da6): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443213:(.text.unlikely+0x30dae): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432188:(.text.unlikely+0x30dc4): undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443217:(.text.unlikely+0x30ddc): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443217:(.text.unlikely+0x30dfa): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443021:(.text.unlikely+0x30e02): undefined reference to `PyType_Modified' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443228:(.text.unlikely+0x30e16): undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443020:(.text.unlikely+0x30e2a): undefined reference to `PyDict_SetItem' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:432362:(.text.unlikely+0x30e50): undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/src/petsc4py-3.19.6-3/src/petsc4py/PETSc.c:443628:(.text.unlikely+0x31e96): undefined reference to `PyModuleDef_Init' collect2: error: ld returned 1 exit status error: command '/usr/bin/mpicc' failed with exit code 1 E: pybuild pybuild:391: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build --force dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" --build-args=--force returned exit code 13 make[1]: *** [debian/rules:58: override_dh_auto_build-arch] Error 25 make[1]: Leaving directory '/<>' make: *** [debian/rules:40: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-02-01T21:39:23Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: riscv64 Build Type: any Build-Space: 461700 Build-Time: 5969 Distribution: noble-proposed Fail-Stage: build Host Architecture: riscv64 Install-Time: 753 Job: petsc4py_3.19.6-3.dsc Machine Architecture: riscv64 Package: petsc4py Package-Time: 6747 Source-Version: 3.19.6-3 Space: 461700 Status: attempted Version: 3.19.6-3 -------------------------------------------------------------------------------- Finished at 2024-02-01T21:39:23Z Build needed 01:52:27, 461700k disk space E: Build failure (dpkg-buildpackage died) RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-27738515 Scanning for processes to kill in build PACKAGEBUILD-27738515